Commit ef8819709b65a047d71349c2a2fbc18a01dfe7fa

Authored by liquanyu
1 parent ee8bb7c8b3

同步

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MysqlDataInterceptor.java View file @ ef88197
... ... @@ -103,7 +103,7 @@
103 103 if (returnValue != null && returnValue instanceof ArrayList)
104 104 {
105 105 List<Integer> list = (ArrayList)returnValue;
106   - if (CollectionUtils.isNotEmpty(list)) {
  106 + if (CollectionUtils.isNotEmpty(list) && isSyncTable(sql)) {
107 107 System.out.println("add sync sql = " + sql);
108 108 SendMysqlSyncDatUtil.addSqlToQueue1(sql,sqlId);
109 109 sql = null;