mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update clickhouse guid null error
This commit is contained in:
parent
2c3d38f140
commit
7d862c8ae9
@ -128,6 +128,10 @@ namespace SqlSugar.ClickHouse
|
||||
if (dbtype.ObjToString() == System.Data.DbType.Guid.ToString())
|
||||
{
|
||||
dbtype = ClickHouseDbBind.MappingTypesConst.First(it => it.Value == CSharpDataType.Guid).Key;
|
||||
if (param.Value == DBNull.Value)
|
||||
{
|
||||
param.Value = Guid.Empty;
|
||||
}
|
||||
}
|
||||
if (param.Value!=null&¶m.Value!=DBNull.Value&&dbtype.ObjToString() == System.Data.DbType.Boolean.ToString())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user