EquipmentInventoryController.cs
956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using HHECS.Application.Service;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using HHECS.Model.Entities;
using HHECS.Model.ViewEntity;
using Microsoft.AspNetCore.Http;
namespace HHECS.Web.Areas.EquipmentInfo.Controllers
{
/// <summary>
/// 库存
/// </summary>
[Area("EquipmentInfo")]
public class EquipmentInventoryController : BaseController
{
private readonly InventoryService _inventoryService;
public EquipmentInventoryController(InventoryService inventoryService)
{
_inventoryService = inventoryService;
}
[ServiceFilter(typeof(OperLogFilter))]
public IActionResult Index()
{
return View();
}
[HttpPost]
public string Load(PageReq pageRequest, Inventory entity)
{
return _inventoryService.Load(entity, pageRequest);
}
#region 自定义方法
#endregion
}
}