[测评系统]--测评系统核心代码库
linzhijie
2021-08-02 565244093e398d5ee6276978b0b60d8f1c13ccb5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.ots.project.system.user.mapper;
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);
}