This commit is contained in:
2025-07-03 20:00:21 +08:00
parent b8c92f9ee5
commit 6ffade6e6d
4 changed files with 170 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ namespace MyCode.Project.WebApi.Areas.Admin.Controllers
/// <param name="pagedSearch"></param>
/// <returns></returns>
[HttpPost]
public PageResult<PurchaseOrderPageList> GetPageList(PagedSearch<PurchaseOrderPageSearch> pagedSearch)
{
return _purchaseOrderService.GetPageList(pagedSearch, this.CurrentLogin);
@@ -67,6 +68,7 @@ namespace MyCode.Project.WebApi.Areas.Admin.Controllers
[HttpPost]
public void BatchSetChengNuoJiaoQi(List<UpdateTime> updateList)
{
if (this.CurrentLogin.RoleType == 1)
{
throw new BaseException("管理员只能查看数据");