app 检查记录列表 添加状态显示
This commit is contained in:
parent
d93b9519b5
commit
e07a6dd82d
@ -6741,6 +6741,33 @@ namespace APT.BS.WebApi.Controllers.Api
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 排序分页查询数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="pageFilter">分页过滤实体</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost, Route("OrderPagedAPP")]
|
||||||
|
public PagedActionResult<T_BS_SAFE_CHECK> OrderPagedAPP([FromBody] KeywordPageFilter pageFilter)
|
||||||
|
{
|
||||||
|
return SafeGetPagedData(delegate (PagedActionResult<T_BS_SAFE_CHECK> result)
|
||||||
|
{
|
||||||
|
Expression<Func<T_BS_SAFE_CHECK, bool>> expression = e => !e.IS_DELETED;
|
||||||
|
if (!string.IsNullOrEmpty(pageFilter.Parameter1))
|
||||||
|
{
|
||||||
|
expression = expression.And(e => e.NAME.Contains(pageFilter.Parameter1.Trim()) || e.CODE.Contains(pageFilter.Parameter1.Trim()) || e.Nav_User.NAME.Contains(pageFilter.Parameter1.Trim()));
|
||||||
|
}
|
||||||
|
PagedActionResult<T_BS_SAFE_CHECK> orderPageEntities = GetOrderPageEntities(expression, pageFilter, null);
|
||||||
|
result.Data = orderPageEntities.Data;
|
||||||
|
|
||||||
|
foreach (var item in result.Data)
|
||||||
|
{
|
||||||
|
item.FORM_CODE = item.STATECHECK.GetDescription();
|
||||||
|
}
|
||||||
|
result.TotalCount = orderPageEntities.TotalCount;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 排序分页查询数据
|
/// 排序分页查询数据
|
||||||
/// BS/CheckProjectProjectCategory/OrderPaged BS032
|
/// BS/CheckProjectProjectCategory/OrderPaged BS032
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user