Valeo_Line_MES_backend/MDM/Controllers/Recipe/EffectiveRecipeController.cs
quowingwang 8595507315 配方
2026-01-10 16:42:55 +08:00

47 lines
1.4 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 RIZO.Model.MES.recipe;
using RIZO.Model.MES.recipe.Dto;
using RIZO.Service.MES.recipe;
using RIZO.Service.MES.recipe.IService;
using RIZO.ServiceCore.Middleware;
using Infrastructure.Controllers;
using MDM.Services.Recipe.IService;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
//创建时间2025-12-05
namespace RIZO.WebApi.Controllers.MES.recipe
{
/// <summary>
/// 应用配方
/// </summary>
[Route("MasterDataManagement/Recipe/EffectiveRecipe")]
[AllowAnonymous]
public class EffectiveRecipeController : BaseController
{
/// <summary>
/// 应用配方配方记录表接口
/// </summary>
private readonly IEffectiveRecipeService _IEffectiveRecipeService;
public EffectiveRecipeController(IEffectiveRecipeService IEffectiveRecipeService)
{
_IEffectiveRecipeService = IEffectiveRecipeService;
}
/// <summary>
/// 查询应用配方
/// </summary>
/// <param name="parm"></param>
/// <returns></returns>
[HttpGet("list")]
[ActionPermissionFilter(Permission = "pfrefproductrecipe:list")]
public IActionResult QueryPfRefProductRecipe([FromQuery] PfRefProductRecipeQueryDto parm)
{
var response = _IEffectiveRecipeService.GetList(parm);
return SUCCESS(response);
}
}
}