|
@@ -61,9 +61,9 @@ public class ModuleFacade extends ModuleInfoServiceImpl {
|
|
|
}
|
|
|
}else if(moduleVO.getMouduleType().intValue() == 2){
|
|
|
//根据慢病筛选如果没有返回通用模板
|
|
|
- List<ModuleInfo> moduleINfoByDis = getModuleInfoByDisType(moduleVO.getMouduleType(),moduleVO.getRelationId());
|
|
|
- if(ListUtil.isNotEmpty(moduleINfoByDis)){
|
|
|
- ids = moduleINfoByDis.stream()
|
|
|
+ List<ModuleInfo> moduleInfoByDis = getModuleInfoByDisType(moduleVO.getMouduleType(),moduleVO.getRelationId());
|
|
|
+ if(ListUtil.isNotEmpty(moduleInfoByDis)){
|
|
|
+ ids = moduleInfoByDis.stream()
|
|
|
.map(moduleDeptMapping -> moduleDeptMapping.getId())
|
|
|
.collect(Collectors.toList());
|
|
|
}else {
|