@ -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)