mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-17 05:29:33 +08:00
Update exp to sql (Oracle)
This commit is contained in:
parent
de3cdbc959
commit
9781413b6a
@ -260,7 +260,9 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public override string DateIsSameDay(MethodCallExpressionModel model)
|
public override string DateIsSameDay(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
throw new NotSupportedException("Oracle NotSupportedException DateIsSameDay");
|
var parameter = model.Args[0];
|
||||||
|
var parameter2 = model.Args[1];
|
||||||
|
return string.Format(" ( cast({0} as date)= cast( {1} as date) ) ", parameter.MemberName, parameter2.MemberName); ;
|
||||||
}
|
}
|
||||||
public override string DateIsSameByType(MethodCallExpressionModel model)
|
public override string DateIsSameByType(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user