计划于物流结束
This commit is contained in:
@@ -11,6 +11,7 @@ using ZR.Model.MES.qc.DTO;
|
||||
using ZR.Service.mes.pro;
|
||||
using ZR.Service.mes.pro.IService;
|
||||
using ZR.Service.mes.qu.IService;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.mes.qu
|
||||
{
|
||||
@@ -40,5 +41,19 @@ namespace ZR.Admin.WebApi.Controllers.mes.qu
|
||||
|
||||
return ToResponse(new ApiResult(200, "success", data));
|
||||
}
|
||||
/// <summary>
|
||||
/// 更新统计表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
|
||||
[HttpGet("updateStatisticsTable")]
|
||||
public IActionResult UpdateStatisticsTable(string id, int actualNumber, int randomRate, int ngs, int oks, decimal oksRatio,int Isqualified)
|
||||
{
|
||||
|
||||
if (string.IsNullOrEmpty(id))
|
||||
return ToResponse(new ApiResult(200, "success", 0));
|
||||
int result = quRoughService.UpdateStatisticsTable(id, actualNumber, randomRate, ngs, oks, oksRatio,Isqualified);
|
||||
return ToResponse(new ApiResult(200, "success", result));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user