云
昨天 ac2e2b5af3726ee64dc37c3ebf26989a0346f22a
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/em/statistics/MesEmStatisticsController.java
@@ -9,7 +9,6 @@
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -31,7 +30,6 @@
    @GetMapping("/overview")
    @Operation(summary = "获得能耗总览数据")
    @PreAuthorize("@ss.hasPermission('mes:em-overview:query')")
    public CommonResult<MesEmOverviewRespVO> getOverview(
            @RequestParam(value = "beginDate", required = false)
            @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate beginDate,
@@ -43,7 +41,6 @@
    @GetMapping("/report")
    @Operation(summary = "获得月度能耗报表(含同比、环比)")
    @Parameter(name = "period", description = "月份 yyyy-MM", example = "2026-10")
    @PreAuthorize("@ss.hasPermission('mes:em-report:query')")
    public CommonResult<MesEmReportRespVO> getReport(
            @RequestParam(value = "period", required = false) String period) {
        return success(statisticsService.getReport(period));