|
|
@@ -111,7 +111,6 @@ public class ExportExcel {
|
|
|
sheet.setColumnWidth((short) 4, (short) 8500);
|
|
|
sheet.setColumnWidth((short) 5, (short) 8500);
|
|
|
sheet.setColumnWidth((short) 6, (short) 8500);
|
|
|
- sheet.setColumnWidth((short) 7, (short) 8500);
|
|
|
|
|
|
|
|
|
}
|
|
|
@@ -131,7 +130,6 @@ public class ExportExcel {
|
|
|
sheet.setColumnWidth((short) 5, (short) 8500);
|
|
|
sheet.setColumnWidth((short) 6, (short) 8500);
|
|
|
sheet.setColumnWidth((short) 7, (short) 8500);
|
|
|
- sheet.setColumnWidth((short) 8, (short) 8500);
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -167,7 +165,7 @@ public class ExportExcel {
|
|
|
cellStyle2.setWrapText(true);
|
|
|
|
|
|
/*第一行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 7));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 6));
|
|
|
|
|
|
/*第一行塞值*/
|
|
|
row = sheet.createRow(0);
|
|
|
@@ -175,7 +173,7 @@ public class ExportExcel {
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
cell.setCellValue("商品调价单导入");
|
|
|
/*第二行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 7));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 6));
|
|
|
/*第二行塞值*/
|
|
|
row = sheet.createRow(1);
|
|
|
cell = row.createCell(0);// ID
|
|
|
@@ -192,9 +190,6 @@ public class ExportExcel {
|
|
|
cell.setCellStyle(cellStyle2);
|
|
|
cell.setCellValue("备注(非必填)");
|
|
|
|
|
|
- cell = row.createCell(2);
|
|
|
- cell.setCellStyle(cellStyle2);
|
|
|
- cell.setCellValue("牌价(必填,价格不变时填0)");
|
|
|
|
|
|
cell = row.createCell(3);
|
|
|
cell.setCellStyle(cellStyle2);
|
|
|
@@ -230,9 +225,6 @@ public class ExportExcel {
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("备注");
|
|
|
|
|
|
- cell = row.createCell(2);
|
|
|
- cell.setCellStyle(cellStyle3);
|
|
|
- cell.setCellValue("100");
|
|
|
|
|
|
cell = row.createCell(3);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
@@ -283,7 +275,7 @@ public class ExportExcel {
|
|
|
|
|
|
|
|
|
/*第一行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 8));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 7));
|
|
|
|
|
|
/*第一行塞值*/
|
|
|
row = sheet.createRow(0);
|
|
|
@@ -291,7 +283,7 @@ public class ExportExcel {
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("商品调价单导入");
|
|
|
/*第二行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 8));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 7));
|
|
|
/*第二行塞值*/
|
|
|
row = sheet.createRow(1);
|
|
|
cell = row.createCell(0);// ID
|
|
|
@@ -330,7 +322,7 @@ public class ExportExcel {
|
|
|
|
|
|
|
|
|
cell = row.createCell(7);
|
|
|
- cell.setCellStyle(cellStyle2);
|
|
|
+ cell.setCellStyle(cellStyle1);
|
|
|
cell.setCellValue("错误信息");
|
|
|
|
|
|
}
|