From 28a6ee45ba66f9993f2310594bb7e94ec276eb2a Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 12 八月 2024 16:15:16 +0800 Subject: [PATCH] 生命周期:在非编辑状态下,左边的状态列表不显示,中间的图不能拖动。在编辑状态下,左边的生命周期列表不能切换选中项。 --- Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/bo/WriteExcelData.java | 35 +++++++++++++++++++++++++++++++---- 1 files changed, 31 insertions(+), 4 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/bo/WriteExcelData.java b/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/bo/WriteExcelData.java index 34ab1ba..f49580e 100644 --- a/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/bo/WriteExcelData.java +++ b/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/bo/WriteExcelData.java @@ -1,8 +1,5 @@ package com.vci.starter.poi.bo; -import org.apache.poi.ss.usermodel.CellStyle; -import org.apache.poi.ss.usermodel.Font; - import java.util.List; /** @@ -107,7 +104,6 @@ */ private Integer width; - public String getFontColor() { return fontColor; } @@ -145,6 +141,37 @@ } /** + * 鏋勯�犳柟娉�-鏄惁灞呬腑 + * @param row 琛� + * @param col 鍒� + * @param obj 鍊� + */ + public WriteExcelData(int row, int col, boolean center, Object obj){ + this.row = row; + this.col = col; + this.center = center; + this.obj = obj; + } + + /** + * 鏋勯�犳柟娉�-鍚堝苟锛屽眳涓弬鏁� + * @param row 琛� + * @param rowTo 鍚堝苟琛� + * @param merged 鏄惁鍚堝苟鍗曞厓鏍� + * @param center 鏄惁灞呬腑 + * @param col 鍒� + * @param obj 鍊� + */ + public WriteExcelData(int row,int rowTo,boolean merged,boolean center, int col, Object obj){ + this.row = row; + this.rowTo = rowTo; + this.merged = merged; + this.center = center; + this.col = col; + this.obj = obj; + } + + /** * 鍐欏叕寮� * @param row 琛屽彿 浠�0 寮�濮� * @param col 鍒楀彿浠�0寮�濮� -- Gitblit v1.9.3