1、导出任务树调整最大列宽

This commit is contained in:
2025-12-22 11:02:40 +08:00
parent 6c777e5342
commit c7052e0b7e
2 changed files with 3 additions and 3 deletions

View File

@@ -720,7 +720,7 @@ public class ExcelUtil {
// 计算列宽:字符数 × 256POI列宽单位 + 边距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);
}
}

View File

@@ -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: