瀏覽代碼

feat:

1. 增加标项联系人与联系电话;
tags/24121201
WendyYang 4 週之前
父節點
當前提交
3d437c7450
共有 2 個檔案被更改,包括 10 行新增3 行删除
  1. +4
    -3
      hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiProjectLibManage.java
  2. +6
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/open/model/vo/TenderToMhDetailVO.java

+ 4
- 3
hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiProjectLibManage.java 查看文件

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


+ 6
- 0
hz-pm-api/src/main/java/com/hz/pm/api/open/model/vo/TenderToMhDetailVO.java 查看文件

@@ -30,6 +30,12 @@ public class TenderToMhDetailVO {
@ApiModelProperty(value = "标项名称")
private String name;

@ApiModelProperty(value = "标项联系人")
private String contactPerson;

@ApiModelProperty(value = "标项联系人电话")
private String contact;

@ApiModelProperty(value = "标项预算(万元)")
private BigDecimal budgetPrice;



Loading…
取消
儲存