update 多数据源切换标注过期 3.6.0 移除 推荐使用原生注解

This commit is contained in:
疯狂的狮子li
2021-12-08 13:50:27 +08:00
parent be13e3494a
commit a9488ba3c9
7 changed files with 17 additions and 9 deletions

View File

@ -10,11 +10,13 @@ import java.lang.annotation.*;
* 优先级:先方法,后类,如果方法覆盖了类上的数据源类型,以方法的为准,否则以类上的为准
*
* @author ruoyi
* @deprecated 3.6.0 移除 使用原生注解处理 方法更全 {@link com.baomidou.dynamic.datasource.annotation.DS}
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Deprecated
public @interface DataSource {
/**
* 切换数据源名称