|
@@ -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) {
|