feat(MES): 实现物料看板功能并重构相关代码

添加物料看板数据传输对象和汇总对象
实现物料看板服务接口及控制器
删除旧版物料相关代码
优化数据查询性能,使用并行处理
This commit is contained in:
2026-02-05 13:52:59 +08:00
parent 846a913a66
commit b3a62efbd2
8 changed files with 435 additions and 18 deletions

View File

@@ -1,6 +0,0 @@
namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Material
{
public class MaterialController
{
}
}

View File

@@ -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);
}
}
}