feat: wpr_bxerp调整

This commit is contained in:
caoqianming 2025-07-18 09:23:22 +08:00
parent 4e1c33317c
commit 9c391add48
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def main(wprId, mgroup:Mgroup):
ftest__mlogbw_ftest__mlogb__mlog__mgroup=mgroup,
ftest__mlogbw_ftest__mlogb__mlog__submit_time__isnull=False)
for ftestdefect in ftestdefects:
data[f"{mgroup_name}_缺陷项_{ftestdefect.defect.name}"] = 0 if ftestdefect.has is True else 1
data[f"{mgroup_name}_缺陷项_{ftestdefect.defect.name}"] = 1 if ftestdefect.has is True else 0
old_data:dict = wpr.data
if old_data: