1
huangxiaoqiang
8 天以前 644cbe3e4eba765affa25454d69fee6286bb6094
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/BoxingInfoController.cs
@@ -9,17 +9,31 @@
    public BoxingInfoController(IBoxingInfoService service) : base(service)
    {
    }
    // POST api/<BoxingInfoController>
    [HttpPost,HttpGet, Route("AddBoxingInfo"), AllowAnonymous]
    public Task<WebResponseContent> AddBoxingInfoAsync([FromBody] AddBoxingDto boxingInfo)
    /// <summary>
    /// 缁勭洏
    /// </summary>
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
    public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
    {
        return Service.AddBoxingInfoAsync(boxingInfo);
        return Service.AddGroupPlateAsync(groupPlate);
    }
    [HttpPost, HttpGet, Route("DeleteBoxingInfoAsync"), AllowAnonymous]
    public Task<WebResponseContent> DeleteBoxingInfoAsync([FromBody] AddBoxingDto boxingInfo)
    [HttpPost, HttpGet, Route("GetPalletCodeInfo"), AllowAnonymous]
    public Task<WebResponseContent> GetPalletCodeInfo(string palletCode)
    {
        return Service.DeleteBoxingInfoAsync(boxingInfo);
        return Service.GetPalletCodeInfo(palletCode);
    }
    /// <summary>
    /// 瑙g洏
    /// </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);
    }
}