Commit 24e200f38537026bb77dcc7b4de8c86e05321916
1 parent
099a75e2e1
Exists in
master
and in
6 other branches
同步
Showing 2 changed files with 8 additions and 8 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java
View file @
24e200f
| ... | ... | @@ -119,7 +119,7 @@ |
| 119 | 119 | sql = sql.substring(0,sql.lastIndexOf("(")+1)+list.get(0)+","+sql.substring(sql.lastIndexOf("(")+1,sql.length()); |
| 120 | 120 | System.out.println("add sync sql = "+sql); |
| 121 | 121 | //发送要同步的sql |
| 122 | - SendMysqlSyncDatUtil.addSqlToQueue(sql, sqlId); | |
| 122 | + //SendMysqlSyncDatUtil.addSqlToQueue(sql, sqlId); | |
| 123 | 123 | sql = null; |
| 124 | 124 | } |
| 125 | 125 | } |
platform-operate-api/src/main/resources/mybatis.xml
View file @
24e200f
| ... | ... | @@ -13,17 +13,17 @@ |
| 13 | 13 | <setting name="defaultStatementTimeout" value="25000" /> |
| 14 | 14 | <setting name="callSettersOnNulls" value="true"/> |
| 15 | 15 | </settings> |
| 16 | - <!--<plugins>--> | |
| 17 | - <!--<plugin interceptor="com.lyms.platform.operate.web.inteceptor.MybatisSqlInterceptor">--> | |
| 18 | - <!--<property name="dialect" value="mysql"/>--> | |
| 19 | - <!--</plugin>--> | |
| 20 | - <!--</plugins>--> | |
| 21 | - | |
| 22 | 16 | <plugins> |
| 23 | - <plugin interceptor="com.lyms.platform.operate.web.inteceptor.MysqlDataInterceptor"> | |
| 17 | + <plugin interceptor="com.lyms.platform.operate.web.inteceptor.MybatisSqlInterceptor"> | |
| 24 | 18 | <property name="dialect" value="mysql"/> |
| 25 | 19 | </plugin> |
| 26 | 20 | </plugins> |
| 21 | + | |
| 22 | + <!--<plugins>--> | |
| 23 | + <!--<plugin interceptor="com.lyms.platform.operate.web.inteceptor.MysqlDataInterceptor">--> | |
| 24 | + <!--<property name="dialect" value="mysql"/>--> | |
| 25 | + <!--</plugin>--> | |
| 26 | + <!--</plugins>--> | |
| 27 | 27 | |
| 28 | 28 | </configuration> |