From 0b393384a97d3f9133cc34d325c9daa0c19f239a Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期四, 29 八月 2024 15:45:44 +0800
Subject: [PATCH] 1、增加链接类型查询模板设置排序的下拉框数据接口。 2、保存Action参数数据接口。 3、修改Action参数数据接口。 4、删除Action参数数据接口。

---
 Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java b/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java
index aedbcdf..2ed445e 100644
--- a/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java
+++ b/Source/plt-web/plt-web-parent/plt-poi/src/main/java/com/vci/starter/poi/util/ExcelUtil.java
@@ -1,5 +1,6 @@
 package com.vci.starter.poi.util;
 
+import cn.hutool.core.collection.CollUtil;
 import com.vci.starter.poi.annotation.ExcelColumn;
 import com.vci.starter.poi.annotation.ExcelTitle;
 import com.vci.starter.poi.bo.*;
@@ -630,6 +631,8 @@
 					//鍐欏��
 					setCellValue(cell, value);
 				}
+				//璁剧疆鑷�傚簲鍒楀
+				sheet.autoSizeColumn(ed.getCol());
 				if(ed.getWidth()!=null && ed.getWidth()>0){
 					sheet.setColumnWidth(cell.getColumnIndex(),(int)(ed.getWidth() + 0.72)*256);
 				}
@@ -855,6 +858,7 @@
 				if (ed.getColTo() < ed.getCol()) {
 					ed.setColTo(ed.getCol());
 				}
+				List<CellRangeAddress> cellRangeAddressList = sheet.getMergedRegions();
 				sheet.addMergedRegion(new CellRangeAddress(ed.getRow(), ed.getRowTo(), ed.getCol(), ed.getColTo()));
 			});
 		}

--
Gitblit v1.9.3