|
@@ -612,13 +612,16 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
for (int j=0;j<purchaseOrderList.size();j++){
|
|
for (int j=0;j<purchaseOrderList.size();j++){
|
|
if (contractManagementInfoList.get(i).getContractNo().equals(purchaseOrderList.get(j).getContractNo())){
|
|
if (contractManagementInfoList.get(i).getContractNo().equals(purchaseOrderList.get(j).getContractNo())){
|
|
contractManagementInfoList.remove(contractManagementInfoList.get(i));
|
|
contractManagementInfoList.remove(contractManagementInfoList.get(i));
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if(!CollectionUtils.isEmpty(contractManagementInfoList)) {
|
|
|
|
- temp.add(contractManagementInfoList.get(i));
|
|
|
|
- }
|
|
|
|
|
|
+// if(!CollectionUtils.isEmpty(contractManagementInfoList)) {
|
|
|
|
+// temp.add(contractManagementInfoList.get(i));
|
|
|
|
+//
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
+ temp.addAll(contractManagementInfoList);
|
|
}
|
|
}
|
|
return temp;
|
|
return temp;
|
|
}
|
|
}
|
|
@@ -638,13 +641,15 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
|
|
for (int j=0;j<saleOrderList.size();j++){
|
|
for (int j=0;j<saleOrderList.size();j++){
|
|
if (contractManagementInfoList.get(i).getContractNo().equals(saleOrderList.get(j).getContractNo())){
|
|
if (contractManagementInfoList.get(i).getContractNo().equals(saleOrderList.get(j).getContractNo())){
|
|
contractManagementInfoList.remove(contractManagementInfoList.get(i));
|
|
contractManagementInfoList.remove(contractManagementInfoList.get(i));
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if(!CollectionUtils.isEmpty(contractManagementInfoList)) {
|
|
|
|
- temp.add(contractManagementInfoList.get(i));
|
|
|
|
- }
|
|
|
|
|
|
+// if(!CollectionUtils.isEmpty(contractManagementInfoList)) {
|
|
|
|
+// temp.add(contractManagementInfoList.get(i));
|
|
|
|
+// }
|
|
}
|
|
}
|
|
|
|
+ temp.addAll(contractManagementInfoList);
|
|
}
|
|
}
|
|
return temp;
|
|
return temp;
|
|
}
|
|
}
|