检查清单保存报错修复
This commit is contained in:
parent
066c579c73
commit
3c2e9c759d
@ -243,7 +243,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
||||
public PagedActionResult<T_FM_USER> OrderPagedNew([FromBody] KeywordPageFilter pageFilter)
|
||||
{
|
||||
Expression<Func<T_FM_USER, bool>> express = t => !t.CODE.Contains("admin");
|
||||
if (!string.IsNullOrEmpty(pageFilter.Parameter1))
|
||||
if (!string.IsNullOrEmpty(pageFilter.Parameter1))
|
||||
{
|
||||
express = express.And(t => t.Nav_BelongRoles.Any(i => i.Nav_BelongRole.NAME.Contains(pageFilter.Parameter1)));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user