From d48de59b57bce614e17e91f1845789c071930a2f Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 16 九月 2025 08:01:35 +0800
Subject: [PATCH] 1、大理片进片报表添加连续工作时间统计

---
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageFeedTaskController.java |   40 ++++++++++++++++++++++++++++------------
 1 files changed, 28 insertions(+), 12 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageFeedTaskController.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageFeedTaskController.java
index d84d57b..161856d 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageFeedTaskController.java
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageFeedTaskController.java
@@ -1,36 +1,52 @@
-package com.mes.userinfo.controller;
+package com.mes.bigstoragetask.controller;
 
 
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
+import com.mes.bigstorage.entity.BigStorageCageDetails;
 import com.mes.bigstoragetask.entity.BigStorageCageFeedTask;
 import com.mes.bigstoragetask.service.BigStorageCageFeedTaskService;
-import io.swagger.annotations.ApiModel;
+import com.mes.damage.entity.Damage;
+import com.mes.utils.Result;
+import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
+import liquibase.util.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
 
 /**
  * <p>
- *  鍓嶇鎺у埗鍣�
+ * 鍓嶇鎺у埗鍣�
  * </p>
  *
  * @author zhoush
  * @since 2024-04-16
  */
-@ApiModel("杩涚墖浠诲姟淇℃伅")
+@Api(description = "杩涚墖浠诲姟淇℃伅")
 @RestController
-@RequestMapping("/big-storage-cage-feed-task")
+@RequestMapping("/bigStorageCageFeedTask")
 public class BigStorageCageFeedTaskController {
 
     @Autowired
     private BigStorageCageFeedTaskService bigStorageCageFeedTaskService;
-    @ApiOperation("杩涚墖浠诲姟淇℃伅")
-    @GetMapping("/querybigStorageCageTask")
-    public List<BigStorageCageFeedTask> querybigStorageCageFeedTask(int taskState) {
-        return bigStorageCageFeedTaskService.querybigStorageCageFeedTask(taskState);
+
+    @ApiOperation("杩涚墖浠诲姟鍒犻櫎")
+    @PostMapping("/updateBigStorageCageFeedTask")
+    public Result deleteBigStorageCageDetails(@RequestBody BigStorageCageFeedTask bigStorageCageFeedTask) {
+        bigStorageCageFeedTaskService.updateById(bigStorageCageFeedTask);
+        return Result.build(200, "淇敼鎴愬姛", 1);
     }
+
+    @ApiOperation("杩涚墖浠诲姟鎶ヨ〃")
+    @PostMapping("/selectBigStorageCageFeedTask")
+    public Result selectBigStorageCageFeedTask(@RequestBody BigStorageCageFeedTask bigStorageCageFeedTask,
+                                               @RequestParam(required = false) String startTime,
+                                               @RequestParam(required = false) String endTime) {
+        return Result.build(200, "鏌ヨ鎴愬姛", bigStorageCageFeedTaskService.selectBigStorageCageFeedTask(bigStorageCageFeedTask, startTime, endTime));
+    }
+
+
 }
 

--
Gitblit v1.8.0