From 781aaa24d1f12659581eb545fc4ee678e4d85b7f Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期四, 23 五月 2024 17:02:21 +0800
Subject: [PATCH] 田间灌溉项目管理 轮灌组  修改轮灌组移除灌溉单元接口为批量移除

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java |   62 +++++++++++++++++-------------
 1 files changed, 35 insertions(+), 27 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 40a5e42..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,6 +2,7 @@
 
 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;
@@ -11,33 +12,6 @@
 
 @Mapper
 public interface BaBlockMapper extends BaseMapper<BaBlock> {
-    /**
-     * 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);
 
     /**
      * select by primary key
@@ -45,6 +19,13 @@
      * @return object by primary key
      */
     BaBlock selectByPrimaryKey(Long id);
+
+
+    /**
+     * 寰楀埌鍏ㄩ儴瀹炰綋
+     * @return 鍏ㄩ儴瀹炰綋
+     */
+    List<BaBlock> selectAll() ;
 
 
     /**
@@ -62,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
@@ -74,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