mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update 人大金仓 PartitionByValue
This commit is contained in:
parent
7343a8f072
commit
e50406846d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user