You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
516 B
22 lines
516 B
package com.aiprose.scauth.service;
|
|
|
|
import com.aiprose.base.BaseSpecService;
|
|
import com.aiprose.scauth.entity.Role;
|
|
import com.aiprose.scauth.entity.UserRole;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author nelson
|
|
* @desc TODO
|
|
* @company 北京中经网软件有限公司
|
|
* @date 2020/11/27 17:23
|
|
* @since 1.0
|
|
*/
|
|
public interface IRoleService extends BaseSpecService<Role,Integer> {
|
|
List<Role> findByUserId(Integer userId);
|
|
|
|
List<String> findByUrl(String url);
|
|
|
|
UserRole save(Role role, Integer userId);
|
|
}
|
|
|