using DOAN.Admin.WebApi.Filters; using DOAN.Service.MES.SmartScreen.Site.IService; using Microsoft.AspNetCore.Mvc; namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Site { /// /// 绿色安全十字架生产 /// [AllowAnonymous] [Route("mes/AndonManagement/SafeGreenSmart")] public class SiteSafeGreenCrossSmartController : BaseController { private readonly ISiteSafeGreenCrossSmartService _siteSafeGreenCrossSmartService; public SiteSafeGreenCrossSmartController(ISiteSafeGreenCrossSmartService siteSafeGreenCrossSmartService) { _siteSafeGreenCrossSmartService = siteSafeGreenCrossSmartService; } //TODO 获取本月安全生产数据 [HttpGet("greencross")] public IActionResult GetGeenCrossSmartScreenForMonth() { var response = _siteSafeGreenCrossSmartService.GetGeenCrossSmartScreenForMonth(); return SUCCESS(response); } } }