|
|
@ -247,7 +247,6 @@ public class DwCheckingV2Service extends BaseService<DwCheckingV2Mapper, DwCheck |
|
|
|
receiveV2Dto.setUnitList(BeanCopyUtils.copyList(list, DwProReceiveFeedbackV2Dto.DwTeamUnitV2Dto.class)); |
|
|
|
List<DwCheckingV2ProjectManage> manageList = |
|
|
|
this.baseMapper.selectList(new LambdaQueryWrapper<DwCheckingV2ProjectManage>() |
|
|
|
.apply(" distinct dike_code ") |
|
|
|
.in(DwCheckingV2ProjectManage::getDikeCode, list.stream() |
|
|
|
.map(BsSgcDfManateam::getDikeCode) |
|
|
|
.collect(Collectors.toList()))); |
|
|
@ -258,7 +257,7 @@ public class DwCheckingV2Service extends BaseService<DwCheckingV2Mapper, DwCheck |
|
|
|
DwProReceiveFeedbackV2Dto.DwProjectDropDownItemV2Dto copy = |
|
|
|
BeanCopyUtils.copy(e, DwProReceiveFeedbackV2Dto.DwProjectDropDownItemV2Dto.class); |
|
|
|
assert copy != null; |
|
|
|
copy.setPersonName(personNameList.getOrDefault(copy.getDikeCode(), com.baomidou.mybatisplus.core.toolkit.StringUtils.EMPTY)); |
|
|
|
copy.setPersonName(personNameList.getOrDefault(copy.getDikeCode(), StringUtils.EMPTY)); |
|
|
|
return copy; |
|
|
|
}).collect(Collectors.toList())); |
|
|
|
return receiveV2Dto; |
|
|
|