AdministerService.java 1.29 KB
package com.meishu.service;

import com.meishu.dto.administer.AddAdministerDTO;
import com.meishu.dto.administer.ChangeStatusDTO;
import com.meishu.dto.administer.PublishTasksDTO;
import com.meishu.dto.administer.UpdateAdministerDTO;
import com.meishu.dto.exercise.UpdateStatusDTO;
import com.meishu.model.AdministerDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.model.PermissionsDictDO;
import com.meishu.model.SmsCodeDO;
import com.meishu.vo.administer.AdministerPermissionVO;
import com.meishu.vo.administer.LoginVO;
import com.meishu.vo.administer.PermissionsVO;

import java.util.List;

/**
 * <p>
 * 中心管理账户表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-25
 */
public interface AdministerService extends IService<AdministerDO> {

    String sendMsg(AdministerDO administerDO);

    LoginVO login(SmsCodeDO smsCodeDO);

    LoginVO passwordLogin(AdministerDO administerDO);

    AdministerPermissionVO getPermissions();

    List<PermissionsDictDO> getParentPermission();

    String addAdminister(AddAdministerDTO addAdministerDTO);

    List<PermissionsDictDO> getPermissionTree();

    String changeStatus(ChangeStatusDTO changeStatusDTO);

    String updateAdminister(UpdateAdministerDTO updateAdministerDTO);

    List<AdministerDO> getAllAdminister();

}