仓库-批量出库功能实现

This commit is contained in:
2024-04-23 18:42:44 +08:00
parent 50226106f5
commit b3fc2394e7
4 changed files with 114 additions and 1 deletions

View File

@@ -104,7 +104,25 @@ namespace ZR.Admin.WebApi.Controllers
return ToResponse(response);
}
/// <summary>
/// 按批次出库
/// </summary>
/// <returns></returns>
[HttpPost("doPatchOutProduction")]
[Log(Title = "按批次出库", BusinessType = BusinessType.INSERT)]
public IActionResult DoPatchOutProduction([FromBody] WmBatchGoodsOutProductionDto parm)
{
string response = _WmGoodsOutProductionService.DoPatchOutProduction(parm);
if(response == "ok")
{
return ToResponse(new ApiResult(200, response, response));
}
else
{
return ToResponse(new ApiResult(500, response, response));
}
}
}