From 818e68817af88d2616f8b61dd5a428d58af40838 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期五, 07 六月 2024 11:39:40 +0800
Subject: [PATCH] 2024-06-07 朱宝民 开关阀接口回调超时(平台及小程序)改为按执行失败处理

---
 pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/dbSv/DbSv.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/dbSv/DbSv.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/dbSv/DbSv.java
index 362c70a..1fd18ed 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/dbSv/DbSv.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/dbSv/DbSv.java
@@ -45,6 +45,8 @@
     private RmLossLastMapper rmLossLastMapperDao ;//鎺у埗鍣ㄦ紡鎹熸按閲忕粺璁℃渶鏂版暟鎹瓺AO
     @Autowired
     private RmLossHistoryMapper rmLossHistoryMapperDao ;//鎺у埗鍣ㄦ紡鎹熸按閲忕粺璁″巻鍙叉暟鎹瓺AO
+    @Autowired
+    private RmCommandHistoryMapper rmCommandHistoryDao ;//杩滅▼鍛戒护鏃ュ織鐩稿叧
 
     //@Autowired
     //@Lazy
@@ -377,5 +379,17 @@
         return null ;
     }
 
+    //////////////////////////////////////////////////////
+    //
+    // 鍛戒护鏃ュ織鐩稿叧
+    //
+    //////////////////////////////////////////////////////
+    public RmCommandHistory getCommandLog(String commandId){
+        return rmCommandHistoryDao.selectByPrimaryKey(Long.parseLong(commandId)) ;
+    }
+    public void updateCommandLog(RmCommandHistory po){
+        rmCommandHistoryDao.updateByPrimaryKeySelective(po) ;
+    }
+
 
 }

--
Gitblit v1.8.0