Commit 095be164 by s_guodong

Merge branch 'ejs-20230802' of…

Merge branch 'ejs-20230802' of http://114.115.138.98:8900/s_guodong/gjjs-bd-common into ejs-20230802
parents 20cce451 363c9375
......@@ -174,7 +174,7 @@ public class MybatisArgumentAdapter {
StringBuffer selectColumn = new StringBuffer();
String tmpSql = sql.toLowerCase();
if(tmpSql.indexOf("where")!=-1 ) {
tmpSql = tmpSql.substring(0, tmpSql.lastIndexOf("where") - 1);
tmpSql = tmpSql.substring(0, tmpSql.indexOf("where") - 1);
}
//获取SQL中别名和表明的对应关系
Map<String, String> tableNameMap = parseTableNameAndAlias(tmpSql);
......
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