45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
|
|
using Microsoft.AspNetCore.Mvc;
|
|||
|
|
using DOAN.Model.MES.group;
|
|||
|
|
using DOAN.Model.MES.group.Dto;
|
|||
|
|
using DOAN.Service.group.IService;
|
|||
|
|
using DOAN.Admin.WebApi.Filters;
|
|||
|
|
using Aliyun.OSS;
|
|||
|
|
using DOAN.Service.MES.group.IService;
|
|||
|
|
//创建时间:2024-08-07
|
|||
|
|
namespace DOAN.Admin.WebApi.Controllers
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 人员技能矩阵图
|
|||
|
|
/// </summary>
|
|||
|
|
[Verify]
|
|||
|
|
[Route("mes/groupManagement/SkillMatrix")]
|
|||
|
|
public class GroupPersonOfSkillMatrixController : BaseController
|
|||
|
|
{
|
|||
|
|
private readonly ISkillMatrixService _SkillMatrixService;
|
|||
|
|
|
|||
|
|
public GroupPersonOfSkillMatrixController(ISkillMatrixService SkillMatrixService)
|
|||
|
|
{
|
|||
|
|
_SkillMatrixService = SkillMatrixService;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
//TODO 1 获取班组
|
|||
|
|
[HttpGet("get_all_group")]
|
|||
|
|
public IActionResult GetAllGroups()
|
|||
|
|
{
|
|||
|
|
var response = _SkillMatrixService.GetAllGroups();
|
|||
|
|
return SUCCESS(response);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
//TODO 2 获取工艺流程
|
|||
|
|
[HttpGet("get_all_route")]
|
|||
|
|
public IActionResult GetAllRoutes()
|
|||
|
|
{
|
|||
|
|
var response = _SkillMatrixService.GetAllRoutes();
|
|||
|
|
return SUCCESS(response);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|