2025-02-25 14:24:21 +08:00
|
|
|
|
using DOAN.Admin.WebApi.Filters;
|
|
|
|
|
|
using DOAN.Model.MES.api.Dto;
|
|
|
|
|
|
using DOAN.Model.MES.base_;
|
|
|
|
|
|
using DOAN.Model.MES.base_.Dto;
|
|
|
|
|
|
using DOAN.Service.MES.base_.IService;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
|
|
//创建时间:2024-07-09
|
|
|
|
|
|
namespace DOAN.Admin.WebApi.Controllers
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2025-02-25 15:20:33 +08:00
|
|
|
|
/// MES线相关接口
|
2025-02-25 14:24:21 +08:00
|
|
|
|
/// </summary>
|
2025-02-27 14:36:35 +08:00
|
|
|
|
[AllowAnonymous]
|
2025-02-25 14:24:21 +08:00
|
|
|
|
[Route("mes/api_client/BaseLineCode")]
|
|
|
|
|
|
public class BaseLineCodeController : BaseController
|
|
|
|
|
|
{
|
|
|
|
|
|
private readonly IBaseLineCodeService _BaseveLineCodeService;
|
|
|
|
|
|
public BaseLineCodeController(IBaseLineCodeService BaseLineCodeService)
|
|
|
|
|
|
{
|
|
|
|
|
|
_BaseveLineCodeService = BaseLineCodeService;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-02-25 15:20:33 +08:00
|
|
|
|
/// 查询工艺路线下拉清单
|
2025-02-25 14:24:21 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="parm"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[HttpGet("list")]
|
|
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
|
public IActionResult GetLineCodeOptions([FromQuery] RestLineCodeDto parm)
|
|
|
|
|
|
{
|
|
|
|
|
|
var response = _BaseveLineCodeService.GetLineCodeOptions(parm);
|
|
|
|
|
|
return SUCCESS(response);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|