From 61cfa0d30461a8020f4e54330ea049ac6efb07c9 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 17 七月 2024 16:21:41 +0800
Subject: [PATCH] 1、完善代码; 2、修改上行命令结果匹配命令的bug;
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java | 65 +++++++++++++++++---------------
1 files changed, 35 insertions(+), 30 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 e5933fe..6c4af43 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,42 +2,13 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoBa.BaBlock;
-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
@@ -45,6 +16,13 @@
* @return object by primary key
*/
BaBlock selectByPrimaryKey(Long id);
+
+
+ /**
+ * 寰楀埌鍏ㄩ儴瀹炰綋
+ * @return 鍏ㄩ儴瀹炰綋
+ */
+ List<BaBlock> selectAll() ;
/**
@@ -62,6 +40,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
@@ -74,4 +66,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