From a7a6a0c332f268010b4da0161cdee80acf9bc4ce Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 22 四月 2024 15:59:57 +0800
Subject: [PATCH] 2024-4-22 资源要求-人员明细-bug修改
---
inspect-server/src/main/java/com/yuanchu/mom/controller/ReportController.java | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/inspect-server/src/main/java/com/yuanchu/mom/controller/ReportController.java b/inspect-server/src/main/java/com/yuanchu/mom/controller/ReportController.java
index 14a1e42..b4a356a 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/controller/ReportController.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/controller/ReportController.java
@@ -11,6 +11,8 @@
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.*;
+import java.time.LocalDate;
+import java.time.LocalDateTime;
import java.util.Map;
@RestController
@@ -32,4 +34,22 @@
public Result testProductByDay(){
return Result.success(reportService.testProductByDay());
}
+
+ @ApiOperation(value = "棣栭〉-->鏃ュ巻浠诲姟鍥�")
+ @GetMapping("/calendarWorkByWeek")
+ public Result calendarWorkByWeek(){
+ return Result.success(reportService.calendarWorkByWeek());
+ }
+
+ @ApiOperation(value = "棣栭〉-->娣诲姞鏃ョ▼")
+ @PostMapping("/addSchedule")
+ public Result addSchedule(String time, String text){
+ return Result.success(reportService.addSchedule(time,text));
+ }
+
+ @ApiOperation(value = "棣栭〉-->鎴戠殑鏃ョ▼")
+ @PostMapping("/ScheduleByMe")
+ public Result ScheduleByMe(String date){
+ return Result.success(reportService.ScheduleByMe(date));
+ }
}
--
Gitblit v1.9.3