This commit is contained in:
parent
8d9b7ccfa3
commit
dfaf94edd2
|
|
@ -92,6 +92,7 @@ public class MaterialBackApplyInfoServiceImpl implements MaterialBackApplyInfoSe
|
|||
if (!org.springframework.util.CollectionUtils.isEmpty(projectIdList)) {
|
||||
backApplyInfo.setProjectIdList(projectIdList);
|
||||
}
|
||||
backApplyInfo.setIdCard(null);
|
||||
}
|
||||
List<MaterialBackApplyInfo> list = materialBackInfoMapper.selectBackApplyInfoList(backApplyInfo);
|
||||
// 如果列表为空,直接返回空列表
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
|
|||
if (!CollectionUtils.isEmpty(projectIdList)) {
|
||||
leaseApplyInfo.setProjectIdList(projectIdList);
|
||||
}
|
||||
leaseApplyInfo.setIdCard(null);
|
||||
}
|
||||
List<MaterialLeaseApplyInfo> list = materialLeaseInfoMapper.selectLeaseApplyInfoList(leaseApplyInfo);
|
||||
// 利用Stream API进行降序排序
|
||||
|
|
|
|||
|
|
@ -327,6 +327,7 @@ public class MaterialMachineServiceImpl implements MaterialMachineService {
|
|||
for (MaterialRetainedEquipmentInfo retainedEquipmentInfo : list) {
|
||||
MaterialRetainedEquipmentInfo info = new MaterialRetainedEquipmentInfo();
|
||||
info.setTypeId(retainedEquipmentInfo.getTypeId());
|
||||
info.setTeamId(bean.getTeamId());
|
||||
List<MaterialRetainedEquipmentInfo> teamUseNumDetailsList = materialMachineMapper.getTeamUseNumDetailsList(info);
|
||||
if (CollectionUtils.isNotEmpty(teamUseNumDetailsList)) {
|
||||
retainedEquipmentInfo.setModelList(teamUseNumDetailsList);
|
||||
|
|
|
|||
Loading…
Reference in New Issue