style: 更新 UseDataSource 注释。

This commit is contained in:
Suomm 2023-06-19 11:16:13 +08:00
parent 912093be8a
commit 002feafd52

View File

@ -1,4 +1,4 @@
/**
/*
* Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
@ -17,15 +17,17 @@ package com.mybatisflex.annotation;
import java.lang.annotation.*;
/**
* 多数据源切换注解
*/
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface UseDataSource {
/**
* 使用哪个数据源配置的是 Mybatis environmentId
* 使用哪个数据源配置的是 Mybatis environmentId 属性
*/
String value();
}