From 041c40cd626633953437a9831be79aeb2665ef30 Mon Sep 17 00:00:00 2001 From: cc <wangren_huang@163.com> Date: 星期二, 19 十月 2021 17:16:54 +0800 Subject: [PATCH] 新增更新redis过期时间方法 --- src/main/java/com/hx/common/dao/CommonDao.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/common/dao/CommonDao.java b/src/main/java/com/hx/common/dao/CommonDao.java index 138a0c5..3a4ccad 100644 --- a/src/main/java/com/hx/common/dao/CommonDao.java +++ b/src/main/java/com/hx/common/dao/CommonDao.java @@ -27,6 +27,13 @@ */ <T extends Serializable> int selectCount(Class<?> mapperClass, SqlSentence sqlSentence); + /**鏌ヨ鏉℃暟 + * @param mapperClass mapper绫� + * @param sqlSentence 鏌ヨ鍙傛暟绫� + * @return 杩斿洖鏉℃暟 + */ + <T extends Serializable> int selectCountSql(Class<?> mapperClass, SqlSentence sqlSentence); + /**鏌ヨ鍒楄〃锛岃繑鍥炲疄浣撶被鐨凩ist * @param mapperClass mapper绫� * @param sqlSentence 鏌ヨ鍙傛暟绫� -- Gitblit v1.8.0