From 9f3b91fe5748bd9ba16fc8786af1105cd2784b3c Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期一, 25 七月 2022 18:32:48 +0800 Subject: [PATCH] !535 所有的覆写方法,必须加@Override注解 Merge pull request !535 from 天才的逻辑/master --- ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java | 17 ++++++++++++++++- 1 files changed, 16 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 a57529b..804db72 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 @@ -109,7 +109,22 @@ public ColumnType cellType() default ColumnType.STRING; /** - * 瀵煎嚭瀛椾綋棰滆壊 + * 瀵煎嚭鍒楀ご鑳屾櫙鑹� + */ + public IndexedColors headerBackgroundColor() default IndexedColors.GREY_50_PERCENT; + + /** + * 瀵煎嚭鍒楀ご瀛椾綋棰滆壊 + */ + public IndexedColors headerColor() default IndexedColors.WHITE; + + /** + * 瀵煎嚭鍗曞厓鏍艰儗鏅壊 + */ + public IndexedColors backgroundColor() default IndexedColors.WHITE; + + /** + * 瀵煎嚭鍗曞厓鏍煎瓧浣撻鑹� */ public IndexedColors color() default IndexedColors.BLACK; -- Gitblit v1.9.3