首检添加数据看板

This commit is contained in:
2024-06-07 11:04:26 +08:00
parent c93711290e
commit 769d2da1e0
344 changed files with 1772 additions and 2526 deletions

View File

@@ -1,12 +1,9 @@
using Microsoft.AspNetCore.Mvc;
using ZR.Model.Dto;
using ZR.Service.Business.IBusinessService;
using ZR.Admin.WebApi.Extensions;
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;
using ZR.Model.MES.wms.Dto;
using ZR.Service.mes.wms.IService;
//创建时间2024-04-17
namespace ZR.Admin.WebApi.Controllers
@@ -35,9 +32,9 @@ namespace ZR.Admin.WebApi.Controllers
[HttpGet("transform")]
[AllowAnonymous]
[Log(Title = "把包装数据转换为检验数据", BusinessType = BusinessType.INSERT)]
public IActionResult Transform(string workorder)
public IActionResult Transform(string workorder)
{
if(string.IsNullOrEmpty(workorder) == null)
if (string.IsNullOrEmpty(workorder) == null)
{
return SUCCESS(workorder);
}
@@ -95,7 +92,7 @@ namespace ZR.Admin.WebApi.Controllers
public IActionResult GetWmFgentryInspect(int Id)
{
var response = _WmFgentryInspectService.GetInfo(Id);
var info = response.Adapt<WmFgentryInspect>();
return SUCCESS(info);
}
@@ -153,7 +150,7 @@ namespace ZR.Admin.WebApi.Controllers
/// </summary>
/// <returns></returns>
[HttpPost("batchQualified")]
public IActionResult BatchQualified([FromBody]string[] packcode_select)
public IActionResult BatchQualified([FromBody] string[] packcode_select)
{
if (packcode_select == null || packcode_select.Length <= 0)
{