From db287aac9eb5032b1158b405a9b4807301467ed3 Mon Sep 17 00:00:00 2001 From: zhouxiang <zhouxiang> Date: 星期四, 24 三月 2022 17:48:03 +0800 Subject: [PATCH] 添加redis获取整个hashKey数据和单个hashKey数据方法 --- src/main/java/com/hx/mybatisTool/SqlSentence.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/hx/mybatisTool/SqlSentence.java b/src/main/java/com/hx/mybatisTool/SqlSentence.java index e0705c9..dd7c9a7 100644 --- a/src/main/java/com/hx/mybatisTool/SqlSentence.java +++ b/src/main/java/com/hx/mybatisTool/SqlSentence.java @@ -13,7 +13,11 @@ */ public class SqlSentence { + /**鎵ц璇彞*/ private String sqlSentence; + + /**鏂板瀛樺湪鏌ヨ鍒ゆ柇*/ + private String whereExist; private Map<String,Object> m; /**鎺掑簭*/ @@ -161,6 +165,17 @@ { return (startPage - 1) * pageNum; } + + public String getWhereExist() { + return whereExist; + } + + public void setWhereExist(String whereExist) { + if(StringUtils.isNull(whereExist)){ + whereExist = null; + } + this.whereExist = whereExist; + } } -- Gitblit v1.8.0