whycxzp
2021-04-15 e4e8380597b5abdd2ede656cf5291c5d760b1149
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.whyc.mapper;
 
import com.whyc.pojo.User;
import com.whyc.pojo.UserRole;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface UserRoleMapper extends CustomMapper<UserRole>{
 
    List<User> getUserWithNoRole();
 
    List<UserRole> getUserWithRole();
 
    List<UserRole> getUserWithRoleMap();
 
    List<String> findRolesByUserId(@Param("userId") int userId);
}