找到原因了,在@Intercepts注解添加要拦截的StatementHandler方法即可 @Intercepts({ @Signature(type = Executor.class,method = "update",args = {MappedStatement.class, Object.class}), @Signature(type = StatementHandler.class,method = "update",args = {Statement.class}) }) public class MyBatisAutoFillPlugin implements Interceptor { // some code... }