fix exam 考试
This commit is contained in:
parent
7f587cb8e4
commit
af9315629d
|
@ -690,7 +690,7 @@ class ExamRecordViewSet(ListModelMixin, DestroyModelMixin, RetrieveModelMixin, G
|
|||
cer_number = now_data.strftime('%Y%m%d')
|
||||
# 获取锁
|
||||
iden = acquire_lock('certificate')
|
||||
if iden is False:
|
||||
if iden is None:
|
||||
raise ParseError("系统忙, 请稍后再试")
|
||||
try:
|
||||
# 查询证明编号创建时间为最后一个
|
||||
|
|
Loading…
Reference in New Issue