2025-02-25 14:24:21 +08:00

41 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>
/// 工艺路线
/// </summary>
[Verify]
[Route("mes/api_client/BaseLineCode")]
public class BaseLineCodeController : BaseController
{
/// <summary>
/// 工艺路线接口
/// </summary>
private readonly IBaseLineCodeService _BaseveLineCodeService;
public BaseLineCodeController(IBaseLineCodeService BaseLineCodeService)
{
_BaseveLineCodeService = BaseLineCodeService;
}
/// <summary>
/// 查询工艺路线列表
/// </summary>
/// <param name="parm"></param>
/// <returns></returns>
[HttpGet("list")]
[AllowAnonymous]
public IActionResult GetLineCodeOptions([FromQuery] RestLineCodeDto parm)
{
var response = _BaseveLineCodeService.GetLineCodeOptions(parm);
return SUCCESS(response);
}
}
}