1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
| package com.mes.utils.excel;
|
| import java.lang.annotation.*;
|
| /**
| * @Author : zhoush
| * @Date: 2025/5/12 16:51
| * @Description:
| */
| @Target({ElementType.FIELD})
| @Retention(RetentionPolicy.RUNTIME)
| @Documented
| public @interface ExcelMerge {
| /**
| * 是否合并单元格
| *
| * @return true || false
| */
| boolean merge() default true;
|
| /**
| * 是否为主键(即该字段相同的行合并)
| *
| * @return true || false
| */
| boolean isPrimaryKey() default false;
| }
|
|