|
@@ -106,7 +106,8 @@ public class IncomeExportExcel {
|
|
|
sheet.setColumnWidth((short) 2, (short) 5500);// 设置 金额 宽度
|
|
|
sheet.setColumnWidth((short) 3, (short) 5500);// 设置 分类 宽度
|
|
|
sheet.setColumnWidth((short) 4, (short) 5500);// 设置 分类明细 宽度
|
|
|
- sheet.setColumnWidth((short) 5, (short) 11000);// 设置 备注 宽度
|
|
|
+ sheet.setColumnWidth((short) 5, (short) 5500);// 设置 归属日期 宽度
|
|
|
+ sheet.setColumnWidth((short) 3, (short) 11000);// 设置 备注 宽度
|
|
|
}
|
|
|
|
|
|
|
|
@@ -121,8 +122,9 @@ public class IncomeExportExcel {
|
|
|
sheet.setColumnWidth((short) 2, (short) 5500);// 设置 金额 宽度
|
|
|
sheet.setColumnWidth((short) 3, (short) 5500);// 设置 分类 宽度
|
|
|
sheet.setColumnWidth((short) 4, (short) 5500);// 设置 分类明细 宽度
|
|
|
- sheet.setColumnWidth((short) 5, (short) 11000);// 设置 备注 宽度
|
|
|
- sheet.setColumnWidth((short) 6, (short) 8000);// 设置 错误信息 宽度
|
|
|
+ sheet.setColumnWidth((short) 5, (short) 5500);// 设置 归属日期 宽度
|
|
|
+ sheet.setColumnWidth((short) 6, (short) 11000);// 设置 备注 宽度
|
|
|
+ sheet.setColumnWidth((short) 7, (short) 8000);// 设置 错误信息 宽度
|
|
|
}
|
|
|
/**
|
|
|
* 2022-07-14 17:42:03
|
|
@@ -156,7 +158,7 @@ public class IncomeExportExcel {
|
|
|
cellStyle2.setWrapText(true);
|
|
|
|
|
|
/*第一行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 5));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 6));
|
|
|
|
|
|
/*第一行塞值*/
|
|
|
row = sheet.createRow(0);
|
|
@@ -164,7 +166,7 @@ public class IncomeExportExcel {
|
|
|
cell.setCellStyle(cellStyle4);
|
|
|
cell.setCellValue("收入凭证导入");
|
|
|
/*第二行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 5));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 6));
|
|
|
/*第二行塞值*/
|
|
|
row = sheet.createRow(1);
|
|
|
cell = row.createCell(0);// ID
|
|
@@ -195,6 +197,10 @@ public class IncomeExportExcel {
|
|
|
|
|
|
cell = row.createCell(5);
|
|
|
cell.setCellStyle(cellStyle2);
|
|
|
+ cell.setCellValue(" 归属日期");
|
|
|
+
|
|
|
+ cell = row.createCell(6);
|
|
|
+ cell.setCellStyle(cellStyle2);
|
|
|
cell.setCellValue("备注");
|
|
|
|
|
|
|
|
@@ -223,6 +229,10 @@ public class IncomeExportExcel {
|
|
|
|
|
|
cell = row.createCell(5);
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
+ cell.setCellValue(" 归属日期");
|
|
|
+
|
|
|
+ cell = row.createCell(6);
|
|
|
+ cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("备注");
|
|
|
|
|
|
}
|
|
@@ -253,7 +263,7 @@ public class IncomeExportExcel {
|
|
|
|
|
|
|
|
|
/*第一行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 6));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(0, 0, 0, 7));
|
|
|
|
|
|
/*第一行塞值*/
|
|
|
row = sheet.createRow(0);
|
|
@@ -261,7 +271,7 @@ public class IncomeExportExcel {
|
|
|
cell.setCellStyle(cellStyle3);
|
|
|
cell.setCellValue("收入凭证导入");
|
|
|
/*第二行*/
|
|
|
- sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 6));
|
|
|
+ sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 7));
|
|
|
/*第二行塞值*/
|
|
|
row = sheet.createRow(1);
|
|
|
cell = row.createCell(0);// ID
|
|
@@ -292,9 +302,13 @@ public class IncomeExportExcel {
|
|
|
|
|
|
cell = row.createCell(5);
|
|
|
cell.setCellStyle(cellStyle2);
|
|
|
+ cell.setCellValue(" 归属日期");
|
|
|
+
|
|
|
+ cell = row.createCell(6);
|
|
|
+ cell.setCellStyle(cellStyle2);
|
|
|
cell.setCellValue("备注");
|
|
|
|
|
|
- cell = row.createCell(6);
|
|
|
+ cell = row.createCell(7);
|
|
|
cell.setCellStyle(cellStyle2);
|
|
|
cell.setCellValue("错误信息");
|
|
|
|