feat: examrecord添加查询条件

This commit is contained in:
caoqianming 2025-02-05 17:19:58 +08:00
parent 6cd55f8460
commit b1a574051c
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class ExamRecordFilter(filters.FilterSet):
'start_time': ['exact', 'gte', 'lte'],
'is_pass': ['exact'],
'is_submited': ['exact'],
'exam': ['exact'],
}
def filter_is_my(self, queryset, name, value):
if value: