From 4f3a98f19143865cdc1de4791e8a95d96bd40c65 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期五, 01 八月 2025 13:27:59 +0800 Subject: [PATCH] yys 密码已重置 --- inspect-server/src/main/java/com/ruoyi/inspect/controller/ReportController.java | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/java/com/ruoyi/inspect/controller/ReportController.java b/inspect-server/src/main/java/com/ruoyi/inspect/controller/ReportController.java new file mode 100644 index 0000000..cbe00da --- /dev/null +++ b/inspect-server/src/main/java/com/ruoyi/inspect/controller/ReportController.java @@ -0,0 +1,32 @@ +package com.ruoyi.inspect.controller; + + +import com.ruoyi.common.core.domain.Result; +import com.ruoyi.inspect.service.ReportService; +import com.ruoyi.performance.dto.AuxiliaryOriginalHoursLookDto; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import lombok.AllArgsConstructor; +import org.springframework.web.bind.annotation.*; + +@RestController +@AllArgsConstructor +@RequestMapping("/report") +@Api(tags = "鎶ヨ〃妯″潡") +public class ReportController { + + private ReportService reportService; + + @ApiOperation(value = "鏌ヨ鏃ュ巻浠诲姟鍥�") + @GetMapping("/calendarWorkByWeek") + public Result calendarWorkByWeek(){ + return Result.success(reportService.calendarWorkByWeek()); + } + + @ApiOperation(value = "褰撳墠鐢ㄦ埛宸ユ椂缁熻") + @GetMapping("/currentUserWorkHourCount") + public Result currentUserWorkHourCount(AuxiliaryOriginalHoursLookDto dto){ + return Result.success(reportService.currentUserWorkHourCount(dto)); + } + +} -- Gitblit v1.9.3