fix exam
This commit is contained in:
parent
7a96810c5f
commit
14155aef3d
|
@ -691,7 +691,7 @@ class ExamRecordViewSet(ListModelMixin, DestroyModelMixin, RetrieveModelMixin, G
|
|||
# 获取锁
|
||||
iden = acquire_lock('certificate')
|
||||
if iden is None:
|
||||
raise ParseError("系统忙,请稍后再试。", status=503)
|
||||
raise ParseError("系统忙,请稍后再试")
|
||||
try:
|
||||
# 查询证明编号创建时间为最后一个
|
||||
cer = Certificate.objects.latest('证书编号')
|
||||
|
|
Loading…
Reference in New Issue