瀏覽代碼

feat:

1. 标项详情开放接口增加合同金额;
tags/24121201
WendyYang 3 週之前
父節點
當前提交
312a0fe696
共有 1 個文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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());
}


Loading…
取消
儲存