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 org.yeshi.utils.generater.annotation.admin;
|
| import java.lang.annotation.*;
|
| /**
| * @author Administrator
| * @title: DaoQueryCondition
| * @projectName utils
| * @description:
| * @date 2021/9/23 13:42
| */
| @Documented
| @Target(ElementType.FIELD)
| @Inherited
| @Retention(RetentionPolicy.RUNTIME)
| public @interface DaoQueryCondition {
|
| //查询类型
| QueryType queryType() default QueryType.equal;
|
| //显示类型
| enum QueryType {
| start, end, contains, equal, gt, gte, lt, lte
| }
|
|
| }
|
|