@Pointcut("!execution(* aa.bb..*.set*(..)) and execution(* aa.bb..*.*(..)) ")
如果是这种形式的法执行了很多其他方法 比如init
可以 把 and 换成 && 就可以解决了。
@Pointcut("execution(* aa.bb..*.*(..)) and !execution(* aa.bb..*.set*(..)) ")
这种形式还是都执行了
@Pointcut("!execution(* aa.bb..*.set*(..)) and execution(* aa.bb..*.*(..)) ")
如果是这种形式的法执行了很多其他方法 比如init
可以 把 and 换成 && 就可以解决了。
@Pointcut("execution(* aa.bb..*.*(..)) and !execution(* aa.bb..*.set*(..)) ")
这种形式还是都执行了