mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-17 05:29:33 +08:00
Synchronization code
This commit is contained in:
parent
a26642a1a8
commit
5a6c171371
@ -216,7 +216,7 @@ namespace SqlSugar
|
||||
|
||||
private static void EqualNull(StringBuilder builder, List<SugarParameter> parameters, ConditionalModel item, string type, string temp, string parameterName)
|
||||
{
|
||||
if (GetFieldValue(item) == null)
|
||||
if (GetFieldValue(item) == null||(item.FieldValue==null&&item.CSharpTypeName.EqualCase("bool")))
|
||||
{
|
||||
builder.AppendFormat(temp, type, item.FieldName.ToSqlFilter(), " IS ", " NULL ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user