mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update 达梦 DefaultValue GetDate()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user