You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
410 B
25 lines
410 B
|
7 months ago
|
package com.ruoyi.common.annotation;
|
||
|
|
|
||
|
|
import com.ruoyi.common.excel.CellMergeStrategy;
|
||
|
|
|
||
|
|
import java.lang.annotation.*;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* excel 列单元格合并(合并列相同项)
|
||
|
|
*
|
||
|
|
* 需搭配 {@link CellMergeStrategy} 策略使用
|
||
|
|
*
|
||
|
|
* @author Lion Li
|
||
|
|
*/
|
||
|
|
@Target(ElementType.FIELD)
|
||
|
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
|
@Inherited
|
||
|
|
public @interface CellMerge {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* col index
|
||
|
|
*/
|
||
|
|
int index() default -1;
|
||
|
|
|
||
|
|
}
|