From 0d266e6d717f497d8e8347ebbfa1522228748016 Mon Sep 17 00:00:00 2001
From: yxFwq <1>
Date: 星期六, 13 七月 2024 17:40:26 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/task/handler/StaEscalationHandler.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/handler/StaEscalationHandler.java b/src/main/java/com/zy/asrs/task/handler/StaEscalationHandler.java
index 4dc12da..08d7636 100644
--- a/src/main/java/com/zy/asrs/task/handler/StaEscalationHandler.java
+++ b/src/main/java/com/zy/asrs/task/handler/StaEscalationHandler.java
@@ -77,8 +77,11 @@
 
                     log.error("2妤肩炕杞�掓枡淇℃伅涓婁紶鏃讹紝绔欑偣鐘舵�侊細"+JSON.toJSONString(staProtocol));
                     log.error("2妤肩炕杞�掓枡淇℃伅涓婁紶鏃讹紝宸ヤ綔鍙凤細"+JSON.toJSONString(wrkMast));
-                    StaEscalationParam staEscalationParam = new StaEscalationParam(wrkMast,wrkDetls);
-                    staEscalationParam.setStaStart(staNo);
+                    StaEscalationParam staEscalationParam = new StaEscalationParam();
+                    staEscalationParam.setDevNo(staNo);
+                    staEscalationParam.setIoType(wrkMast.getIoType()==101? 1:3);
+                    staEscalationParam.setMatnr(wrkDetls.get(0).getMatnr());
+                    staEscalationParam.setWeight(wrkDetls.get(0).getWeight());
                     ReturnT<String> result = postMesData(reportOutPath,staEscalationParam);
                     if (result.getCode()==200){
                         wrkMast.setSheetNo("2");
@@ -87,7 +90,7 @@
                         basDevpService.updateById(basDevp);
                         return SUCCESS;
                     }else {
-                        log.error("鎷嗗灈淇℃伅涓婁紶澶辫触");
+                        log.error("2妤肩炕杞�掓枡淇℃伅涓婁紶澶辫触");
                     }
                 }
             }

--
Gitblit v1.9.1