From 2cc414131f5196a2aa2cd9640297e98d6c25699b Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期四, 18 七月 2024 08:38:09 +0800
Subject: [PATCH] 1、磨边前fixbug:解决查询结果结果long无法转为int异常 2、钢化记录表:初步搭建完成,功能待开发 3、下片理片表中片序字段数据补充

---
 hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/taskcache/controller/TaskCacheController.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/taskcache/controller/TaskCacheController.java b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/taskcache/controller/TaskCacheController.java
index 85e1ef5..58a0dfd 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/taskcache/controller/TaskCacheController.java
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/taskcache/controller/TaskCacheController.java
@@ -2,7 +2,6 @@
 
 import com.mes.edgstoragecage.service.EdgStorageCageDetailsService;
 import com.mes.edgstoragecage.service.EdgStorageCageService;
-import com.mes.pp.entity.OptimizeDetail;
 import com.mes.taskcache.entity.TaskCache;
 import com.mes.taskcache.service.TaskCacheService;
 import com.mes.utils.Result;
@@ -22,7 +21,7 @@
  * @author zhoush
  * @since 2024-04-07
  */
-@Api(tags = "璇嗗埆鏄剧ず")
+@Api(description = "璇嗗埆鏄剧ず")
 @RestController
 @RequestMapping("/taskCache")
 public class TaskCacheController {
@@ -53,7 +52,6 @@
     @PostMapping("/identControls")
     @ResponseBody
     public Result identControls(@RequestParam(name = "identId", required = false) String identId,@RequestParam(name = "controlsId", required = false) int controlsId) {
-
         boolean issucess = edgStorageCageDetailsService.identWorn(identId,controlsId);
         return Result.build(200,"鎴愬姛",issucess);
     }
@@ -61,8 +59,9 @@
     @ApiOperation("纾ㄨ竟浠诲姟 鍙傛暟()")
     @PostMapping("/selectEdgTask")
     @ResponseBody
-    public Result selectEdgTask(String line) {
-        List<TaskCache> EdgTasks = taskCacheService.selectEdgInfo(line);
+    public Result selectEdgTask(@RequestBody Map<String, String> arguments) {
+        String line=arguments.get("line");
+        List<Map<String,Object>> EdgTasks = taskCacheService.selectEdgInfo(line);
         return Result.build(200,"鎴愬姛",EdgTasks);
     }
 

--
Gitblit v1.8.0