调整数据库表名,增加催青阶段分析演示模块

This commit is contained in:
BBIT-Kai
2026-01-04 16:06:13 +08:00
parent 209d087fa5
commit e2982b141d
16 changed files with 589 additions and 34 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ def get_ticket_image_list(user_id):
moisture_content, cocoon_weight, defective_pupa_count,
fresh_shell_weight, sample_count, barcode, oss,
net_weight_total, evaluator, reviewer,id ,dead_pupa_count
FROM ticket_images
FROM image_ticket
WHERE created_by = %s
""",
(user_id,),
@@ -66,7 +66,7 @@ def insert_ticket_image(
with conn.cursor() as cursor:
cursor.execute(
"""
INSERT INTO ticket_images (
INSERT INTO image_ticket (
created_by, file_name, resolution, size, name,
moisture_content, cocoon_weight, defective_pupa_count, dead_pupa_count,
fresh_shell_weight, sample_count, barcode, oss,