方法统计切面

@Pointcut("@annotation(com.cnmyhr.ecch.common.aop.annotation.MethodCallStatistics)")
public void methodCallStatisticsPointcut() {
}

@Around("methodCallStatisticsPointcut()")
public Object around(ProceedingJoinPoint joinPoint) throws Throwable {


@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface MethodCallStatistics {

}
posted @ 2025-10-10 09:41  人在代码在  阅读(3)  评论(0)    收藏  举报