From d79d2f12c82cac10ba28117a9ee49bc5fdc2842d Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 13 十一月 2024 16:05:28 +0800
Subject: [PATCH] 1、完善通信中间件远程升级任务模块; 2、web端实现升级任务发布执行功能; 3、web端实现升级任务执行监视功能; 4、web端添加模拟升级过程逻辑。
---
pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/rtuUpgrade/task/UgRtuControllerSv.java | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/rtuUpgrade/task/UgRtuControllerSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/rtuUpgrade/task/UgRtuControllerSv.java
index 02ca4b5..4787a6b 100644
--- a/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/rtuUpgrade/task/UgRtuControllerSv.java
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/rtuUpgrade/task/UgRtuControllerSv.java
@@ -76,4 +76,23 @@
public int save(UgRtuController po){
return this.dao.insertSelective(po) ;
}
+
+ /**
+ * 鍒犻櫎鎵�鏈�
+ * @param taskId 浠诲姟涓婚敭
+ * @return 鏁伴噺
+ */
+ @Transactional
+ public int deleteAll(Long taskId){
+ return this.dao.deleteByTaskId(taskId) ;
+ }
+ /**
+ * 鍒犻櫎
+ * @param id 涓婚敭
+ * @return 鏁伴噺
+ */
+ @Transactional
+ public int deleteOne(Long id){
+ return this.dao.deleteByPrimaryKey(id) ;
+ }
}
--
Gitblit v1.8.0