From 4804c5f3ba56e77266881b3f53a699e805400fda Mon Sep 17 00:00:00 2001 From: zhanghai <120228220@qq.com> Date: Sun, 24 Dec 2023 14:01:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BC=A9=E7=95=A5=EF=BC=8C?= =?UTF-8?q?=E8=AF=A6=E7=BB=86=E7=B4=A2=E5=BC=95=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/docus/sw/souyin/ExcelUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/docus/sw/souyin/ExcelUtil.java b/src/main/java/com/docus/sw/souyin/ExcelUtil.java index 2b4b801..56226d5 100644 --- a/src/main/java/com/docus/sw/souyin/ExcelUtil.java +++ b/src/main/java/com/docus/sw/souyin/ExcelUtil.java @@ -70,7 +70,7 @@ public class ExcelUtil { int columnIndex = cell.getColumnIndex(); - if(columnIndex==6&&row.getRowNum()!=0){ + if(columnIndex==4&&row.getRowNum()!=0){ PdfPCell pdfCell = new PdfPCell(new Paragraph(String.valueOf((int)cell.getNumericCellValue()), new Font(BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED), 12))); pdfCell.setBorderWidth(1f); pdfCell.setHorizontalAlignment(Element.ALIGN_CENTER);