mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
PgSql enum bug
This commit is contained in:
@@ -129,6 +129,10 @@ namespace SqlSugar
|
||||
if (this.Value != null)
|
||||
this.Value = this.Value.ToString();
|
||||
}
|
||||
else if (type.IsEnum())
|
||||
{
|
||||
this.DbType = System.Data.DbType.Int64;
|
||||
}
|
||||
|
||||
}
|
||||
public SugarParameter(string name, object value, bool isOutput)
|
||||
|
Reference in New Issue
Block a user