Browse Source

feat:

1. 标项详情开放接口增加合同金额;
tags/24121201
WendyYang 3 weeks ago
parent
commit
312a0fe696
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiProjectLibManage.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiProjectLibManage.java View File

@@ -226,8 +226,7 @@ public class OpenApiProjectLibManage {
.collect(Collectors.groupingBy(ProjectGovSystemReplaceInfos::getBidId, .collect(Collectors.groupingBy(ProjectGovSystemReplaceInfos::getBidId,
Collectors.mapping(ProjectGovSystemReplaceInfos::getSourceSystemId, Collectors.toList()))); Collectors.mapping(ProjectGovSystemReplaceInfos::getSourceSystemId, Collectors.toList())));
// 合同信息 // 合同信息
List<Contract> contracts = contractService.listByIds(bidIds);
Map<Long, Contract> contractMap = CollUtils.listToMap(contracts, Contract::getBidId);
Map<Long,Contract> contractMap = contractService.listByBidIds(bidIds);
// 实施信息 // 实施信息
List<Operation> operations = operationService.listByBidIds(bidIds); List<Operation> operations = operationService.listByBidIds(bidIds);
Map<Long, Operation> operationMap = CollUtils.listToMap(operations, Operation::getBidId); Map<Long, Operation> operationMap = CollUtils.listToMap(operations, Operation::getBidId);
@@ -270,6 +269,7 @@ public class OpenApiProjectLibManage {
if (contract != null) { if (contract != null) {
tender.setBuyConFiles(collectFileStrIds(contract.getAttachment(), fileIds, fileIdMap)); tender.setBuyConFiles(collectFileStrIds(contract.getAttachment(), fileIds, fileIdMap));
tender.setConSignTime(contract.getContractTime()); tender.setConSignTime(contract.getContractTime());
tender.setConPrice(contract.getTotalAmount());
tender.setImplCompanyPhone(contract.getSupplierContactInfo()); tender.setImplCompanyPhone(contract.getSupplierContactInfo());
tender.setImplCompanyPeople(contract.getSupplierContact()); tender.setImplCompanyPeople(contract.getSupplierContact());
} }


Loading…
Cancel
Save