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