|
@@ -53,7 +53,7 @@ public class ModuleFacade extends ModuleInfoServiceImpl {
|
|
|
List<ModuleInfo> list = new ArrayList<>();
|
|
|
List<Long> ids = new ArrayList<>();
|
|
|
if(moduleVO.getDiseaseType().intValue() == 1){
|
|
|
- //科室
|
|
|
+ //根据科室筛选如果没有,返回通用模板
|
|
|
List<ModuleDeptMapping> moduleDeptMappings = moduleDeptMappingFacade.getModuleIdByDept(moduleVO.getDeptId());
|
|
|
if(ListUtil.isNotEmpty(moduleDeptMappings)){
|
|
|
list = this.getModuleInfoByDisType(moduleVO.getDiseaseType());
|
|
@@ -67,7 +67,7 @@ public class ModuleFacade extends ModuleInfoServiceImpl {
|
|
|
.collect(Collectors.toList());
|
|
|
}
|
|
|
}else if(moduleVO.getDiseaseType().intValue() == 0){
|
|
|
- //慢病
|
|
|
+ //根据慢病筛选如果没有返回通用模板
|
|
|
List<ModuleDiseaseMapping> moduleDiseaseMappings = moduleDiseaseMappingFacade.getModuleIdByDisease(moduleVO.getDiseaseId());
|
|
|
if(ListUtil.isNotEmpty(moduleDiseaseMappings)){
|
|
|
list = this.getModuleInfoByDisType(moduleVO.getDiseaseType());
|