|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
import com.dk.common.util.oauth.AESSecurityUtil;
|
|
import com.dk.common.util.oauth.AESSecurityUtil;
|
|
|
import com.dk.common.util.oauth.JwtUtil;
|
|
import com.dk.common.util.oauth.JwtUtil;
|
|
|
import com.google.common.base.CaseFormat;
|
|
import com.google.common.base.CaseFormat;
|
|
|
|
|
+import lombok.SneakyThrows;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.ibatis.builder.StaticSqlSource;
|
|
import org.apache.ibatis.builder.StaticSqlSource;
|
|
|
import org.apache.ibatis.executor.Executor;
|
|
import org.apache.ibatis.executor.Executor;
|
|
@@ -56,8 +57,9 @@ public class MybatisSqlIntercept implements Interceptor {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private HttpServletRequest httpServletRequest;
|
|
private HttpServletRequest httpServletRequest;
|
|
|
|
|
|
|
|
|
|
+ @SneakyThrows
|
|
|
@Override
|
|
@Override
|
|
|
- public Object intercept(Invocation invocation) throws Throwable {
|
|
|
|
|
|
|
+ public Object intercept(Invocation invocation) {
|
|
|
|
|
|
|
|
Integer cpId = 0;
|
|
Integer cpId = 0;
|
|
|
if(httpServletRequest==null){
|
|
if(httpServletRequest==null){
|