@AfterReturning(value = "execution(* com.kcp*..*Service.*(..))") public void clearAfterReturning(JoinPoint pjp) throws Throwable { if (pjp.toLongString().equals(SqlContextHolder.getJoinPoint())) { SqlContextHolder.clearJoinPoint(); } }
@AfterReturning(value = "execution(* com.kcp*..*Service.*(..))") public void clearAfterReturning(JoinPoint pjp) throws Throwable { if (pjp.toLongString().equals(SqlContextHolder.getJoinPoint())) { SqlContextHolder.clearJoinPoint(); } }