拼箱拆箱功能调整,毛坯仓库调整,出库功能调整

This commit is contained in:
2024-05-14 14:55:08 +08:00
parent b73b7a1f0a
commit c6adc9e930
6 changed files with 40 additions and 7 deletions

View File

@@ -65,11 +65,19 @@ namespace ZR.Admin.WebApi.Controllers
[Log(Title = "出库货物记录表", BusinessType = BusinessType.INSERT)]
public IActionResult AddWmGoodsOutProduction([FromBody] WmGoodsOutProductionDto parm)
{
var modal = parm.Adapt<WmGoodsOutRecord>().ToCreate(HttpContext);
try
{
var modal = parm.Adapt<WmGoodsOutRecord>().ToCreate(HttpContext);
var response = _WmGoodsOutProductionService.AddWmGoodsOutProduction(modal);
var response = _WmGoodsOutProductionService.AddWmGoodsOutProduction(modal);
return SUCCESS(response);
return SUCCESS(response);
}
catch (Exception ex)
{
return ToResponse(new ApiResult(500, ex.Message, "error"));
}
}
/// <summary>