mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Update bool
This commit is contained in:
@@ -589,6 +589,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return Convert.ToInt32(item.FieldValue);
|
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))
|
else if (item.CSharpTypeName.EqualCase(UtilConstants.LongType.Name))
|
||||||
{
|
{
|
||||||
return Convert.ToInt64(item.FieldValue);
|
return Convert.ToInt64(item.FieldValue);
|
||||||
|
|||||||
Reference in New Issue
Block a user