检查清单保存报错修复

This commit is contained in:
何美荣 2026-05-12 17:17:55 +08:00
parent 066c579c73
commit 3c2e9c759d

View File

@ -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)));
}