From 924ce82faeec6d896fcdc360b279215e84b69fb9 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期四, 11 九月 2025 11:44:44 +0800
Subject: [PATCH] 1、代码补充提交
---
hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageOutTaskController.java | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageOutTaskController.java b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageOutTaskController.java
index e770855..4f40aba 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageOutTaskController.java
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/bigstoragetask/controller/BigStorageCageOutTaskController.java
@@ -10,6 +10,7 @@
import com.mes.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
import org.apache.tomcat.util.bcel.Const;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -26,6 +27,7 @@
*/
@Api(description = "鍑虹墖浠诲姟淇℃伅")
@RestController
+@Slf4j
@RequestMapping("/bigStorageCageOutTask")
public class BigStorageCageOutTaskController {
@@ -50,15 +52,22 @@
);
}
bigStorageCageOutTaskService.updateById(bigStorageCageOutTask);
+ log.info("鎵嬪姩淇敼鍑虹墖浠诲姟" + bigStorageCageOutTask);
return Result.build(200, "淇敼鎴愬姛", 1);
}
@ApiOperation("鍑虹墖浠诲姟鎶ヨ〃")
@PostMapping("/selectBigStorageCageOutTask")
public Result selectBigStorageCageOutTask(@RequestBody BigStorageCageOutTask bigStorageCageOutTask,
- @RequestParam(required = false) String startTime,
- @RequestParam(required = false) String endTime) {
+ @RequestParam(required = false) String startTime,
+ @RequestParam(required = false) String endTime) {
return Result.build(200, "鏌ヨ鎴愬姛", bigStorageCageOutTaskService.selectBigStorageCageOutTask(bigStorageCageOutTask, startTime, endTime));
}
+
+ @ApiOperation("閽㈠寲鍑虹墖")
+ @PostMapping("/temperingOut")
+ public Result selectBigStorageCageOutTask(@RequestBody BigStorageCageOutTask bigStorageCageOutTask) {
+ return Result.build(200, bigStorageCageOutTaskService.temperingOut(bigStorageCageOutTask), 1);
+ }
}
--
Gitblit v1.8.0