From 16158b89f0223db6a4501e5263f6d2817b562b09 Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期五, 14 六月 2024 13:40:36 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV

---
 pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/dbSv/DbSv.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 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..6def3c1 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
@@ -3,6 +3,7 @@
 import com.dy.pipIrrGlobal.daoPr.PrControllerMapper;
 import com.dy.pipIrrGlobal.daoPr.PrControllerTrampMapper;
 import com.dy.pipIrrGlobal.daoRm.*;
+import com.dy.pipIrrGlobal.daoSe.SeVirtualCardMapper;
 import com.dy.pipIrrGlobal.pojoPr.PrController;
 import com.dy.pipIrrGlobal.pojoPr.PrControllerTramp;
 import com.dy.pipIrrGlobal.pojoRm.*;
@@ -45,6 +46,10 @@
     private RmLossLastMapper rmLossLastMapperDao ;//鎺у埗鍣ㄦ紡鎹熸按閲忕粺璁℃渶鏂版暟鎹瓺AO
     @Autowired
     private RmLossHistoryMapper rmLossHistoryMapperDao ;//鎺у埗鍣ㄦ紡鎹熸按閲忕粺璁″巻鍙叉暟鎹瓺AO
+    @Autowired
+    private RmCommandHistoryMapper rmCommandHistoryDao ;//杩滅▼鍛戒护鏃ュ織鐩稿叧
+    @Autowired
+    private SeVirtualCardMapper seVirtualCardDao ;//铏氭嫙鍗$浉鍏�
 
     //@Autowired
     //@Lazy
@@ -139,6 +144,14 @@
         this.rmAlarmStateHistoryMapperDao.insert(po) ;
     }
 
+    /**
+     * 鍙樻洿铏氭嫙鍗″崰鐢ㄧ姸鎬�
+     * @param intakeId
+     */
+    @Transactional(rollbackFor = Exception.class)
+    public void updateVirCardNoUseState(Long intakeId){
+        this.seVirtualCardDao.updateVcCardNoUseStateByIntakeId(intakeId); ;
+    }
 
 
     /////////////////////////////////////////////////
@@ -377,5 +390,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