From 113930813e1c27c90775b073142fc30d8d38f7fc Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 12 七月 2024 11:34:07 +0800 Subject: [PATCH] 教师配管理端权限、允许提交后继续考试 --- src/main/java/com/ycl/jxkg/service/UserService.java | 39 ++++++++++++++++++++++++++++++++++++--- 1 files changed, 36 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/service/UserService.java b/src/main/java/com/ycl/jxkg/service/UserService.java index 57bcf36..54b602f 100644 --- a/src/main/java/com/ycl/jxkg/service/UserService.java +++ b/src/main/java/com/ycl/jxkg/service/UserService.java @@ -1,14 +1,18 @@ package com.ycl.jxkg.service; +import com.baomidou.mybatisplus.extension.service.IService; +import com.ycl.jxkg.domain.form.RegisterForm; +import com.ycl.jxkg.domain.form.UpdatePwdForm; import com.ycl.jxkg.domain.other.KeyValue; -import com.ycl.jxkg.domain.User; -import com.ycl.jxkg.vo.admin.user.UserPageRequestVO; +import com.ycl.jxkg.domain.entity.User; +import com.ycl.jxkg.domain.vo.StudentVO; +import com.ycl.jxkg.domain.vo.admin.user.UserPageRequestVO; import com.github.pagehelper.PageInfo; import java.util.List; -public interface UserService extends BaseService<User> { +public interface UserService extends IService<User> { /** * getUsers @@ -125,4 +129,33 @@ User selectByWxOpenId(String wxOpenId); void changePicture(User user, String imagePath); + + /** + * 鏁欏笀娉ㄥ唽 + * + * @param form + */ + void teacherRegister(RegisterForm form); + + /** + * 瀛︾敓娉ㄥ唽 + * + * @param form + */ + void studentRegister(RegisterForm form); + + /** + * 鏌ヨ鐝骇涓嬬幇鏈夌殑瀛︾敓 + * + * @param classesId + * @return + */ + List<StudentVO> classesStudent(Integer classesId); + + /** + * 淇敼瀵嗙爜 + * + * @param form + */ + void updatePassword(UpdatePwdForm form); } -- Gitblit v1.8.0