mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
add dataSource config: @Table(dataSource="***")
This commit is contained in:
parent
53b3bc1010
commit
712082d8ce
@ -37,6 +37,11 @@ public @interface Table {
|
||||
*/
|
||||
boolean camelToUnderline() default true;
|
||||
|
||||
/**
|
||||
* 默认使用哪个数据源,若系统找不到该指定的数据源时,默认使用第一个数据源
|
||||
*/
|
||||
String dataSource() default "";
|
||||
|
||||
/**
|
||||
* 监听 entity 的 insert 行为
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user