This commit is contained in:
sunkaixuan 2017-07-25 13:54:01 +08:00
parent e6770c7e10
commit 31bf2ac769
2 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ namespace SqlSugar
method = isNullableType ? getConvertStringGuid : getStringGuid;
break;
case CSharpDataType.@byte:
method = isNullableType ? getConvertByte : getByte;
if (bindProperyTypeName == "byte")
method = isNullableType ? getConvertByte : getByte;
break;
case CSharpDataType.@enum:
method = isNullableType ? getConvertEnum_Null.MakeGenericMethod(bindPropertyType) : getEnum.MakeGenericMethod(bindPropertyType);