Commit f00518c7d05841a4a6f84e224be0118a12876019

Authored by liquanyu
1 parent d17f430ec7

update

Showing 1 changed file with 3 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java View file @ f00518c
... ... @@ -77,9 +77,10 @@
77 77 }
78 78 else if ("insert".equals(sqlCommandType.toLowerCase()) )
79 79 {
80   - if (!(sql.toUpperCase().contains("LIS_REPORT_TBL") || sql.toUpperCase().contains("RIS_REPORT_TBL")))
  80 + String tempSql = getSql(configuration, boundSql, sqlId);
  81 + if (!(tempSql.toUpperCase().contains("LIS_REPORT_TBL") || tempSql.toUpperCase().contains("RIS_REPORT_TBL")))
81 82 {
82   - sql = getSql(configuration, boundSql, sqlId);
  83 + sql = tempSql;
83 84 System.out.println("sql = "+sql);
84 85 }
85 86 }