@ -882,6 +882,10 @@ namespace SqlSugar
{
return $"to_char({value},'{formatString}') ";
}
else if (IsMySql()&& formatString == "yyyy-MM-dd")
return $"DATE_FORMAT({value}, '%Y-%m-%d')";
else if (formatString == "yyyy-MM-dd" && IsSqlServer())
return $"CONVERT(varchar(100),convert(datetime,{value}), 23)";