mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 01:31:30 +08:00
Update difflog
This commit is contained in:
parent
7f8282c115
commit
2e56d0cc0c
@ -844,7 +844,14 @@ namespace SqlSugar
|
||||
}
|
||||
else
|
||||
{
|
||||
dt=this.Context.Queryable<T>().WhereClassByPrimaryKey(this.UpdateObjs.ToList()).ToDataTable();
|
||||
if (this.UpdateObjs.ToList().Count == 0)
|
||||
{
|
||||
dt = new DataTable();
|
||||
}
|
||||
else
|
||||
{
|
||||
dt = this.Context.Queryable<T>().WhereClassByPrimaryKey(this.UpdateObjs.ToList()).ToDataTable();
|
||||
}
|
||||
}
|
||||
if (dt.Rows != null && dt.Rows.Count > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user