Browse Source

modify:

1. 终验只展示建设类标项;
tags/24110801^0
WendyYang 3 weeks ago
parent
commit
17f5668486
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/FinalAcceptanceManage.java

+ 3
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/FinalAcceptanceManage.java View File

@@ -119,6 +119,7 @@ public class FinalAcceptanceManage {
}
LambdaQueryWrapper<Purchase> purchaseQuery = Wrappers.lambdaQuery(Purchase.class)
.select(Purchase::getProjectId, Purchase::getStatus)
.eq(Purchase::getBidType, BidTypeEnum.BUILD_APP.getCode())
.in(Purchase::getStatus, FINAL_INSPECTED_TENDER_STATUS);
List<Purchase> purchases = purchaseService.list(purchaseQuery);
if (purchases.isEmpty()) {
@@ -164,7 +165,8 @@ public class FinalAcceptanceManage {
return null;
}
LambdaQueryWrapper<Purchase> purchaseQuery = Wrappers.lambdaQuery(Purchase.class)
.select(Purchase::getStatus, Purchase::getProjectId, Purchase::getId, Purchase::getBidName);
.select(Purchase::getStatus, Purchase::getProjectId, Purchase::getId, Purchase::getBidName)
.eq(Purchase::getBidType, BidTypeEnum.BUILD_APP.getCode());
if (req.getTabStatus() == null) {
purchaseQuery.in(Purchase::getStatus, FINAL_INSPECTED_TENDER_STATUS);
} else {


Loading…
Cancel
Save