fix: get_alldata_with_batch hanle_user bug
This commit is contained in:
parent
784500bf5b
commit
7ce9ed5a19
|
@ -163,7 +163,7 @@ def get_alldata_with_batch(batch: str):
|
|||
if item.handle_date:
|
||||
data["管料退火_日期"].append(item.handle_date)
|
||||
if item.handle_user:
|
||||
data["管料退火_操作人"].append(item.mlog_user)
|
||||
data["管料退火_操作人"].append(item.handle_user)
|
||||
for field in mlog_count_fields:
|
||||
if getattr(item, field) > 0 or field in ["count", "count_notok"]:
|
||||
if f'管料退火_{field}' not in data:
|
||||
|
|
Loading…
Reference in New Issue