Bladeren bron

项目库导出修改

tags/24080901
CMM 1 jaar geleden
bovenliggende
commit
d37e8ffd62
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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 Bestand weergeven

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


Laden…
Annuleren
Opslaan