|
|
@@ -227,10 +227,10 @@ public class OpenApiProjectLibManage { |
|
|
|
Collectors.mapping(ProjectGovSystemReplaceInfos::getSourceSystemId, Collectors.toList()))); |
|
|
|
// 合同信息 |
|
|
|
List<Contract> contracts = contractService.listByIds(bidIds); |
|
|
|
Map<Long, Contract> contractMap = CollUtils.listToMap(contracts, Contract::getId); |
|
|
|
Map<Long, Contract> contractMap = CollUtils.listToMap(contracts, Contract::getBidId); |
|
|
|
// 实施信息 |
|
|
|
List<Operation> operations = operationService.listByBidIds(bidIds); |
|
|
|
Map<Long, Operation> operationMap = CollUtils.listToMap(operations, Operation::getId); |
|
|
|
Map<Long, Operation> operationMap = CollUtils.listToMap(operations, Operation::getBidId); |
|
|
|
|
|
|
|
List<Long> fileIds = new ArrayList<>(); |
|
|
|
Map<Long, String> fileIdMap = new HashMap<>(); |
|
|
@@ -250,7 +250,8 @@ public class OpenApiProjectLibManage { |
|
|
|
tender.setXcReportFiles(collectFileStrIds(w.getXcfhxReportFiles(), fileIds, fileIdMap)); |
|
|
|
tender.setLpReportFiles(collectFileStrIds(w.getSecurityEvalMaterials(), fileIds, fileIdMap)); |
|
|
|
tender.setSystemIdList(bidIdSystemIdMap.get(w.getId())); |
|
|
|
|
|
|
|
tender.setContact(w.getPurchasePhone()); |
|
|
|
tender.setContactPerson(w.getPurchaseContact()); |
|
|
|
Operation operation = operationMap.get(w.getId()); |
|
|
|
if (operation != null) { |
|
|
|
tender.setRefactorTime(operation.getActualAdaptionTime()); |
|
|
|