Commit 7c9c523c74b36fdee35183e94b45ac479bf831b0
1 parent
c82b5b2721
Exists in
master
and in
1 other branch
code update
Showing 1 changed file with 2 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/ExcelUtil.java
View file @
7c9c523
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 | // 设置指定行高 |
50 | 50 | ws.setRowView(0, 300); |
51 | 51 | |
52 | - ws.mergeCells(5, 1, 5, 1); | |
52 | + | |
53 | 53 | // 设置列宽 |
54 | 54 | for (int j = 0, columLen = columName.size(); j < columLen; j++) |
55 | 55 | { |
... | ... | @@ -69,7 +69,7 @@ |
69 | 69 | ws.addCell(new Label(j, 1 + 0, keyORvalue)); |
70 | 70 | j++; |
71 | 71 | } |
72 | - | |
72 | + ws.mergeCells(5, 1, 5, 1); | |
73 | 73 | |
74 | 74 | // // 填充数据的内容 |
75 | 75 | // Map<String, Object> map; |