Sfoglia il codice sorgente

项目库导出修改

master
CMM 1 anno fa
parent
commit
d37e8ffd62
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/common/util/ExcelDownUtil.java

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/common/util/ExcelDownUtil.java Vedi File

@@ -215,7 +215,7 @@ public class ExcelDownUtil {
String columnValue;
if (ExportOptionEnum.preliminaryPlanFile.equals(column)
|| ExportOptionEnum.supportingMaterialsFile.equals(column)){
String fileStr = String.valueOf(jsonObject.get(column.toString()));
String fileStr = jsonObject.getString(column.toString());
if (Objects.isNull(fileStr) || CommonConst.NULL.equals(fileStr)){
return;
}
@@ -223,7 +223,7 @@ public class ExcelDownUtil {
List<String> nameList = CollUtils.fieldList(fileArray, w -> w.getString(CommonConst.FILE_NAME));
columnValue = nameList.stream().collect(Collectors.joining(StrPool.COMMA));
}else {
columnValue = String.valueOf(jsonObject.get(column.toString()));
columnValue = jsonObject.getString(column.toString());
}
columnValues.add(columnValue);
});


Loading…
Annulla
Salva