From 26d63d120e517624be6fcf70ae9620c3582a91dd Mon Sep 17 00:00:00 2001
From: Administrator <zhubaomin>
Date: 星期二, 18 六月 2024 17:35:06 +0800
Subject: [PATCH] 2024-06-18 朱宝民 优化开关阀逻辑
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java | 65 ++++++++++++++++++--------------
1 files changed, 37 insertions(+), 28 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java
index 2105c40..6316a23 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java
@@ -2,41 +2,16 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoBa.BaBlock;
+import com.dy.pipIrrGlobal.pojoBa.BaClientType;
import com.dy.pipIrrGlobal.pojoBa.BaPrivilege;
import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
@Mapper
-public interface BaBlockMapper extends BaseMapper<BaPrivilege> {
- /**
- * delete by primary key
- * @param id primaryKey
- * @return deleteCount
- */
- int deleteByPrimaryKey(Long id);
-
- /**
- * 閫昏緫鍒犻櫎
- * @param id primaryKey
- * @return update count
- */
- int deleteLogicById(Long id);
-
- /**
- * insert record to table
- * @param record the record
- * @return insert count
- */
- int insert(BaBlock record);
-
- /**
- * insert record to table selective
- * @param record the record
- * @return insert count
- */
- int insertSelective(BaBlock record);
+public interface BaBlockMapper extends BaseMapper<BaBlock> {
/**
* select by primary key
@@ -44,6 +19,13 @@
* @return object by primary key
*/
BaBlock selectByPrimaryKey(Long id);
+
+
+ /**
+ * 寰楀埌鍏ㄩ儴瀹炰綋
+ * @return 鍏ㄩ儴瀹炰綋
+ */
+ List<BaBlock> selectAll() ;
/**
@@ -61,6 +43,20 @@
List<BaBlock> selectSome(Map<?, ?> params) ;
/**
+ * insert record to table
+ * @param record the record
+ * @return insert count
+ */
+ int putin(BaBlock record);
+
+ /**
+ * insert record to table selective
+ * @param record the record
+ * @return insert count
+ */
+ int insertSelective(BaBlock record);
+
+ /**
* update record selective
* @param record the updated record
* @return update count
@@ -73,4 +69,17 @@
* @return update count
*/
int updateByPrimaryKey(BaBlock record);
+ /**
+ * 瀹為檯鍒犻櫎
+ * @param id primaryKey
+ * @return deleteCount
+ */
+ int deleteByPrimaryKey(Long id);
+
+ /**
+ * 閫昏緫鍒犻櫎
+ * @param id primaryKey
+ * @return update count
+ */
+ int deleteLogicById(Long id);
}
\ No newline at end of file
--
Gitblit v1.8.0