feat: mlogbin 和 update时cal_count_notok

This commit is contained in:
caoqianming 2025-06-13 15:24:53 +08:00
parent cf7673cd98
commit b9a7138e72
1 changed files with 4 additions and 2 deletions

View File

@ -789,6 +789,8 @@ class MlogbInUpdateSerializer(CustomModelSerializer):
if mlogb_defect_objects:
MlogbDefect.objects.bulk_create(mlogb_defect_objects)
ins.cal_count_notok(cal_mlog=True)
# 找到对应的产出
return ins
class MlogbwCreateUpdateSerializer(CustomModelSerializer):