fix: after_bulk_update执行后不用return
This commit is contained in:
parent
251e373d5b
commit
ab581f2851
|
|
@ -47,4 +47,3 @@ class QuaStatViewSet(ListModelMixin, BulkUpdateModelMixin, CustomGenericViewSet)
|
||||||
SfLog.objects.filter(id__in=sflogIds).update(last_test_time=now) # 更新质检记录时间
|
SfLog.objects.filter(id__in=sflogIds).update(last_test_time=now) # 更新质检记录时间
|
||||||
for sflogId in sflogIds:
|
for sflogId in sflogIds:
|
||||||
cal_quastat_sflog.delay(sflogId)
|
cal_quastat_sflog.delay(sflogId)
|
||||||
return super().after_bulk_update(objs)
|
|
||||||
Loading…
Reference in New Issue