Browse Source

采购合同审核

wangyf 3 days ago
parent
commit
a757ae8c20

+ 1 - 1
src/main/java/com/sunxung/factoring/service/purchcontractmanagement/impl/PurchContractApprovalServiceImpl.java

@@ -680,7 +680,7 @@ public class PurchContractApprovalServiceImpl extends ServiceImpl<PurchContractA
                     result = "签署";
                 } else {
                     result = "通过";
-                    purchContractService.lambdaUpdate().eq(PurchContractManagement::getId,purchContractManagement)
+                    purchContractService.lambdaUpdate().eq(PurchContractManagement::getId,purchContractManagement.getId())
                             .set(PurchContractManagement::getContractStatus,ProjectInitiationStatusDict.ChildEnum.COMPLETED.getCode())
                             .update();
                 }