mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Merge branch 'master' of github.com:donet5/SqlSugar
This commit is contained in:
@@ -1078,6 +1078,18 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ISugarQueryable<T> GroupByIF(bool isGroupBy, string groupFields)
|
||||||
|
{
|
||||||
|
if (isGroupBy)
|
||||||
|
{
|
||||||
|
GroupBy(groupFields);
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public virtual ISugarQueryable<T> OrderByIF(bool isOrderBy, string orderFileds)
|
public virtual ISugarQueryable<T> OrderByIF(bool isOrderBy, string orderFileds)
|
||||||
{
|
{
|
||||||
if (isOrderBy)
|
if (isOrderBy)
|
||||||
|
@@ -117,6 +117,8 @@ namespace SqlSugar
|
|||||||
ISugarQueryable<T> GroupBy(string groupFileds);
|
ISugarQueryable<T> GroupBy(string groupFileds);
|
||||||
ISugarQueryable<T> GroupByIF(bool isGroupBy, Expression<Func<T, object>> expression);
|
ISugarQueryable<T> GroupByIF(bool isGroupBy, Expression<Func<T, object>> expression);
|
||||||
|
|
||||||
|
ISugarQueryable<T> GroupByIF(bool isGroupBy, string groupFields);
|
||||||
|
|
||||||
ISugarQueryable<T> PartitionBy(Expression<Func<T, object>> expression);
|
ISugarQueryable<T> PartitionBy(Expression<Func<T, object>> expression);
|
||||||
ISugarQueryable<T> PartitionBy(string groupFileds);
|
ISugarQueryable<T> PartitionBy(string groupFileds);
|
||||||
|
|
||||||
|
@@ -1 +1 @@
|
|||||||
US7ASCII <EFBFBD><EFBFBD><EFBFBD>봫<EFBFBD>ð汾
|
US7ASCII 乱码专用版本
|
||||||
|
Reference in New Issue
Block a user