mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Version synchronization
This commit is contained in:
@@ -442,7 +442,7 @@ namespace SqlSugar
|
|||||||
var addItem = readerValues[info];
|
var addItem = readerValues[info];
|
||||||
if (addItem == DBNull.Value)
|
if (addItem == DBNull.Value)
|
||||||
addItem = null;
|
addItem = null;
|
||||||
if (prop.PropertyType == UtilConstants.IntType)
|
if (UtilMethods.GetUnderType(prop.PropertyType) == UtilConstants.IntType)
|
||||||
{
|
{
|
||||||
addItem = addItem.ObjToInt();
|
addItem = addItem.ObjToInt();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user