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;