1
This commit is contained in:
@@ -33,7 +33,7 @@ public class ReportFlowController : BaseController
|
||||
var response = _reportFlowService.GetWorkOrderDetail(workOrder);
|
||||
if (response == null)
|
||||
{
|
||||
return ToResponse(ResultCode.NO_DATA, "工单不存在");
|
||||
return ToResponse(ResultCode.SUCCESS, "工单不存在");
|
||||
}
|
||||
return SUCCESS(response);
|
||||
}
|
||||
@@ -50,9 +50,9 @@ public class ReportFlowController : BaseController
|
||||
{
|
||||
if (string.IsNullOrEmpty(workorder))
|
||||
{
|
||||
throw new CustomException("workorder or process is null");
|
||||
throw new CustomException("workorder is null");
|
||||
}
|
||||
return SUCCESS(_reportFlowService.GetProcessReportWorkDetail(workorder, processId));
|
||||
return ToResponse(ResultCode.SUCCESS,_reportFlowService.GetProcessReportWorkDetail(workorder, processId));
|
||||
}
|
||||
|
||||
//TODO 工序报工
|
||||
|
||||
Reference in New Issue
Block a user