Update quest db

This commit is contained in:
sunkaixuan 2023-06-02 21:37:00 +08:00
parent 048d8f8cd1
commit bce5b2e017

View File

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