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