This commit is contained in:
zty 2024-07-29 16:18:35 +08:00
parent 7a96810c5f
commit 14155aef3d
1 changed files with 1 additions and 1 deletions

View File

@ -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('证书编号')