|
@@ -137,7 +137,9 @@ public class PurchContractSignConclusionServiceImpl extends ServiceImpl<PurchCon
|
|
|
PurchContractApproval latestPurchContractApproval = purchContractApprovalService
|
|
|
.getOne(new QueryWrapper<PurchContractApproval>().eq("purch_contract_basic_info_id", purch.getId())
|
|
|
.eq("visible", 1)
|
|
|
- .orderByDesc("gmt_create").last("limit 1"));
|
|
|
+ .eq("approval_conclusion", "pass")
|
|
|
+ .orderByDesc("gmt_create")
|
|
|
+ .last("limit 1"));
|
|
|
if (latestPurchContractApproval == null) {
|
|
|
return null;
|
|
|
}
|