修复检验茧票不保存僵蚕数量的问题;修改实验室仪评指标联检测为版本V2
This commit is contained in:
@@ -51,8 +51,8 @@ def process_ticket_image(
|
||||
resolution=resolution,
|
||||
size=size_kb,
|
||||
name=project_name if project_name else object_name[:8],
|
||||
dead_pupa_count=json_data.get("moisture_content") if version == 2 else 0,
|
||||
moisture_content=json_data.get("moisture_content"),
|
||||
dead_pupa_count=json_data.get("dead_pupa_count") if version == 2 else 0,
|
||||
moisture_content=json_data.get("moisture_content") if version == 2 else 0,
|
||||
cocoon_weight=json_data.get("cocoon_weight"),
|
||||
defective_pupa_count=json_data.get("defective_pupa_count"),
|
||||
fresh_shell_weight=json_data.get("fresh_shell_weight"),
|
||||
|
||||
Reference in New Issue
Block a user