1
This commit is contained in:
parent
70ef9bd6d3
commit
856f9cbcf1
@ -14,7 +14,7 @@ namespace DOAN.WebApi.Controllers.Mobile.product
|
||||
/// 首件检验标签和末件检验标签打印接口
|
||||
/// </summary>
|
||||
|
||||
[Route("mes/Mobile/PrintAndReportWork")]
|
||||
[Route("mes/Mobile/PrintAndReportWork2")]
|
||||
public class PADPrintAndReportWork2Controller : BaseController
|
||||
{
|
||||
/// <summary>
|
||||
@ -29,6 +29,7 @@ namespace DOAN.WebApi.Controllers.Mobile.product
|
||||
|
||||
|
||||
// TODO 获取首件检验标签
|
||||
[HttpGet("firstInspectionLabel")]
|
||||
public IActionResult GetFirstInspectionLabel(string workorder)
|
||||
{
|
||||
var response = printAndReportWorkService.GetFirstInspectionLabel(workorder);
|
||||
@ -36,6 +37,7 @@ namespace DOAN.WebApi.Controllers.Mobile.product
|
||||
}
|
||||
|
||||
//TODO 校验首标签
|
||||
[HttpGet("CheckfirstInspectionLabel")]
|
||||
public IActionResult CheckFirstInspectionLabel(string workorder,string first_label)
|
||||
{
|
||||
var response = printAndReportWorkService.CheckFirstInspectionLabel(workorder, first_label);
|
||||
@ -44,6 +46,7 @@ namespace DOAN.WebApi.Controllers.Mobile.product
|
||||
|
||||
|
||||
//TODO 获取末件检验标签
|
||||
[HttpGet("getendinspectionlabel")]
|
||||
public IActionResult GetEndInspectionLabel(string workorder)
|
||||
{
|
||||
var response = printAndReportWorkService.GetEndInspectionLabel(workorder);
|
||||
@ -53,7 +56,12 @@ namespace DOAN.WebApi.Controllers.Mobile.product
|
||||
|
||||
|
||||
//TODO 校验末件标签
|
||||
|
||||
[HttpGet("CheckEndInspectionLabel")]
|
||||
public IActionResult CheckEndInspectionLabel(string workorder, string end_label)
|
||||
{
|
||||
var response = printAndReportWorkService.CheckEndInspectionLabel(workorder, end_label);
|
||||
return SUCCESS(response);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user