Commit 38ff6f2fd3f6c0ecc0dbcbce02a63ef1860c4ff3
1 parent
ac85ff3233
Exists in
master
and in
1 other branch
助产机构报表
Showing 1 changed file with 1 additions and 1 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/ExcelUtil.java
View file @
38ff6f2
... | ... | @@ -319,7 +319,7 @@ |
319 | 319 | for (String key : sets) |
320 | 320 | { |
321 | 321 | String value = values.get(i).get(key); |
322 | - if (StringUtils.isNotEmpty(value)) | |
322 | + if (StringUtils.isNotEmpty(value) && StringUtils.isNum(value)) | |
323 | 323 | { |
324 | 324 | WritableCellFormat wcfN = new WritableCellFormat(contentFont); |
325 | 325 | wcfN.setAlignment(jxl.format.Alignment.CENTRE); |