mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update ContextMethod
This commit is contained in:
parent
10386153f7
commit
1d764920c0
@ -442,7 +442,7 @@ namespace SqlSugar
|
||||
var addItem = readerValues[info];
|
||||
if (addItem == DBNull.Value)
|
||||
addItem = null;
|
||||
if (prop.PropertyType == UtilConstants.IntType)
|
||||
if (UtilMethods.GetUnderType(prop.PropertyType) == UtilConstants.IntType)
|
||||
{
|
||||
addItem = addItem.ObjToInt();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user