Commit 2f47243d authored by leizhan's avatar leizhan

修改:勘察详情页,设计信息对象返回出错的问题

parent 4b5df648
......@@ -246,7 +246,7 @@ public class SurveyInformationServiceImpl extends BaseService<SurveyInformationD
QueryWrapper<DesignInformation> designInformationQueryWrapper = new QueryWrapper<>();
designInformationQueryWrapper.eq("survey_information_id", surveyInformationId);
DesignInformation designInformation = designInformationService.getBaseMapper().selectOne(designInformationQueryWrapper);
if(information == null){
if(designInformation == null){
surveyInfoAllDto.setDesignInformation(new DesignInformationDto());
}else {
surveyInfoAllDto.setDesignInformation(BeanDtoUtils.convert(designInformation, DesignInformationDto.class));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment