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