mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update exp to sql
This commit is contained in:
@@ -914,7 +914,7 @@ namespace SqlSugar
|
||||
{
|
||||
return $"CONVERT(varchar(100),convert(datetime,{value}), 121)";
|
||||
}
|
||||
else if (formatString!=null&& formatString.IsInt())
|
||||
else if (IsSqlServer()&&formatString!=null&& formatString.IsInt())
|
||||
{
|
||||
return string.Format("CONVERT(varchar(100),convert(datetime,{0}), {1})", value, formatString);
|
||||
}
|
||||
|
Reference in New Issue
Block a user