From 3b5d642459af24fa3cad7536edee230989e01d4c Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 24 七月 2024 14:02:23 +0800
Subject: [PATCH] 机构标签与名称去掉枚举实现方式,改为全部从配置文件中得到。

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaBlockMapper.java |   64 +++++++++++++++++--------------
 1 files changed, 35 insertions(+), 29 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..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,41 +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 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 +16,13 @@
      * @return object by primary key
      */
     BaBlock selectByPrimaryKey(Long id);
+
+
+    /**
+     * 寰楀埌鍏ㄩ儴瀹炰綋
+     * @return 鍏ㄩ儴瀹炰綋
+     */
+    List<BaBlock> selectAll() ;
 
 
     /**
@@ -61,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
@@ -73,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