Blame view

UserRoleService.java 1.08 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
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();
}