You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.9 KiB
C#
72 lines
1.9 KiB
C#
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;
|
|
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="invokeService"></param>
|
|
public AppStockOutController(IAppStockOutService invokeService)
|
|
{
|
|
_invokeService = invokeService;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取出库计划
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[Route("GetStockOutPlanList")]
|
|
public DataResult GetStockOutPlanList([FromBody] StockOutPlanQueryModel model)
|
|
{
|
|
var res = _invokeService.GetStockOutPlanList(model);
|
|
return res;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取出库计划相关信息
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[Route("GetStockOutSummaryInfo")]
|
|
public DataResult GetStockOutSummaryInfo([FromBody] StockOutPlanQueryModel model)
|
|
{
|
|
var res = _invokeService.GetStockOutSummaryInfo(model);
|
|
return res;
|
|
}
|
|
/// <summary>
|
|
/// 获取出库计划明细信息
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[Route("GetStockOutGoodsInfo")]
|
|
public DataResult GetStockOutGoodsInfo([FromBody] StockGoodsQueryModel model)
|
|
{
|
|
var res = _invokeService.GetStockOutGoodsInfo(model);
|
|
return res;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 出库确认
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
[Route("StockOutBatch")]
|
|
public DataResult StockOutBatch([FromBody] StockOutPlanGoodsBatchInput model)
|
|
{
|
|
var res = _invokeService.StockOutBatch(model);
|
|
return res;
|
|
}
|
|
}
|