|
|
|
@ -4,6 +4,7 @@ import com.lq.cms.vo.SysRoleVo; |
|
|
|
|
import com.lq.cms.vo.SysUserRoleVo; |
|
|
|
|
import com.lq.code.service.BaseService; |
|
|
|
|
import com.lq.entity.SysRole; |
|
|
|
|
import org.apache.bcel.verifier.statics.LONG_Upper; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
@ -11,6 +12,7 @@ import java.util.List; |
|
|
|
|
* Created by qi_liang on 2018/6/21. |
|
|
|
|
*/ |
|
|
|
|
public interface SysRoleService extends BaseService<SysRole> { |
|
|
|
|
|
|
|
|
|
Integer count(SysRoleVo vo); |
|
|
|
|
|
|
|
|
|
List<SysRoleVo> findListPage(SysRoleVo vo); |
|
|
|
@ -18,4 +20,6 @@ public interface SysRoleService extends BaseService<SysRole> { |
|
|
|
|
List<SysUserRoleVo> findAllRoleVo(Long userId); |
|
|
|
|
|
|
|
|
|
List<SysRole> findByUserId(Long userId); |
|
|
|
|
|
|
|
|
|
void deleteRole(Long roleId); |
|
|
|
|
} |
|
|
|
|