mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Bug UpdateNav
This commit is contained in:
@@ -291,8 +291,16 @@ namespace SqlSugar
|
||||
foreach (var item in whereColumns)
|
||||
{
|
||||
_WhereColumn(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;
|
||||
}
|
||||
public IUpdateable<T> WhereColumns(string columnName)
|
||||
|
Reference in New Issue
Block a user