{ "crm_follow_up_record": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "biz_type", "Type": "int", "Collation": null, "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "数据类型" }, { "Field": "biz_id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "数据编号" }, { "Field": "type", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "跟进类型" }, { "Field": "content", "Type": "varchar(2000)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "跟进内容" }, { "Field": "next_time", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "下次联系时间" }, { "Field": "pic_urls", "Type": "varchar(2048)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "图片" }, { "Field": "business_ids", "Type": "varchar(2048)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "关联的商机编号数组" }, { "Field": "contact_ids", "Type": "varchar(2048)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "关联的联系人编号数组" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "最后更新时间" }, { "Field": "deleted", "Type": "tinyint(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "0", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" } ], "rows": [ { "id": 1780, "biz_type": 2, "biz_id": 1611, "type": 1, "content": "15号跟进", "next_time": "2026-10-15 13:19:11", "pic_urls": null, "business_ids": null, "contact_ids": null, "creator": "291", "create_time": "2026-10-14 08:58:38", "updater": "291", "update_time": "2026-10-14 08:58:38", "deleted": 0 }, { "id": 1779, "biz_type": 2, "biz_id": 1610, "type": 1, "content": "15号跟进", "next_time": "2026-10-15 13:18:56", "pic_urls": null, "business_ids": null, "contact_ids": null, "creator": "291", "create_time": "2026-10-14 10:17:13", "updater": "291", "update_time": "2026-10-14 10:17:13", "deleted": 0 }, { "id": 1778, "biz_type": 2, "biz_id": 1609, "type": 4, "content": "15号跟进", "next_time": "2026-10-15 13:18:40", "pic_urls": null, "business_ids": null, "contact_ids": null, "creator": "291", "create_time": "2026-10-13 14:26:00", "updater": "291", "update_time": "2026-10-13 14:26:00", "deleted": 0 }, { "id": 1777, "biz_type": 2, "biz_id": 1608, "type": 4, "content": "15号跟进", "next_time": "2026-10-15 13:18:19", "pic_urls": null, "business_ids": null, "contact_ids": null, "creator": "291", "create_time": "2026-10-14 09:07:39", "updater": "291", "update_time": "2026-10-14 09:07:39", "deleted": 0 } ], "count": 1780 }, "crm_contract": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "合同编号" }, { "Field": "name", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合同名称" }, { "Field": "no", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合同编号" }, { "Field": "customer_id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "客户编号" }, { "Field": "business_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "商机编号" }, { "Field": "contact_last_time", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "最后跟进时间" }, { "Field": "owner_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "负责人的用户编号" }, { "Field": "process_instance_id", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工作流编号" }, { "Field": "audit_status", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "审批状态" }, { "Field": "order_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "下单日期" }, { "Field": "start_time", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "开始时间" }, { "Field": "end_time", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "结束时间" }, { "Field": "total_product_price", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品总金额,单位:元" }, { "Field": "discount_percent", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "整单折扣" }, { "Field": "total_price", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合同总金额,单位:分" }, { "Field": "deposit_price", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "定金金额,单位:元" }, { "Field": "order_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "关联 ERP 销售订单编号" }, { "Field": "order_no", "Type": "varchar(32)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "ERP 销售订单单号" }, { "Field": "sign_contact_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "客户签约人" }, { "Field": "sign_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "公司签约人" }, { "Field": "remark", "Type": "varchar(500)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "最后更新时间" }, { "Field": "deleted", "Type": "tinyint(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "0", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" } ], "rows": [ { "id": 533, "name": "青海爱嘉星际文化旅游有限公-202609-L078", "no": "HT-202609-L078", "customer_id": 1611, "business_id": 1156, "contact_last_time": null, "owner_user_id": 291, "process_instance_id": null, "audit_status": 20, "order_date": "2026-09-28 00:00:00", "start_time": null, "end_time": null, "total_product_price": "2990.010000", "discount_percent": "0.000000", "total_price": "2990.010000", "deposit_price": "0.000000", "order_id": 1044, "order_no": "26000114", "sign_contact_id": null, "sign_user_id": null, "remark": "已回款(银行转账);(青海爱嘉星际文化旅游有限公)开专票两张,票号26632000000230691841、26632000000230838946", "creator": "291", "create_time": "2026-09-28 00:00:00", "updater": "291", "update_time": "2026-10-14 15:56:05", "deleted": 0 }, { "id": 532, "name": "青海南玻新能源科技有限公司-202609-L077", "no": "HT-202609-L077", "customer_id": 1610, "business_id": 1155, "contact_last_time": null, "owner_user_id": 291, "process_instance_id": null, "audit_status": 20, "order_date": "2026-09-28 00:00:00", "start_time": null, "end_time": null, "total_product_price": "2580.000000", "discount_percent": "0.000000", "total_price": "2580.000000", "deposit_price": "0.000000", "order_id": 1043, "order_no": "26000115", "sign_contact_id": null, "sign_user_id": null, "remark": "未回款;(青海南玻新能源科技有限公司0开专票一张,票号26632000000231150601", "creator": "291", "create_time": "2026-09-28 00:00:00", "updater": "291", "update_time": "2026-10-14 15:56:04", "deleted": 0 }, { "id": 531, "name": "电商-202609-L076", "no": "HT-202609-L076", "customer_id": 1609, "business_id": 1154, "contact_last_time": null, "owner_user_id": 291, "process_instance_id": null, "audit_status": 20, "order_date": "2026-09-11 00:00:00", "start_time": null, "end_time": null, "total_product_price": "1800.000000", "discount_percent": "0.000000", "total_price": "1800.000000", "deposit_price": "0.000000", "order_id": 1042, "order_no": "26000113", "sign_contact_id": null, "sign_user_id": null, "remark": "已回款(银行转账);2026.9.11杜亚楠销售,已确认无需开票", "creator": "291", "create_time": "2026-09-11 00:00:00", "updater": "291", "update_time": "2026-10-14 15:56:04", "deleted": 0 }, { "id": 530, "name": "广州北纬纯净食品有限公司-202609-L074", "no": "HT-202609-L074", "customer_id": 1608, "business_id": 1153, "contact_last_time": null, "owner_user_id": 291, "process_instance_id": null, "audit_status": 20, "order_date": "2026-09-21 00:00:00", "start_time": null, "end_time": null, "total_product_price": "23999.990000", "discount_percent": "0.000000", "total_price": "23999.990000", "deposit_price": "0.000000", "order_id": 1041, "order_no": "26000110", "sign_contact_id": null, "sign_user_id": null, "remark": "未回款;(广州北纬纯净食品有限公司)开专票一张,票号26632000000224670586", "creator": "291", "create_time": "2026-09-21 00:00:00", "updater": "291", "update_time": "2026-10-14 15:56:04", "deleted": 0 } ], "count": 22 }, "mes_pro_mps": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "code", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "MPS 编码" }, { "Field": "status", "Type": "tinyint", "Collation": null, "Null": "NO", "Key": "MUL", "Default": "0", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "状态(0=草稿 1=已下发 2=已完成 3=已取消)" }, { "Field": "sale_order_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "销售订单ID" }, { "Field": "sale_order_no", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "销售订单号" }, { "Field": "sale_order_item_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "MUL", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "销售订单明细ID" }, { "Field": "product_id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "MUL", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品编号" }, { "Field": "quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "计划生产数量" }, { "Field": "quantity_produced", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": "0.000000", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "已生产数量" }, { "Field": "unit_measure_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "计量单位ID" }, { "Field": "client_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "客户编号" }, { "Field": "request_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "需求日期" }, { "Field": "issue_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "下发日期" }, { "Field": "finish_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "完成日期" }, { "Field": "work_order_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产工单ID" }, { "Field": "work_order_code", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产工单编码" }, { "Field": "merge_flag", "Type": "tinyint", "Collation": null, "Null": "YES", "Key": "", "Default": "0", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否合并下发(0=否 1=是)" }, { "Field": "merge_batch_no", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "MUL", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合并批次号" }, { "Field": "remark", "Type": "varchar(500)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "更新时间" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" }, { "Field": "tenant_id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "", "Default": "0", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "租户编号" } ], "rows": [ { "id": 3489, "code": "MPS20260925-CL-0056", "status": 2, "sale_order_id": null, "sale_order_no": null, "sale_order_item_id": null, "product_id": 1119, "quantity": "100.000000", "quantity_produced": "100.000000", "unit_measure_id": 9, "client_id": null, "request_date": "2026-09-27 08:00:00", "issue_date": "2026-09-25 15:57:21", "finish_date": "2026-09-27 14:05:00", "work_order_id": 85, "work_order_code": "WO_20260927001", "merge_flag": 0, "merge_batch_no": null, "remark": "2026年9月产量计划(西北精致礼盒)", "creator": "1", "create_time": "2026-09-25 15:53:57", "updater": "1", "update_time": "2026-09-25 15:58:00", "deleted": "b'\\x00'", "tenant_id": 0 }, { "id": 3488, "code": "MPS20260923-CL-0055", "status": 2, "sale_order_id": null, "sale_order_no": null, "sale_order_item_id": null, "product_id": 1120, "quantity": "100.000000", "quantity_produced": "100.000000", "unit_measure_id": 9, "client_id": null, "request_date": "2026-09-26 08:00:00", "issue_date": "2026-09-23 17:44:52", "finish_date": "2026-09-26 14:13:00", "work_order_id": 84, "work_order_code": "WO_20260926002", "merge_flag": 0, "merge_batch_no": null, "remark": "2026年9月产量计划(藜麦大礼包)", "creator": "1", "create_time": "2026-09-23 17:41:29", "updater": "1", "update_time": "2026-09-23 17:45:30", "deleted": "b'\\x00'", "tenant_id": 0 }, { "id": 3487, "code": "MPS20260924-CL-0054", "status": 2, "sale_order_id": null, "sale_order_no": null, "sale_order_item_id": null, "product_id": 1122, "quantity": "100.000000", "quantity_produced": "100.000000", "unit_measure_id": 9, "client_id": null, "request_date": "2026-09-26 08:00:00", "issue_date": "2026-09-24 10:31:23", "finish_date": "2026-09-26 16:37:00", "work_order_id": 83, "work_order_code": "WO_20260926001", "merge_flag": 0, "merge_batch_no": null, "remark": "2026年9月产量计划(冻干礼盒-200克)", "creator": "1", "create_time": "2026-09-24 10:28:01", "updater": "1", "update_time": "2026-09-24 10:32:00", "deleted": "b'\\x00'", "tenant_id": 0 }, { "id": 3486, "code": "MPS20260924-CL-0053", "status": 2, "sale_order_id": null, "sale_order_no": null, "sale_order_item_id": null, "product_id": 1533, "quantity": "30000.000000", "quantity_produced": "30000.000000", "unit_measure_id": 9, "client_id": null, "request_date": "2026-09-25 08:00:00", "issue_date": "2026-09-24 12:18:54", "finish_date": "2026-09-25 17:08:00", "work_order_id": 82, "work_order_code": "WO_20260925002", "merge_flag": 0, "merge_batch_no": null, "remark": "2026年9月产量计划(锁鲜冬虫夏草-1克(40))", "creator": "1", "create_time": "2026-09-24 12:15:33", "updater": "1", "update_time": "2026-09-24 12:19:30", "deleted": "b'\\x00'", "tenant_id": 0 } ], "count": 56 }, "mes_pro_feedback": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "报工单编号" }, { "Field": "type", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "报工类型" }, { "Field": "channel", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "报工途径" }, { "Field": "feedback_time", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "报工时间" }, { "Field": "workstation_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工作站编号" }, { "Field": "route_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工艺路线编号" }, { "Field": "process_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工序编号" }, { "Field": "work_order_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "MUL", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产工单编号" }, { "Field": "task_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "MUL", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产任务编号" }, { "Field": "item_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品物料编号" }, { "Field": "expire_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "过期日期" }, { "Field": "lot_number", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产批号" }, { "Field": "scheduled_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "排产数量" }, { "Field": "feedback_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "本次报工数量" }, { "Field": "qualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合格品数量" }, { "Field": "unqualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "不良品数量" }, { "Field": "uncheck_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "待检测数量" }, { "Field": "labor_scrap_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工废数量" }, { "Field": "material_scrap_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "料废数量" }, { "Field": "other_scrap_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "其他废品数量" }, { "Field": "feedback_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "报工用户编号" }, { "Field": "approve_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "审核用户编号" }, { "Field": "status", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "状态" }, { "Field": "remark", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "更新时间" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" }, { "Field": "process_instance_id", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "BPM 流程实例编号" }, { "Field": "process_definition_key", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "BPM 流程定义 Key" } ], "rows": [ { "id": 827, "code": "FB_20260927006", "type": 1, "channel": null, "feedback_time": "2026-09-27 14:05:39", "workstation_id": 13, "route_id": 57, "process_id": 13, "work_order_id": 85, "task_id": 940, "item_id": 1119, "expire_date": null, "lot_number": null, "scheduled_quantity": "100.000000", "feedback_quantity": "100.000000", "qualified_quantity": "100.000000", "unqualified_quantity": "0.000000", "uncheck_quantity": "0.000000", "labor_scrap_quantity": null, "material_scrap_quantity": null, "other_scrap_quantity": null, "feedback_user_id": 273, "approve_user_id": 246, "status": 4, "remark": null, "creator": "273", "create_time": "2026-09-27 14:06:18", "updater": "273", "update_time": "2026-09-27 14:06:18", "deleted": "b'\\x00'", "process_instance_id": null, "process_definition_key": null }, { "id": 826, "code": "FB_20260927005", "type": 1, "channel": null, "feedback_time": "2026-09-27 13:42:06", "workstation_id": 12, "route_id": 57, "process_id": 12, "work_order_id": 85, "task_id": 939, "item_id": 1119, "expire_date": null, "lot_number": null, "scheduled_quantity": "100.000000", "feedback_quantity": "100.000000", "qualified_quantity": "100.000000", "unqualified_quantity": "0.000000", "uncheck_quantity": "0.000000", "labor_scrap_quantity": null, "material_scrap_quantity": null, "other_scrap_quantity": null, "feedback_user_id": 273, "approve_user_id": 246, "status": 4, "remark": null, "creator": "273", "create_time": "2026-09-27 13:42:12", "updater": "273", "update_time": "2026-09-27 13:42:12", "deleted": "b'\\x00'", "process_instance_id": null, "process_definition_key": null }, { "id": 825, "code": "FB_20260927004", "type": 1, "channel": null, "feedback_time": "2026-09-27 12:34:12", "workstation_id": 11, "route_id": 57, "process_id": 11, "work_order_id": 85, "task_id": 938, "item_id": 1119, "expire_date": null, "lot_number": null, "scheduled_quantity": "100.000000", "feedback_quantity": "100.000000", "qualified_quantity": "100.000000", "unqualified_quantity": "0.000000", "uncheck_quantity": "0.000000", "labor_scrap_quantity": null, "material_scrap_quantity": null, "other_scrap_quantity": null, "feedback_user_id": 273, "approve_user_id": 246, "status": 4, "remark": null, "creator": "273", "create_time": "2026-09-27 12:34:24", "updater": "273", "update_time": "2026-09-27 12:34:24", "deleted": "b'\\x00'", "process_instance_id": null, "process_definition_key": null }, { "id": 824, "code": "FB_20260927003", "type": 1, "channel": null, "feedback_time": "2026-09-27 11:26:43", "workstation_id": 10, "route_id": 57, "process_id": 10, "work_order_id": 85, "task_id": 937, "item_id": 1119, "expire_date": null, "lot_number": null, "scheduled_quantity": "100.000000", "feedback_quantity": "100.000000", "qualified_quantity": "100.000000", "unqualified_quantity": "0.000000", "uncheck_quantity": "0.000000", "labor_scrap_quantity": null, "material_scrap_quantity": null, "other_scrap_quantity": null, "feedback_user_id": 273, "approve_user_id": 246, "status": 4, "remark": null, "creator": "273", "create_time": "2026-09-27 11:27:26", "updater": "273", "update_time": "2026-09-27 11:27:26", "deleted": "b'\\x00'", "process_instance_id": null, "process_definition_key": null } ], "count": 578 }, "mes_qc_iqc": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验单编号" }, { "Field": "name", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验单名称" }, { "Field": "template_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验模板编号" }, { "Field": "source_doc_type", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据类型" }, { "Field": "source_doc_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据编号" }, { "Field": "source_line_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据行编号" }, { "Field": "source_doc_code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据编号" }, { "Field": "vendor_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "供应商编号" }, { "Field": "vendor_name", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "供应商名称(手填)" }, { "Field": "vendor_batch", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "供应商批次号" }, { "Field": "item_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品物料编号" }, { "Field": "received_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "本次接收数量" }, { "Field": "check_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "本次检测数量" }, { "Field": "qualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合格品数量" }, { "Field": "unqualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "不合格品数量" }, { "Field": "critical_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "致命缺陷率" }, { "Field": "major_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "严重缺陷率" }, { "Field": "minor_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "轻微缺陷率" }, { "Field": "critical_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "致命缺陷数量" }, { "Field": "major_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "严重缺陷数量" }, { "Field": "minor_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "轻微缺陷数量" }, { "Field": "check_result", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测结果" }, { "Field": "receive_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来料日期" }, { "Field": "inspect_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测日期" }, { "Field": "inspector_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测人员用户编号" }, { "Field": "status", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "状态" }, { "Field": "sampling_location", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "采样地点" }, { "Field": "certificate_no", "Type": "varchar(50)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "证书编号/合格证号" }, { "Field": "execute_standard", "Type": "varchar(50)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "执行标准" }, { "Field": "audit_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "复核人用户编号" }, { "Field": "approve_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "审核人用户编号" }, { "Field": "remark", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "更新时间" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" } ], "rows": [ { "id": 46, "code": "IQC_20261014003", "name": "白燕丝A2来料检验", "template_id": 12, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "vendor_id": null, "vendor_name": "北京同仁堂健康药业股份有限公司食品分公司", "vendor_batch": "Y20260925002", "item_id": 938, "received_quantity": "25.000000", "check_quantity": "25.000000", "qualified_quantity": "25.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "receive_date": "2026-10-10 00:00:00", "inspect_date": "2026-10-10 00:00:00", "inspector_user_id": 290, "status": 0, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": null, "creator": "290", "create_time": "2026-10-14 18:13:33", "updater": "290", "update_time": "2026-10-14 18:13:33", "deleted": "b'\\x00'" }, { "id": 45, "code": "Y202610001", "name": "白燕丝来料检验", "template_id": 12, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "vendor_id": null, "vendor_name": "北京同仁堂健康药业股份有限公司食品分公司", "vendor_batch": "Y20260925001", "item_id": 938, "received_quantity": "22.560000", "check_quantity": "22.560000", "qualified_quantity": "22.560000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "receive_date": "2026-09-28 00:00:00", "inspect_date": "2026-09-28 00:00:00", "inspector_user_id": 290, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": null, "creator": "290", "create_time": "2026-10-14 15:22:21", "updater": "290", "update_time": "2026-10-14 17:56:25", "deleted": "b'\\x00'" }, { "id": 43, "code": "Y202609036", "name": "银耳来料检验", "template_id": 32, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "vendor_id": null, "vendor_name": "宁德晟农农业开发有限公司", "vendor_batch": "Y2024041501", "item_id": 916, "received_quantity": "40.000000", "check_quantity": "40.000000", "qualified_quantity": "40.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "receive_date": "2026-09-20 00:00:00", "inspect_date": "2026-09-20 00:00:00", "inspector_user_id": 290, "status": 0, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": "复检", "creator": "290", "create_time": "2026-10-14 15:10:29", "updater": "290", "update_time": "2026-10-14 17:51:41", "deleted": "b'\\x00'" }, { "id": 42, "code": "Y202609035", "name": "鱼胶来料检验", "template_id": 41, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "vendor_id": null, "vendor_name": "广东泰升药业有限公司", "vendor_batch": "Y20240110001", "item_id": 923, "received_quantity": "275.000000", "check_quantity": "275.000000", "qualified_quantity": "275.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "receive_date": "2026-09-20 00:00:00", "inspect_date": "2026-09-21 00:00:00", "inspector_user_id": 290, "status": 0, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": "复检", "creator": "290", "create_time": "2026-10-14 15:04:36", "updater": "290", "update_time": "2026-10-14 15:15:01", "deleted": "b'\\x00'" } ], "count": 39 }, "mes_qc_ipqc": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验单编号" }, { "Field": "name", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验单名称" }, { "Field": "type", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "IPQC 检验类型" }, { "Field": "template_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验模板编号" }, { "Field": "source_doc_type", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据类型" }, { "Field": "source_doc_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据编号" }, { "Field": "source_line_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据行编号" }, { "Field": "source_doc_code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据编号" }, { "Field": "work_order_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产工单编号" }, { "Field": "task_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产任务编号" }, { "Field": "workstation_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工位编号" }, { "Field": "process_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工序编号" }, { "Field": "item_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品物料编号" }, { "Field": "check_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测数量" }, { "Field": "qualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合格品数量" }, { "Field": "unqualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "不合格品数量" }, { "Field": "labor_scrap_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工废数量" }, { "Field": "material_scrap_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "料废数量" }, { "Field": "other_scrap_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "其他废品数量" }, { "Field": "critical_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "致命缺陷率" }, { "Field": "major_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "严重缺陷率" }, { "Field": "minor_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "轻微缺陷率" }, { "Field": "critical_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "致命缺陷数量" }, { "Field": "major_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "严重缺陷数量" }, { "Field": "minor_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "轻微缺陷数量" }, { "Field": "check_result", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测结果" }, { "Field": "inspect_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测日期" }, { "Field": "inspector_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测人员用户编号" }, { "Field": "status", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "状态" }, { "Field": "sampling_location", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "采样地点" }, { "Field": "certificate_no", "Type": "varchar(50)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "证书编号/合格证号" }, { "Field": "execute_standard", "Type": "varchar(50)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "执行标准" }, { "Field": "audit_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "复核人用户编号" }, { "Field": "approve_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "审核人用户编号" }, { "Field": "remark", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "更新时间" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" } ], "rows": [ { "id": 126, "code": "IPQC_20260912004", "name": "黑果枸杞-成品入库过程检验", "type": 5, "template_id": 1, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "work_order_id": 55, "task_id": 696, "workstation_id": 13, "process_id": 13, "item_id": 1544, "check_quantity": "5037.000000", "qualified_quantity": "5037.000000", "unqualified_quantity": "0.000000", "labor_scrap_quantity": "0.000000", "material_scrap_quantity": "0.000000", "other_scrap_quantity": "0.000000", "critical_rate": "0.000000", "major_rate": "0.000000", "minor_rate": "0.000000", "critical_quantity": 0, "major_quantity": 0, "minor_quantity": 0, "check_result": 1, "inspect_date": "2026-09-12 21:41:00", "inspector_user_id": 289, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": "工单 WO_20260912002 · 成品入库(末道工序)· 质检方案 1", "creator": "289", "create_time": "2026-09-12 21:06:00", "updater": "289", "update_time": "2026-09-12 21:41:00", "deleted": "b'\\x00'" }, { "id": 125, "code": "IPQC_20260912003", "name": "黑果枸杞-外包装过程检验", "type": 2, "template_id": 1, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "work_order_id": 55, "task_id": 694, "workstation_id": 11, "process_id": 11, "item_id": 1544, "check_quantity": "30.000000", "qualified_quantity": "30.000000", "unqualified_quantity": "0.000000", "labor_scrap_quantity": "0.000000", "material_scrap_quantity": "0.000000", "other_scrap_quantity": "0.000000", "critical_rate": "0.000000", "major_rate": "0.000000", "minor_rate": "0.000000", "critical_quantity": 0, "major_quantity": 0, "minor_quantity": 0, "check_result": 1, "inspect_date": "2026-09-12 19:38:00", "inspector_user_id": 289, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": "工单 WO_20260912002 · 外包装(关键工序)· 质检方案 1", "creator": "289", "create_time": "2026-09-12 19:20:00", "updater": "289", "update_time": "2026-09-12 19:38:00", "deleted": "b'\\x00'" }, { "id": 124, "code": "IPQC_20260912002", "name": "枸杞原浆罐头-成品入库过程检验", "type": 5, "template_id": 14, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "work_order_id": 52, "task_id": 661, "workstation_id": 13, "process_id": 13, "item_id": 1508, "check_quantity": "4000.000000", "qualified_quantity": "4000.000000", "unqualified_quantity": "0.000000", "labor_scrap_quantity": "0.000000", "material_scrap_quantity": "0.000000", "other_scrap_quantity": "0.000000", "critical_rate": "0.000000", "major_rate": "0.000000", "minor_rate": "0.000000", "critical_quantity": 0, "major_quantity": 0, "minor_quantity": 0, "check_result": 1, "inspect_date": "2026-09-12 03:47:00", "inspector_user_id": 289, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": "工单 WO_20260911001 · 成品入库(末道工序)· 质检方案 14", "creator": "289", "create_time": "2026-09-12 03:06:00", "updater": "289", "update_time": "2026-09-12 03:47:00", "deleted": "b'\\x00'" }, { "id": 123, "code": "IPQC_20260912001", "name": "枸杞原浆罐头-外包装过程检验", "type": 2, "template_id": 14, "source_doc_type": null, "source_doc_id": null, "source_line_id": null, "source_doc_code": null, "work_order_id": 52, "task_id": 659, "workstation_id": 11, "process_id": 11, "item_id": 1508, "check_quantity": "30.000000", "qualified_quantity": "30.000000", "unqualified_quantity": "0.000000", "labor_scrap_quantity": "0.000000", "material_scrap_quantity": "0.000000", "other_scrap_quantity": "0.000000", "critical_rate": "0.000000", "major_rate": "0.000000", "minor_rate": "0.000000", "critical_quantity": 0, "major_quantity": 0, "minor_quantity": 0, "check_result": 1, "inspect_date": "2026-09-12 01:59:00", "inspector_user_id": 289, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": "工单 WO_20260911001 · 外包装(关键工序)· 质检方案 14", "creator": "289", "create_time": "2026-09-12 01:22:00", "updater": "289", "update_time": "2026-09-12 01:59:00", "deleted": "b'\\x00'" } ], "count": 26 }, "mes_qc_oqc": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验单编号" }, { "Field": "name", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验单名称" }, { "Field": "template_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检验模板编号" }, { "Field": "source_doc_type", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据类型" }, { "Field": "source_doc_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据编号" }, { "Field": "source_line_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据行编号" }, { "Field": "source_doc_code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "来源单据编号" }, { "Field": "client_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "客户编号" }, { "Field": "batch_code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "批次号" }, { "Field": "item_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品物料编号" }, { "Field": "min_check_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "最低检测数" }, { "Field": "max_unqualified_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "最大不合格数" }, { "Field": "out_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "本次出货数量" }, { "Field": "check_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "本次检测数量" }, { "Field": "qualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "合格品数量" }, { "Field": "unqualified_quantity", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "不合格品数量" }, { "Field": "critical_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "致命缺陷率" }, { "Field": "major_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "严重缺陷率" }, { "Field": "minor_rate", "Type": "decimal(24,6)", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "轻微缺陷率" }, { "Field": "critical_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "致命缺陷数量" }, { "Field": "major_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "严重缺陷数量" }, { "Field": "minor_quantity", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "轻微缺陷数量" }, { "Field": "check_result", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测结果" }, { "Field": "out_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "出货日期" }, { "Field": "inspect_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测日期" }, { "Field": "inspector_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "检测人员用户编号" }, { "Field": "status", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "状态" }, { "Field": "sampling_location", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "采样地点" }, { "Field": "certificate_no", "Type": "varchar(50)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "证书编号/合格证号" }, { "Field": "execute_standard", "Type": "varchar(50)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "执行标准" }, { "Field": "audit_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "复核人用户编号" }, { "Field": "approve_user_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "审核人用户编号" }, { "Field": "remark", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "更新时间" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" } ], "rows": [ { "id": 297, "code": "OQC-CHAIN-75", "name": "XSCK-202609-26000114-出货检验", "template_id": 136, "source_doc_type": 119, "source_doc_id": 23, "source_line_id": 75, "source_doc_code": "XSCK-202609-26000114", "client_id": 1611, "batch_code": "INIT202609-74000484", "item_id": 1118, "min_check_quantity": null, "max_unqualified_quantity": null, "out_quantity": "5.000000", "check_quantity": "5.000000", "qualified_quantity": "5.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "out_date": "2026-09-28 14:37:53", "inspect_date": null, "inspector_user_id": null, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": null, "creator": "admin", "create_time": "2026-10-14 16:07:12", "updater": "admin", "update_time": "2026-10-14 16:51:06", "deleted": "b'\\x00'" }, { "id": 296, "code": "OQC-CHAIN-74", "name": "XSCK-202609-26000114-出货检验", "template_id": 136, "source_doc_type": 119, "source_doc_id": 23, "source_line_id": 74, "source_doc_code": "XSCK-202609-26000114", "client_id": 1611, "batch_code": "INIT202609-Q2100086", "item_id": 509, "min_check_quantity": null, "max_unqualified_quantity": null, "out_quantity": "11.000000", "check_quantity": "11.000000", "qualified_quantity": "11.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "out_date": "2026-09-28 14:37:53", "inspect_date": null, "inspector_user_id": null, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": null, "creator": "admin", "create_time": "2026-10-14 16:07:12", "updater": "admin", "update_time": "2026-10-14 16:51:06", "deleted": "b'\\x00'" }, { "id": 295, "code": "OQC-CHAIN-73", "name": "XSCK-202609-26000114-出货检验", "template_id": 14, "source_doc_type": 119, "source_doc_id": 23, "source_line_id": 73, "source_doc_code": "XSCK-202609-26000114", "client_id": 1611, "batch_code": "INIT202609-Q2100080", "item_id": 497, "min_check_quantity": null, "max_unqualified_quantity": null, "out_quantity": "21.000000", "check_quantity": "21.000000", "qualified_quantity": "21.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "out_date": "2026-09-28 14:37:53", "inspect_date": null, "inspector_user_id": null, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": null, "creator": "admin", "create_time": "2026-10-14 16:07:12", "updater": "admin", "update_time": "2026-10-14 16:51:06", "deleted": "b'\\x00'" }, { "id": 294, "code": "OQC-CHAIN-72", "name": "XSCK-202609-26000114-出货检验", "template_id": 136, "source_doc_type": 119, "source_doc_id": 23, "source_line_id": 72, "source_doc_code": "XSCK-202609-26000114", "client_id": 1611, "batch_code": "INIT202609-74001374", "item_id": 1153, "min_check_quantity": null, "max_unqualified_quantity": null, "out_quantity": "3.000000", "check_quantity": "3.000000", "qualified_quantity": "3.000000", "unqualified_quantity": "0.000000", "critical_rate": null, "major_rate": null, "minor_rate": null, "critical_quantity": null, "major_quantity": null, "minor_quantity": null, "check_result": 1, "out_date": "2026-09-28 14:37:53", "inspect_date": null, "inspector_user_id": null, "status": 4, "sampling_location": null, "certificate_no": null, "execute_standard": null, "audit_user_id": null, "approve_user_id": null, "remark": null, "creator": "admin", "create_time": "2026-10-14 16:07:12", "updater": "admin", "update_time": "2026-10-14 16:51:06", "deleted": "b'\\x00'" } ], "count": 126 }, "mes_wm_product_produce": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "编号" }, { "Field": "code", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "单号" }, { "Field": "name", "Type": "varchar(100)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "名称" }, { "Field": "work_order_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "生产工单 ID" }, { "Field": "feedback_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "报工记录 ID" }, { "Field": "produce_date", "Type": "datetime", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "入库日期" }, { "Field": "status", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "状态" }, { "Field": "remark", "Type": "varchar(255)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "备注" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "创建者" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "创建时间" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_unicode_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "更新者" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "更新时间" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "是否删除" }, { "Field": "workstation_id", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "process_id", "Type": "bigint", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "工序 ID" }, { "Field": "task_id", "Type": "int", "Collation": null, "Null": "YES", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" } ], "rows": [ { "id": 56, "code": "RKD202609270001", "name": "生产入库-西北精致礼盒", "work_order_id": 85, "feedback_id": 827, "produce_date": "2026-09-27 14:06:50", "status": 4, "remark": null, "creator": "1", "create_time": "2026-09-27 14:06:50", "updater": "1", "update_time": "2026-09-27 14:06:50", "deleted": "b'\\x00'", "workstation_id": 13, "process_id": 13, "task_id": 940 }, { "id": 55, "code": "RKD202609260002", "name": "生产入库-藜麦大礼包", "work_order_id": 84, "feedback_id": 821, "produce_date": "2026-09-26 14:14:46", "status": 4, "remark": null, "creator": "1", "create_time": "2026-09-26 14:14:46", "updater": "1", "update_time": "2026-09-26 14:14:46", "deleted": "b'\\x00'", "workstation_id": 13, "process_id": 13, "task_id": 934 }, { "id": 54, "code": "RKD202609260001", "name": "生产入库-冻干礼盒-200克", "work_order_id": 83, "feedback_id": 815, "produce_date": "2026-09-26 16:38:09", "status": 4, "remark": null, "creator": "1", "create_time": "2026-09-26 16:38:09", "updater": "1", "update_time": "2026-09-26 16:38:09", "deleted": "b'\\x00'", "workstation_id": 13, "process_id": 13, "task_id": 928 }, { "id": 53, "code": "RKD202609250002", "name": "生产入库-锁鲜冬虫夏草-1克(40)", "work_order_id": 82, "feedback_id": 807, "produce_date": "2026-09-25 17:09:14", "status": 4, "remark": null, "creator": "1", "create_time": "2026-09-25 17:09:14", "updater": "1", "update_time": "2026-09-25 17:09:14", "deleted": "b'\\x00'", "workstation_id": 32, "process_id": 32, "task_id": 920 } ], "count": 56 }, "mes_energy_record": { "columns": [ { "Field": "id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "PRI", "Default": null, "Extra": "auto_increment", "Privileges": "select,insert,update,references", "Comment": "记录编号" }, { "Field": "record_date", "Type": "date", "Collation": null, "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "统计日期" }, { "Field": "energy_type", "Type": "varchar(20)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "WATER水/ELECTRICITY电/STEAM蒸汽" }, { "Field": "usage_area", "Type": "varchar(100)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "使用区域(手工填写)" }, { "Field": "product_category", "Type": "varchar(50)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "产品类别(本模块)" }, { "Field": "usage_purpose", "Type": "varchar(100)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "用途/工序(手工填写)" }, { "Field": "quantity", "Type": "decimal(18,3)", "Collation": null, "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "用量,水m³/电kWh/蒸汽t" }, { "Field": "unit_price", "Type": "decimal(12,4)", "Collation": null, "Null": "NO", "Key": "", "Default": "0.0000", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "元/能源单位" }, { "Field": "amount", "Type": "decimal(26,2)", "Collation": null, "Null": "NO", "Key": "", "Default": "0.00", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "费用=用量*单价,四舍五入到分" }, { "Field": "recorder", "Type": "varchar(50)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": null, "Extra": "", "Privileges": "select,insert,update,references", "Comment": "录入人姓名(手工填写)" }, { "Field": "remark", "Type": "varchar(500)", "Collation": "utf8mb4_0900_ai_ci", "Null": "NO", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "creator", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "create_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "updater", "Type": "varchar(64)", "Collation": "utf8mb4_0900_ai_ci", "Null": "YES", "Key": "", "Default": "", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "update_time", "Type": "datetime", "Collation": null, "Null": "NO", "Key": "", "Default": "CURRENT_TIMESTAMP", "Extra": "DEFAULT_GENERATED on update CURRENT_TIMESTAMP", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "deleted", "Type": "bit(1)", "Collation": null, "Null": "NO", "Key": "", "Default": "b'0'", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" }, { "Field": "tenant_id", "Type": "bigint", "Collation": null, "Null": "NO", "Key": "MUL", "Default": "0", "Extra": "", "Privileges": "select,insert,update,references", "Comment": "" } ], "rows": [ { "id": 1862, "record_date": "2026-09-30", "energy_type": "ELECTRICITY", "usage_area": "办公生活区", "product_category": "公用能耗", "usage_purpose": "日常用能", "quantity": "339.300", "unit_price": "0.8300", "amount": "281.62", "recorder": "赵磊", "remark": "月末盘点抄表", "creator": "243", "create_time": "2026-10-01 08:42:16", "updater": "243", "update_time": "2026-10-01 08:42:16", "deleted": "b'\\x00'", "tenant_id": 0 }, { "id": 1861, "record_date": "2026-09-30", "energy_type": "WATER", "usage_area": "办公生活区", "product_category": "公用能耗", "usage_purpose": "日常用能", "quantity": "10.800", "unit_price": "5.2000", "amount": "56.16", "recorder": "赵磊", "remark": "月末盘点抄表", "creator": "243", "create_time": "2026-10-01 08:06:51", "updater": "243", "update_time": "2026-10-01 08:06:51", "deleted": "b'\\x00'", "tenant_id": 0 }, { "id": 1860, "record_date": "2026-09-30", "energy_type": "ELECTRICITY", "usage_area": "仓储区", "product_category": "公用能耗", "usage_purpose": "制冷", "quantity": "291.800", "unit_price": "0.8300", "amount": "242.19", "recorder": "赵磊", "remark": "月末盘点抄表", "creator": "243", "create_time": "2026-10-01 08:03:56", "updater": "243", "update_time": "2026-10-01 08:03:56", "deleted": "b'\\x00'", "tenant_id": 0 }, { "id": 1859, "record_date": "2026-09-30", "energy_type": "WATER", "usage_area": "仓储区", "product_category": "公用能耗", "usage_purpose": "日常用能", "quantity": "1.800", "unit_price": "5.2000", "amount": "9.36", "recorder": "赵磊", "remark": "月末盘点抄表", "creator": "243", "create_time": "2026-10-01 08:19:22", "updater": "243", "update_time": "2026-10-01 08:19:22", "deleted": "b'\\x00'", "tenant_id": 0 } ], "count": 605 }, "users": [ { "id": 1, "username": "admin", "nickname": "超级管理员", "dept_id": 100 }, { "id": 243, "username": "zhaolei", "nickname": "赵磊", "dept_id": 125 }, { "id": 244, "username": "liwanjuan", "nickname": "李万娟", "dept_id": 126 }, { "id": 245, "username": "jukeping", "nickname": "巨克萍", "dept_id": 126 }, { "id": 246, "username": "malijuan", "nickname": "马莉娟", "dept_id": 126 }, { "id": 247, "username": "liuzhen", "nickname": "刘震", "dept_id": 126 }, { "id": 248, "username": "weihaiping", "nickname": "魏海苹", "dept_id": 126 }, { "id": 249, "username": "xuhaiying", "nickname": "许海英", "dept_id": 126 }, { "id": 250, "username": "weishanliang", "nickname": "魏山良", "dept_id": 126 }, { "id": 251, "username": "chenhuihui", "nickname": "陈慧慧", "dept_id": 126 }, { "id": 252, "username": "yuquanzhu", "nickname": "余圈珠", "dept_id": 126 }, { "id": 253, "username": "lvfenmei", "nickname": "吕芬梅", "dept_id": 126 }, { "id": 254, "username": "feiyangkuai", "nickname": "飞羊快", "dept_id": 126 }, { "id": 255, "username": "zhanghailian", "nickname": "张海莲", "dept_id": 126 }, { "id": 256, "username": "yanzhenhui", "nickname": "颜振辉", "dept_id": 126 }, { "id": 257, "username": "mameixiang", "nickname": "马梅香", "dept_id": 126 }, { "id": 258, "username": "wangshoulan", "nickname": "汪守兰", "dept_id": 126 }, { "id": 259, "username": "duyanan", "nickname": "杜亚楠", "dept_id": 126 }, { "id": 260, "username": "chenxia", "nickname": "陈霞", "dept_id": 126 }, { "id": 261, "username": "liqikui", "nickname": "李启奎", "dept_id": 126 }, { "id": 262, "username": "wangyanfu", "nickname": "王彦福", "dept_id": 126 }, { "id": 263, "username": "tuofatumo", "nickname": "妥发土莫", "dept_id": 126 }, { "id": 264, "username": "zhangguilian", "nickname": "张贵连", "dept_id": 126 }, { "id": 265, "username": "zhanghuiping", "nickname": "张慧萍", "dept_id": 126 }, { "id": 266, "username": "yanshanghong", "nickname": "严尚红", "dept_id": 126 }, { "id": 267, "username": "liangxiugui", "nickname": "梁秀桂", "dept_id": 126 }, { "id": 268, "username": "sangjiequzhen", "nickname": "桑杰曲珍", "dept_id": 126 }, { "id": 269, "username": "zhanggamei", "nickname": "张尕梅", "dept_id": 126 }, { "id": 270, "username": "xiaoyugui", "nickname": "肖玉贵", "dept_id": 126 }, { "id": 271, "username": "lixiaolong", "nickname": "李小龙", "dept_id": 126 }, { "id": 272, "username": "laishunxiong", "nickname": "来顺兄", "dept_id": 126 }, { "id": 273, "username": "zhanghuiqing", "nickname": "张慧清", "dept_id": 126 }, { "id": 274, "username": "masuofeiya", "nickname": "马索非牙", "dept_id": 126 }, { "id": 275, "username": "yandafang", "nickname": "严大芳", "dept_id": 126 }, { "id": 276, "username": "shiguopeng", "nickname": "史国鹏", "dept_id": 126 }, { "id": 277, "username": "jinyongxiu", "nickname": "靳永秀", "dept_id": 126 }, { "id": 278, "username": "zhangyuxiu", "nickname": "张玉秀", "dept_id": 126 }, { "id": 279, "username": "zhangdehu", "nickname": "张得虎", "dept_id": 126 }, { "id": 280, "username": "yanrong", "nickname": "燕蓉", "dept_id": 126 }, { "id": 281, "username": "wangxiu", "nickname": "王秀", "dept_id": 126 }, { "id": 282, "username": "mingcunmei", "nickname": "明存梅", "dept_id": 126 }, { "id": 283, "username": "dongshengping", "nickname": "董生平", "dept_id": 126 }, { "id": 284, "username": "wuliping", "nickname": "武丽萍", "dept_id": 126 }, { "id": 285, "username": "shigaliu", "nickname": "石尕六", "dept_id": 126 }, { "id": 286, "username": "licunfen", "nickname": "李存芬", "dept_id": 126 }, { "id": 287, "username": "mafang", "nickname": "马芳", "dept_id": 126 }, { "id": 288, "username": "songyongfang", "nickname": "宋永芳", "dept_id": 126 }, { "id": 289, "username": "huashengjing", "nickname": "华生菁", "dept_id": 118 }, { "id": 290, "username": "luojun", "nickname": " 罗军", "dept_id": 118 }, { "id": 291, "username": "zhuli", "nickname": "朱莉", "dept_id": 121 } ], "departments": [ { "id": 100, "name": "北京同仁堂", "parent_id": 0 }, { "id": 118, "name": "质检部门", "parent_id": 100 }, { "id": 119, "name": "生产部", "parent_id": 100 }, { "id": 121, "name": "销售部", "parent_id": 100 }, { "id": 124, "name": "项目部", "parent_id": 100 }, { "id": 125, "name": "设备部", "parent_id": 100 }, { "id": 126, "name": "生产车间", "parent_id": 119 }, { "id": 128, "name": "质量管理部", "parent_id": 100 } ] }