我在我的项目中使用mybatis来执行sql查询。我需要在执行之前拦截sql查询以动态应用一些更改。我读过这样的@Interseptors:@Intercepts({@Signature(type=Executor.class,method="query",args={...})})publicclassExamplePluginimplementsInterceptor{publicObjectintercept(Invocationinvocation)throwsThrowable{returninvocation.proceed();}publicObjectplugin(Ob