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