1、导出任务树调整最大列宽
This commit is contained in:
@@ -720,7 +720,7 @@ public class ExcelUtil {
|
||||
|
||||
// 计算列宽:字符数 × 256(POI列宽单位) + 边距(2000)
|
||||
// 256 = 1个字符宽度,2000 = 边距(可根据需求调整)
|
||||
int columnWidth = Math.min(maxLength * 256 + 2000, 65535); // 最大列宽不超过65535
|
||||
int columnWidth = Math.min(maxLength * 256 + 2000, 65280); // 最大列宽不超过65535
|
||||
sheet.setColumnWidth(columnIndex, columnWidth);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ spring:
|
||||
discovery:
|
||||
server-addr: 192.168.65.161:8848
|
||||
enabled: true
|
||||
group: DAI_GROUP
|
||||
group: LOCAL_GROUP
|
||||
# username: nacos
|
||||
# password: ENC(+QKYnI6gAYu1SbLaZQTkZA==)
|
||||
data:
|
||||
@@ -120,7 +120,7 @@ management:
|
||||
# 0单机处理,可以指向本地,1负载均衡轮询
|
||||
serverType: 0
|
||||
#serverIp: 192.168.65.161
|
||||
serverIp: 192.168.65.73
|
||||
serverIp: 192.168.65.199
|
||||
|
||||
security:
|
||||
whitelist:
|
||||
|
||||
Reference in New Issue
Block a user