18 lines
282 B
Java
18 lines
282 B
Java
|
package com.mapper;
|
||
|
|
||
|
import com.domain.Role;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public interface RoleMapper {
|
||
|
List<Role> findAll();
|
||
|
|
||
|
void save(Role role);
|
||
|
|
||
|
List<Role> findRoleByUserId(Long id);
|
||
|
|
||
|
void del(Long roleId);
|
||
|
|
||
|
void delUserRoleRel(Long roleId);
|
||
|
}
|