소스 검색

采购合同审核

wangyf 3 일 전
부모
커밋
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();
                 }