提交
This commit is contained in:
@@ -6,6 +6,7 @@ using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Service.mes.wms.IService;
|
||||
using ZR.Model.MES.wms.Dto;
|
||||
using ZR.Model.MES.wms;
|
||||
using Aliyun.OSS;
|
||||
|
||||
//创建时间:2024-04-17
|
||||
namespace ZR.Admin.WebApi.Controllers
|
||||
@@ -26,6 +27,21 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
{
|
||||
_WmFgentryInspectService = WmFgentryInspectService;
|
||||
}
|
||||
/// <summary>
|
||||
/// 把包装数据转换为检验数据
|
||||
/// </summary>
|
||||
/// <param name="workorder"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("transform")]
|
||||
public IActionResult Transform(string workorder)
|
||||
{
|
||||
if(string.IsNullOrEmpty(workorder) == null)
|
||||
{
|
||||
return SUCCESS(workorder);
|
||||
}
|
||||
var response = _WmFgentryInspectService.TransformData(workorder);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询成品入库检验列表
|
||||
@@ -186,5 +202,8 @@ namespace ZR.Admin.WebApi.Controllers
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user