:fix:修改题目类型

This commit is contained in:
zty 2024-05-30 17:46:53 +08:00
parent 1c18dddf66
commit 6de96ce19a
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ class ExamRecordViewSet(ListModelMixin, DestroyModelMixin, RetrieveModelMixin, G
er.took = (now - er.create_time).total_seconds()
er.end_time = now
er.belong_dept=request.user.dept.id
er.belong_dept=request.user.dept
er.is_submited = True
er.save()
return Response(ExamRecordListSerializer(instance=er).data)