From 8e19e67d1178e834a868f4a820d827ddf64c6e01 Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期三, 28 五月 2025 12:46:08 +0800 Subject: [PATCH] #ZH --- src/main/java/com/zy/system/mapper/RoleMapper.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/system/mapper/RoleMapper.java b/src/main/java/com/zy/system/mapper/RoleMapper.java index 7900402..94df1b8 100644 --- a/src/main/java/com/zy/system/mapper/RoleMapper.java +++ b/src/main/java/com/zy/system/mapper/RoleMapper.java @@ -3,10 +3,19 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.system.entity.Role; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; + +import java.util.List; @Mapper @Repository public interface RoleMapper extends BaseMapper<Role> { + List<Role> selectRoleList(@Param("leaderIdList") List<Long> leaderIdList, + @Param("pageNumber") Integer curr, + @Param("pageSize") Integer limit); + + Long selectRoleListTotal(@Param("leaderIdList") List<Long> leaderIdList); + } -- Gitblit v1.9.1