From cb46d99ac8c302334e8c39600de0d9a4ffbf5533 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 29 十月 2024 09:39:48 +0800
Subject: [PATCH] 1、删除global模块中Contant中的一些无用代码; 2、删除global模块中一些无用的备份; 3、一些有继承关系并注解有@Data的类中增加注解@EqualsAndHashCode(callSuper=false),防止编译时警告
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java
index 2b4891a..b27dfd9 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoPr/PrControllerTrampMapper.java
@@ -6,6 +6,7 @@
import org.apache.ibatis.annotations.Param;
import java.util.List;
+import java.util.Map;
/**
* @Author liurunyu
@@ -21,6 +22,12 @@
* @return deleteCount
*/
int deleteByPrimaryKey(Long id);
+
+ /**
+ * 娓呯┖娴佹氮鎺у埗鍣ㄨ〃
+ * @return
+ */
+ int emptyTrampController();
/**
* insert record to table
@@ -63,4 +70,31 @@
* @return update count
*/
int updateByPrimaryKey(PrControllerTramp record);
+
+ /**
+ * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栨祦娴帶鍒跺櫒鍦板潃
+ * @param controllerId 娴佹氮鎺у埗鍣ㄧ紪鍙�
+ * @return 璁板綍鏁伴噺
+ */
+ //String getTrampRtuAddr(@Param("controllerId") Long controllerId);
+
+ /**
+ * 鏍规嵁鎺у埗鍣ㄧ紪鍙疯幏鍙栨祦娴帶鍒跺櫒淇℃伅
+ * @param controllerId
+ * @return
+ */
+ PrControllerTramp getTrampControllerInfo(@Param("controllerId") Long controllerId);
+
+ /**
+ * 鏉′欢鏌ヨ娴佹氮鎺у埗鍣ㄤ俊鎭�
+ * @param
+ * @return
+ */
+ List<PrControllerTramp> getTrampControllers(Map<?, ?> params);
+ /**
+ * 鏉′欢鏌ヨ娴佹氮鎺у埗鍣ㄦ暟閲�
+ * @param
+ * @return recordCount
+ */
+ Long getTrampControllersCount(Map<?, ?> params);
}
\ No newline at end of file
--
Gitblit v1.8.0