yangys
2024-05-19 9e5da8899bc21bb5b6b0a3c267108caa00199291
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.qianwen.core.excel.extend.annotation;
 
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.qianwen.core.excel.extend.listener.DefaultAnalysisEventListener;
import com.qianwen.core.excel.extend.listener.ListAnalysisEventListener;
 
@Target({ElementType.PARAMETER})
@Documented
@Retention(RetentionPolicy.RUNTIME)
 
public @interface RequestExcel {
    String fileName() default "file";
 
    Class<? extends ListAnalysisEventListener<?>> readListener() default DefaultAnalysisEventListener.class;
 
    boolean ignoreEmptyRow() default false;
}