绿十字逻辑调整

This commit is contained in:
2025-04-21 17:49:22 +08:00
parent e6060701b3
commit 0ae5525c72
5 changed files with 69 additions and 42 deletions

View File

@@ -12,9 +12,9 @@ namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Site
public class SiteSafeGreenCrossSmartController : BaseController
{
private readonly ISiteSafeGreenCrossSmartService siteSafeGreenCrossSmartService;
private readonly ISiteSafeGreenCrossSmartService _siteSafeGreenCrossSmartService;
public SiteSafeGreenCrossSmartController(ISiteSafeGreenCrossSmartService siteSafeGreenCrossSmartService) {
siteSafeGreenCrossSmartService = siteSafeGreenCrossSmartService;
_siteSafeGreenCrossSmartService = siteSafeGreenCrossSmartService;
}
@@ -22,7 +22,7 @@ namespace DOAN.Admin.WebApi.Controllers.MES.SmartScreen.Site
[HttpGet("greencross")]
public IActionResult GetGeenCrossSmartScreenForMonth()
{
var response = siteSafeGreenCrossSmartService.GetGeenCrossSmartScreenForMonth();
var response = _siteSafeGreenCrossSmartService.GetGeenCrossSmartScreenForMonth();
return SUCCESS(response);
}