未对EXT6进行判空处理

This commit is contained in:
Mr-wang 2023-12-06 12:21:44 +08:00
parent 6ee7558f5f
commit 79b92b32c5

View File

@ -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");