feat: 光子添加工段数据统计

This commit is contained in:
caoqianming 2026-01-16 14:01:13 +08:00
parent 70e49eb27e
commit 80f832aa85
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ def main(batch: str, mgroup_obj=None):
data["六车间交接领料_接料人"] = ";".join([item.name for item in data["六车间交接领料_接料人"]]) data["六车间交接领料_接料人"] = ";".join([item.name for item in data["六车间交接领料_接料人"]])
# 六车间工段生产数据 # 六车间工段生产数据
mgroup_list = ["平头", "粘铁头", "粗中细磨", "平磨", "掏管", "抛光", "开槽", "倒角"] mgroup_list = ["平头", "粘铁头", "粗中细磨", "平磨", "掏管", "抛光", "开槽", "倒角", "加工前检验", "中检"]
for mgroup_name in mgroup_list: for mgroup_name in mgroup_list:
if mgroup_name == '粗中细磨': if mgroup_name == '粗中细磨':
mgroups = Mgroup.objects.filter(name__in=['粗磨', '粗中磨', '粗中细磨']) mgroups = Mgroup.objects.filter(name__in=['粗磨', '粗中磨', '粗中细磨'])