Commit afb0fbe7e94fb5d56d98e9a9ce1632752906ac4c
1 parent
72ab5beadc
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 2 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java
View file @
afb0fbe
| ... | ... | @@ -66,10 +66,11 @@ |
| 66 | 66 | System.out.println("1111"+sqlCommandType); |
| 67 | 67 | if ("update".equals(sqlCommandType.toLowerCase()) || "delete".equals(sqlCommandType.toLowerCase())) |
| 68 | 68 | { |
| 69 | + sql = getSql(configuration, boundSql, sqlId); | |
| 69 | 70 | if (!(sql.toUpperCase().contains("LIS_REPORT_TBL") || sql.toUpperCase().contains("RIS_REPORT_TBL"))) { |
| 70 | 71 | |
| 71 | 72 | System.out.println("update delete"+sqlCommandType); |
| 72 | - sql = getSql(configuration, boundSql, sqlId); | |
| 73 | + | |
| 73 | 74 | System.out.println("delete and update sync sql = " + sql); |
| 74 | 75 | //发送要同步的sql |
| 75 | 76 | SendMysqlSyncDatUtil.sendSql(sql, sqlId); |