mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Update 人大金仓 PartitionByValue
This commit is contained in:
@@ -52,7 +52,14 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (PartitionByValue.HasValue())
|
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();
|
base.AppendFilter();
|
||||||
string oldOrderValue = this.OrderByValue;
|
string oldOrderValue = this.OrderByValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user