feat: There is no way the, xxx

This commit is contained in:
super_liu
2022-03-07 17:56:17 +08:00
parent 7e2f0ffe85
commit f1ac00a8dc
@@ -99,7 +99,7 @@ public class SysInfoEOService {
if (StringUtils.isNotBlank(codes)) {
String[] idArr = codes.split(",");
String names1 = dicTypeEODao.getDicNamesByCodes(Arrays.asList(idArr));
if(StringUtils.isNotBlank(names1) && names1.contains(",")){
if(StringUtils.isNotBlank(names1)){
List<String> list1 = Arrays.asList(names1.split(","));
List<String> list = list1.stream().distinct().collect(Collectors.toList());
names = String.join(",",list);