[测评系统]--测评系统核心代码库
wzp
2025-08-01 95eb8a2a75cbeebcb3393d404c1952bd59b8989a
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);
 
}