From fb2c9fa355cc2e09bc051677dba89f86e9c0bd00 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 25 四月 2022 17:45:21 +0800 Subject: [PATCH] 修复MYSQL查询语句不兼容问题 --- src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java b/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java index b9dba4c..e3f8fa2 100644 --- a/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java +++ b/src/main/java/com/hx/mybatis/aes/springbean/VariableAesKey.java @@ -42,6 +42,10 @@ /**鍥哄畾鐨刟es绉橀挜*/ public static String AES_KEY = null; + /**鏁版嵁搴撳姞瀵嗗瓧娈靛垵濮嬪寲鐗堟湰鍙�*/ + public static String INIT_VERSION = null; + + /**瀛樺偍AES绉橀挜*/ public static void setAesKey(String aesKeyFild,String aesKey){ @@ -69,6 +73,7 @@ //椤圭洰鍚姩鐨勬椂鍊欏~鍏� logger.info("鎵弿鑾峰彇AES鐨勫寘:" + constantBean.getPackPath()); AES_KEY = constantBean.getFixedAesKey(); + INIT_VERSION = constantBean.getInitVersion(); if(!StringUtils.isEmpty(constantBean.getPackPath())){ Set<Class<?>> classes = classData(constantBean.getPackPath()); logger.info("鎵弿鑾峰彇AES鐨勫寘classes:" + classes.size()); -- Gitblit v1.8.0