Compare commits
No commits in common. "2a23b9ecd9172799e2852b6dcccd461df3957703" and "928a6d7f4754c7d5fe94fcb71aaf9350f8abc447" have entirely different histories.
2a23b9ecd9
...
928a6d7f47
@ -47,18 +47,12 @@ public class DlDriveSchoolStudentController {
|
||||
return success(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取学员详细信息
|
||||
* @author PQZ
|
||||
* @date 9:58 2025/2/10
|
||||
* @param id 学员id
|
||||
* @return cn.iocoder.yudao.framework.common.pojo.CommonResult<cn.iocoder.yudao.module.base.vo.DlDriveSchoolStudentVO>
|
||||
**/
|
||||
@GetMapping("/get")
|
||||
@Operation(summary = "获得驾校学员")
|
||||
@Parameter(name = "id", description = "编号", required = true, example = "1024")
|
||||
public CommonResult<DlDriveSchoolStudentVO> getDlDriveSchoolStudent(@RequestParam("id") String id) {
|
||||
return success(schoolStudentService.queryStudentById(id));
|
||||
public CommonResult<DlDriveSchoolStudent> getDlDriveSchoolStudent(@RequestParam("id") String id) {
|
||||
DlDriveSchoolStudent dlDriveSchoolStudent = schoolStudentService.getById(id);
|
||||
return success(dlDriveSchoolStudent);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -25,16 +25,6 @@ public interface DlDriveSchoolStudentService extends IService<DlDriveSchoolStude
|
||||
*/
|
||||
String createDlDriveSchoolStudent(@Valid DlDriveSchoolStudentVO createReqVO);
|
||||
|
||||
/**
|
||||
* 获取学员详细信息
|
||||
*
|
||||
* @param id 学员id
|
||||
* @return cn.iocoder.yudao.module.base.vo.DlDriveSchoolStudentVO
|
||||
* @author PQZ
|
||||
* @date 9:58 2025/2/10
|
||||
**/
|
||||
DlDriveSchoolStudentVO queryStudentById(String id);
|
||||
|
||||
/**
|
||||
* 更新驾校学员
|
||||
*
|
||||
@ -59,12 +49,11 @@ public interface DlDriveSchoolStudentService extends IService<DlDriveSchoolStude
|
||||
|
||||
/**
|
||||
* 根据userID查学员详情
|
||||
*
|
||||
* @author vinjor-M
|
||||
* @date 22:17 2025/1/20
|
||||
* @param userId 用户ID
|
||||
* @return cn.iocoder.yudao.module.base.entity.DlDriveSchoolStudent
|
||||
* @author vinjor-M
|
||||
* @date 22:17 2025/1/20
|
||||
**/
|
||||
**/
|
||||
DlDriveSchoolStudent getStudentByUserId(Long userId);
|
||||
|
||||
/**
|
||||
@ -80,23 +69,21 @@ public interface DlDriveSchoolStudentService extends IService<DlDriveSchoolStude
|
||||
|
||||
/**
|
||||
* 获取可以考试的学员列表
|
||||
*
|
||||
* @param courseId 课程ID
|
||||
* @param subject 科目
|
||||
* @return List<DlDriveSchoolStudent>
|
||||
* @author vinjor-M
|
||||
* @date 23:16 2025/1/20
|
||||
**/
|
||||
List<DlDriveSchoolStudent> getCanExamStudentList(String courseId, Integer subject, String userName);
|
||||
* @param courseId 课程ID
|
||||
* @param subject 科目
|
||||
* @return List<DlDriveSchoolStudent>
|
||||
**/
|
||||
List<DlDriveSchoolStudent> getCanExamStudentList(String courseId, Integer subject,String userName);
|
||||
|
||||
/**
|
||||
* 手机端获取学员
|
||||
*
|
||||
* @param staffVO {@link DlDriveSchoolStaffVO}
|
||||
* @param page 分页参数
|
||||
* @return com.baomidou.mybatisplus.core.metadata.IPage<cn.iocoder.yudao.module.base.vo.DlDriveSchoolStaffVO>
|
||||
* @author PQZ
|
||||
* @date 14:47 2025/2/6
|
||||
**/
|
||||
* @param staffVO {@link DlDriveSchoolStaffVO}
|
||||
* @param page 分页参数
|
||||
* @return com.baomidou.mybatisplus.core.metadata.IPage<cn.iocoder.yudao.module.base.vo.DlDriveSchoolStaffVO>
|
||||
**/
|
||||
IPage<DlDriveSchoolStaffVO> pageStaffStudent(DlDriveSchoolStaffVO staffVO, Page<DlDriveSchoolStaffVO> page);
|
||||
}
|
||||
@ -39,23 +39,6 @@ public class DlDriveSchoolStudentServiceImpl extends ServiceImpl<DlDriveSchoolSt
|
||||
return dlDriveSchoolStudent.getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取学员详细信息
|
||||
*
|
||||
* @param id 学员id
|
||||
* @return cn.iocoder.yudao.module.base.vo.DlDriveSchoolStudentVO
|
||||
* @author PQZ
|
||||
* @date 9:58 2025/2/10
|
||||
**/
|
||||
@Override
|
||||
public DlDriveSchoolStudentVO queryStudentById(String id) {
|
||||
//学员基本信息
|
||||
DlDriveSchoolStudent student = getById(id);
|
||||
DlDriveSchoolStudentVO result = BeanUtils.toBean(student,DlDriveSchoolStudentVO.class);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateDlDriveSchoolStudent(DlDriveSchoolStudentVO updateReqVO) {
|
||||
// 更新
|
||||
|
||||
Loading…
Reference in New Issue
Block a user