mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-31 10:57:15 +08:00 
			
		
		
		
	chore(data): 移除 QueryIgnore 的无用属性
This commit is contained in:
		| @@ -27,12 +27,4 @@ import java.lang.annotation.*; | ||||
| @Target(ElementType.FIELD) | ||||
| @Retention(RetentionPolicy.RUNTIME) | ||||
| @Documented | ||||
| public @interface QueryIgnore { | ||||
|  | ||||
|     /** | ||||
|      * 获取是否忽略查询解析 | ||||
|      * | ||||
|      * @return 是否忽略查询解析 | ||||
|      */ | ||||
|     boolean value() default true; | ||||
| } | ||||
| public @interface QueryIgnore {} | ||||
|   | ||||
| @@ -143,7 +143,7 @@ public class QueryWrapperHelper { | ||||
|             } | ||||
|             // 设置了 @QueryIgnore 注解,直接忽略 | ||||
|             QueryIgnore queryIgnoreAnnotation = field.getAnnotation(QueryIgnore.class); | ||||
|             if (null != queryIgnoreAnnotation && queryIgnoreAnnotation.value()) { | ||||
|             if (null != queryIgnoreAnnotation) { | ||||
|                 return Collections.emptyList(); | ||||
|             } | ||||
|             // 建议:数据库表列建议采用下划线连接法命名,程序变量建议采用驼峰法命名 | ||||
|   | ||||
| @@ -137,7 +137,7 @@ public class QueryWrapperHelper { | ||||
|             } | ||||
|             // 设置了 @QueryIgnore 注解,直接忽略 | ||||
|             QueryIgnore queryIgnoreAnnotation = field.getAnnotation(QueryIgnore.class); | ||||
|             if (null != queryIgnoreAnnotation && queryIgnoreAnnotation.value()) { | ||||
|             if (null != queryIgnoreAnnotation) { | ||||
|                 return Collections.emptyList(); | ||||
|             } | ||||
|             // 建议:数据库表列建议采用下划线连接法命名,程序变量建议采用驼峰法命名 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user