46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
using DOAN.Admin.WebApi.Filters;
|
|
using DOAN.Service.JobKanban.IService;
|
|
namespace DOAN.WebApi.Controllers.JobKanban
|
|
{
|
|
/// <summary>
|
|
/// 工单进度接口
|
|
/// </summary>
|
|
[Route("kanban/workorderProgress")]
|
|
public class WorkOrderProgressController : BaseController
|
|
{
|
|
private readonly IWorkorderProgressService workorderProgressService;
|
|
|
|
|
|
public WorkOrderProgressController(IWorkorderProgressService workorderProgressService)
|
|
{
|
|
this.workorderProgressService = workorderProgressService;
|
|
}
|
|
|
|
//TODO 获取产线
|
|
[HttpGet("get_routes")]
|
|
public IActionResult GetRoutes()
|
|
{
|
|
var response = workorderProgressService.GetRoutes();
|
|
|
|
return SUCCESS(response);
|
|
|
|
}
|
|
|
|
|
|
//TODO 获取班组
|
|
[HttpGet("get_group")]
|
|
public IActionResult GetGroups()
|
|
{
|
|
var response = workorderProgressService.GetGroups();
|
|
|
|
return SUCCESS(response);
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|