入库检验

This commit is contained in:
qianhao.xu
2024-04-19 09:56:38 +08:00
parent 59dd7307d8
commit 20a0bca353
4 changed files with 131 additions and 9 deletions

View File

@@ -129,6 +129,41 @@ namespace ZR.Admin.WebApi.Controllers
return ToResponse(response);
}
/// <summary>
/// 批量修改合适数据
/// </summary>
/// <returns></returns>
[HttpPost("batchQualified")]
public IActionResult BatchQualified([FromBody]string[] packcode_select)
{
if (packcode_select == null || packcode_select.Length <= 0)
{
return SUCCESS(null);
}
var response = _WmFgentryInspectService.BatchQualified(packcode_select, HttpContext.GetName());
return ToResponse(response);
}
/// <summary>
/// 批量修改合适数据
/// </summary>
/// <returns></returns>
[HttpPost("batchUnQualified")]
public IActionResult BatchUnQualified([FromBody] string[] packcode_select)
{
if (packcode_select == null || packcode_select.Length <= 0)
{
return SUCCESS(null);
}
var response = _WmFgentryInspectService.BatchUnQualified(packcode_select, HttpContext.GetName());
return ToResponse(response);
}