Files
kunshan-bzfm-mes-backend/DOAN.Admin.WebApi/Controllers/MES/SmartScreen/Site/SiteSafeGreenCrossSmartController.cs

30 lines
998 B
C#
Raw Normal View History

2025-04-14 16:22:44 +08:00
using DOAN.Admin.WebApi.Filters;
2025-04-14 17:04:28 +08:00
using DOAN.Service.MES.SmartScreen.Site.IService;
2025-04-14 16:22:44 +08:00
using Microsoft.AspNetCore.Mvc;
namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Site
{
/// <summary>
2025-04-14 17:04:28 +08:00
/// 绿色安全十字架生产
2025-04-14 16:22:44 +08:00
/// </summary>
2025-04-14 17:07:42 +08:00
[AllowAnonymous]
[Route("mes/AndonManagement/SafeGreenSmart")]
2025-04-14 16:22:44 +08:00
public class SiteSafeGreenCrossSmartController : BaseController
{
2025-04-21 17:49:22 +08:00
private readonly ISiteSafeGreenCrossSmartService _siteSafeGreenCrossSmartService;
2025-04-14 17:04:28 +08:00
public SiteSafeGreenCrossSmartController(ISiteSafeGreenCrossSmartService siteSafeGreenCrossSmartService) {
2025-04-21 17:49:22 +08:00
_siteSafeGreenCrossSmartService = siteSafeGreenCrossSmartService;
2025-04-14 17:04:28 +08:00
}
//TODO 获取本月安全生产数据
2025-04-14 17:07:42 +08:00
[HttpGet("greencross")]
2025-04-14 17:04:28 +08:00
public IActionResult GetGeenCrossSmartScreenForMonth()
{
2025-04-21 17:49:22 +08:00
var response = _siteSafeGreenCrossSmartService.GetGeenCrossSmartScreenForMonth();
2025-04-14 17:04:28 +08:00
return SUCCESS(response);
}
2025-04-14 16:22:44 +08:00
}
}