47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
|
||
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("mes/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);
|
||
}
|
||
|
||
}
|
||
} |