Commit ec0f1b57 by 吴佳

dbReadset 分页查询调整

parent 2999c928
......@@ -148,7 +148,11 @@ public class MybatisArgumentAdapter {
String sql = "";
if (join) {
sql = String.format(pattern, conditions);
if(conditions.startsWith("SELECT") || conditions.startsWith("select")){
sql = conditions;
}else {
sql = String.format(pattern, conditions);
}
} else {
sql = String.format(pattern, tableName, conditions);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment