ソースを参照

采购合同审核

wangyf 6 日 前
コミット
a757ae8c20
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      src/main/java/com/sunxung/factoring/service/purchcontractmanagement/impl/PurchContractApprovalServiceImpl.java

+ 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();
                 }