本月每天产量
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using DOAN.Model.Mobile.ReportFlow.Dto;
|
||||
using DOAN.Service.Mobile.IService;
|
||||
using Infrastructure.Converter;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -77,6 +78,9 @@ 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,string process_operator)
|
||||
@@ -100,14 +104,14 @@ public class ReportFlowController : BaseController
|
||||
/// <returns></returns>
|
||||
/// <exception cref="CustomException"></exception>
|
||||
[HttpGet("process_reportwork")]
|
||||
public IActionResult ProcessReportWork(string workorder, int processId, int finish_num,int bad_num,string process_operator)
|
||||
public IActionResult ProcessReportWork([FromQuery]ProReportWorkDto proReportWorkDto)
|
||||
{
|
||||
if (string.IsNullOrEmpty(workorder))
|
||||
if (string.IsNullOrEmpty(proReportWorkDto.workorder))
|
||||
{
|
||||
throw new CustomException("workorder or process is null");
|
||||
}
|
||||
|
||||
return SUCCESS(_reportFlowService.ProcessReportWork(workorder, processId, finish_num,bad_num, process_operator));
|
||||
return SUCCESS(_reportFlowService.ProcessReportWork(proReportWorkDto.workorder, proReportWorkDto. processId, proReportWorkDto.finish_num, proReportWorkDto.bad_num, proReportWorkDto.process_operator));
|
||||
}
|
||||
|
||||
//TODO 出货工序
|
||||
|
||||
Reference in New Issue
Block a user