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