From f8090fc7d330609ef153b1bdd6257c1cc1c7498d Mon Sep 17 00:00:00 2001
From: whycxzp <glperry@163.com>
Date: 星期四, 03 四月 2025 22:01:06 +0800
Subject: [PATCH] abe的inf表更新单体id和任务编号

---
 src/main/java/com/whyc/service/WmsService.java |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/whyc/service/WmsService.java b/src/main/java/com/whyc/service/WmsService.java
index 8331563..6f0df88 100644
--- a/src/main/java/com/whyc/service/WmsService.java
+++ b/src/main/java/com/whyc/service/WmsService.java
@@ -4,6 +4,7 @@
 import com.github.pagehelper.PageInfo;
 import com.google.gson.reflect.TypeToken;
 import com.whyc.dto.*;
+import com.whyc.pojo.db_abe_ram.AbeInf;
 import com.whyc.pojo.db_param.PageParam;
 import com.whyc.pojo.db_wms.Task;
 import com.whyc.util.HttpUtil;
@@ -25,7 +26,7 @@
     private TaskService taskService;
 
     @Autowired
-    private PageParamService paramService;
+    private AbeInfService abeInfService;
 
     public Response getMaterialList() {
         String httpUrl = "http://192.168.10.133:8051"+"/api/Wms_material/get_all";
@@ -157,11 +158,11 @@
                 if(pallet == null){
                     pallet = taskService.getByTaskNo(taskNo).getPallets();
                 }
-                //鏇存柊鐢垫睜鍗曚綋缂栧彿
-                PageParam pageParam = new PageParam();
-                pageParam.setId(3);
-                pageParam.setValue(Integer.valueOf(pallet));
-                paramService.updateById(pageParam);
+                //鏇存柊鐢垫睜鍗曚綋缂栧彿鍜屼换鍔$紪鍙�
+                AbeInf abeInf = abeInfService.get();
+                abeInf.setAbeMonId(Integer.valueOf(pallet));
+                abeInf.setTaskNo(taskNo);
+                abeInfService.updateById(abeInf);
                 //鏇存柊浠诲姟鏃堕棿
                 task.setPickUpStartTime(statusTime);
             }break;

--
Gitblit v1.9.1