From 08aabc3b434577a0925f74d38dc648f6702eb18c Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 12 六月 2024 09:48:37 +0800 Subject: [PATCH] common模块中的HttpUtil类(用不到了)后,相应的把pom.xml中的对apache httpClient的依赖删除掉。 --- 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