材料站出库领料单接口分包单位修正
This commit is contained in:
parent
5f6087d0a9
commit
fc22661725
|
|
@ -150,11 +150,6 @@ public class MaterialLeaseInfoServiceImpl implements MaterialLeaseInfoService {
|
|||
|
||||
// 处理剩余数据
|
||||
if (!CollectionUtils.isEmpty(sortedList)) {
|
||||
for (MaterialLeaseApplyInfo materialRetainedEquipmentInfo : sortedList) {
|
||||
// 根据班组名称查询分包单位
|
||||
String subUnitName = iwsTeamUserMapper.getTeamName(materialRetainedEquipmentInfo.getTeamName());
|
||||
materialRetainedEquipmentInfo.setSubUnitName(subUnitName);
|
||||
}
|
||||
if(leaseApplyInfo.getSubUnitName()!=null && !leaseApplyInfo.getSubUnitName().equals("") && !sortedList.isEmpty()){
|
||||
// 根据传入的SubUnitName过滤列表
|
||||
sortedList = sortedList.stream()
|
||||
|
|
|
|||
Loading…
Reference in New Issue