30 lines
998 B
C#
30 lines
998 B
C#
using DOAN.Admin.WebApi.Filters;
|
|
using DOAN.Service.MES.SmartScreen.Site.IService;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Site
|
|
{
|
|
/// <summary>
|
|
/// 绿色安全十字架生产
|
|
/// </summary>
|
|
[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);
|
|
}
|
|
|
|
}
|
|
} |