From 07a2f9c762efb3be3a29e2e8cc7004d4164cc9d8 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期一, 22 十二月 2025 20:15:58 +0800
Subject: [PATCH] 修改了对应代码

---
 ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java b/ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java
index 765d8e3..6639fd5 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java
@@ -86,7 +86,7 @@
     /**
      * 鏄惁鍏佽鍐呭鎹㈣ 
      */
-    public boolean wrapText() default false;
+    public boolean wrapText() default true;
 
     /**
      * 璁剧疆鍙兘閫夋嫨涓嶈兘杈撳叆鐨勫垪鍐呭.
@@ -134,9 +134,24 @@
     public IndexedColors headerColor() default IndexedColors.WHITE;
 
     /**
+     * 瀵煎嚭鍒楀ご瀛椾綋鍚嶇О
+     */
+    public String headerFontName() default "Arial";
+
+    /**
+     * 瀵煎嚭鍒楀ご瀛椾綋鏄惁鍔犵矖
+     */
+    public boolean headerFontBold() default false;
+
+    /**
      * 瀵煎嚭鍗曞厓鏍艰儗鏅鑹�
      */
     public IndexedColors backgroundColor() default IndexedColors.WHITE;
+
+    /**
+     * 瀵煎嚭鍗曞厓鏍煎瓧浣撳悕绉�
+     */
+    public String fontName() default "Arial";
 
     /**
      * 瀵煎嚭鍗曞厓鏍煎瓧浣撻鑹�
@@ -163,6 +178,8 @@
      */
     Type type() default Type.ALL;
 
+    public int headerFontSize() default 12;
+
     public enum Type
     {
         ALL(0), EXPORT(1), IMPORT(2);

--
Gitblit v1.9.1