首检完成
This commit is contained in:
@@ -25,7 +25,8 @@ namespace ZR.Admin.WebApi.Controllers.mes.qc.IQC
|
||||
private readonly IFirstFQCService fQCService;
|
||||
private readonly IHubContext<MessageHub> hubContext;
|
||||
|
||||
public FirstFQCController(IFirstFQCService fQCService, IHubContext<MessageHub> hubContext) {
|
||||
public FirstFQCController(IFirstFQCService fQCService, IHubContext<MessageHub> hubContext)
|
||||
{
|
||||
this.fQCService = fQCService;
|
||||
this.hubContext = hubContext;
|
||||
}
|
||||
@@ -40,18 +41,62 @@ namespace ZR.Admin.WebApi.Controllers.mes.qc.IQC
|
||||
public IActionResult GetcheckItemTable()
|
||||
{
|
||||
|
||||
CheckItemTableDTO itemTableDTO= fQCService.GetCheckItemTable();
|
||||
|
||||
CheckItemTableDTO itemTableDTO = fQCService.GetCheckItemTable();
|
||||
|
||||
return SUCCESS(itemTableDTO);
|
||||
}
|
||||
|
||||
|
||||
[HttpGet("getcheckitemRecord")]
|
||||
public IActionResult GetcheckitemRecord()
|
||||
public IActionResult GetcheckitemRecord()
|
||||
{
|
||||
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取当前工单
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("getcurrentWorkorder")]
|
||||
public IActionResult GetcurrentWorkorder()
|
||||
{
|
||||
|
||||
QcCurrentWorkorderDto workorder= fQCService.GetcurrentWorkorder();
|
||||
|
||||
return SUCCESS(workorder);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取下一个工单
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("getcurrentWorkorder_next")]
|
||||
public IActionResult GetcurrentWorkorder_next()
|
||||
{
|
||||
|
||||
QcCurrentWorkorderDto workorder = fQCService.GetcurrentWorkorder_next();
|
||||
|
||||
return SUCCESS(workorder);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取上一个工单
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("getcurrentWorkorder_previous")]
|
||||
public IActionResult GetcurrentWorkorder_previous()
|
||||
{
|
||||
|
||||
QcCurrentWorkorderDto workorder = fQCService.GetcurrentWorkorder_previous();
|
||||
|
||||
return SUCCESS(workorder);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user