Merge branch 'develop_migration' into 'develop_master'
Develop migration See merge request LiuChao/foton-slrs-system-rest!411
This commit is contained in:
@@ -98,7 +98,12 @@ public class SysInfoEOService {
|
||||
String names = "";
|
||||
if (StringUtils.isNotBlank(codes)) {
|
||||
String[] idArr = codes.split(",");
|
||||
names = dicTypeEODao.getDicNamesByCodes(Arrays.asList(idArr));
|
||||
String names1 = dicTypeEODao.getDicNamesByCodes(Arrays.asList(idArr));
|
||||
if(StringUtils.isNotBlank(names1) && names1.contains(",")){
|
||||
List<String> list1 = Arrays.asList(names1.split(","));
|
||||
List<String> list = list1.stream().distinct().collect(Collectors.toList());
|
||||
names = String.join(",",list);
|
||||
}
|
||||
}
|
||||
return names;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user