From 3477046445264ab06bb66972aca69566caa11ae1 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期三, 09 二月 2022 17:54:26 +0800 Subject: [PATCH] Mysql数据库AES加密工具,解密的时候判断是不是16进制的数据 --- src/main/java/com/hx/common/service/CommonService.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/hx/common/service/CommonService.java b/src/main/java/com/hx/common/service/CommonService.java index 2d35f9f..d2b0642 100644 --- a/src/main/java/com/hx/common/service/CommonService.java +++ b/src/main/java/com/hx/common/service/CommonService.java @@ -104,5 +104,17 @@ * @return 杩斿洖鏉℃暟 */ <T extends Serializable> int deleteById(Class<?> mapperClass, Object object); - + + /**鏇存柊sql璇彞锛堝叏璇彞锛� + * @param sqlSentence 鏌ヨ鍙傛暟绫� + * @return 杩斿洖鏉℃暟 + */ + <T extends Serializable> int updateSentence(SqlSentence sqlSentence); + + /**鏌ヨ鏉℃暟璇彞锛堝叏璇彞锛� + * @param sqlSentence 鏌ヨ鍙傛暟绫� + * @return 杩斿洖鏉℃暟 + */ + <T extends Serializable> int selectCountSql(SqlSentence sqlSentence); + } \ No newline at end of file -- Gitblit v1.8.0