mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update 达梦 DefaultValue GetDate()
This commit is contained in:
parent
4637a44d12
commit
c2639af715
@ -435,6 +435,10 @@ namespace SqlSugar
|
||||
{
|
||||
result = "DateTime.Now";
|
||||
}
|
||||
if (result.Equals("getdate()", StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
result = "DateTime.Now";
|
||||
}
|
||||
result = result.Replace("\r", "\t").Replace("\n", "\t");
|
||||
result = result.IsIn("''", "\"\"") ? string.Empty : result;
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user