@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ExcelWrite
ExcelWriteWrapper. Of course,
if you are exporting the template, you can set the return value of the method to void,
or you can use the wrapper to wrap the empty data,
the template if there is a big title you can specify the return value is BigTitle| 限定符和类型 | 可选元素和说明 |
|---|---|
boolean |
bind
Whether you need to add a file identifier when exporting an Excel file,
which can be used for template validation of the file at import time
|
String[] |
ignores
Which table heads to be ignored when exporting, in the case of multiple table heads,
there are more than one child table heads under the ignored table head,
then the child table head will be ignored, if the ignored table head is from the table head
then it is ignored
|
boolean |
initDefaultStyle
Whether init default excel style
|
boolean |
multiHead
Whether to open multistage Excel headers
|
boolean |
needHead
Whether is need excel head
|
boolean |
needValid
Whether enable excel valid
|
String |
sheet
Sheet name
|
String |
value
Excel file name,If it is not set and the mapping entity
is not set at the same time, the current date is default
|
public abstract String value
public abstract String[] ignores
public abstract String sheet
public abstract boolean multiHead
Copyright © 2020. All rights reserved.