mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update 人大金仓 PartitionByValue
This commit is contained in:
@@ -52,7 +52,14 @@ namespace SqlSugar
|
||||
{
|
||||
if (PartitionByValue.HasValue())
|
||||
{
|
||||
return base.ToSqlString();
|
||||
if (this.Context?.CurrentConnectionConfig?.MoreSettings?.DatabaseModel == DbType.SqlServer)
|
||||
{
|
||||
return base.ToSqlString();
|
||||
}
|
||||
else
|
||||
{
|
||||
return base.ToSqlString().Replace(" GetDate() ", " NOW() ");
|
||||
}
|
||||
}
|
||||
base.AppendFilter();
|
||||
string oldOrderValue = this.OrderByValue;
|
||||
|
Reference in New Issue
Block a user