mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Oracle int Bug
This commit is contained in:
@@ -213,6 +213,9 @@ 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) {
|
||||||
|
addItem = addItem.ObjToInt();
|
||||||
|
}
|
||||||
result.Add(name, addItem);
|
result.Add(name, addItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user