mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-18 14:09:34 +08:00
Storageable Support null
This commit is contained in:
parent
c82b3a0e40
commit
3e7b2e01dd
@ -331,7 +331,7 @@ namespace SqlSugar
|
||||
FieldName = item.DbColumnName,
|
||||
ConditionalType = ConditionalType.Equal,
|
||||
CSharpTypeName=UtilMethods.GetTypeName(value),
|
||||
FieldValue = value + "",
|
||||
FieldValue = value==null?"null":value.ObjToString(),
|
||||
FieldValueConvertFunc=this.Context.CurrentConnectionConfig.DbType==DbType.PostgreSQL?
|
||||
UtilMethods.GetTypeConvert(value):null
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user