Browse Source

居民信息列表需求分类展示一级分类名称,去重

master
yinzuomei 3 years ago
parent
commit
3beb0d7839
  1. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

2
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java

@ -685,7 +685,7 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi
if(CollectionUtils.isEmpty(demandCodePath)){
return StrConstant.EPMETY_STR;
}
List<String> nameList=new ArrayList<>();
Set<String> nameList=new HashSet<>();
for(String codePath:demandCodePath){
if (StringUtils.isNotBlank(codePath) && codePath.contains(StrConstant.COMMA)) {
String[] codeAtt=codePath.split(StrConstant.COMMA);

Loading…
Cancel
Save