From 7c10d91a91e86122706699a1ee73793b5bafaa06 Mon Sep 17 00:00:00 2001 From: ChenJiaHe <763432473@qq.com> Date: 星期日, 23 一月 2022 22:41:52 +0800 Subject: [PATCH] mysql自动化加密,优化匹配查询条件 --- src/main/java/com/hx/common/annotations/MysqlHexAes.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/hx/common/annotations/MysqlHexAes.java b/src/main/java/com/hx/common/annotations/MysqlHexAes.java index a143106..4696b88 100644 --- a/src/main/java/com/hx/common/annotations/MysqlHexAes.java +++ b/src/main/java/com/hx/common/annotations/MysqlHexAes.java @@ -10,11 +10,13 @@ @Retention(RetentionPolicy.RUNTIME) @Documented public @interface MysqlHexAes { - /**绉橀挜瀛楁*/ - String aesKeyField() default ""; - /**绉橀挜*/ - String aesKey(); - /**鏌ヨ瑙e瘑*/ + /**绉橀挜-娌℃湁灏辨槸閰嶇疆鏂囦欢璁剧疆*/ + String aesKey() default ""; + /**xml鐢熸垚鏌ヨ瑙e瘑*/ boolean selectDec() default false; + /**xml鏇存柊鍔犲瘑*/ + boolean updateDec() default false; + /**xml鏂板鍔犲瘑*/ + boolean insertDec() default false; } \ No newline at end of file -- Gitblit v1.8.0