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