修复数据可指定课程id

This commit is contained in:
670788339
2024-04-25 16:41:48 +08:00
parent 6ba7ba44a0
commit 89309a947d

View File

@@ -33,10 +33,12 @@ public class StudyExamApi extends ApiBaseController{
* 矫正学员课程进度及完成状态
* */
@GetMapping("/correctStstus")
public void correctStstus(String courseId){
log.info("---------矫正学员课程进度及完成状态--correctStstus---开始-----");
public JsonResponse<Map<String,Object>> correctStstus(String courseId){
Map<String,Object> rs=new HashMap<String,Object>();
log.info("---------矫正学员课程进度及完成状态--correctStstus---开始-----courseId = " + courseId);
sexamService.correctStstus(courseId);
log.info("---------矫正学员课程进度及完成状态--correctStstus---结束-----");
return success(rs);
}
@PostMapping("/save")