|
|
@@ -24,6 +24,7 @@ import com.hz.pm.api.projectdeclared.model.entity.ProjectConstructionSuggestions |
|
|
|
import com.hz.pm.api.projectdeclared.model.entity.Purchase; |
|
|
|
import com.hz.pm.api.projectdeclared.model.entity.PurchaseInst; |
|
|
|
import com.hz.pm.api.projectdeclared.model.entity.Xinchuang; |
|
|
|
import com.hz.pm.api.projectdeclared.model.enumerization.BidTypeEnum; |
|
|
|
import com.hz.pm.api.projectdeclared.model.enumerization.ProjectDraftTypeEnum; |
|
|
|
import com.hz.pm.api.projectdeclared.service.IConstructionSuggestionsService; |
|
|
|
import com.hz.pm.api.projectdeclared.service.IPurchaseInstService; |
|
|
@@ -326,7 +327,9 @@ public class HandlerManage { |
|
|
|
|
|
|
|
private void purchasePassedCallback(Project project, String instanceId, ProjectProcessType processStage) { |
|
|
|
// 查询所有的标段 |
|
|
|
List<Purchase> purchases = purchaseService.listByProjectId(project.getId()); |
|
|
|
List<Purchase> purchases = purchaseService.list(Wrappers.lambdaQuery(Purchase.class) |
|
|
|
.eq(Purchase::getProjectId, project.getId()) |
|
|
|
.eq(Purchase::getBidType, BidTypeEnum.BUILD_APP.getCode())); |
|
|
|
Map<Long, Purchase> purchaseMap = CollUtils.listToMap(purchases, Purchase::getId); |
|
|
|
// 查询所有标段对应的最新的信创审批流程编码 |
|
|
|
List<PurchaseInst> instList = purchaseInstService.list(Wrappers.lambdaQuery(PurchaseInst.class) |
|
|
|