- 读写分离部门代码处理

This commit is contained in:
28810
2019-12-09 15:29:50 +08:00
parent a33cad02cc
commit 9bae834386
24 changed files with 44 additions and 37 deletions

View File

@ -174,7 +174,7 @@ namespace FreeSql.Odbc.Oracle
if (database == null || database.Any() == false)
{
var userUsers = _orm.Ado.ExecuteScalar("select username from user_users")?.ToString();
var userUsers = _orm.Ado.ExecuteScalar(" select username from user_users")?.ToString();
if (string.IsNullOrEmpty(userUsers)) return loc1;
database = new[] { userUsers };
}