mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update quest db
This commit is contained in:
parent
048d8f8cd1
commit
bce5b2e017
@ -284,7 +284,7 @@ namespace SqlSugar
|
|||||||
public override string ToDate(MethodCallExpressionModel model)
|
public override string ToDate(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
var parameter = model.Args[0];
|
var parameter = model.Args[0];
|
||||||
return string.Format("CAST({0} AS DATE)", parameter.MemberName);
|
return string.Format("CAST({0} AS timestamp)", parameter.MemberName);
|
||||||
}
|
}
|
||||||
public override string DateAddByType(MethodCallExpressionModel model)
|
public override string DateAddByType(MethodCallExpressionModel model)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user