38 lines
1.2 KiB
C#
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);
|
|
}
|
|
}
|
|
}
|