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 AppStockOutController : ApiController { private readonly IAppStockOutService _invokeService; /// /// 构造函数 /// /// public AppStockOutController(IAppStockOutService invokeService) { _invokeService = invokeService; } /// /// 获取出库计划 /// /// /// [HttpPost] [Route("GetStockOutPlanList")] public DataResult GetStockOutPlanList([FromBody] StockOutPlanQueryModel model) { var res = _invokeService.GetStockOutPlanList(model); return res; } /// /// 获取出库计划相关信息 /// /// /// [HttpPost] [Route("GetStockOutSummaryInfo")] public DataResult GetStockOutSummaryInfo([FromBody] StockOutPlanQueryModel model) { var res = _invokeService.GetStockOutSummaryInfo(model); return res; } /// /// 获取出库计划明细信息 /// /// /// [HttpPost] [Route("GetStockOutGoodsInfo")] public DataResult GetStockOutGoodsInfo([FromBody] StockGoodsQueryModel model) { var res = _invokeService.GetStockOutGoodsInfo(model); return res; } /// /// 出库确认 /// /// /// [HttpPost] [Route("StockOutBatch")] public DataResult StockOutBatch([FromBody] StockOutPlanGoodsBatchInput model) { var res = _invokeService.StockOutBatch(model); return res; } }