|
@@ -116,6 +116,17 @@ public class UserExamWrongRecordController extends BaseController {
|
|
|
return AjaxResult.success(iUserExamWrongRecordService.queryById(wrongId));
|
|
return AjaxResult.success(iUserExamWrongRecordService.queryById(wrongId));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @ApiOperation("获取用户报告错题数")
|
|
|
|
|
+ @GetMapping("/wrongNum/{recordId}")
|
|
|
|
|
+ public AjaxResult<Long> wrongNum(@PathVariable("recordId" ) Long recordId) {
|
|
|
|
|
+ ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
|
|
+ UserExamWrongRecordQueryBo wBo = new UserExamWrongRecordQueryBo();
|
|
|
|
|
+ wBo.setRecordId(recordId);
|
|
|
|
|
+ wBo.setUserId(loginUser.getUser().getUserId());
|
|
|
|
|
+ return AjaxResult.success(iUserExamWrongRecordService.recordNum(wBo));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 新增用户我的题库错题记录
|
|
* 新增用户我的题库错题记录
|
|
|
*/
|
|
*/
|