mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update exp to sql
This commit is contained in:
parent
616a26f983
commit
490f6000d8
@ -25,6 +25,14 @@ namespace SqlSugar
|
||||
{
|
||||
formatString = formatString.Replace("hhmm", "hhmi");
|
||||
}
|
||||
else if (formatString.HasValue() && formatString.Contains("HH:mm"))
|
||||
{
|
||||
formatString = formatString.Replace("HH:mm", "HH:mi");
|
||||
}
|
||||
else if (formatString.HasValue() && formatString.Contains("HHmm"))
|
||||
{
|
||||
formatString = formatString.Replace("HHmm", "HHmi");
|
||||
}
|
||||
return $"to_char({value},'{formatString}') ";
|
||||
}
|
||||
else if (IsSqlite() && formatString == "yyyy-MM-dd")
|
||||
|
Loading…
Reference in New Issue
Block a user