From f658316c068c36622bfcae0d1652da8576ac8279 Mon Sep 17 00:00:00 2001 From: liquanyu Date: Thu, 27 Apr 2017 21:28:29 +0800 Subject: [PATCH] update code --- .../com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java index 71336eb..de9347b 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/inteceptor/MybatisSqlInterceptor.java @@ -84,9 +84,9 @@ public class MybatisSqlInterceptor implements Interceptor { else { System.out.println("else = "+sql); + returnValue = invocation.proceed(); if (StringUtils.isNotEmpty(sql) && sqlCommandType != null && "insert".equals(sqlCommandType.toLowerCase())) { - returnValue = invocation.proceed(); if (returnValue != null && returnValue instanceof ArrayList) { List list = (ArrayList)returnValue; -- 1.8.3.1