25 lines
413 B
Java
25 lines
413 B
Java
package com.qingyun.common.annotation;
|
|
|
|
import com.qingyun.common.excel.CellMergeStrategy;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* excel 列单元格合并(合并列相同项)
|
|
*
|
|
* 需搭配 {@link CellMergeStrategy} 策略使用
|
|
*
|
|
* @author jianlu
|
|
*/
|
|
@Target(ElementType.FIELD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Inherited
|
|
public @interface CellMerge {
|
|
|
|
/**
|
|
* col index
|
|
*/
|
|
int index() default -1;
|
|
|
|
}
|