using WIDESEA_DTO.Basic;
|
|
namespace WIDESEA_WMSServer.Controllers;
|
|
[Route("api/[controller]")]
|
[ApiController]
|
public class BoxingInfoController : ApiBaseController<IBoxingInfoService, DtBoxingInfo>
|
{
|
public BoxingInfoController(IBoxingInfoService service) : base(service)
|
{
|
}
|
/// <summary>
|
/// 组盘
|
/// </summary>
|
/// <param name="groupPlate"></param>
|
/// <returns></returns>
|
[HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
|
public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
|
{
|
return Service.AddGroupPlateAsync(groupPlate);
|
}
|
|
[HttpPost, HttpGet, Route("GetPalletCodeInfo"), AllowAnonymous]
|
public Task<WebResponseContent> GetPalletCodeInfo(string palletCode)
|
{
|
return Service.GetPalletCodeInfo(palletCode);
|
}
|
|
/// <summary>
|
/// 解盘
|
/// </summary>
|
/// <param name="groupPlate"></param>
|
/// <returns></returns>
|
[HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
|
public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
|
{
|
return await Service.DeleteGroupPlateAsync(groupPlate);
|
}
|
}
|