package com.ycl.common.utils.excel.annotation; import com.ycl.common.utils.excel.core.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; /** * 合并需要依赖的其他字段名称 */ String[] mergeBy() default {}; }