mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Updateable.PageSize bug
This commit is contained in:
parent
d07ea36e92
commit
cb45cd54b8
@ -14,7 +14,7 @@ namespace SqlSugar
|
||||
public string TableName { get; internal set; }
|
||||
public bool IsEnableDiffLogEvent { get; internal set; }
|
||||
public DiffLogModel DiffModel { get; internal set; }
|
||||
public List<string> UpdateColumns { get; internal set; }
|
||||
public List<string> UpdateColumns { get; internal set; }
|
||||
public string[] WhereColumnList { get; internal set; }
|
||||
|
||||
public UpdateableFilter<T> EnableQueryFilter()
|
||||
|
@ -191,9 +191,11 @@ namespace SqlSugar
|
||||
result.TableName = this.UpdateBuilder.TableName;
|
||||
result.IsEnableDiffLogEvent = this.IsEnableDiffLogEvent;
|
||||
result.WhereColumnList = this.WhereColumnList?.ToArray();
|
||||
result.DiffModel = this.diffModel;
|
||||
result.DiffModel = this.diffModel;
|
||||
if (this.UpdateBuilder.DbColumnInfoList.Any())
|
||||
result.UpdateColumns = this.UpdateBuilder.DbColumnInfoList.GroupBy(it => it.TableId).First().Select(it => it.DbColumnName).ToList();
|
||||
if(this.UpdateBuilder?.UpdateColumns?.Any()==true)
|
||||
result.UpdateColumns = this.UpdateBuilder.UpdateColumns;
|
||||
return result;
|
||||
}
|
||||
public IUpdateable<T, T2> InnerJoin<T2>(Expression<Func<T, T2, bool>> joinExpress)
|
||||
|
Loading…
Reference in New Issue
Block a user