소스 검색

refactor(AppOrderServiceImpl): 调整Excel列宽和图片高度设置

在AppOrderServiceImpl.java文件中,对Excel的列宽进行了调整:
- 将“社保证明”列的宽度从12000调整为10000。

同时,修改了图片排列参数中的图片高度:
- 将图片高度从800000调整为500000。
SheepHy 5 일 전
부모
커밋
893ede5a0b

+ 2 - 2
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/system/app/service/impl/AppOrderServiceImpl.java

@@ -492,7 +492,7 @@ public class AppOrderServiceImpl extends ServiceImpl<AppOrderMapper, AppOrder> i
         sheet.setColumnWidth(3, 6000);  // 报名项目
         sheet.setColumnWidth(4, 6000);  // 队名
         sheet.setColumnWidth(5, 6000);  // 队徽
-        sheet.setColumnWidth(6, 12000); // 社保证明
+        sheet.setColumnWidth(6, 10000); // 社保证明
         sheet.setColumnWidth(7, 4000);  // 报名人员
         sheet.setColumnWidth(8, 4000);  // 联系电话
 
@@ -664,7 +664,7 @@ public class AppOrderServiceImpl extends ServiceImpl<AppOrderMapper, AppOrder> i
         // 图片排列参数
         int maxPerRow = 4; // 每行最多3张图片
         int imageWidth = 800000;  // 图片宽度
-        int imageHeight = 800000; // 图片高度
+        int imageHeight = 500000; // 图片高度
         int horizontalSpacing = 15000; // 水平间距
         int verticalSpacing = 15000;   // 垂直间距