Commit 23f8313249a8774eab35992a102e0866e367150a

Authored by liquanyu
1 parent 24e200f385

同步

Showing 2 changed files with 6 additions and 6 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java View file @ 23f8313
... ... @@ -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 @ 23f8313
... ... @@ -13,11 +13,11 @@
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>
  16 + <!--<plugins>-->
  17 + <!--<plugin interceptor="com.lyms.platform.operate.web.inteceptor.MybatisSqlInterceptor">-->
  18 + <!--<property name="dialect" value="mysql"/>-->
  19 + <!--</plugin>-->
  20 + <!--</plugins>-->
21 21  
22 22 <!--<plugins>-->
23 23 <!--<plugin interceptor="com.lyms.platform.operate.web.inteceptor.MysqlDataInterceptor">-->