Files
kunshan-bzfm-mes-backend/DOAN.Admin.WebApi/Controllers/MES/SmartScreen/Material/MaterialSmartScreenController.cs
git_rabbit b3a62efbd2 feat(MES): 实现物料看板功能并重构相关代码
添加物料看板数据传输对象和汇总对象
实现物料看板服务接口及控制器
删除旧版物料相关代码
优化数据查询性能,使用并行处理
2026-02-05 13:52:59 +08:00

38 lines
1.2 KiB
C#

using DOAN.Admin.WebApi.Filters;
using DOAN.Service.MES.product.IService;
using DOAN.Service.MES.SmartScreen.Order.IService;
using DOAN.Service.MES.SmartScreen.Product.IService;
using Microsoft.AspNetCore.Mvc;
namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Order
{
/// <summary>
/// 采购订单
/// </summary>
[Verify]
[Route("mes/SmartScreen/MaterialSmart")]
public class MaterialSmartScreenController : BaseController
{
/// <summary>
/// 采购订单接口
/// </summary>
private readonly IMaterialSmartScreenService _MaterialSmartScreenService;
public MaterialSmartScreenController(IMaterialSmartScreenService MaterialSmartScreenService)
{
_MaterialSmartScreenService = MaterialSmartScreenService;
}
/// <summary>
/// 获取物料大屏数据
/// </summary>
/// <returns></returns>
[HttpGet("GetMaterialScreenData")]
[AllowAnonymous]
public IActionResult GetMaterialScreenData()
{
var response = _MaterialSmartScreenService.GetMaterialScreenData();
return SUCCESS(response);
}
}
}