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 { private readonly IHttpContextAccessor _httpContextAccessor; public Dt_BillGroupStockController(IDt_BillGroupStockService service, IHttpContextAccessor httpContextAccessor) : base(service) { _httpContextAccessor = httpContextAccessor; } /// /// PDA组盘 /// /// 组盘信息 /// [HttpPost, Route("PDAGroupPlateConfirm"),AllowAnonymous] public WebResponseContent PDAGroupPlateConfirm([FromBody]Dt_BillGroupStock dt_BillGroupStock) { return Service.PDAGroupPlateConfirm(dt_BillGroupStock); } /// /// PDA组盘撤销 /// /// 托盘号 /// [HttpPost, Route("PDAGroupPlateRevoke"),AllowAnonymous] public WebResponseContent PDAGroupPlateRevoke(string plateCode) { return Service.PDAGroupPlateRevoke(plateCode); } } }