mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Merge branch 'master' of github.com:donet5/SqlSugar
This commit is contained in:
commit
f42fbfa3ea
@ -1078,6 +1078,18 @@ namespace SqlSugar
|
||||
}
|
||||
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)
|
||||
{
|
||||
if (isOrderBy)
|
||||
|
@ -117,6 +117,8 @@ namespace SqlSugar
|
||||
ISugarQueryable<T> GroupBy(string groupFileds);
|
||||
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(string groupFileds);
|
||||
|
||||
|
@ -1 +1 @@
|
||||
US7ASCII 乱码传用版本
|
||||
US7ASCII 乱码专用版本
|
||||
|
Loading…
Reference in New Issue
Block a user