Explorar o código

收支凭证导入判断归属日期是否符合格式

hu hai 11 meses
pai
achega
7e8279c08c

+ 3 - 3
src/custom/restcontroller/sale/cashbill/IncomeExportExcel.java

@@ -193,11 +193,11 @@ public class IncomeExportExcel {
 
 
         cell = row.createCell(4);
         cell = row.createCell(4);
         cell.setCellStyle(cellStyle2);
         cell.setCellStyle(cellStyle2);
-        cell.setCellValue(" 分类明细");
+        cell.setCellValue("分类明细");
 
 
         cell = row.createCell(5);
         cell = row.createCell(5);
         cell.setCellStyle(cellStyle2);
         cell.setCellStyle(cellStyle2);
-        cell.setCellValue(" 归属日期");
+        cell.setCellValue("归属日期");
 
 
         cell = row.createCell(6);
         cell = row.createCell(6);
         cell.setCellStyle(cellStyle2);
         cell.setCellStyle(cellStyle2);
@@ -229,7 +229,7 @@ public class IncomeExportExcel {
 
 
         cell = row.createCell(5);
         cell = row.createCell(5);
         cell.setCellStyle(cellStyle3);
         cell.setCellStyle(cellStyle3);
-        cell.setCellValue(" 归属日期");
+        cell.setCellValue("2024-07-01");
 
 
         cell = row.createCell(6);
         cell = row.createCell(6);
         cell.setCellStyle(cellStyle3);
         cell.setCellStyle(cellStyle3);

+ 1 - 1
src/custom/restcontroller/sale/cashbill/PayExportExcel.java

@@ -229,7 +229,7 @@ public class PayExportExcel {
 
 
         cell = row.createCell(5);
         cell = row.createCell(5);
         cell.setCellStyle(cellStyle3);
         cell.setCellStyle(cellStyle3);
-        cell.setCellValue(" 归属日期");
+        cell.setCellValue("2024-07-01");
 
 
         cell = row.createCell(6);
         cell = row.createCell(6);
         cell.setCellStyle(cellStyle3);
         cell.setCellStyle(cellStyle3);