longz
2026-06-29 9d4cbff7464ebfd7803c2ce53ded49d0f73fe011
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.sinata.appointment.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sinata.appointment.dto.UserRoleLabelRow;
import com.sinata.appointment.entity.SysUser;
import java.util.Collection;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
 
    List<Long> listUserIdsByRoleCode(@Param("roleCode") String roleCode);
 
    List<String> listRoleCodesByUserId(@Param("userId") Long userId);
 
    List<String> listPermissionCodesByUserId(@Param("userId") Long userId);
 
    List<UserRoleLabelRow> listRoleLabelsByUserIds(@Param("userIds") Collection<Long> userIds);
}