Bläddra i källkod

feat:

1. 标项详情开放接口增加合同金额;
tags/24121201
WendyYang 3 veckor sedan
förälder
incheckning
312a0fe696
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 Visa fil

@@ -226,8 +226,7 @@ public class OpenApiProjectLibManage {
.collect(Collectors.groupingBy(ProjectGovSystemReplaceInfos::getBidId,
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);
Map<Long, Operation> operationMap = CollUtils.listToMap(operations, Operation::getBidId);
@@ -270,6 +269,7 @@ public class OpenApiProjectLibManage {
if (contract != null) {
tender.setBuyConFiles(collectFileStrIds(contract.getAttachment(), fileIds, fileIdMap));
tender.setConSignTime(contract.getContractTime());
tender.setConPrice(contract.getTotalAmount());
tender.setImplCompanyPhone(contract.getSupplierContactInfo());
tender.setImplCompanyPeople(contract.getSupplierContact());
}


Laddar…
Avbryt
Spara