mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update query filter
This commit is contained in:
@@ -554,7 +554,7 @@ namespace SqlSugar
|
||||
|
||||
private string ReplaceFilterColumnName(string sql, Type filterType,string shortName=null)
|
||||
{
|
||||
foreach (var column in this.Context.EntityMaintenance.GetEntityInfo(filterType).Columns.Where(it => it.IsIgnore == false))
|
||||
foreach (var column in this.Context.EntityMaintenance.GetEntityInfoWithAttr(filterType).Columns.Where(it => it.IsIgnore == false))
|
||||
{
|
||||
if (shortName == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user