|
|
|
@@ -195,7 +195,7 @@ public class ShardingSpherePlugin implements Interceptor { |
|
|
|
return oldSql; |
|
|
|
} |
|
|
|
String newtable = getShareTable(table,parameterObject); |
|
|
|
return oldSql.replaceAll(table+" ", newtable+" ").replaceAll(table+".", newtable+"。"); |
|
|
|
return oldSql.replaceAll(table+" ", newtable+" ").replaceAll(table+".", newtable+"。").replaceAll(table+")", newtable+")"); |
|
|
|
} |
|
|
|
|
|
|
|
private String buildListTables(List<Table> tables,String oldSql,Object parameterObject) { |
|
|
|
|