完成pgSql结构调整

This commit is contained in:
yubaolee
2025-02-26 10:48:26 +08:00
parent 7316e17d3c
commit 92be71ac49
3 changed files with 16 additions and 11 deletions

View File

@@ -35,10 +35,6 @@ namespace OpenAuth.App
public T Get(string id)
{
if (SugarClient.CurrentConnectionConfig.DbType == DbType.PostgreSQL)
{
return SugarClient.Queryable<T>().Where("\"Id\"=@id", new {id = id}).First();
}
return SugarClient.Queryable<T>().Where("Id=@id", new {id = id}).First();
}