代码生成的字段Comment换成Remark

This commit is contained in:
yubaolee
2025-02-19 16:55:47 +08:00
parent 2a2d83d026
commit 355168b43d
12 changed files with 22 additions and 26 deletions

View File

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