ソースを参照

fix(采购合同):bug修复

Wangyafan 7 ヶ月 前
コミット
4e487c0b5b
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      src/main/java/com/inkasso/factoring/purchManagement/service/impl/CPurchContractManagementServiceImpl.java

+ 2 - 1
src/main/java/com/inkasso/factoring/purchManagement/service/impl/CPurchContractManagementServiceImpl.java

@@ -246,7 +246,8 @@ public class CPurchContractManagementServiceImpl extends ServiceImpl<CPurchContr
             purchContractVo.setBasicInfo(salesContractBasicVo);
 
             //获取最新的采购合同信息
-            CPurchContractBasicInfo purch = purchContractBasicInfoService.getById(purchContractManagement.getId());
+            CPurchContractBasicInfo purch = purchContractBasicInfoService
+                    .lambdaQuery().eq(CPurchContractBasicInfo::getPurchContractManagementId,purchContractManagement.getId()).one();
 
             //根据采购合同获取其他信息
             if (purch != null && purch.getId() != null) {