首工序和末工序
This commit is contained in:
@@ -54,6 +54,17 @@ public class ReportFlowController : BaseController
|
||||
}
|
||||
return ToResponse(ResultCode.SUCCESS,_reportFlowService.GetProcessReportWorkDetail(workorder, processId));
|
||||
}
|
||||
//TODO 领料工序
|
||||
[HttpGet("feed_process_reportwork")]
|
||||
public IActionResult FeedProcessReportwork(string workorder, int processId, int finish_num,string stove_code,string feed_order)
|
||||
{
|
||||
if (string.IsNullOrEmpty(workorder))
|
||||
{
|
||||
throw new CustomException("workorder or process is null");
|
||||
}
|
||||
|
||||
return SUCCESS(_reportFlowService.FeedProcessReportwork(workorder, processId, finish_num, stove_code, feed_order, HttpContext.GetNickName()));
|
||||
}
|
||||
|
||||
//TODO 工序报工
|
||||
/// <summary>
|
||||
@@ -75,7 +86,19 @@ public class ReportFlowController : BaseController
|
||||
|
||||
return SUCCESS(_reportFlowService.ProcessReportWork(workorder, processId, finish_num,bad_num,HttpContext.GetNickName()));
|
||||
}
|
||||
|
||||
|
||||
//TODO 出货工序
|
||||
[HttpGet("shipment_process_reportwork")]
|
||||
public IActionResult ShipmentProcessReportwork(string workorder, int processId, int finish_num, int bad_num, string customer_order)
|
||||
{
|
||||
if (string.IsNullOrEmpty(workorder))
|
||||
{
|
||||
throw new CustomException("workorder or process is null");
|
||||
}
|
||||
|
||||
return SUCCESS(_reportFlowService.ShipmentProcessReportwork(workorder, processId, finish_num, bad_num, customer_order, HttpContext.GetNickName()));
|
||||
}
|
||||
|
||||
//TODO 获取工单下的报工列表
|
||||
[HttpGet("get_workorder_reportwork_list")]
|
||||
public IActionResult GetWorkOrderReportWorkList(string workorder)
|
||||
|
||||
Reference in New Issue
Block a user