com.beetl.sql.rewrite.annotation.DisableRewrite Maven / Gradle / Ivy
package com.beetl.sql.rewrite.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 是否允许发生重写,作用在RewriteBaseMapper的mapper方法上
*
* ublic interface MyRewriteMapper extends RewriteBaseMapper {
* List select(String name);
* @DisableRewrite
* List select2(String name);
* }
*
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD})
public @interface DisableRewrite {
}