姜永辉 1 년 전
부모
커밋
31fd4d5d19
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/main/java/com/dk/common/infrastructure/aspect/ServiceAspect.java

+ 3 - 2
src/main/java/com/dk/common/infrastructure/aspect/ServiceAspect.java

@@ -57,9 +57,10 @@ public class ServiceAspect implements HandlerInterceptor {
      * @author : 张潇木
      * @date : 2022-3-1 12:49
      */
-    @Pointcut("execution(* com.*.*.service..*.*(..)) || execution(* com.dk.*.service..*.*(..)) ||" +
+    @Pointcut("(execution(* com.*.*.service..*.*(..)) || execution(* com.dk.*.service..*.*(..)) ||" +
             "execution(* com.dk.*.infrastructure.strategy.ProductionContext.*(..)) ||" +
-            "execution(* com.dk.*.infrastructure.strategy.production.ProductionContext.*(..))")
+            "execution(* com.dk.*.infrastructure.strategy.production.ProductionContext.*(..)))" +
+            "&&!execution(* com.dk.*.service.xxl.*(..))")
     public void print() {
     }