From 8fcea52f023500d5ada8afc533989592493e79ce Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 09 五月 2022 17:41:43 +0800 Subject: [PATCH] redis工具增加list类型操作 --- 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