using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_BusinessServices;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_IBusinessServices;
|
using WIDESEA_IStorageBasicServices;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_WMSServer.Controllers
|
{
|
[Route("api/Dt_BillGroupStock")]
|
[ApiController]
|
public class Dt_BillGroupStockController : ApiBaseController<IDt_BillGroupStockService, Dt_BillGroupStock>
|
{
|
private readonly IHttpContextAccessor _httpContextAccessor;
|
|
public Dt_BillGroupStockController(IDt_BillGroupStockService service, IHttpContextAccessor httpContextAccessor) : base(service)
|
{
|
_httpContextAccessor = httpContextAccessor;
|
}
|
|
/// <summary>
|
/// PDA组盘
|
/// </summary>
|
/// <param name="dt_BillGroupStock">组盘信息</param>
|
/// <returns></returns>
|
[HttpPost, Route("PDAGroupPlateConfirm"),AllowAnonymous]
|
public WebResponseContent PDAGroupPlateConfirm([FromBody]Dt_BillGroupStock dt_BillGroupStock)
|
{
|
return Service.PDAGroupPlateConfirm(dt_BillGroupStock);
|
}
|
|
/// <summary>
|
/// PDA组盘撤销
|
/// </summary>
|
/// <param name="plateCode">托盘号</param>
|
/// <returns></returns>
|
[HttpPost, Route("PDAGroupPlateRevoke"),AllowAnonymous]
|
public WebResponseContent PDAGroupPlateRevoke(string plateCode)
|
{
|
return Service.PDAGroupPlateRevoke(plateCode);
|
}
|
}
|
}
|