feat: mlogbw destory bug
This commit is contained in:
parent
b067ec2ea7
commit
7488900ac8
|
@ -769,5 +769,6 @@ class MlogbwViewSet(CustomModelViewSet):
|
|||
Mlogbw.cal_count_notok(mlogb)
|
||||
|
||||
if need_cal_mlogb:
|
||||
for i in mlogbIds:
|
||||
Mlogbw.cal_count_notok(Mlogb.objects.get(id=i))
|
||||
mlogb_qs = Mlogb.objects.filter(id__in=mlogbIds)
|
||||
for mlogb in mlogb_qs:
|
||||
Mlogbw.cal_count_notok(mlogb)
|
Loading…
Reference in New Issue