Commit 06436b7c4298b990c55299fafde524142f0f371b
1 parent
cb46d55211
Exists in
master
and in
8 other branches
code update
Showing 1 changed file with 5 additions and 4 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/ExcelUtil.java
View file @
06436b7
| ... | ... | @@ -60,14 +60,15 @@ |
| 60 | 60 | String keyName = ""; |
| 61 | 61 | while (ite.hasNext()) |
| 62 | 62 | { |
| 63 | - if (j > 5 && j < 13) | |
| 64 | - { | |
| 65 | - continue; | |
| 66 | - } | |
| 63 | + | |
| 67 | 64 | keyName = ite.next(); |
| 68 | 65 | keyName = columName.get(keyName); |
| 69 | 66 | ws.addCell(new Label(j, 0, keyName, wcf)); |
| 70 | 67 | j++; |
| 68 | + if (j > 5 && j < 13) | |
| 69 | + { | |
| 70 | + continue; | |
| 71 | + } | |
| 71 | 72 | } |
| 72 | 73 | ws.mergeCells(5, 0, 5, 0); |
| 73 | 74 |