This commit is contained in:
sunkaixuan
2017-07-01 13:13:19 +08:00
parent 9c2740b927
commit 614a45d2e1

View File

@@ -167,7 +167,7 @@ namespace SqlSugar
{
return GetKeyValueList<T>(type, dataReader);
}
else if (type.IsValueType || type == PubConst.StringType)
else if (type.IsValueType() || type == PubConst.StringType)
{
return GetValueTypeList<T>(type, dataReader);
}