mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
Update bool
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user