Update bool

This commit is contained in:
sunkaixuan
2022-08-05 19:09:58 +08:00
parent 18afcc3691
commit e49996a392

View File

@@ -589,6 +589,10 @@ namespace SqlSugar
{
return Convert.ToInt32(item.FieldValue);
}
else if (item.FieldValue!=null&&item.CSharpTypeName.EqualCase(UtilConstants.BoolType.Name))
{
return Convert.ToBoolean(item.FieldValue.ToLower());
}
else if (item.CSharpTypeName.EqualCase(UtilConstants.LongType.Name))
{
return Convert.ToInt64(item.FieldValue);