From f4093767d30b7ff12a343cc4b7d75f307debd06b Mon Sep 17 00:00:00 2001 From: "jipengfei.jpf" Date: Tue, 13 Nov 2018 17:09:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8Dbug=EF=BC=8C=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=B7=A5=E5=85=B7=EF=BC=8C=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E8=BD=AC=E6=8D=A2=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/alibaba/easyexcel/test/WriteTest.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/test/java/com/alibaba/easyexcel/test/WriteTest.java b/src/test/java/com/alibaba/easyexcel/test/WriteTest.java index d961546b..1b8d2ce1 100644 --- a/src/test/java/com/alibaba/easyexcel/test/WriteTest.java +++ b/src/test/java/com/alibaba/easyexcel/test/WriteTest.java @@ -33,7 +33,6 @@ public class WriteTest { //sheet1.setAutoWidth(Boolean.TRUE); writer.write1(createTestListObject(), sheet1); - //写第二个sheet sheet2 模型上打有表头的注解,合并单元格 Sheet sheet2 = new Sheet(2, 3, JavaModel1.class, "第二个sheet", null); sheet2.setTableStyle(createTableStyle()); @@ -42,8 +41,6 @@ public class WriteTest { //需要合并单元格 writer.merge(5,20,1,1); - - //写第三个sheet包含多个table情况 Sheet sheet3 = new Sheet(3, 0); sheet3.setSheetName("第三个sheet"); @@ -82,16 +79,12 @@ public class WriteTest { //sheet1.setAutoWidth(Boolean.TRUE); writer.write1(createTestListObject(), sheet1); - - //写第二个sheet sheet2 模型上打有表头的注解,合并单元格 Sheet sheet2 = new Sheet(2, 3, JavaModel1.class, "第二个sheet", null); sheet2.setTableStyle(createTableStyle()); sheet2.setStartRow(20); writer.write(createTestListJavaMode(), sheet2); - - //写第三个sheet包含多个table情况 Sheet sheet3 = new Sheet(3, 0); sheet3.setSheetName("第三个sheet"); @@ -129,15 +122,11 @@ public class WriteTest { //sheet1.setAutoWidth(Boolean.TRUE); writer.write1(createTestListObject(), sheet1); - - //写第二个sheet sheet2 模型上打有表头的注解,合并单元格 Sheet sheet2 = new Sheet(2, 3, JavaModel1.class, "第二个sheet", null); sheet2.setTableStyle(createTableStyle()); writer.write(createTestListJavaMode(), sheet2); - - //写第三个sheet包含多个table情况 Sheet sheet3 = new Sheet(3, 0); sheet3.setSheetName("第三个sheet");