31 lines
816 B
C#
31 lines
816 B
C#
|
|
using DOAN.Service.Mobile.IService;
|
||
|
|
using Microsoft.AspNetCore.Mvc;
|
||
|
|
|
||
|
|
namespace DOAN.Admin.WebApi.Controllers.Mobile;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 工序流转卡
|
||
|
|
/// </summary>
|
||
|
|
[AllowAnonymous]
|
||
|
|
[Route("modile/reportflow")]
|
||
|
|
public class ReportFlowController : BaseController
|
||
|
|
{
|
||
|
|
//IReportFlowService
|
||
|
|
private readonly IReportFlowService _reportFlowService;
|
||
|
|
|
||
|
|
public ReportFlowController(IReportFlowService reportFlowService)
|
||
|
|
{
|
||
|
|
_reportFlowService = reportFlowService;
|
||
|
|
}
|
||
|
|
|
||
|
|
//TODO 查询工单详情
|
||
|
|
[HttpGet("get_workorder_detail")]
|
||
|
|
public IActionResult GetWorkOrderDetail(string workOrder)
|
||
|
|
{
|
||
|
|
if (string.IsNullOrEmpty(workOrder))
|
||
|
|
throw new CustomException("workOrderId 是空");
|
||
|
|
return SUCCESS(_reportFlowService.GetWorkOrderDetail(workOrder));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|