mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update clickhouse guid null error
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user