mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 04:35:29 +08:00
Synchronization code
This commit is contained in:
parent
bce5b2e017
commit
59c84c68dc
@ -284,7 +284,7 @@ namespace SqlSugar
|
||||
public override string ToDate(MethodCallExpressionModel model)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user