|
@@ -281,7 +281,7 @@ public class ModuleInfoFacade extends ModuleInfoServiceImpl {
|
|
|
//将用户信息放入实体
|
|
|
for (ModuleInfoListDTO moduleInfoListDTO : moduleInfoDTOIPage.getRecords()) {
|
|
|
moduleInfoListDTO.setUserName(respDTO.data.get(moduleInfoListDTO.getModifier()));
|
|
|
- if(moduleInfoListDTO.getModuleType().intValue() != 3){
|
|
|
+ if(dictionaryInfoMap.get(moduleInfoListDTO.getType()) != null ){
|
|
|
moduleInfoListDTO.setAscriptionName(dictionaryInfoMap.get(moduleInfoListDTO.getType()).getName());
|
|
|
}
|
|
|
if(moduleInfoListDTO.getModuleType().intValue() == 1){//根据科室
|
|
@@ -464,10 +464,10 @@ public class ModuleInfoFacade extends ModuleInfoServiceImpl {
|
|
|
List<DisDTO> disDTOS = new ArrayList<>();
|
|
|
for (DisType disType: disTypes) {
|
|
|
DisDTO disDTO = new DisDTO();
|
|
|
- disDTO.setId(disType.getParentId());
|
|
|
+ disDTO.setId(disType.getDisId());
|
|
|
disDTOS.add(disDTO);
|
|
|
}
|
|
|
- List<Long> questionIds = disTypes.stream().map(DisType::getParentId).collect(Collectors.toList());
|
|
|
+ List<Long> questionIds = disTypes.stream().map(DisType::getDisId).collect(Collectors.toList());
|
|
|
QueryWrapper<QuestionInfo> questionInfoQueryWrapper = new QueryWrapper<>();
|
|
|
questionInfoQueryWrapper.eq("is_deleted",IsDeleteEnum.N.getKey())
|
|
|
.in("id",questionIds);
|