浏览代码

项目库导出选项修改

tags/24080901
CMM 1年前
父节点
当前提交
e62ec0d244
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存