From c42614978ff12013a1eabebd0289b27169a5784f Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 06 五月 2025 17:25:56 +0800
Subject: [PATCH] 1、实现万功能token(0000-0000-1234-9876-5); 2、web端单独实现命令结果等待器,并相应修改相关部分; 3、web端实现透传命令; 4、修改一些不当注释; 5、优化一些代码。

---
 pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaRoleMapper.java |  101 ++++++++++++++++++++------------------------------
 1 files changed, 41 insertions(+), 60 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaRoleMapper.java b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaRoleMapper.java
index 0b1841e..a0d79c5 100644
--- a/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaRoleMapper.java
+++ b/pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaRoleMapper.java
@@ -6,16 +6,27 @@
 import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
-import java.util.Map;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2024-01-10 11:00
+ * @LastEditTime 2024-01-10 11:00
+ * @Description
+ */
 
 @Mapper
 public interface BaRoleMapper extends BaseMapper<BaRole> {
+    int deleteByPrimaryKey(Long id);
 
-    /**
-     * 鏌ヨ鍏ㄩ儴
-     * @return List<BaRole>
-     */
-    List<BaRole> selectAll(Map<?, ?> params) ;
+    int insert(BaRole record);
+
+    int insertSelective(BaRole record);
+
+    BaRole selectByPrimaryKey(Long id);
+
+    int updateByPrimaryKeySelective(BaRole record);
+
+    int updateByPrimaryKey(BaRole record);
 
     /**
      * 鏌ヨ鏌愪釜鐢ㄦ埛鎵�闅跺睘浜庣殑瑙掕壊
@@ -24,61 +35,31 @@
      */
     List<BaRole> selectByUserId(@Param("userId") Long userId) ;
 
+    /**
+     * 鏍规嵁瑙掕壊鍚嶇О鏌ヨ璁板綍鏁伴噺
+     * @param roleName
+     * @return
+     */
+    Integer getRecordCountByName(@Param("roleName") String roleName);
+
+    ///**
+    // * 鏍规嵁鎸囧畾鏉′欢鑾峰彇瑙掕壊璁板綍鏁�
+    // * @param params
+    // * @return
+    // */
+    //Long getRecordCount(Map<?, ?> params);
+    //
+    ///**
+    // * 鏍规嵁鎸囧畾鏉′欢鑾峰彇瑙掕壊璁板綍
+    // * @param params
+    // * @return
+    // */
+    //List<VoRole> getRoles(Map<?, ?> params);
 
     /**
-     * 鏌ヨ鎬绘暟
-     * @param params 鏌ヨ鏉′欢
-     * @return 鎬绘暟
+     * 鏍规嵁roleId閫昏緫鍒犻櫎瑙掕壊瀵硅薄
+     * @param roleId
+     * @return
      */
-    Long selectTotal(Map<?, ?> params) ;
-
-    /**
-     * 鍒嗛〉鏌ヨ涓�浜�
-     * @param params 鏌ヨ鏉′欢
-     * @return 瀹炰綋闆嗗悎
-     */
-    List<BaRole> selectSome(Map<?, ?> params) ;
-
-
-    /**
-     * insert record to table
-     * @param record the record
-     * @return insert count
-     */
-    int insert(BaRole record);
-
-    /**
-     * insert record to table selective
-     * @param record the record
-     * @return insert count
-     */
-    int insertSelective(BaRole record);
-
-    /**
-     * update record selective
-     * @param record the updated record
-     * @return update count
-     */
-    int updateByPrimaryKeySelective(BaRole record);
-
-    /**
-     * update record
-     * @param record the updated record
-     * @return update count
-     */
-    int updateByPrimaryKey(BaRole record);
-
-    /**
-     * delete by primary key
-     * @param id primaryKey
-     * @return deleteCount
-     */
-    int deleteByPrimaryKey(Long id);
-
-    /**
-     * 閫昏緫鍒犻櫎
-     * @param id primaryKey
-     * @return update count
-     */
-    int deleteLogicById(Long id);
+    Integer deleteRoleById(@Param("roleId") Long roleId);
 }
\ No newline at end of file

--
Gitblit v1.8.0