姜永辉 1 год назад
Родитель
Сommit
31fd4d5d19

+ 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() {
     }