|
@ -715,6 +715,11 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven |
|
|
firstCategoryIds.add(categoryDTO.getCategoryId()); |
|
|
firstCategoryIds.add(categoryDTO.getCategoryId()); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
//当前分类为二级分类
|
|
|
|
|
|
if(!categoryDTO.getCategoryPids().contains(StrConstant.COMMA)&&categoryDTO.getCategoryPids().contains(StrConstant.COLON)){ |
|
|
|
|
|
firstCategoryIds.add(categoryDTO.getCategoryPids()); |
|
|
|
|
|
continue; |
|
|
|
|
|
} |
|
|
//英文逗号
|
|
|
//英文逗号
|
|
|
if(categoryDTO.getCategoryPids().contains(StrConstant.COMMA)){ |
|
|
if(categoryDTO.getCategoryPids().contains(StrConstant.COMMA)){ |
|
|
String[] categoryAtt=categoryDTO.getCategoryPids().split(StrConstant.COMMA); |
|
|
String[] categoryAtt=categoryDTO.getCategoryPids().split(StrConstant.COMMA); |
|
@ -733,6 +738,7 @@ public class ResiEventServiceImpl extends BaseServiceImpl<ResiEventDao, ResiEven |
|
|
if(CollectionUtils.isEmpty(firstCategoryIds)){ |
|
|
if(CollectionUtils.isEmpty(firstCategoryIds)){ |
|
|
return resultDTO; |
|
|
return resultDTO; |
|
|
} |
|
|
} |
|
|
|
|
|
log.info(String.format("当前项目id:%s,所有一级分类id:%s",formDTO.getProjectId(), JSON.toJSONString(firstCategoryIds))); |
|
|
//查询这些分类的名称
|
|
|
//查询这些分类的名称
|
|
|
//查询出当前人,在居民端小程序里上报的需求且转了项目的,并且还得排除当前的这个项目
|
|
|
//查询出当前人,在居民端小程序里上报的需求且转了项目的,并且还得排除当前的这个项目
|
|
|
IssueProjectCategoryDictListFormDTO dictFormDto=new IssueProjectCategoryDictListFormDTO(); |
|
|
IssueProjectCategoryDictListFormDTO dictFormDto=new IssueProjectCategoryDictListFormDTO(); |
|
|