部门 FM/Department/OrderPaged 添加 IS_DELETE
This commit is contained in:
parent
6f503997d6
commit
9fb665f9d5
@ -125,6 +125,20 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
||||
pageFilter.FilterGroup.Rules.Add(filterRule);
|
||||
}
|
||||
|
||||
FilterRule filterRuleDelete = new FilterRule();
|
||||
filterRuleDelete.Field = "IS_DELETED";
|
||||
filterRuleDelete.Value = "0";
|
||||
filterRuleDelete.IsSysParamRule = false;
|
||||
filterRuleDelete.Operate = FilterOperate.Equal;
|
||||
if (pageFilter.FilterGroup.Rules == null)
|
||||
{
|
||||
pageFilter.FilterGroup.Rules = new List<FilterRule>();
|
||||
pageFilter.FilterGroup.Rules.Add(filterRuleDelete);
|
||||
}
|
||||
else
|
||||
{
|
||||
pageFilter.FilterGroup.Rules.Add(filterRuleDelete);
|
||||
}
|
||||
return WitOrderPaged(null, pageFilter);
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user