Browse Source

项目库导出选项修改

master
CMM 1 year ago
parent
commit
e62ec0d244
2 changed files with 2 additions and 2 deletions
  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 View File

@@ -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 View File

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


Loading…
Cancel
Save