diff --git a/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/ToPageService.java b/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/ToPageService.java index 401ecf47..1f849d99 100644 --- a/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/ToPageService.java +++ b/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/ToPageService.java @@ -240,21 +240,25 @@ public class ToPageService extends ActionWeb { fileHandleRowMaps = new ArrayList<>(); for (RowMap fileRowMap : fileRowMaps) { String file_depart = fileRowMap.getString("EXT6"); - file_depart = file_depart.substring(0,file_depart.length()-1); - if (file_depart.contains(",")){ - String[] split = file_depart.split(","); - for (String depart: - split) { - if (UtilString.isNotEmpty(depart) ){ - if (!list.contains(depart)){ - continue; + if (UtilString.isNotEmpty(file_depart)){ + file_depart = file_depart.substring(0,file_depart.length()-1); + if (file_depart.contains(",")){ + String[] split = file_depart.split(","); + for (String depart: + split) { + if (UtilString.isNotEmpty(depart) ){ + if (!list.contains(depart)){ + continue; + } } } + }else { + if (!StringUtils.isEmpty(file_depart) &&!list.contains(file_depart)){ + continue; + } } }else { - if (!StringUtils.isEmpty(file_depart) &&!list.contains(file_depart)){ - continue; - } + continue; } String FILEID = fileRowMap.getString("FILEID"); Integer PLLEVEL = fileRowMap.getInt("PLLEVEL");