Przeglądaj źródła

采购合同审核

wangyf 6 dni temu
rodzic
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();
                 }