mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Bug UpdateNav
This commit is contained in:
parent
e608ea2967
commit
c06fd3a5e5
@ -291,7 +291,15 @@ namespace SqlSugar
|
||||
foreach (var item in whereColumns)
|
||||
{
|
||||
_WhereColumn(item);
|
||||
this.WhereColumnList.Add(item);
|
||||
var columnInfo=this.EntityInfo.Columns.FirstOrDefault(it => it.PropertyName.EqualCase(item));
|
||||
if (columnInfo != null)
|
||||
{
|
||||
this.WhereColumnList.Add(columnInfo.DbColumnName);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.WhereColumnList.Add(item);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user