|
@@ -3130,9 +3130,7 @@ public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract>
|
|
|
boolean flag = true;
|
|
|
List<ContractProduct> list = contractProductService.list(q -> q.eq(ContractProduct::getQuantity, contractId));
|
|
|
for (ContractProduct contractProduct : list) {
|
|
|
- List<ContractOutboundRecordsVo> cor = contractOutboundRecordsService.getList(IWrapper.getWrapper()
|
|
|
- .eq("cor", ContractOutboundRecords::getContractProductId, contractProduct.getId())
|
|
|
- .in("coi.status", 10, 30, 60)
|
|
|
+ List<ContractOutboundRecordsVo> cor = contractOutboundRecordsService.getList(IWrapper.getWrapper().eq("cor", ContractOutboundRecords::getContractProductId, contractProduct.getId()).in("coi.status", 30, 60)
|
|
|
);
|
|
|
if (ObjectUtil.isEmpty(cor)) {
|
|
|
cor = new ArrayList<>();
|