From d86a4a8cd8cf271514e892e992290b4d533a24e5 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 12 一月 2024 14:32:49 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
---
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoBa/BaRoleMapper.java | 92 +++++++++++++++++-----------------------------
1 files changed, 34 insertions(+), 58 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 9d07534..d88cdf1 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
@@ -2,83 +2,59 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.pipIrrGlobal.pojoBa.BaRole;
+import com.dy.pipIrrGlobal.voBa.VoRole;
import org.apache.ibatis.annotations.Mapper;
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() ;
+ int insert(BaRole record);
- /**
- * 鏌ヨ鏌愪釜鐢ㄦ埛鎵�闅跺睘浜庣殑瑙掕壊
- * @param userId 鐢ㄦ埛ID
- * @return List<BaRole>
- */
- List<BaRole> selectByUserId(@Param("userId") Long userId) ;
-
-
- /**
- * 鏌ヨ鎬绘暟
- * @param params 鏌ヨ鏉′欢
- * @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 putin(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
- */
+ BaRole selectByPrimaryKey(Long id);
+
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
+ * 鏍规嵁瑙掕壊鍚嶇О鏌ヨ璁板綍鏁伴噺
+ * @param roleName
+ * @return
*/
- int deleteByPrimaryKey(Long id);
+ Integer getRecordCountByName(@Param("roleName") String roleName);
/**
- * 閫昏緫鍒犻櫎
- * @param id primaryKey
- * @return update count
+ * 鏍规嵁鎸囧畾鏉′欢鑾峰彇瑙掕壊璁板綍鏁�
+ * @param params
+ * @return
*/
- int deleteLogicById(Long id);
+ Long getRecordCount(Map<?, ?> params);
+
+ /**
+ * 鏍规嵁鎸囧畾鏉′欢鑾峰彇瑙掕壊璁板綍
+ * @param params
+ * @return
+ */
+ List<VoRole> getRoles(Map<?, ?> params);
+
+ /**
+ * 鏍规嵁roleId閫昏緫鍒犻櫎瑙掕壊瀵硅薄
+ * @param roleId
+ * @return
+ */
+ Integer deleteRoleById(@Param("roleId") Long roleId);
}
\ No newline at end of file
--
Gitblit v1.8.0