mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update 达梦
This commit is contained in:
parent
50de929f89
commit
cb29fe4faf
@ -13,11 +13,11 @@ namespace SqlSugar
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override ISugarQueryable<T> PartitionBy(string groupFileds)
|
//public override ISugarQueryable<T> PartitionBy(string groupFileds)
|
||||||
{
|
//{
|
||||||
this.GroupBy(groupFileds);
|
// this.GroupBy(groupFileds);
|
||||||
return this;
|
// return this;
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
public class DmQueryable<T, T2> : QueryableProvider<T, T2>
|
public class DmQueryable<T, T2> : QueryableProvider<T, T2>
|
||||||
{
|
{
|
||||||
|
@ -13,12 +13,17 @@ namespace SqlSugar
|
|||||||
public override string SqlTemplate
|
public override string SqlTemplate
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return "SELECT {0}{" + UtilConstants.ReplaceKey + "} FROM {1}{2}{3}{4}";
|
return "SELECT {0}{" + UtilConstants.ReplaceKey + "} FROM {1}{2}{3}{4}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public override string ToSqlString()
|
public override string ToSqlString()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (PartitionByValue.HasValue())
|
||||||
|
{
|
||||||
|
return base.ToSqlString();
|
||||||
|
}
|
||||||
//Support MySql Model
|
//Support MySql Model
|
||||||
if (this.Context.CurrentConnectionConfig.MoreSettings?.DatabaseModel == DbType.MySql)
|
if (this.Context.CurrentConnectionConfig.MoreSettings?.DatabaseModel == DbType.MySql)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user