From 3807a2754a9ea195be9fb43b6cac06b8293c2fc6 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 11 十二月 2025 18:06:03 +0800
Subject: [PATCH] 工作台

---
 business/src/main/java/com/ycl/controller/WorkStationScheduleController.java |   42 +++++++++++++++++++++++++++++++++++++++---
 1 files changed, 39 insertions(+), 3 deletions(-)

diff --git a/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java b/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java
index a753b82..48c177a 100644
--- a/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java
+++ b/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java
@@ -2,10 +2,18 @@
 
 import com.ycl.common.group.Update;
 import com.ycl.common.group.Add;
+import com.ycl.domain.form.ProjectInfoForm;
+import com.ycl.domain.query.AuditHistoryQuery;
+import com.ycl.domain.query.ProjectInfoQuery;
+import com.ycl.domain.query.WaitTodoQuery;
+import com.ycl.service.AuditHistoryService;
+import com.ycl.service.IndexHomeService;
+import com.ycl.system.domain.base.AbsQuery;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.security.access.prepost.PreAuthorize;
 import lombok.RequiredArgsConstructor;
 import java.util.List;
+import java.util.Map;
 import javax.validation.constraints.NotEmpty;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -29,6 +37,15 @@
 public class WorkStationScheduleController {
 
     private final WorkStationScheduleService workStationScheduleService;
+
+    private final IndexHomeService indexHomeService;
+
+    private final AuditHistoryService auditHistoryService;
+    @GetMapping("/auditHistoryPage")
+    public Result page(AuditHistoryQuery query){
+        return auditHistoryService.page(query);
+    }
+
 
     @PostMapping
     @ApiOperation(value = "娣诲姞", notes = "娣诲姞")
@@ -54,10 +71,10 @@
         return workStationScheduleService.remove(ids);
     }
 
-    @GetMapping("/page")
+    @GetMapping("/listByDate")
     @ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉")
-    public Result page(WorkStationScheduleQuery query) {
-        return workStationScheduleService.page(query);
+    public Result getListByDate(WorkStationScheduleQuery query) {
+        return workStationScheduleService.listByDate(query);
     }
 
     @GetMapping("/{id}")
@@ -81,4 +98,23 @@
     public Result countAchievements(){
         return workStationScheduleService.countAchievements();
     }
+
+    /**
+     * 鑾峰緱涓汉椤圭洰鍒楄〃
+     * @return
+     */
+    @GetMapping("/getProjectList")
+    public Result projectList(){
+        return indexHomeService.getProjectList();
+    }
+
+    @GetMapping("/getWaitTaskList")
+    public Result getWaitTaskList(WaitTodoQuery query){
+        return indexHomeService.getWaitTaskList(query);
+    }
+    @GetMapping("/countTodayTask")
+    Result countTodayTask(){
+        return workStationScheduleService.countTodayTask();
+    }
+
 }

--
Gitblit v1.8.0