diff --git a/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java b/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java index e70510bbf..7dd683365 100644 --- a/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java +++ b/blade-biz-common/src/main/java/org/springblade/common/annotations/LogpmAsync.java @@ -2,9 +2,12 @@ package org.springblade.common.annotations; import org.springframework.scheduling.annotation.Async; +import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; +@Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Async("asyncExecutor") public @interface LogpmAsync {