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);
|
|
}
|