From 72f2f59ae69d4f64ef2bd0b4d505a759bd96a610 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期二, 28 六月 2022 10:34:47 +0800
Subject: [PATCH] 新增Redis可以切换数据库

---
 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