[测评系统]--测评系统核心代码库
linzhijie
2021-08-16 7c6ff5de779476a50c26182d9c5075cf7b3a2394
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.ots.project.system.user.mapper;
import com.ots.project.system.role.domain.Role;
import com.ots.project.system.user.domain.UserRole;
import org.apache.ibatis.annotations.Param;
import java.util.List;
 
public interface UserRoleMapper {
    
    public int deleteUserRoleByUserId(Long userId);
    
    public int deleteUserRole(Long[] ids);
    
    public int countUserRoleByRoleId(Long roleId);
    
    public int batchUserRole(List<UserRole> userRoleList);
    
    public int deleteUserRoleInfo(UserRole userRole);
    
    public int deleteUserRoleInfos(@Param("roleId") Long roleId, @Param("userIds") Long[] userIds);
 
}