feat(MES): 实现物料看板功能并重构相关代码
添加物料看板数据传输对象和汇总对象 实现物料看板服务接口及控制器 删除旧版物料相关代码 优化数据查询性能,使用并行处理
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Material
|
||||
{
|
||||
public class MaterialController
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user