mirror of https://gitee.com/stylefeng/roses
【7.3.3】恢复拦截器判空问题
parent
bb9cb939b9
commit
fee65316df
|
@ -14,6 +14,7 @@ import javax.annotation.Resource;
|
|||
import java.lang.reflect.Field;
|
||||
import java.sql.Statement;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
|
@ -35,7 +36,7 @@ public class ResultInterceptor implements Interceptor {
|
|||
|
||||
//取出查询的结果
|
||||
Object resultObject = invocation.proceed();
|
||||
if (ObjectUtil.isEmpty(resultObject)) {
|
||||
if (Objects.isNull(resultObject)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue