From 8ca24e3da85212f51c4c908172599dc0226f4418 Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Thu, 2 Sep 2021 10:52:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BAexcel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/reportexcel/util/XlsSheetUtil.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java index cf03020f..0f30339d 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/reportexcel/util/XlsSheetUtil.java @@ -5,8 +5,6 @@ import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.apache.poi.ss.usermodel.*; import org.apache.poi.ss.util.CellRangeAddress; -import org.apache.poi.xssf.usermodel.XSSFCell; -import org.apache.poi.xssf.usermodel.XSSFColor; import java.util.*; @@ -102,17 +100,6 @@ public class XlsSheetUtil { CellStyle style = wb.createCellStyle(); cell.setCellStyle(style); - //bs 边框样式 //bc 边框颜色 - setBorderStyle(style, v_json, "bs", "bc"); - //bs_t 上边框样式 bc_t 上边框颜色 - setBorderStyle(style, v_json, "bs_t", "bc_t"); - //bs_b 下边框样式 bc_b 下边框颜色 - setBorderStyle(style, v_json, "bs_b", "bc_b"); - //bs_l 左边框样式 bc_l 左边框颜色 - setBorderStyle(style, v_json, "bs_l", "bc_l"); - //bs_r 右边框样式 bc_r 右边框颜色 - setBorderStyle(style, v_json, "bs_r", "bc_r"); - //合并单元格 //参数1:起始行 参数2:终止行 参数3:起始列 参数4:终止列