| 程序包 | 说明 |
|---|---|
| com.easycode8.datasource.dynamic.sample.service | |
| com.easycode8.datasource.dynamic.sample.service.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Account> |
AccountService.listAll() |
List<Account> |
AccountService.listAllByDbType(String dbType)
测试使用请求参数切换数据源
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AccountService.createAccount(Account account) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Account> |
AccountServiceImpl.listAll() |
List<Account> |
AccountServiceImpl.listAllByDbType(String dbType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AccountServiceImpl.createAccount(Account account) |
void |
OtherService.createAccountDb1(Account account) |
void |
OtherService.createAccountDb2(Account account) |
private void |
OtherService.doCreateAccount(Account account) |
private void |
AccountServiceImpl.doCreateAccount(Account account) |
Copyright © 2023. All rights reserved.