src/KopSoftWms/Controllers/InventoryRecordController.cs

(完整代码) 938B

using IServices;
using Microsoft.AspNetCore.Mvc;
using YL.Core.Dto;
using YL.NetCore.Attributes;
using YL.NetCore.NetCoreApp;
using YL.Utils.Pub;

namespace KopSoftWms.Controllers
{
    public class InventoryRecordController : BaseController
    {
        private readonly IWms_inventoryrecordServices _inventoryrecordServices;

        public InventoryRecordController(
            IWms_inventoryrecordServices inventoryrecordServices
            )
        {
            _inventoryrecordServices = inventoryrecordServices;
        }

        [HttpGet]
        [CheckMenu]
        public IActionResult Index()
        {
            return View();
        }

        [HttpPost]
        [OperationLog(LogType.select)]
        public ContentResult List([FromForm] PubParams.InventoryBootstrapParams bootstrap)
        {
            var sd = _inventoryrecordServices.PageList(bootstrap);
            return Content(sd);
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。