瀏覽代碼

fix 审核

he2802 3 年之前
父節點
當前提交
9d127e7621

+ 10 - 0
zhongzheng-admin/src/main/java/com/zhongzheng/controller/user/UserExamRecordController.java

@@ -66,4 +66,14 @@ public class UserExamRecordController extends BaseController {
         List<UserExamRecordVo> list = iUserExamRecordService.selectList(bo);
         return getDataTable(list);
     }
+
+    /**
+     * 修改用户的题库试卷做题历史
+     */
+    @ApiOperation("修改用户的题库试卷做题历史")
+    @Log(title = "用户的题库试卷做题历史", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    public AjaxResult<Void> edit(@RequestBody UserExamRecordEditBo bo) {
+        return toAjax(iUserExamRecordService.updateByEditBo(bo) ? 1 : 0);
+    }
 }