mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update Reportable
This commit is contained in:
parent
c4377fa7c2
commit
03b11430bf
@ -235,6 +235,20 @@ namespace SqlSugar
|
||||
});
|
||||
return result;
|
||||
}
|
||||
else if (type.IsIn(typeof(Guid)))
|
||||
{
|
||||
Expression<Func<SingleColumnEntity<object>, object>> exp = it => Convert.ToDecimal(it.ColumnName);
|
||||
var result = queryBuilder.LambdaExpressions.DbMehtods.ToGuid(new MethodCallExpressionModel()
|
||||
{
|
||||
Args = new List<MethodCallExpressionArgs>() {
|
||||
new MethodCallExpressionArgs(){
|
||||
IsMember=true,
|
||||
MemberName= formatBuilder.FormatValue(value)
|
||||
}
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
else if (type.IsIn(typeof(DateTime))||type.Name== "DateOnly")
|
||||
{
|
||||
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.139-preview01</version>
|
||||
<version>5.1.4.141-preview03</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user