UserRoleService.java 1.08 KB
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.sms.VerifyCodeDTO;
import com.meishu.dto.userrole.AccountLoginDTO;
import com.meishu.dto.userrole.AddStudentsDTO;
import com.meishu.dto.userrole.QueryStudentsDTO;
import com.meishu.model.UserRoleDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.vo.userrole.QueryStudentsVO;
import com.meishu.vo.userrole.UserInfoVO;
import com.meishu.vo.userrole.UserRoleVO;

import java.util.List;

/**
 * <p>
 * 学生表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-08-16
 */
public interface UserRoleService extends IService<UserRoleDO> {

    IPage<QueryStudentsVO> queryStudents(QueryStudentsDTO queryStudentsDTO);

    String addStudents(UserRoleDO userRoleDO);

    String updateStudent(UserRoleDO userRoleDO);

    List<QueryStudentsVO> exportStudents(QueryStudentsDTO queryStudentsDTO);

    UserRoleVO login(VerifyCodeDTO verifyCodeDTO);

    UserInfoVO userInfo(Integer id);

    UserRoleVO accountLogin(AccountLoginDTO accountLoginDTO);

    void studycode();
}