【7.3.3】恢复拦截器判空问题

pull/44/head
fengshuonan 2022-11-22 22:40:36 +08:00
parent bb9cb939b9
commit fee65316df
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ import javax.annotation.Resource;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.sql.Statement; import java.sql.Statement;
import java.util.List; import java.util.List;
import java.util.Objects;
import java.util.Properties; import java.util.Properties;
/** /**
@ -35,7 +36,7 @@ public class ResultInterceptor implements Interceptor {
//取出查询的结果 //取出查询的结果
Object resultObject = invocation.proceed(); Object resultObject = invocation.proceed();
if (ObjectUtil.isEmpty(resultObject)) { if (Objects.isNull(resultObject)) {
return null; return null;
} }