From b8b58cb2029176d1472121ae397ee6c236b7b74f Mon Sep 17 00:00:00 2001
From: “ <hxq@qzldkj.com>
Date: Fri, 22 Jul 2022 10:57:00 +0800
Subject: [PATCH] 所有的覆写方法,必须加@Override注解
---
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.2