Commit 23fee198 authored by chenzhao's avatar chenzhao

资料下载补充发货单模版

parent d6a8434d
...@@ -980,11 +980,10 @@ public class CommonServiceImpl { ...@@ -980,11 +980,10 @@ public class CommonServiceImpl {
createZipFile(ziLiaoDir, "批量资料",response); createZipFile(ziLiaoDir, "批量资料",response);
} }
private void autoSizeColumns(Sheet sheet) { private void autoSizeColumns(Sheet sheet) {
if (null != sheet.getRow(0) ){
for (int i = 0; i < sheet.getRow(0).getLastCellNum(); i++) { for (int i = 0; i < sheet.getRow(0).getLastCellNum(); i++) {
sheet.autoSizeColumn(i); sheet.autoSizeColumn(i);
}
} }
} }
private void fillSheet(Sheet sheet, Object data) { private void fillSheet(Sheet sheet, Object data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment