修改基础信息查询时gender字段的问题
This commit is contained in:
parent
e0cf9ea64d
commit
47da52461d
@ -302,10 +302,8 @@ public class BasePopulationInfoServiceImpl extends AbstractService implements IB
|
||||
if(populationInfoDTO == null){
|
||||
return new BasePopulationInfoDTO();
|
||||
}
|
||||
if(populationInfoDTO != null){
|
||||
DataDictionaryDTO dictDto = dataDictionaryService.getDictionaryById(populationInfoDTO.getGender());
|
||||
populationInfoDTO.setGender(dictDto.getDictionaryName());
|
||||
}
|
||||
DataDictionaryDTO dictDto = dataDictionaryService.getDictionaryById(populationInfoDTO.getGender());
|
||||
populationInfoDTO.setGender(dictDto == null ? "" : dictDto.getDictionaryName());
|
||||
return populationInfoDTO;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user