using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Threading.Tasks;
|
using WIDESEA.Core.Utilities;
|
using WIDESEA.Entity.DomainModels;
|
using WIDESEA.Services.IServices.ToApp;
|
using WIDESEA_Services.Services;
|
|
namespace WIDESEA_WCSServer.Controllers.ToAPP
|
{
|
[Route("api/ToAPP")]
|
[ApiController]
|
public class ToAppController : ControllerBase
|
{
|
/// <summary>
|
/// 入库组盘
|
/// </summary>
|
/// <param name="saveModel"></param>
|
/// <returns></returns>
|
[HttpPost, Route("InboundBoxingAction")]
|
public WebResponseContent InboundBoxingAction([FromBody] SaveModel saveModel)
|
{
|
IToAPPInterface inter = new ToAPPOperation();
|
return inter.InboundBoxingAction(saveModel);
|
}
|
|
/// <summary>
|
/// 选配出库
|
/// </summary>
|
/// <param name="saveModel"></param>
|
/// <returns></returns>
|
[HttpPost, Route("OptionalOutboundAction"),AllowAnonymous]
|
public WebResponseContent OptionalOutboundAction([FromBody] SaveModel saveModel)
|
{
|
IToAPPInterface inter = new ToAPPOperation();
|
return inter.OptionalOutboundAction(saveModel);
|
}
|
|
|
/// <summary>
|
/// 查询选配数据
|
/// </summary>
|
/// <param name="saveModel"></param>
|
/// <returns></returns>
|
|
[HttpPost, Route("QuerySelecttionInfo")]
|
public WebResponseContent QuerySelecttionInfo([FromBody] SaveModel saveModel)
|
{
|
IToAPPInterface inter = new ToAPPOperation();
|
return inter.QuerySelecttionInfo(saveModel);
|
}
|
|
/// <summary>
|
/// 选配确认
|
/// </summary>
|
/// <param name="saveModel"></param>
|
/// <returns></returns>
|
|
[HttpPost, Route("OutboundCheckAction")]
|
public WebResponseContent OutboundCheckAction([FromBody] SaveModel saveModel)
|
{
|
IToAPPInterface inter = new ToAPPOperation();
|
return inter.OutboundCheckAction(saveModel);
|
}
|
|
|
/// <summary>
|
/// 测量复核
|
/// </summary>
|
/// <param name="saveModel"></param>
|
/// <returns></returns>
|
|
[HttpPost, Route("MeasureCheckAction")]
|
public WebResponseContent MeasureCheckAction([FromBody] SaveModel saveModel)
|
{
|
IToAPPInterface inter = new ToAPPOperation();
|
return inter.MeasureCheckAction(saveModel);
|
}
|
}
|
}
|