From c0416f1a5154926e74e472aad2dc027eca5f94cb Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期二, 26 十一月 2024 17:04:40 +0800
Subject: [PATCH] 重构获取工单列表接口,查询条件中增加派单人ID和巡检员ID

---
 pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/downData/DownData.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/downData/DownData.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/downData/DownData.java
index c4aeaf7..30b2555 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/downData/DownData.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-simulate-rtu/src/main/java/com/dy/simRtu/tcpClient/downData/DownData.java
@@ -44,19 +44,25 @@
                     //鍗囩骇閰嶇疆
                     if(ServerProperties.argOneDie){
                         UpHeartBeat.upHeartBeat = true ;//浣胯兘涓婅蹇冭烦
+                    }else{
+                        UpCd9601.upData() ;
                     }
-                    UpCd9601.upData() ;
                 }else if(cd.equals("1602")){
                     //鍗囩骇鏁版嵁
-                    UpCd9602.upData() ;
                     count9602 ++ ;
                     if(ServerProperties.argMultiDie){
                         if(count9602 > 10){
                             int random =  CreateRandom.create_between(10, 100) ;
                             if(random > 50){
                                 UpHeartBeat.upHeartBeat = true ;//浣胯兘涓婅蹇冭烦
+                            }else{
+                                UpCd9602.upData() ;
                             }
+                        }else{
+                            UpCd9602.upData() ;
                         }
+                    }else{
+                        UpCd9602.upData() ;
                     }
                 }else if(cd.equals("1603")){
                     //鍗囩骇鏍¢獙

--
Gitblit v1.8.0