From ab849f796bdc17236a95ea5fe5c166fb8f24a75c Mon Sep 17 00:00:00 2001 From: sws <15810472099@163.com> Date: 星期六, 26 十一月 2022 16:12:02 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/annotation/ExcelHead.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/lf/server/annotation/ExcelHead.java b/src/main/java/com/lf/server/annotation/ExcelHead.java new file mode 100644 index 0000000..b583354 --- /dev/null +++ b/src/main/java/com/lf/server/annotation/ExcelHead.java @@ -0,0 +1,25 @@ +package com.lf.server.annotation; + +import java.lang.annotation.*; + +/** + * Excel澶存敞瑙g被 + * @author WWW + */ +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface ExcelHead { + /** + * Excel澶磋鏁� + * + * @return 澶磋鏁� + */ + int headRows() default 1; + + /** + * 鎺掗櫎鐨凷heet鍚嶇О锛堝涓敤閫楀彿闅斿紑锛� + * + * @return + */ + String excludeSheets() default ""; +} -- Gitblit v1.9.3