Blame view

AdministerService.java 1.29 KB
涂亚平 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 38 39 40 41 42 43 44 45 46 47 48
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();

}