using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_DTO.Stock;
|
using WIDESEA_IStockService;
|
using WIDESEA_Model.Models;
|
using WIDESEA_StockService;
|
|
namespace WIDESEA_WMSServer.Controllers.Stock
|
{
|
/// <summary>
|
/// 库存明细
|
/// </summary>
|
[Route("api/StockInfoDetail")]
|
[ApiController]
|
public class StockInfoDetailController : ApiBaseController<IStockInfoDetailService, Dt_StockInfoDetail>
|
{
|
public StockInfoDetailController(IStockInfoDetailService service) : base(service)
|
{
|
}
|
|
[HttpPost, Route("GetPageData")]
|
public override ActionResult GetPageData([FromBody] PageDataOptions options)
|
{
|
|
var result = Service.GetPageData2(options);
|
|
|
return Json(result);
|
}
|
|
}
|
}
|