|
|
@@ -157,7 +157,6 @@ public class MultiTenancy implements MyBatisPlus { |
|
|
* @throws JSQLParserException |
|
|
* @throws JSQLParserException |
|
|
*/ |
|
|
*/ |
|
|
private String addWhere(String sql) throws Exception { |
|
|
private String addWhere(String sql) throws Exception { |
|
|
System.out.println(">>> execute sql:"+sql); |
|
|
|
|
|
Statement stmt = CCJSqlParserUtil.parse(sql); |
|
|
Statement stmt = CCJSqlParserUtil.parse(sql); |
|
|
if (stmt instanceof Insert) { |
|
|
if (stmt instanceof Insert) { |
|
|
return processInsert((Insert) stmt); |
|
|
return processInsert((Insert) stmt); |
|
|
|