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 AppClearanceController : ApiController { private readonly IAppClearanceService _invokeService; /// /// 构造函数 /// /// public AppClearanceController(IAppClearanceService invokeService) { _invokeService = invokeService; } /// /// 获取清关计划 /// /// /// [HttpPost] [Route("GetClearancePlanList")] public DataResult GetClearancePlanList([FromBody] ClearancePlanQueryModel model) { var res = _invokeService.GetClearancePlanList(model); return res; } /// /// 获取清关出库计划相关信息 /// /// /// [HttpPost] [Route("GetClearanceSummaryInfo")] public DataResult GetClearanceSummaryInfo([FromBody] ClearancePlanQueryModel model) { var res = _invokeService.GetClearanceSummaryInfo(model); return res; } /// /// 获取清关出库计划明细信息 /// /// /// [HttpPost] [Route("GetClearanceGoodsInfo")] public DataResult GetClearanceGoodsInfo([FromBody] StockGoodsQueryModel model) { var res = _invokeService.GetClearanceGoodsInfo(model); return res; } /// /// 清关出库确认 /// /// /// [HttpPost] [Route("ClearanceOutBatch")] public DataResult ClearanceOutBatch([FromBody] ClearanceOutPlanGoodsBatchInput model) { var res = _invokeService.ClearanceOutBatch(model); return res; } /// /// 清关移库确认 /// /// /// [HttpPost] [Route("ClearanceMoveBatch")] public DataResult ClearanceMoveBatch([FromBody] ClearanceMovePlanGoodsBatchInput model) { var res = _invokeService.ClearanceMoveBatch(model); return res; } }