@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
Bind the exported Excel file to the currently set mapped entity,
and if it is not set and detection is enabled in
ExcelBindReader.check(boolean),
an ExcelTemplateException will be thrown |
String[] |
ignores
The name of the header to be ignored when exporting.
|
boolean |
initDefaultStyle
Use the default style listener
|
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
public abstract boolean initDefaultStyle
public abstract boolean bind
ExcelBindReader.check(boolean),
an ExcelTemplateException will be thrownCopyright © 2021. All rights reserved.