|
|
@@ -203,8 +203,8 @@ public class ExportExcel {
|
|
|
|
|
|
|
|
|
/*第一行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 12));
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 13, 14));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 13));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 14, 15));
|
|
|
|
|
|
/*第一行塞值*/
|
|
|
row = sheet.createRow(0);
|
|
|
@@ -217,15 +217,15 @@ public class ExportExcel {
|
|
|
cell.setCellValue("商品档案更新");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(13);// ID
|
|
|
+ cell = row.createCell(14);// ID
|
|
|
cell.setCellStyle(cellStyle1);
|
|
|
|
|
|
/*第二行*/
|
|
|
- cell = row.createCell(13);// ID
|
|
|
+ cell = row.createCell(14);// ID
|
|
|
cell.setCellStyle(cellStyle1);
|
|
|
cell.setCellValue("商品营销分类列表");
|
|
|
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 14));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 15));
|
|
|
/*第二行塞值*/
|
|
|
row = sheet.createRow(1);
|
|
|
cell = row.createCell(0);// ID
|
|
|
@@ -237,7 +237,7 @@ public class ExportExcel {
|
|
|
|
|
|
cell = row.createCell(0);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
- cell.setCellValue("产品编码(必填)");
|
|
|
+ cell.setCellValue("产品编号(必填)");
|
|
|
|
|
|
cell = row.createCell(1);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
@@ -257,13 +257,17 @@ public class ExportExcel {
|
|
|
|
|
|
cell = row.createCell(4);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
+ cell.setCellValue("注册证号(必填)");
|
|
|
+
|
|
|
+ cell = row.createCell(5);
|
|
|
+ cell.setCellStyle(cellStyle3);
|
|
|
if (isInsert) {
|
|
|
cell.setCellValue("计量单位(必填)");
|
|
|
} else {
|
|
|
cell.setCellValue("计量单位");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(5);
|
|
|
+ cell = row.createCell(6);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
if (isInsert) {
|
|
|
cell.setCellValue("品名(必填)");
|
|
|
@@ -271,7 +275,7 @@ public class ExportExcel {
|
|
|
cell.setCellValue("品名");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(6);
|
|
|
+ cell = row.createCell(7);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
if (isInsert) {
|
|
|
cell.setCellValue("品号(必填)");
|
|
|
@@ -279,35 +283,35 @@ public class ExportExcel {
|
|
|
cell.setCellValue("品号");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(7);
|
|
|
+ cell = row.createCell(8);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("辅助说明");
|
|
|
|
|
|
- cell = row.createCell(8);
|
|
|
+ cell = row.createCell(9);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("俗称释义");
|
|
|
|
|
|
- cell = row.createCell(9);
|
|
|
+ cell = row.createCell(10);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("备货分类");
|
|
|
|
|
|
- cell = row.createCell(10);
|
|
|
+ cell = row.createCell(11);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("销售起订量(必填)");
|
|
|
|
|
|
- cell = row.createCell(11);
|
|
|
+ cell = row.createCell(12);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("销售增量(必填)");
|
|
|
|
|
|
- cell = row.createCell(12);
|
|
|
+ cell = row.createCell(13);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("备注");
|
|
|
|
|
|
- cell = row.createCell(13);
|
|
|
+ cell = row.createCell(14);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("品牌");
|
|
|
|
|
|
- cell = row.createCell(14);
|
|
|
+ cell = row.createCell(15);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("营销类别编码");
|
|
|
|
|
|
@@ -333,31 +337,31 @@ public class ExportExcel {
|
|
|
|
|
|
cell = row.createCell(4);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("个");
|
|
|
+ cell.setCellValue("123456789");
|
|
|
|
|
|
cell = row.createCell(5);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("测试");
|
|
|
+ cell.setCellValue("个");
|
|
|
|
|
|
cell = row.createCell(6);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("NBNTO-28571530003");
|
|
|
+ cell.setCellValue("测试");
|
|
|
|
|
|
cell = row.createCell(7);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("辅助说明");
|
|
|
+ cell.setCellValue("NBNTO-28571530003");
|
|
|
|
|
|
cell = row.createCell(8);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("俗称释义");
|
|
|
+ cell.setCellValue("辅助说明");
|
|
|
|
|
|
cell = row.createCell(9);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("常规备货");
|
|
|
+ cell.setCellValue("俗称释义");
|
|
|
|
|
|
cell = row.createCell(10);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("1");
|
|
|
+ cell.setCellValue("常规备货");
|
|
|
|
|
|
cell = row.createCell(11);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
@@ -365,14 +369,18 @@ public class ExportExcel {
|
|
|
|
|
|
cell = row.createCell(12);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("备注");
|
|
|
+ cell.setCellValue("1");
|
|
|
|
|
|
cell = row.createCell(13);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
- cell.setCellValue("普瑞顺祥");
|
|
|
+ cell.setCellValue("备注");
|
|
|
|
|
|
cell = row.createCell(14);
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
+ cell.setCellValue("普瑞顺祥");
|
|
|
+
|
|
|
+ cell = row.createCell(15);
|
|
|
+ cell.setCellStyle(cellStyle4);
|
|
|
cell.setCellValue("001/002");
|
|
|
|
|
|
}
|
|
|
@@ -405,8 +413,8 @@ public class ExportExcel {
|
|
|
|
|
|
|
|
|
/*第一行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 12));
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 13, 14));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 13));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 14, 15));
|
|
|
/*第一行塞值*/
|
|
|
row = sheet.createRow(0);
|
|
|
cell = row.createCell(0);// ID
|
|
|
@@ -417,15 +425,15 @@ public class ExportExcel {
|
|
|
cell.setCellValue("商品档案更新");
|
|
|
}
|
|
|
/*第二行*/
|
|
|
- cell = row.createCell(13);// ID
|
|
|
- cell.setCellStyle(cellStyle1);
|
|
|
- cell.setCellValue("商品营销分类列表");
|
|
|
cell = row.createCell(14);// ID
|
|
|
cell.setCellStyle(cellStyle1);
|
|
|
+ cell.setCellValue("商品营销分类列表");
|
|
|
cell = row.createCell(15);// ID
|
|
|
cell.setCellStyle(cellStyle1);
|
|
|
+ cell = row.createCell(16);// ID
|
|
|
+ cell.setCellStyle(cellStyle1);
|
|
|
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 15));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 16));
|
|
|
/*第二行塞值*/
|
|
|
row = sheet.createRow(1);
|
|
|
cell = row.createCell(0);// ID
|
|
|
@@ -437,7 +445,7 @@ public class ExportExcel {
|
|
|
|
|
|
cell = row.createCell(0);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
- cell.setCellValue("产品编码(必填)");
|
|
|
+ cell.setCellValue("产品编号(必填)");
|
|
|
|
|
|
cell = row.createCell(1);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
@@ -457,13 +465,17 @@ public class ExportExcel {
|
|
|
|
|
|
cell = row.createCell(4);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
+ cell.setCellValue("注册证号(必填)");
|
|
|
+
|
|
|
+ cell = row.createCell(5);
|
|
|
+ cell.setCellStyle(cellStyle3);
|
|
|
if (isInsert) {
|
|
|
cell.setCellValue("计量单位(必填)");
|
|
|
} else {
|
|
|
cell.setCellValue("计量单位");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(5);
|
|
|
+ cell = row.createCell(6);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
if (isInsert) {
|
|
|
cell.setCellValue("品名(必填)");
|
|
|
@@ -471,7 +483,7 @@ public class ExportExcel {
|
|
|
cell.setCellValue("品名");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(6);
|
|
|
+ cell = row.createCell(7);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
if (isInsert) {
|
|
|
cell.setCellValue("品号(必填)");
|
|
|
@@ -479,39 +491,39 @@ public class ExportExcel {
|
|
|
cell.setCellValue("品号");
|
|
|
}
|
|
|
|
|
|
- cell = row.createCell(7);
|
|
|
+ cell = row.createCell(8);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("辅助说明");
|
|
|
|
|
|
- cell = row.createCell(8);
|
|
|
+ cell = row.createCell(9);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("俗称释义");
|
|
|
|
|
|
- cell = row.createCell(9);
|
|
|
+ cell = row.createCell(10);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("备货分类");
|
|
|
|
|
|
- cell = row.createCell(10);
|
|
|
+ cell = row.createCell(11);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("销售起订量(必填)");
|
|
|
|
|
|
- cell = row.createCell(11);
|
|
|
+ cell = row.createCell(12);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("销售增量(必填)");
|
|
|
|
|
|
- cell = row.createCell(12);
|
|
|
+ cell = row.createCell(13);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("特殊说明");
|
|
|
|
|
|
- cell = row.createCell(13);
|
|
|
+ cell = row.createCell(14);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("品牌");
|
|
|
|
|
|
- cell = row.createCell(14);
|
|
|
+ cell = row.createCell(15);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("营销类别编码");
|
|
|
|
|
|
- cell = row.createCell(15);
|
|
|
+ cell = row.createCell(16);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("错误信息");
|
|
|
}
|