Commit 877ef4bfc37d131062ce916a0591de458820672e
1 parent
c953df4c6e
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 4 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java
View file @
877ef4b
| ... | ... | @@ -93,10 +93,11 @@ |
| 93 | 93 | } |
| 94 | 94 | } |
| 95 | 95 | returnValue = invocation.proceed(); |
| 96 | + System.out.println("time7=========" + (System.currentTimeMillis()-start)); | |
| 96 | 97 | } |
| 97 | 98 | else |
| 98 | 99 | { |
| 99 | - System.out.println("time7=========" + (System.currentTimeMillis()-start)); | |
| 100 | + System.out.println("time8=========" + (System.currentTimeMillis()-start)); | |
| 100 | 101 | returnValue = invocation.proceed(); |
| 101 | 102 | if (StringUtils.isNotEmpty(sql) && sqlCommandType != null && "insert".equals(sqlCommandType.toLowerCase())) |
| 102 | 103 | { |
| 103 | 104 | |
| ... | ... | @@ -111,12 +112,12 @@ |
| 111 | 112 | //发送要同步的sql |
| 112 | 113 | SendMysqlSyncDatUtil.addSqlToQueue(sql, sqlId); |
| 113 | 114 | sql = null; |
| 114 | - System.out.println("time8=========" + (System.currentTimeMillis()-start)); | |
| 115 | + System.out.println("time9=========" + (System.currentTimeMillis()-start)); | |
| 115 | 116 | } |
| 116 | 117 | } |
| 117 | 118 | } |
| 118 | 119 | } |
| 119 | - System.out.println("time9=========" + (System.currentTimeMillis()-start)); | |
| 120 | + System.out.println("time10=========" + (System.currentTimeMillis()-start)); | |
| 120 | 121 | }catch (Exception e) |
| 121 | 122 | { |
| 122 | 123 | ExceptionUtils.catchException(e," Mybatis Sql Interceptor exception"); |