Blame view

RoleDictService.java 998 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.role.AddPermissionDTO;
import com.meishu.dto.role.DeletePermissionDTO;
import com.meishu.dto.role.GetRoleTeachersDTO;
import com.meishu.dto.role.RoleTeacherDTO;
import com.meishu.model.RoleDictDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.vo.role.GetAllRolesVO;
import com.meishu.vo.role.GetRoleTeachersVO;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-26
 */
public interface RoleDictService extends IService<RoleDictDO> {

    List<GetAllRolesVO> getAllRoles();

    IPage<GetRoleTeachersVO> getRoleTeachers(GetRoleTeachersDTO getRoleTeachersDTO);

    String removeTeacher(RoleTeacherDTO roleTeacherDTO);

    String roleTeacher(RoleTeacherDTO roleTeacherDTO);

    String addPermission(AddPermissionDTO addPermissionDTO);

    String deletePermission(DeletePermissionDTO deletePermissionDTO);

}