using DS.Module.Core; using DS.WMS.Core.App.Dtos; using DS.WMS.Core.App.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.AppApi.Controllers; public class AppStockInController : ApiController { private readonly IAppStockInService _invokeService; /// /// 构造函数 /// /// public AppStockInController(IAppStockInService invokeService) { _invokeService = invokeService; } /// /// 获取入库计划 /// /// /// [HttpPost] [Route("GetStockInPlanList")] public DataResult> GetStockInPlanList([FromBody] StockInPlanQueryModel model) { var res = _invokeService.GetStockInPlanList(model); return res; } /// /// 获取入库计划相关信息 /// /// /// [HttpPost] [Route("GetStockInSummaryInfo")] public DataResult GetStockInSummaryInfo([FromBody] StockInPlanQueryModel model) { var res = _invokeService.GetStockInSummaryInfo(model); return res; } /// /// 获取计划明细信息 /// /// /// [HttpPost] [Route("GetStockInGoodsInfo")] public DataResult GetStockInGoodsInfo([FromBody] StockGoodsQueryModel model) { var res = _invokeService.GetStockInGoodsInfo(model); return res; } /// /// 入库确认 /// /// /// [HttpPost] [Route("StockInBatch")] public DataResult StockInBatch([FromBody] StockInPlanGoodsBatchInput model) { var res = _invokeService.StockInBatch(model); return res; } }