From b364530ee03f8b28b64863f6a633daf05dc94e91 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 18 十二月 2024 15:55:19 +0800
Subject: [PATCH] 查询站点的检验时长+产量工时bug+检验任务提交撤销+首页待办查最近七天的信息+高低温检验增加检验表字段

---
 inspect-server/src/main/java/com/yuanchu/mom/controller/ReportController.java |   30 ++++++++++++++++++++++++++----
 1 files changed, 26 insertions(+), 4 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 eeb5f00..3d0b04c 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
@@ -1,6 +1,7 @@
 package com.yuanchu.mom.controller;
 
 
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.yuanchu.mom.annotation.ValueAuth;
 import com.yuanchu.mom.annotation.ValueClassify;
 import com.yuanchu.mom.service.ReportService;
@@ -24,14 +25,14 @@
     @ValueClassify("缁熻鍥捐〃")
     @ApiOperation(value = "鏌ヨ姣忔棩涓氬姟缁熻")
     @GetMapping("/businessStatisticsByDay")
-    public Result businessStatisticsByDay(){
-        return Result.success(reportService.businessStatisticsByDay());
+    public Result businessStatisticsByDay(String startTime,String endTime,String type){
+        return Result.success(reportService.businessStatisticsByDay(startTime,endTime,type));
     }
     @ValueClassify("缁熻鍥捐〃")
     @ApiOperation(value = "鏌ヨ妫�娴嬮」鐩粺璁�")
     @GetMapping("/testProductByDay")
-    public Result testProductByDay(){
-        return Result.success(reportService.testProductByDay());
+    public Result testProductByDay(String startTime,String endTime,String type){
+        return Result.success(reportService.testProductByDay(startTime,endTime,type));
     }
     @ValueAuth
     @ApiOperation(value = "鏌ヨ鏃ュ巻浠诲姟鍥�")
@@ -52,4 +53,25 @@
     public Result ScheduleByMe(String date){
         return Result.success(reportService.ScheduleByMe(date));
     }
+
+    @ValueAuth
+    @ApiOperation(value = "鍚勭珯鐐瑰伐鏃�")
+    @PostMapping("/manHourByStation")
+    public Result manHourByStation(String startTime,String endTime,String sonLaboratory){
+        return Result.success(reportService.manHourByStation(startTime,endTime,sonLaboratory));
+    }
+
+    @ValueAuth
+    @ApiOperation(value = "鍚勭珯鐐瑰伐鏃舵瘡涓汉鎵�鍗犵櫨鍒嗘瘮")
+    @PostMapping("/manHourByPerson")
+    public Result manHourByPerson(String startTime,String endTime,String sonLaboratory){
+        return Result.success(reportService.manHourByPerson(startTime,endTime,sonLaboratory));
+    }
+
+    @ValueClassify("缁熻鍥捐〃")
+    @ApiOperation(value = "鏌ヨ绔欑偣鐨勬楠屾椂闀�")
+    @GetMapping("/timeByStation")
+    public Result timeByStation(String startTime, String endTime, Page page,String sonLaboratory){
+        return Result.success(reportService.timeByStation(startTime,endTime,page,sonLaboratory));
+    }
 }

--
Gitblit v1.9.3