Browse Source

问题处理

yzc 1 year ago
parent
commit
2c0e44f2dd

+ 1 - 3
hx-sale/src/main/java/com/fjhx/sale/service/contract/impl/ContractServiceImpl.java

@@ -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<>();