Bladeren bron

项目库导出选项修改

tags/24080901
CMM 1 jaar geleden
bovenliggende
commit
e62ec0d244
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/enumeration/ExportOptionEnum.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/util/ExcelDownUtil.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/enumeration/ExportOptionEnum.java Bestand weergeven

@@ -46,7 +46,7 @@ public enum ExportOptionEnum {

buildOrgZheJiangGovDingId(14, "建设单位浙政钉ID"),

buildOrgCode(15, "建设单位统一信用代码"),
orgCreditCode(15, "建设单位统一信用代码"),

projectType(16, "项目类型"),



+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/util/ExcelDownUtil.java Bestand weergeven

@@ -201,7 +201,7 @@ public class ExcelDownUtil {
for (ExportOptionEnum column : columnList) {
List<String> columnValues = Lists.newArrayList();
columnValues.add(column.getDesc());
projects.stream().forEach(project -> {
projects.forEach(project -> {
String s = JSON.toJSONString(project);
JSONObject jsonObject = JSON.parseObject(s);
String columnValue = String.valueOf(jsonObject.get(column.toString()));


Laden…
Annuleren
Opslaan