START TRANSACTION; INSERT INTO `mes_qc_template` (`code`,`name`,`types`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-IQC','演示用来料外观数量核验','1',0,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (8,10,1,'演示外观、数量核验,不作为真实检验标准',281,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (9,20,1,'演示数量一致性核验,不作为真实检验标准',281,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,610,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,625,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,626,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,627,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,628,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,630,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,631,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,632,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,643,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,655,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,882,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,883,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (281,914,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template` (`code`,`name`,`types`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-IPQC','演示用燕窝过程检验(参考已有方案)','2',0,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1,0,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (57,20,1,'来源:SOP-QC-(YL)012-03 §2.1.2;',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (58,30,1,'来源:SOP-QC-(YL)012-03 §2.1.3;',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (2,50,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (13,60,1,'来源:SOP-QC-(YL)012-03 §3.1;GB5009.3;SOP-QC-(JF)001','7.000000',NULL,'7.000000',NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (3,70,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (60,100,1,'来源:SOP-QC-(YL)012-03 §正文;','39.500000',NULL,'48.000000','31.000000',NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (5,110,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (19,130,1,'来源:SOP-QC-(YL)012-03 §3.5;GB5009.11;SOP-QC-(JF)010','1.000000',NULL,'1.000000',NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (61,140,1,'来源:SOP-QC-(YL)012-03 §3.6;GB5009.33;SOP-QC-(JF)004','29.000000',NULL,'29.000000',NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (56,10,1,'来源:SOP-QC-(YL)012-03 §2.1.1;',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (48,40,1,'来源:SOP-QC-(YL)012-03 §2.1.4;',NULL,NULL,NULL,NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (29,80,1,'来源:SOP-QC-(YL)012-03 §3.2;GB5009.5;SOP-QC-(JF)002','10.000000',NULL,NULL,'10.000000',NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (59,90,1,'来源:SOP-QC-(YL)012-03 §3.3;GB31614.1—2023','50.000000',NULL,NULL,'50.000000',NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (18,120,1,'来源:SOP-QC-(YL)012-03 §3.4;GB5009.12;SOP-QC-(JF)009','0.500000',NULL,'0.500000',NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (62,150,1,'来源:SOP-QC-(YL)012-03 §3.7;GB5009.34;SOP-QC-(JF)008','30.000000',NULL,'30.000000',NULL,NULL,282,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (282,977,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (282,999,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template` (`code`,`name`,`types`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-OQC','演示用燕窝出货检验(参考已有方案)','3',0,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1,0,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (57,20,1,'来源:SOP-QC-(YL)012-03 §2.1.2;',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (58,30,1,'来源:SOP-QC-(YL)012-03 §2.1.3;',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (2,50,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (13,60,1,'来源:SOP-QC-(YL)012-03 §3.1;GB5009.3;SOP-QC-(JF)001','7.000000',NULL,'7.000000',NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (3,70,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (60,100,1,'来源:SOP-QC-(YL)012-03 §正文;','39.500000',NULL,'48.000000','31.000000',NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (5,110,0,'分组标题,不参与判定',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (19,130,1,'来源:SOP-QC-(YL)012-03 §3.5;GB5009.11;SOP-QC-(JF)010','1.000000',NULL,'1.000000',NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (61,140,1,'来源:SOP-QC-(YL)012-03 §3.6;GB5009.33;SOP-QC-(JF)004','29.000000',NULL,'29.000000',NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (56,10,1,'来源:SOP-QC-(YL)012-03 §2.1.1;',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (48,40,1,'来源:SOP-QC-(YL)012-03 §2.1.4;',NULL,NULL,NULL,NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (29,80,1,'来源:SOP-QC-(YL)012-03 §3.2;GB5009.5;SOP-QC-(JF)002','10.000000',NULL,NULL,'10.000000',NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (59,90,1,'来源:SOP-QC-(YL)012-03 §3.3;GB31614.1—2023','50.000000',NULL,NULL,'50.000000',NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (18,120,1,'来源:SOP-QC-(YL)012-03 §3.4;GB5009.12;SOP-QC-(JF)009','0.500000',NULL,'0.500000',NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_indicator` (`indicator_id`,`sort_order`,`judge_flag`,`check_method`,`standard_value`,`unit_measure_id`,`threshold_max`,`threshold_min`,`doc_url`,`template_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (62,150,1,'来源:SOP-QC-(YL)012-03 §3.7;GB5009.34;SOP-QC-(JF)008','30.000000',NULL,'30.000000',NULL,NULL,283,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (283,977,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_template_item` (`template_id`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (283,999,'289','289','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_business` (`name`,`customer_id`,`owner_user_id`,`follow_up_status`,`status_type_id`,`status_id`,`end_status`,`deal_time`,`total_product_price`,`discount_percent`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('演示-洞燕窝即食碗装燕窝-1008',1353,291,1,1,5,1,'2026-10-08 08:25:00',3990.00,0,4508.70,'291','291','2026-10-08 08:00:00','2026-10-08 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_business_product` (`business_id`,`item_id`,`item_unit_id`,`item_price`,`business_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1165,977,9,399.00,399.00,10,3990.00,'291','291','2026-10-08 08:00:00','2026-10-08 08:00:00',0); INSERT INTO `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('OCT0814-DEMO-1008-1-BJ','演示报价-洞燕窝即食碗装燕窝',1353,1165,291,10,'2026-10-08 08:10:00','2026-11-09 08:10:00',3990.00,0,0,4508.70,13,518.70,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 报价为演示价格,非现行报价政策;OCT0814-DEMO','291','291','2026-10-08 08:10:00','2026-10-08 08:10:00',0,0); INSERT INTO `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES (542,977,9,399.00,399.00,10,3990.00,13,518.70,'291','291','2026-10-08 08:10:00','2026-10-08 08:10:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`sign_user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-HT','演示合同-洞燕窝即食碗装燕窝',1353,1165,291,20,'2026-10-08 08:20:00','2026-10-08 08:20:00','2026-11-09 08:20:00',4508.70,4508.70,0,0,291,'291','291','2026-10-08 08:20:00','2026-10-08 08:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (542,977,9,450.87,450.87,10,4508.70,'291','291','2026-10-08 08:20:00','2026-10-08 08:20:00',0); INSERT INTO `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`production_finish_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-XS',20,1353,542,'OCT0814-DEMO-1008-1-HT',291,'2026-10-08 08:25:00',10,3990.00,518.70,4508.70,0,0,0,10,3,1,'2026-10-08 13:45:00','291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`out_count`,`need_production`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1055,977,9,399.00,10,3990.00,13,518.70,10,1,'291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `crm_contract` SET `order_id`=1055,`order_no`='OCT0814-DEMO-1008-1-XS',update_time=update_time WHERE id=542; UPDATE `crm_sale_quotation` SET `contract_id`=542,`contract_no`='OCT0814-DEMO-1008-1-HT',update_time=update_time WHERE id=542; UPDATE `crm_business` SET `order_id`=1055,`order_no`='OCT0814-DEMO-1008-1-XS',update_time=update_time WHERE id=1165; INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,1353,542,291,'2026-10-15 16:00:00',8,1352.61,3,'2026-10-12 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-08 08:22:00','2026-10-08 08:22:00',0); INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,1353,542,291,'2026-11-09 16:00:00',8,3156.09,3,'2026-11-06 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-08 08:22:00','2026-10-08 08:22:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1165,291,1,'291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (5,542,291,1,'291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (9,542,291,1,'291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,35,291,1,'291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,36,291,1,'291','291','2026-10-08 08:25:00','2026-10-08 08:25:00',0); INSERT INTO `crm_follow_up_record` (`biz_type`,`biz_id`,`type`,`content`,`next_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1165,1,'演示跟进:客户询价→报价确认→签约→转销售生产;OCT0814-DEMO','2026-10-09 16:00:00','291','291','2026-10-08 08:05:00','2026-10-08 08:05:00',0); INSERT INTO `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`auto_finish_flag`,`request_date`,`finish_date`,`status`,`is_feedback_approve`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-WO','演示生产-洞燕窝即食碗装燕窝',1,1,'OCT0814-DEMO-1008-1-XS',977,10,10,10,0,1353,55,1,'2026-10-08 13:30:00','2026-10-08 13:45:00',2,0,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES ('OCT0814-DEMO-1008-1-MPS',2,1055,'OCT0814-DEMO-1008-1-XS',4179,977,10,10,9,1353,'2026-10-08 13:30:00','2026-10-08 08:45:00','2026-10-08 13:45:00',94,'OCT0814-DEMO-1008-1-WO',0,'244','244','2026-10-08 08:35:00','2026-10-08 08:35:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `erp_sale_order_items` SET `mps_id`=3498,update_time=update_time WHERE id=4179; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,1,914,10.000000,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,10,882,10.000000,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,11,883,10.000000,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW1-DH','演示来料-85#洞燕窝(配料)-燕盏','2026-10-08 08:50:00',4,'244','244','2026-10-08 08:50:00','2026-10-08 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (33,914,10.000000,10.000000,1,1,'244','244','2026-10-08 08:50:00','2026-10-08 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW1-IQC','OCT0814-DEMO-1008-1-RAW1-IQC-演示检验',281,914,10.000000,10.000000,0,0,0,0,0,0,0,1,'2026-10-08 09:00:00',290,4,'演示样品,非真实质检记录',100,33,33,'OCT0814-DEMO-1008-1-RAW1-DH',10.000000,'2026-10-08 08:50:00','OCT0814-DEMO-1008-1-RAW1-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW1-IQC-R',79,1,914,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (79,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1269,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (79,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1269,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=79,update_time=update_time WHERE id=33; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW1-PC',914,'2026-10-08','2026-10-08',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW1-RK','演示来料入库-85#洞燕窝(配料)-燕盏',79,33,'2026-10-08 09:10:00',4,'244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,33,914,30,10.000000,10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC','2026-10-08','OCT0814-DEMO-RAW','244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (914,1174,'OCT0814-DEMO-1008-1-RAW1-PC',24,9,9,0,0,0,0,0,'2026-10-08 09:10:00','244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,96,'OCT0814-DEMO-1008-1-RAW1-RK',96,1214,NULL,914,10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC',24,9,9,'2026-10-08 09:10:00','2026-10-08 09:10:00','244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10.000000,update_time=update_time WHERE id=1214; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,96,1214,914,10.000000,1174,24,9,9,'244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW2-DH','演示来料-即食小罐洞燕窝12瓶外盒','2026-10-08 08:50:00',4,'244','244','2026-10-08 08:50:00','2026-10-08 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (34,882,10.000000,10.000000,1,1,'244','244','2026-10-08 08:50:00','2026-10-08 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW2-IQC','OCT0814-DEMO-1008-1-RAW2-IQC-演示检验',281,882,10.000000,10.000000,0,0,0,0,0,0,0,1,'2026-10-08 09:00:00',290,4,'演示样品,非真实质检记录',100,34,34,'OCT0814-DEMO-1008-1-RAW2-DH',10.000000,'2026-10-08 08:50:00','OCT0814-DEMO-1008-1-RAW2-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW2-IQC-R',80,1,882,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (80,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1270,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (80,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1270,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=80,update_time=update_time WHERE id=34; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW2-PC',882,'2026-10-08','2026-10-08',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW2-RK','演示来料入库-即食小罐洞燕窝12瓶外盒',80,34,'2026-10-08 09:10:00',4,'244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,34,882,24,10.000000,10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC','2026-10-08','OCT0814-DEMO-RAW','244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (882,1175,'OCT0814-DEMO-1008-1-RAW2-PC',22,7,7,0,0,0,0,0,'2026-10-08 09:10:00','244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,97,'OCT0814-DEMO-1008-1-RAW2-RK',97,1215,NULL,882,10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC',22,7,7,'2026-10-08 09:10:00','2026-10-08 09:10:00','244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10.000000,update_time=update_time WHERE id=1215; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,97,1215,882,10.000000,1175,22,7,7,'244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW3-DH','演示来料-即食小罐洞燕窝12瓶标签','2026-10-08 08:50:00',4,'244','244','2026-10-08 08:50:00','2026-10-08 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (35,883,10.000000,10.000000,1,1,'244','244','2026-10-08 08:50:00','2026-10-08 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW3-IQC','OCT0814-DEMO-1008-1-RAW3-IQC-演示检验',281,883,10.000000,10.000000,0,0,0,0,0,0,0,1,'2026-10-08 09:00:00',290,4,'演示样品,非真实质检记录',100,35,35,'OCT0814-DEMO-1008-1-RAW3-DH',10.000000,'2026-10-08 08:50:00','OCT0814-DEMO-1008-1-RAW3-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW3-IQC-R',81,1,883,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (81,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1271,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (81,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1271,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 09:00:00','2026-10-08 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=81,update_time=update_time WHERE id=35; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW3-PC',883,'2026-10-08','2026-10-08',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RAW3-RK','演示来料入库-即食小罐洞燕窝12瓶标签',81,35,'2026-10-08 09:10:00',4,'244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (98,35,883,24,10.000000,10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC','2026-10-08','OCT0814-DEMO-RAW','244','244','2026-10-08 09:05:00','2026-10-08 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (883,1176,'OCT0814-DEMO-1008-1-RAW3-PC',22,7,7,0,0,0,0,0,'2026-10-08 09:10:00','244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,98,'OCT0814-DEMO-1008-1-RAW3-RK',98,1216,NULL,883,10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC',22,7,7,'2026-10-08 09:10:00','2026-10-08 09:10:00','244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10.000000,update_time=update_time WHERE id=1216; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (98,98,1216,883,10.000000,1176,22,7,7,'244','244','2026-10-08 09:10:00','2026-10-08 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1,1,10,2,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P1-TK','演示工序-1',94,1,55,1,1,977,10,10,10,0,1353,'2026-10-08 09:30:00','2026-10-08 09:50:00','2026-10-08 09:53:00','2026-10-08 09:50:00','2026-10-08 09:50:00',4,'244','244','2026-10-08 09:30:00','2026-10-08 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,993,1,'PT-STP-001','原料验收参数模板-001','OCT0814-DEMO-993','244','244','2026-10-08 09:50:00','2026-10-08 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (139,1,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 09:50:00','2026-10-08 09:50:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P1-FB',1,'2026-10-08 09:50:00',1,55,1,94,993,977,10,10,10,0,0,0,0,0,244,244,4,'244','244','2026-10-08 09:50:00','2026-10-08 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P1-LL','演示生产领料',94,993,1,'2026-10-08 09:25:00','2026-10-08 09:30:00',4,'244','244','2026-10-08 09:20:00','2026-10-08 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (62,993,914,30,10.000000,10.000000,1174,'244','244','2026-10-08 09:20:00','2026-10-08 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (62,156,1214,914,10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC',24,9,9,'244','244','2026-10-08 09:20:00','2026-10-08 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,62,'OCT0814-DEMO-1008-1-P1-LL',156,1214,NULL,914,-10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC',24,9,9,'2026-10-08 09:25:00','2026-10-08 09:25:00','244','244','2026-10-08 09:25:00','2026-10-08 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1214; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (914,1174,'OCT0814-DEMO-1008-1-RAW1-PC',23,8,8,0,0,0,0,0,'2026-10-08 09:25:00','244','244','2026-10-08 09:25:00','2026-10-08 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,62,'OCT0814-DEMO-1008-1-P1-LL',156,1217,1586,914,10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC',23,8,8,'2026-10-08 09:25:00','2026-10-08 09:25:00','244','244','2026-10-08 09:25:00','2026-10-08 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10.000000,update_time=update_time WHERE id=1217; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (993,94,1,'PRODUCT_ISSUE',62,156,'OCT0814-DEMO-1008-1-P1-LL','OCT0814-DEMO-1008-1-RAW1-PC',914,30,10.000000,0,10.000000,'244','244','2026-10-08 09:30:00','2026-10-08 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P1-XH','演示工序投入消耗',94,993,1,1,880,'2026-10-08 09:30:00',4,'244','244','2026-10-08 09:30:00','2026-10-08 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (109,914,10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC','244','244','2026-10-08 09:30:00','2026-10-08 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (109,332,1217,914,10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC',23,8,8,'244','244','2026-10-08 09:30:00','2026-10-08 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,109,'OCT0814-DEMO-1008-1-P1-XH',332,1217,NULL,914,-10.000000,1174,'OCT0814-DEMO-1008-1-RAW1-PC',23,8,8,'2026-10-08 09:30:00','2026-10-08 09:30:00','244','244','2026-10-08 09:30:00','2026-10-08 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1217; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P1-PC',977,'2026-10-08','2027-04-06',94,993,1,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'244','244','2026-10-08 09:50:00','2026-10-08 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P1-CC','演示工序产出',94,880,1,1,993,'2026-10-08 09:53:00',4,'244','244','2026-10-08 09:50:00','2026-10-08 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (109,880,977,10,1177,'OCT0814-DEMO-1008-1-P1-PC','2027-04-06','OCT0814-DEMO-1008',1,'244','244','2026-10-08 09:50:00','2026-10-08 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1177,'OCT0814-DEMO-1008-1-P1-PC',23,8,8,0,0,0,0,0,'2026-10-08 09:53:00','244','244','2026-10-08 09:53:00','2026-10-08 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,109,'OCT0814-DEMO-1008-1-P1-CC',109,1218,NULL,977,10,1177,'OCT0814-DEMO-1008-1-P1-PC',23,8,8,'2026-10-08 09:53:00','2026-10-08 09:53:00','244','244','2026-10-08 09:53:00','2026-10-08 09:53:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1218; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (109,109,977,10,1177,'OCT0814-DEMO-1008-1-P1-PC',23,8,8,'244','244','2026-10-08 09:53:00','2026-10-08 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (2,2,20,3,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P2-TK','演示工序-2',94,2,55,2,2,977,10,10,10,0,1353,'2026-10-08 09:55:00','2026-10-08 10:15:00','2026-10-08 10:18:00','2026-10-08 10:15:00','2026-10-08 10:15:00',4,'273','273','2026-10-08 09:55:00','2026-10-08 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,994,2,'PT-STP-002','领料脱包参数模板-002','OCT0814-DEMO-994','273','273','2026-10-08 10:15:00','2026-10-08 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (140,2,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-08 10:15:00','2026-10-08 10:15:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P2-FB',1,'2026-10-08 10:15:00',2,55,2,94,994,977,10,10,10,0,0,0,0,0,273,244,4,'273','273','2026-10-08 10:15:00','2026-10-08 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P2-XH','演示工序投入消耗',94,994,2,2,881,'2026-10-08 09:55:00',4,'273','273','2026-10-08 09:55:00','2026-10-08 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (110,977,10,1177,'OCT0814-DEMO-1008-1-P1-PC','273','273','2026-10-08 09:55:00','2026-10-08 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (110,333,1218,977,10,1177,'OCT0814-DEMO-1008-1-P1-PC',23,8,8,'273','273','2026-10-08 09:55:00','2026-10-08 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,110,'OCT0814-DEMO-1008-1-P2-XH',333,1218,NULL,977,-10,1177,'OCT0814-DEMO-1008-1-P1-PC',23,8,8,'2026-10-08 09:55:00','2026-10-08 09:55:00','273','273','2026-10-08 09:55:00','2026-10-08 09:55:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1218; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P2-PC',977,'2026-10-08','2027-04-06',94,994,2,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'273','273','2026-10-08 10:15:00','2026-10-08 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P2-CC','演示工序产出',94,881,2,2,994,'2026-10-08 10:18:00',4,'273','273','2026-10-08 10:15:00','2026-10-08 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (110,881,977,10,1178,'OCT0814-DEMO-1008-1-P2-PC','2027-04-06','OCT0814-DEMO-1008',1,'273','273','2026-10-08 10:15:00','2026-10-08 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1178,'OCT0814-DEMO-1008-1-P2-PC',23,8,8,0,0,0,0,0,'2026-10-08 10:18:00','244','244','2026-10-08 10:18:00','2026-10-08 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,110,'OCT0814-DEMO-1008-1-P2-CC',110,1219,NULL,977,10,1178,'OCT0814-DEMO-1008-1-P2-PC',23,8,8,'2026-10-08 10:18:00','2026-10-08 10:18:00','273','273','2026-10-08 10:18:00','2026-10-08 10:18:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1219; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (110,110,977,10,1178,'OCT0814-DEMO-1008-1-P2-PC',23,8,8,'273','273','2026-10-08 10:18:00','2026-10-08 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (3,3,30,7,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P3-TK','演示工序-3',94,3,55,3,3,977,10,10,10,0,1353,'2026-10-08 10:20:00','2026-10-08 10:40:00','2026-10-08 10:43:00','2026-10-08 10:40:00','2026-10-08 10:40:00',4,'244','244','2026-10-08 10:20:00','2026-10-08 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,995,3,'PT-STP-003','称量参数模板-003','OCT0814-DEMO-995','244','244','2026-10-08 10:40:00','2026-10-08 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (141,3,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 10:40:00','2026-10-08 10:40:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P3-FB',1,'2026-10-08 10:40:00',3,55,3,94,995,977,10,10,10,0,0,0,0,0,244,244,4,'244','244','2026-10-08 10:40:00','2026-10-08 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P3-XH','演示工序投入消耗',94,995,3,3,882,'2026-10-08 10:20:00',4,'244','244','2026-10-08 10:20:00','2026-10-08 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (111,977,10,1178,'OCT0814-DEMO-1008-1-P2-PC','244','244','2026-10-08 10:20:00','2026-10-08 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (111,334,1219,977,10,1178,'OCT0814-DEMO-1008-1-P2-PC',23,8,8,'244','244','2026-10-08 10:20:00','2026-10-08 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,111,'OCT0814-DEMO-1008-1-P3-XH',334,1219,NULL,977,-10,1178,'OCT0814-DEMO-1008-1-P2-PC',23,8,8,'2026-10-08 10:20:00','2026-10-08 10:20:00','244','244','2026-10-08 10:20:00','2026-10-08 10:20:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1219; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P3-PC',977,'2026-10-08','2027-04-06',94,995,3,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'244','244','2026-10-08 10:40:00','2026-10-08 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P3-CC','演示工序产出',94,882,3,3,995,'2026-10-08 10:43:00',4,'244','244','2026-10-08 10:40:00','2026-10-08 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (111,882,977,10,1179,'OCT0814-DEMO-1008-1-P3-PC','2027-04-06','OCT0814-DEMO-1008',1,'244','244','2026-10-08 10:40:00','2026-10-08 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1179,'OCT0814-DEMO-1008-1-P3-PC',23,8,8,0,0,0,0,0,'2026-10-08 10:43:00','244','244','2026-10-08 10:43:00','2026-10-08 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,111,'OCT0814-DEMO-1008-1-P3-CC',111,1220,NULL,977,10,1179,'OCT0814-DEMO-1008-1-P3-PC',23,8,8,'2026-10-08 10:43:00','2026-10-08 10:43:00','244','244','2026-10-08 10:43:00','2026-10-08 10:43:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1220; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (111,111,977,10,1179,'OCT0814-DEMO-1008-1-P3-PC',23,8,8,'244','244','2026-10-08 10:43:00','2026-10-08 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (7,7,40,10,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P4-TK','演示工序-7',94,7,55,7,7,977,10,10,10,0,1353,'2026-10-08 10:45:00','2026-10-08 11:05:00','2026-10-08 11:08:00','2026-10-08 11:05:00','2026-10-08 11:05:00',4,'273','273','2026-10-08 10:45:00','2026-10-08 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,996,7,'PT-STP-007','人工选别参数模板-007','OCT0814-DEMO-996','273','273','2026-10-08 11:05:00','2026-10-08 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (142,9,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-08 11:05:00','2026-10-08 11:05:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P4-FB',1,'2026-10-08 11:05:00',7,55,7,94,996,977,10,10,10,0,0,0,0,0,273,244,4,'273','273','2026-10-08 11:05:00','2026-10-08 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P4-XH','演示工序投入消耗',94,996,7,7,883,'2026-10-08 10:45:00',4,'273','273','2026-10-08 10:45:00','2026-10-08 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (112,977,10,1179,'OCT0814-DEMO-1008-1-P3-PC','273','273','2026-10-08 10:45:00','2026-10-08 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (112,335,1220,977,10,1179,'OCT0814-DEMO-1008-1-P3-PC',23,8,8,'273','273','2026-10-08 10:45:00','2026-10-08 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,112,'OCT0814-DEMO-1008-1-P4-XH',335,1220,NULL,977,-10,1179,'OCT0814-DEMO-1008-1-P3-PC',23,8,8,'2026-10-08 10:45:00','2026-10-08 10:45:00','273','273','2026-10-08 10:45:00','2026-10-08 10:45:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1220; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P4-PC',977,'2026-10-08','2027-04-06',94,996,7,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'273','273','2026-10-08 11:05:00','2026-10-08 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P4-CC','演示工序产出',94,883,7,7,996,'2026-10-08 11:08:00',4,'273','273','2026-10-08 11:05:00','2026-10-08 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (112,883,977,10,1180,'OCT0814-DEMO-1008-1-P4-PC','2027-04-06','OCT0814-DEMO-1008',1,'273','273','2026-10-08 11:05:00','2026-10-08 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1180,'OCT0814-DEMO-1008-1-P4-PC',23,8,8,0,0,0,0,0,'2026-10-08 11:08:00','244','244','2026-10-08 11:08:00','2026-10-08 11:08:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,112,'OCT0814-DEMO-1008-1-P4-CC',112,1221,NULL,977,10,1180,'OCT0814-DEMO-1008-1-P4-PC',23,8,8,'2026-10-08 11:08:00','2026-10-08 11:08:00','273','273','2026-10-08 11:08:00','2026-10-08 11:08:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1221; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (112,112,977,10,1180,'OCT0814-DEMO-1008-1-P4-PC',23,8,8,'273','273','2026-10-08 11:08:00','2026-10-08 11:08:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (10,10,50,11,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P5-TK','演示工序-10',94,10,55,10,10,977,10,10,10,0,1353,'2026-10-08 11:10:00','2026-10-08 11:30:00','2026-10-08 11:33:00','2026-10-08 11:30:00','2026-10-08 11:30:00',4,'244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,997,10,'PT-STP-010','内包装参数模板-010','OCT0814-DEMO-997','244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (143,14,'PP-STP-PACK','内包装净含量',1,0,30,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (143,15,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P5-FB',1,'2026-10-08 11:30:00',10,55,10,94,997,977,10,10,10,0,0,0,0,0,244,244,4,'244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P5-LL','演示生产领料',94,997,10,'2026-10-08 11:05:00','2026-10-08 11:10:00',4,'244','244','2026-10-08 11:00:00','2026-10-08 11:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (63,997,882,24,10.000000,10.000000,1175,'244','244','2026-10-08 11:00:00','2026-10-08 11:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (63,157,1215,882,10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC',22,7,7,'244','244','2026-10-08 11:00:00','2026-10-08 11:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,63,'OCT0814-DEMO-1008-1-P5-LL',157,1215,NULL,882,-10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC',22,7,7,'2026-10-08 11:05:00','2026-10-08 11:05:00','244','244','2026-10-08 11:05:00','2026-10-08 11:05:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1215; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (882,1175,'OCT0814-DEMO-1008-1-RAW2-PC',23,8,8,0,0,0,0,0,'2026-10-08 11:05:00','244','244','2026-10-08 11:05:00','2026-10-08 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,63,'OCT0814-DEMO-1008-1-P5-LL',157,1222,1596,882,10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC',23,8,8,'2026-10-08 11:05:00','2026-10-08 11:05:00','244','244','2026-10-08 11:05:00','2026-10-08 11:05:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10.000000,update_time=update_time WHERE id=1222; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (997,94,10,'PRODUCT_ISSUE',63,157,'OCT0814-DEMO-1008-1-P5-LL','OCT0814-DEMO-1008-1-RAW2-PC',882,24,10.000000,0,10.000000,'244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P5-XH','演示工序投入消耗',94,997,10,10,884,'2026-10-08 11:10:00',4,'244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (113,882,10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC','244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (113,336,1222,882,10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC',23,8,8,'244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,113,'OCT0814-DEMO-1008-1-P5-XH',336,1222,NULL,882,-10.000000,1175,'OCT0814-DEMO-1008-1-RAW2-PC',23,8,8,'2026-10-08 11:10:00','2026-10-08 11:10:00','244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1222; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (113,977,10,1180,'OCT0814-DEMO-1008-1-P4-PC','244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (113,337,1221,977,10,1180,'OCT0814-DEMO-1008-1-P4-PC',23,8,8,'244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,113,'OCT0814-DEMO-1008-1-P5-XH',337,1221,NULL,977,-10,1180,'OCT0814-DEMO-1008-1-P4-PC',23,8,8,'2026-10-08 11:10:00','2026-10-08 11:10:00','244','244','2026-10-08 11:10:00','2026-10-08 11:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1221; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P5-PC',977,'2026-10-08','2027-04-06',94,997,10,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P5-CC','演示工序产出',94,884,10,10,997,'2026-10-08 11:33:00',4,'244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (113,884,977,10,1181,'OCT0814-DEMO-1008-1-P5-PC','2027-04-06','OCT0814-DEMO-1008',1,'244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1181,'OCT0814-DEMO-1008-1-P5-PC',23,8,8,0,0,0,0,0,'2026-10-08 11:33:00','244','244','2026-10-08 11:33:00','2026-10-08 11:33:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,113,'OCT0814-DEMO-1008-1-P5-CC',113,1223,NULL,977,10,1181,'OCT0814-DEMO-1008-1-P5-PC',23,8,8,'2026-10-08 11:33:00','2026-10-08 11:33:00','244','244','2026-10-08 11:33:00','2026-10-08 11:33:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1223; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (113,113,977,10,1181,'OCT0814-DEMO-1008-1-P5-PC',23,8,8,'244','244','2026-10-08 11:33:00','2026-10-08 11:33:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (11,11,60,12,3,NULL,NULL,NULL,1,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P6-TK','演示工序-11',94,11,55,11,11,977,10,10,10,0,1353,'2026-10-08 11:35:00','2026-10-08 11:55:00','2026-10-08 11:58:00','2026-10-08 11:55:00','2026-10-08 11:55:00',4,'273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,998,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-998','273','273','2026-10-08 11:55:00','2026-10-08 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (144,16,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-08 11:55:00','2026-10-08 11:55:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P6-FB',1,'2026-10-08 11:55:00',11,55,11,94,998,977,10,10,10,0,0,0,0,0,273,244,4,'273','273','2026-10-08 11:55:00','2026-10-08 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P6-LL','演示生产领料',94,998,11,'2026-10-08 11:30:00','2026-10-08 11:35:00',4,'244','244','2026-10-08 11:25:00','2026-10-08 11:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (64,998,883,24,10.000000,10.000000,1176,'244','244','2026-10-08 11:25:00','2026-10-08 11:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (64,158,1216,883,10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC',22,7,7,'244','244','2026-10-08 11:25:00','2026-10-08 11:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,64,'OCT0814-DEMO-1008-1-P6-LL',158,1216,NULL,883,-10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC',22,7,7,'2026-10-08 11:30:00','2026-10-08 11:30:00','244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1216; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (883,1176,'OCT0814-DEMO-1008-1-RAW3-PC',23,8,8,0,0,0,0,0,'2026-10-08 11:30:00','244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,64,'OCT0814-DEMO-1008-1-P6-LL',158,1224,1601,883,10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC',23,8,8,'2026-10-08 11:30:00','2026-10-08 11:30:00','244','244','2026-10-08 11:30:00','2026-10-08 11:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10.000000,update_time=update_time WHERE id=1224; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (998,94,11,'PRODUCT_ISSUE',64,158,'OCT0814-DEMO-1008-1-P6-LL','OCT0814-DEMO-1008-1-RAW3-PC',883,24,10.000000,0,10.000000,'273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P6-XH','演示工序投入消耗',94,998,11,11,885,'2026-10-08 11:35:00',4,'273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (114,883,10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC','273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (114,338,1224,883,10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC',23,8,8,'273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,114,'OCT0814-DEMO-1008-1-P6-XH',338,1224,NULL,883,-10.000000,1176,'OCT0814-DEMO-1008-1-RAW3-PC',23,8,8,'2026-10-08 11:35:00','2026-10-08 11:35:00','273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1224; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (114,977,10,1181,'OCT0814-DEMO-1008-1-P5-PC','273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (114,339,1223,977,10,1181,'OCT0814-DEMO-1008-1-P5-PC',23,8,8,'273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,114,'OCT0814-DEMO-1008-1-P6-XH',339,1223,NULL,977,-10,1181,'OCT0814-DEMO-1008-1-P5-PC',23,8,8,'2026-10-08 11:35:00','2026-10-08 11:35:00','273','273','2026-10-08 11:35:00','2026-10-08 11:35:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1223; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P6-PC',977,'2026-10-08','2027-04-06',94,998,11,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'273','273','2026-10-08 11:55:00','2026-10-08 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P6-CC','演示工序产出',94,885,11,11,998,'2026-10-08 11:58:00',4,'273','273','2026-10-08 11:55:00','2026-10-08 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (114,885,977,10,1182,'OCT0814-DEMO-1008-1-P6-PC','2027-04-06','OCT0814-DEMO-1008',1,'273','273','2026-10-08 11:55:00','2026-10-08 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1182,'OCT0814-DEMO-1008-1-P6-PC',23,8,8,0,0,0,0,0,'2026-10-08 11:58:00','244','244','2026-10-08 11:58:00','2026-10-08 11:58:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,114,'OCT0814-DEMO-1008-1-P6-CC',114,1225,NULL,977,10,1182,'OCT0814-DEMO-1008-1-P6-PC',23,8,8,'2026-10-08 11:58:00','2026-10-08 11:58:00','273','273','2026-10-08 11:58:00','2026-10-08 11:58:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1225; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (114,114,977,10,1182,'OCT0814-DEMO-1008-1-P6-PC',23,8,8,'273','273','2026-10-08 11:58:00','2026-10-08 11:58:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (12,12,70,13,3,NULL,NULL,NULL,0,1,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-TK','演示工序-12',94,12,55,12,12,977,10,10,10,0,1353,'2026-10-08 12:00:00','2026-10-08 12:20:00','2026-10-08 12:23:00','2026-10-08 12:20:00','2026-10-08 12:20:00',4,'244','244','2026-10-08 12:00:00','2026-10-08 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,999,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-999','244','244','2026-10-08 12:20:00','2026-10-08 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (145,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 12:20:00','2026-10-08 12:20:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-FB',1,'2026-10-08 12:20:00',12,55,12,94,999,977,10,10,10,0,0,0,0,0,244,244,4,'244','244','2026-10-08 12:20:00','2026-10-08 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-XH','演示工序投入消耗',94,999,12,12,886,'2026-10-08 12:00:00',4,'244','244','2026-10-08 12:00:00','2026-10-08 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (115,977,10,1182,'OCT0814-DEMO-1008-1-P6-PC','244','244','2026-10-08 12:00:00','2026-10-08 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (115,340,1225,977,10,1182,'OCT0814-DEMO-1008-1-P6-PC',23,8,8,'244','244','2026-10-08 12:00:00','2026-10-08 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,115,'OCT0814-DEMO-1008-1-P7-XH',340,1225,NULL,977,-10,1182,'OCT0814-DEMO-1008-1-P6-PC',23,8,8,'2026-10-08 12:00:00','2026-10-08 12:00:00','244','244','2026-10-08 12:00:00','2026-10-08 12:00:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1225; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-PC',977,'2026-10-08','2027-04-06',94,999,12,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'244','244','2026-10-08 12:20:00','2026-10-08 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-CC','演示工序产出',94,886,12,12,999,'2026-10-08 12:23:00',4,'244','244','2026-10-08 12:20:00','2026-10-08 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (115,886,977,10,1183,'OCT0814-DEMO-1008-1-P7-PC','2027-04-06','OCT0814-DEMO-1008',1,'244','244','2026-10-08 12:20:00','2026-10-08 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`type`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-IPQC','OCT0814-DEMO-1008-1-P7-IPQC-演示检验',282,977,10,10,0,0,0,0,0,0,0,1,'2026-10-08 12:22:00',289,4,'演示样品,非真实质检记录',5,124,115,115,'OCT0814-DEMO-1008-1-P7-CC',94,999,12,12,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P7-IPQC-R',135,2,977,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,57,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.2;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,57,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,58,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.3;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,58,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,13,'电热鼓风干燥箱(配电子天平)','来源:SOP-QC-(YL)012-03 §3.1;GB5009.3;SOP-QC-(JF)001','7.000000',NULL,'7.000000',NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,13,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,3,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,3,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,60,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §正文;','39.500000',NULL,'48.000000','31.000000',0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,60,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,19,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.5;GB5009.11;SOP-QC-(JF)010','1.000000',NULL,'1.000000',NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,19,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,61,'紫外-可见分光光度计(配离子色谱柱)','来源:SOP-QC-(YL)012-03 §3.6;GB5009.33;SOP-QC-(JF)004','29.000000',NULL,'29.000000',NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,61,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,56,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.1;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,56,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,48,'分析天平(万分之一)','来源:SOP-QC-(YL)012-03 §2.1.4;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,48,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,29,'凯氏定氮仪','来源:SOP-QC-(YL)012-03 §3.2;GB5009.5;SOP-QC-(JF)002','10.000000',NULL,NULL,'10.000000',0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,29,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,59,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §3.3;GB31614.1—2023','50.000000',NULL,NULL,'50.000000',0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,59,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.4;GB5009.12;SOP-QC-(JF)009','0.500000',NULL,'0.500000',NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (135,62,'全玻璃蒸馏装置(配可见分光光度计)','来源:SOP-QC-(YL)012-03 §3.7;GB5009.34;SOP-QC-(JF)008','30.000000',NULL,'30.000000',NULL,0,0,0,'289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1272,62,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-08 12:22:00','2026-10-08 12:22:00',0); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1183,'OCT0814-DEMO-1008-1-P7-PC',23,8,8,0,0,0,0,0,'2026-10-08 12:23:00','244','244','2026-10-08 12:23:00','2026-10-08 12:23:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,115,'OCT0814-DEMO-1008-1-P7-CC',115,1226,NULL,977,10,1183,'OCT0814-DEMO-1008-1-P7-PC',23,8,8,'2026-10-08 12:23:00','2026-10-08 12:23:00','244','244','2026-10-08 12:23:00','2026-10-08 12:23:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1226; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (115,115,977,10,1183,'OCT0814-DEMO-1008-1-P7-PC',23,8,8,'244','244','2026-10-08 12:23:00','2026-10-08 12:23:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (13,13,80,24,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P8-TK','演示工序-13',94,13,55,13,13,977,10,10,10,0,1353,'2026-10-08 12:25:00','2026-10-08 12:45:00','2026-10-08 12:48:00','2026-10-08 12:45:00','2026-10-08 12:45:00',4,'273','273','2026-10-08 12:25:00','2026-10-08 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,1000,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1000','273','273','2026-10-08 12:45:00','2026-10-08 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (146,18,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-08 12:45:00','2026-10-08 12:45:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P8-FB',1,'2026-10-08 12:45:00',13,55,13,94,1000,977,10,10,10,0,0,0,0,0,273,244,4,'273','273','2026-10-08 12:45:00','2026-10-08 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P8-XH','演示工序投入消耗',94,1000,13,13,887,'2026-10-08 12:25:00',4,'273','273','2026-10-08 12:25:00','2026-10-08 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (116,977,10,1183,'OCT0814-DEMO-1008-1-P7-PC','273','273','2026-10-08 12:25:00','2026-10-08 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (116,341,1226,977,10,1183,'OCT0814-DEMO-1008-1-P7-PC',23,8,8,'273','273','2026-10-08 12:25:00','2026-10-08 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,116,'OCT0814-DEMO-1008-1-P8-XH',341,1226,NULL,977,-10,1183,'OCT0814-DEMO-1008-1-P7-PC',23,8,8,'2026-10-08 12:25:00','2026-10-08 12:25:00','273','273','2026-10-08 12:25:00','2026-10-08 12:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1226; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P8-PC',977,'2026-10-08','2027-04-06',94,1000,13,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'273','273','2026-10-08 12:45:00','2026-10-08 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P8-CC','演示工序产出',94,887,13,13,1000,'2026-10-08 12:48:00',4,'273','273','2026-10-08 12:45:00','2026-10-08 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (116,887,977,10,1184,'OCT0814-DEMO-1008-1-P8-PC','2027-04-06','OCT0814-DEMO-1008',1,'273','273','2026-10-08 12:45:00','2026-10-08 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1184,'OCT0814-DEMO-1008-1-P8-PC',23,8,8,0,0,0,0,0,'2026-10-08 12:48:00','244','244','2026-10-08 12:48:00','2026-10-08 12:48:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,116,'OCT0814-DEMO-1008-1-P8-CC',116,1227,NULL,977,10,1184,'OCT0814-DEMO-1008-1-P8-PC',23,8,8,'2026-10-08 12:48:00','2026-10-08 12:48:00','273','273','2026-10-08 12:48:00','2026-10-08 12:48:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1227; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (116,116,977,10,1184,'OCT0814-DEMO-1008-1-P8-PC',23,8,8,'273','273','2026-10-08 12:48:00','2026-10-08 12:48:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (24,24,90,25,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P9-TK','演示工序-24',94,24,55,24,24,977,10,10,10,0,1353,'2026-10-08 12:50:00','2026-10-08 13:10:00','2026-10-08 13:13:00','2026-10-08 13:10:00','2026-10-08 13:10:00',4,'244','244','2026-10-08 12:50:00','2026-10-08 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,1001,24,'PT-STP-024','瞬时灭菌参数模板-024','OCT0814-DEMO-1001','244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (147,33,'PP-STP-TEMP','工艺温度',1,1,84,'100','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (147,34,'PP-STP-SEC','瞬时处理时间',1,1,86,'30','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P9-FB',1,'2026-10-08 13:10:00',24,55,24,94,1001,977,10,10,10,0,0,0,0,0,244,244,4,'244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P9-XH','演示工序投入消耗',94,1001,24,24,888,'2026-10-08 12:50:00',4,'244','244','2026-10-08 12:50:00','2026-10-08 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (117,977,10,1184,'OCT0814-DEMO-1008-1-P8-PC','244','244','2026-10-08 12:50:00','2026-10-08 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (117,342,1227,977,10,1184,'OCT0814-DEMO-1008-1-P8-PC',23,8,8,'244','244','2026-10-08 12:50:00','2026-10-08 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,117,'OCT0814-DEMO-1008-1-P9-XH',342,1227,NULL,977,-10,1184,'OCT0814-DEMO-1008-1-P8-PC',23,8,8,'2026-10-08 12:50:00','2026-10-08 12:50:00','244','244','2026-10-08 12:50:00','2026-10-08 12:50:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1227; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P9-PC',977,'2026-10-08','2027-04-06',94,1001,24,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P9-CC','演示工序产出',94,888,24,24,1001,'2026-10-08 13:13:00',4,'244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (117,888,977,10,1185,'OCT0814-DEMO-1008-1-P9-PC','2027-04-06','OCT0814-DEMO-1008',1,'244','244','2026-10-08 13:10:00','2026-10-08 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1185,'OCT0814-DEMO-1008-1-P9-PC',23,8,8,0,0,0,0,0,'2026-10-08 13:13:00','244','244','2026-10-08 13:13:00','2026-10-08 13:13:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,117,'OCT0814-DEMO-1008-1-P9-CC',117,1228,NULL,977,10,1185,'OCT0814-DEMO-1008-1-P9-PC',23,8,8,'2026-10-08 13:13:00','2026-10-08 13:13:00','244','244','2026-10-08 13:13:00','2026-10-08 13:13:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1228; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (117,117,977,10,1185,'OCT0814-DEMO-1008-1-P9-PC',23,8,8,'244','244','2026-10-08 13:13:00','2026-10-08 13:13:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (25,25,100,NULL,3,NULL,NULL,NULL,0,0,0,NULL,94,'244','244','2026-10-08 08:45:00','2026-10-08 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P10-TK','演示工序-25',94,25,55,25,25,977,10,10,10,0,1353,'2026-10-08 13:15:00','2026-10-08 13:35:00','2026-10-08 13:38:00','2026-10-08 13:35:00','2026-10-08 13:35:00',4,'273','273','2026-10-08 13:15:00','2026-10-08 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,1002,25,'PT-STP-025','热灌装参数模板-025','OCT0814-DEMO-1002','273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (148,35,'PP-STP-TEMP','工艺温度',1,1,84,'87','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (148,36,'PP-STP-FILL','灌装净含量',1,0,50,'015','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P10-FB',1,'2026-10-08 13:35:00',25,55,25,94,1002,977,10,10,10,0,0,0,0,0,273,244,4,'273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P10-XH','演示工序投入消耗',94,1002,25,25,889,'2026-10-08 13:15:00',4,'273','273','2026-10-08 13:15:00','2026-10-08 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (118,977,10,1185,'OCT0814-DEMO-1008-1-P9-PC','273','273','2026-10-08 13:15:00','2026-10-08 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (118,343,1228,977,10,1185,'OCT0814-DEMO-1008-1-P9-PC',23,8,8,'273','273','2026-10-08 13:15:00','2026-10-08 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,118,'OCT0814-DEMO-1008-1-P10-XH',343,1228,NULL,977,-10,1185,'OCT0814-DEMO-1008-1-P9-PC',23,8,8,'2026-10-08 13:15:00','2026-10-08 13:15:00','273','273','2026-10-08 13:15:00','2026-10-08 13:15:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1228; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P10-PC',977,'2026-10-08','2027-04-06',94,1002,25,1353,'OCT0814-DEMO-1008-1-XS','OCT0814-DEMO-1008',1,'273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-P10-CC','演示工序产出',94,889,25,25,1002,'2026-10-08 13:38:00',4,'273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (118,889,977,10,1186,'OCT0814-DEMO-1008-1-P10-PC','2027-04-06','OCT0814-DEMO-1008',1,'273','273','2026-10-08 13:35:00','2026-10-08 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1186,'OCT0814-DEMO-1008-1-P10-PC',23,8,8,0,0,0,0,0,'2026-10-08 13:38:00','244','244','2026-10-08 13:38:00','2026-10-08 13:38:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,118,'OCT0814-DEMO-1008-1-P10-CC',118,1229,NULL,977,10,1186,'OCT0814-DEMO-1008-1-P10-PC',23,8,8,'2026-10-08 13:38:00','2026-10-08 13:38:00','273','273','2026-10-08 13:38:00','2026-10-08 13:38:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1229; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (118,118,977,10,1186,'OCT0814-DEMO-1008-1-P10-PC',23,8,8,'273','273','2026-10-08 13:38:00','2026-10-08 13:38:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `mes_pro_work_order` SET `batch_code`='OCT0814-DEMO-1008-1-P10-PC',update_time=update_time WHERE id=94; INSERT INTO `mes_wm_product_receipt` (`code`,`name`,`work_order_id`,`item_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-RK','演示成品入库-洞燕窝即食碗装燕窝',94,977,'2026-10-08 14:30:00',4,'244','244','2026-10-08 14:15:00','2026-10-08 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_receipt_line` (`receipt_id`,`item_id`,`quantity`,`material_stock_id`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (9,977,10,1229,1186,'OCT0814-DEMO-1008-1-P10-PC','244','244','2026-10-08 14:15:00','2026-10-08 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,118,9,'OCT0814-DEMO-1008-1-RK',9,1229,NULL,977,-10,1186,'OCT0814-DEMO-1008-1-P10-PC',23,8,8,'2026-10-08 14:30:00','2026-10-08 14:30:00','244','244','2026-10-08 14:30:00','2026-10-08 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1229; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (977,1186,'OCT0814-DEMO-1008-1-P10-PC',18,3,3,0,0,0,0,0,'2026-10-08 14:30:00','244','244','2026-10-08 14:30:00','2026-10-08 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,118,9,'OCT0814-DEMO-1008-1-RK',9,1230,1614,977,10,1186,'OCT0814-DEMO-1008-1-P10-PC',18,3,3,'2026-10-08 14:30:00','2026-10-08 14:30:00','244','244','2026-10-08 14:30:00','2026-10-08 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=10,update_time=update_time WHERE id=1230; INSERT INTO `mes_wm_product_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (9,9,1230,977,10,1186,18,3,3,'244','244','2026-10-08 14:30:00','2026-10-08 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice` (`code`,`name`,`client_id`,`sale_order_id`,`sale_order_code`,`sales_date`,`delivery_date`,`status`,`out_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-FH','演示发货通知-洞燕窝即食碗装燕窝',1353,1055,'OCT0814-DEMO-1008-1-XS','2026-10-08 14:40:00','2026-10-08 15:30:00',4,2,'291','291','2026-10-08 14:40:00','2026-10-08 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice_line` (`notice_id`,`sale_order_item_id`,`item_id`,`batch_id`,`batch_code`,`quantity`,`out_count`,`oqc_check_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (33,4179,977,1186,'OCT0814-DEMO-1008-1-P10-PC',10,10,1,'291','291','2026-10-08 14:40:00','2026-10-08 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales` (`code`,`name`,`client_id`,`sale_order_id`,`notice_id`,`sales_order_code`,`sales_date`,`carrier`,`shipping_number`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-CK','演示销售出库-洞燕窝即食碗装燕窝',1353,1055,33,'OCT0814-DEMO-1008-1-XS','2026-10-08 15:30:00','演示自配送','OCT0814-DEMO-1008-1-SHIP',4,'244','244','2026-10-08 14:50:00','2026-10-08 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales_line` (`sales_id`,`sale_order_item_id`,`notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`batch_id`,`batch_code`,`material_stock_id`,`quantity`,`oqc_check_flag`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (32,4179,85,977,9,10,1186,'OCT0814-DEMO-1008-1-P10-PC',1230,10,1,1,'244','244','2026-10-08 14:50:00','2026-10-08 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`client_id`,`batch_code`,`out_quantity`,`out_date`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-OQC','OCT0814-DEMO-1008-1-OQC-演示检验',283,977,10,10,0,0,0,0,0,0,0,1,'2026-10-08 15:00:00',290,4,'演示样品,非真实质检记录',119,32,84,'OCT0814-DEMO-1008-1-CK',1353,'OCT0814-DEMO-1008-1-P10-PC',10,'2026-10-08 15:30:00','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1008-1-OQC-R',363,3,977,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,57,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.2;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,57,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,58,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.3;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,58,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,13,'电热鼓风干燥箱(配电子天平)','来源:SOP-QC-(YL)012-03 §3.1;GB5009.3;SOP-QC-(JF)001','7.000000',NULL,'7.000000',NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,13,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,3,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,3,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,60,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §正文;','39.500000',NULL,'48.000000','31.000000',0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,60,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,19,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.5;GB5009.11;SOP-QC-(JF)010','1.000000',NULL,'1.000000',NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,19,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,61,'紫外-可见分光光度计(配离子色谱柱)','来源:SOP-QC-(YL)012-03 §3.6;GB5009.33;SOP-QC-(JF)004','29.000000',NULL,'29.000000',NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,61,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,56,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.1;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,56,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,48,'分析天平(万分之一)','来源:SOP-QC-(YL)012-03 §2.1.4;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,48,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,29,'凯氏定氮仪','来源:SOP-QC-(YL)012-03 §3.2;GB5009.5;SOP-QC-(JF)002','10.000000',NULL,NULL,'10.000000',0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,29,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,59,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §3.3;GB31614.1—2023','50.000000',NULL,NULL,'50.000000',0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,59,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.4;GB5009.12;SOP-QC-(JF)009','0.500000',NULL,'0.500000',NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (363,62,'全玻璃蒸馏装置(配可见分光光度计)','来源:SOP-QC-(YL)012-03 §3.7;GB5009.34;SOP-QC-(JF)008','30.000000',NULL,'30.000000',NULL,0,0,0,'290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1273,62,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-08 15:00:00','2026-10-08 15:00:00',0); UPDATE `mes_wm_product_sales_line` SET `oqc_id`=363,update_time=update_time WHERE id=84; INSERT INTO `mes_wm_product_sales_detail` (`sales_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (32,84,1230,977,10,1186,'OCT0814-DEMO-1008-1-P10-PC',18,3,3,'244','244','2026-10-08 15:30:00','2026-10-08 15:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_stock_reserve` (`material_stock_id`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`item_id`,`quantity`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1230,1,32,'OCT0814-DEMO-1008-1-CK',84,977,10,3,'244','244','2026-10-08 15:20:00','2026-10-08 15:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,119,32,'OCT0814-DEMO-1008-1-CK',84,1230,NULL,977,-10,1186,'OCT0814-DEMO-1008-1-P10-PC',18,3,3,'2026-10-08 15:30:00','2026-10-08 15:30:00','244','244','2026-10-08 15:30:00','2026-10-08 15:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1230; INSERT INTO `crm_business` (`name`,`customer_id`,`owner_user_id`,`follow_up_status`,`status_type_id`,`status_id`,`end_status`,`deal_time`,`total_product_price`,`discount_percent`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('演示-即食小罐洞燕窝-1009',1381,291,1,1,5,1,'2026-10-09 08:25:00',2868.00,0,3240.84,'291','291','2026-10-09 08:00:00','2026-10-09 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_business_product` (`business_id`,`item_id`,`item_unit_id`,`item_price`,`business_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1166,999,9,239.00,239.00,12,2868.00,'291','291','2026-10-09 08:00:00','2026-10-09 08:00:00',0); INSERT INTO `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('OCT0814-DEMO-1009-2-BJ','演示报价-即食小罐洞燕窝',1381,1166,291,10,'2026-10-09 08:10:00','2026-11-09 08:10:00',2868.00,0,0,3240.84,13,372.84,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 报价为演示价格,非现行报价政策;OCT0814-DEMO','291','291','2026-10-09 08:10:00','2026-10-09 08:10:00',0,0); INSERT INTO `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES (543,999,9,239.00,239.00,12,2868.00,13,372.84,'291','291','2026-10-09 08:10:00','2026-10-09 08:10:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`sign_user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-HT','演示合同-即食小罐洞燕窝',1381,1166,291,20,'2026-10-09 08:20:00','2026-10-09 08:20:00','2026-11-09 08:20:00',3240.84,3240.84,0,0,291,'291','291','2026-10-09 08:20:00','2026-10-09 08:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (543,999,9,270.07,270.07,12,3240.84,'291','291','2026-10-09 08:20:00','2026-10-09 08:20:00',0); INSERT INTO `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`production_finish_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-XS',20,1381,543,'OCT0814-DEMO-1009-2-HT',291,'2026-10-09 08:25:00',12,2868.00,372.84,3240.84,0,0,0,12,3,1,'2026-10-09 13:45:00','291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`out_count`,`need_production`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1056,999,9,239.00,12,2868.00,13,372.84,12,1,'291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `crm_contract` SET `order_id`=1056,`order_no`='OCT0814-DEMO-1009-2-XS',update_time=update_time WHERE id=543; UPDATE `crm_sale_quotation` SET `contract_id`=543,`contract_no`='OCT0814-DEMO-1009-2-HT',update_time=update_time WHERE id=543; UPDATE `crm_business` SET `order_id`=1056,`order_no`='OCT0814-DEMO-1009-2-XS',update_time=update_time WHERE id=1166; INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,1381,543,291,'2026-10-16 16:00:00',8,972.25,3,'2026-10-13 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-09 08:22:00','2026-10-09 08:22:00',0); INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,1381,543,291,'2026-11-09 16:00:00',8,2268.59,3,'2026-11-06 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-09 08:22:00','2026-10-09 08:22:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1166,291,1,'291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (5,543,291,1,'291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (9,543,291,1,'291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,37,291,1,'291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,38,291,1,'291','291','2026-10-09 08:25:00','2026-10-09 08:25:00',0); INSERT INTO `crm_follow_up_record` (`biz_type`,`biz_id`,`type`,`content`,`next_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1166,1,'演示跟进:客户询价→报价确认→签约→转销售生产;OCT0814-DEMO','2026-10-12 16:00:00','291','291','2026-10-09 08:05:00','2026-10-09 08:05:00',0); INSERT INTO `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`auto_finish_flag`,`request_date`,`finish_date`,`status`,`is_feedback_approve`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-WO','演示生产-即食小罐洞燕窝',1,1,'OCT0814-DEMO-1009-2-XS',999,12,12,12,0,1381,55,1,'2026-10-09 13:30:00','2026-10-09 13:45:00',2,0,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES ('OCT0814-DEMO-1009-2-MPS',2,1056,'OCT0814-DEMO-1009-2-XS',4180,999,12,12,9,1381,'2026-10-09 13:30:00','2026-10-09 08:45:00','2026-10-09 13:45:00',95,'OCT0814-DEMO-1009-2-WO',0,'244','244','2026-10-09 08:35:00','2026-10-09 08:35:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `erp_sale_order_items` SET `mps_id`=3499,update_time=update_time WHERE id=4180; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1,914,12.000000,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,10,882,12.000000,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,11,883,12.000000,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW1-DH','演示来料-85#洞燕窝(配料)-燕盏','2026-10-09 08:50:00',4,'244','244','2026-10-09 08:50:00','2026-10-09 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (36,914,12.000000,12.000000,1,1,'244','244','2026-10-09 08:50:00','2026-10-09 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW1-IQC','OCT0814-DEMO-1009-2-RAW1-IQC-演示检验',281,914,12.000000,12.000000,0,0,0,0,0,0,0,1,'2026-10-09 09:00:00',290,4,'演示样品,非真实质检记录',100,36,36,'OCT0814-DEMO-1009-2-RAW1-DH',12.000000,'2026-10-09 08:50:00','OCT0814-DEMO-1009-2-RAW1-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW1-IQC-R',82,1,914,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (82,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1274,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (82,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1274,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=82,update_time=update_time WHERE id=36; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW1-PC',914,'2026-10-09','2026-10-09',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW1-RK','演示来料入库-85#洞燕窝(配料)-燕盏',82,36,'2026-10-09 09:10:00',4,'244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (99,36,914,30,12.000000,12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC','2026-10-09','OCT0814-DEMO-RAW','244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (914,1187,'OCT0814-DEMO-1009-2-RAW1-PC',24,9,9,0,0,0,0,0,'2026-10-09 09:10:00','244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,99,'OCT0814-DEMO-1009-2-RAW1-RK',99,1231,NULL,914,12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC',24,9,9,'2026-10-09 09:10:00','2026-10-09 09:10:00','244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12.000000,update_time=update_time WHERE id=1231; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (99,99,1231,914,12.000000,1187,24,9,9,'244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW2-DH','演示来料-即食小罐洞燕窝12瓶外盒','2026-10-09 08:50:00',4,'244','244','2026-10-09 08:50:00','2026-10-09 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (37,882,12.000000,12.000000,1,1,'244','244','2026-10-09 08:50:00','2026-10-09 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW2-IQC','OCT0814-DEMO-1009-2-RAW2-IQC-演示检验',281,882,12.000000,12.000000,0,0,0,0,0,0,0,1,'2026-10-09 09:00:00',290,4,'演示样品,非真实质检记录',100,37,37,'OCT0814-DEMO-1009-2-RAW2-DH',12.000000,'2026-10-09 08:50:00','OCT0814-DEMO-1009-2-RAW2-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW2-IQC-R',83,1,882,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (83,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1275,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (83,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1275,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=83,update_time=update_time WHERE id=37; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW2-PC',882,'2026-10-09','2026-10-09',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW2-RK','演示来料入库-即食小罐洞燕窝12瓶外盒',83,37,'2026-10-09 09:10:00',4,'244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (100,37,882,24,12.000000,12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC','2026-10-09','OCT0814-DEMO-RAW','244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (882,1188,'OCT0814-DEMO-1009-2-RAW2-PC',22,7,7,0,0,0,0,0,'2026-10-09 09:10:00','244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,100,'OCT0814-DEMO-1009-2-RAW2-RK',100,1232,NULL,882,12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC',22,7,7,'2026-10-09 09:10:00','2026-10-09 09:10:00','244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12.000000,update_time=update_time WHERE id=1232; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (100,100,1232,882,12.000000,1188,22,7,7,'244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW3-DH','演示来料-即食小罐洞燕窝12瓶标签','2026-10-09 08:50:00',4,'244','244','2026-10-09 08:50:00','2026-10-09 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (38,883,12.000000,12.000000,1,1,'244','244','2026-10-09 08:50:00','2026-10-09 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW3-IQC','OCT0814-DEMO-1009-2-RAW3-IQC-演示检验',281,883,12.000000,12.000000,0,0,0,0,0,0,0,1,'2026-10-09 09:00:00',290,4,'演示样品,非真实质检记录',100,38,38,'OCT0814-DEMO-1009-2-RAW3-DH',12.000000,'2026-10-09 08:50:00','OCT0814-DEMO-1009-2-RAW3-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW3-IQC-R',84,1,883,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (84,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1276,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (84,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1276,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 09:00:00','2026-10-09 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=84,update_time=update_time WHERE id=38; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW3-PC',883,'2026-10-09','2026-10-09',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RAW3-RK','演示来料入库-即食小罐洞燕窝12瓶标签',84,38,'2026-10-09 09:10:00',4,'244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (101,38,883,24,12.000000,12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC','2026-10-09','OCT0814-DEMO-RAW','244','244','2026-10-09 09:05:00','2026-10-09 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (883,1189,'OCT0814-DEMO-1009-2-RAW3-PC',22,7,7,0,0,0,0,0,'2026-10-09 09:10:00','244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,101,'OCT0814-DEMO-1009-2-RAW3-RK',101,1233,NULL,883,12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC',22,7,7,'2026-10-09 09:10:00','2026-10-09 09:10:00','244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12.000000,update_time=update_time WHERE id=1233; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (101,101,1233,883,12.000000,1189,22,7,7,'244','244','2026-10-09 09:10:00','2026-10-09 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1,1,10,2,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P1-TK','演示工序-1',95,1,55,1,1,999,12,12,12,0,1381,'2026-10-09 09:30:00','2026-10-09 09:50:00','2026-10-09 09:53:00','2026-10-09 09:50:00','2026-10-09 09:50:00',4,'244','244','2026-10-09 09:30:00','2026-10-09 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1003,1,'PT-STP-001','原料验收参数模板-001','OCT0814-DEMO-1003','244','244','2026-10-09 09:50:00','2026-10-09 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (149,1,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 09:50:00','2026-10-09 09:50:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P1-FB',1,'2026-10-09 09:50:00',1,55,1,95,1003,999,12,12,12,0,0,0,0,0,244,244,4,'244','244','2026-10-09 09:50:00','2026-10-09 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P1-LL','演示生产领料',95,1003,1,'2026-10-09 09:25:00','2026-10-09 09:30:00',4,'244','244','2026-10-09 09:20:00','2026-10-09 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (65,1003,914,30,12.000000,12.000000,1187,'244','244','2026-10-09 09:20:00','2026-10-09 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (65,159,1231,914,12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC',24,9,9,'244','244','2026-10-09 09:20:00','2026-10-09 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,65,'OCT0814-DEMO-1009-2-P1-LL',159,1231,NULL,914,-12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC',24,9,9,'2026-10-09 09:25:00','2026-10-09 09:25:00','244','244','2026-10-09 09:25:00','2026-10-09 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1231; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (914,1187,'OCT0814-DEMO-1009-2-RAW1-PC',23,8,8,0,0,0,0,0,'2026-10-09 09:25:00','244','244','2026-10-09 09:25:00','2026-10-09 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,65,'OCT0814-DEMO-1009-2-P1-LL',159,1234,1620,914,12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC',23,8,8,'2026-10-09 09:25:00','2026-10-09 09:25:00','244','244','2026-10-09 09:25:00','2026-10-09 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12.000000,update_time=update_time WHERE id=1234; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1003,95,1,'PRODUCT_ISSUE',65,159,'OCT0814-DEMO-1009-2-P1-LL','OCT0814-DEMO-1009-2-RAW1-PC',914,30,12.000000,0,12.000000,'244','244','2026-10-09 09:30:00','2026-10-09 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P1-XH','演示工序投入消耗',95,1003,1,1,890,'2026-10-09 09:30:00',4,'244','244','2026-10-09 09:30:00','2026-10-09 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (119,914,12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC','244','244','2026-10-09 09:30:00','2026-10-09 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (119,344,1234,914,12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC',23,8,8,'244','244','2026-10-09 09:30:00','2026-10-09 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,119,'OCT0814-DEMO-1009-2-P1-XH',344,1234,NULL,914,-12.000000,1187,'OCT0814-DEMO-1009-2-RAW1-PC',23,8,8,'2026-10-09 09:30:00','2026-10-09 09:30:00','244','244','2026-10-09 09:30:00','2026-10-09 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1234; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P1-PC',999,'2026-10-09','2027-04-07',95,1003,1,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'244','244','2026-10-09 09:50:00','2026-10-09 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P1-CC','演示工序产出',95,890,1,1,1003,'2026-10-09 09:53:00',4,'244','244','2026-10-09 09:50:00','2026-10-09 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (119,890,999,12,1190,'OCT0814-DEMO-1009-2-P1-PC','2027-04-07','OCT0814-DEMO-1009',1,'244','244','2026-10-09 09:50:00','2026-10-09 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1190,'OCT0814-DEMO-1009-2-P1-PC',23,8,8,0,0,0,0,0,'2026-10-09 09:53:00','244','244','2026-10-09 09:53:00','2026-10-09 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,119,'OCT0814-DEMO-1009-2-P1-CC',119,1235,NULL,999,12,1190,'OCT0814-DEMO-1009-2-P1-PC',23,8,8,'2026-10-09 09:53:00','2026-10-09 09:53:00','244','244','2026-10-09 09:53:00','2026-10-09 09:53:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1235; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (119,119,999,12,1190,'OCT0814-DEMO-1009-2-P1-PC',23,8,8,'244','244','2026-10-09 09:53:00','2026-10-09 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (2,2,20,3,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P2-TK','演示工序-2',95,2,55,2,2,999,12,12,12,0,1381,'2026-10-09 09:55:00','2026-10-09 10:15:00','2026-10-09 10:18:00','2026-10-09 10:15:00','2026-10-09 10:15:00',4,'273','273','2026-10-09 09:55:00','2026-10-09 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1004,2,'PT-STP-002','领料脱包参数模板-002','OCT0814-DEMO-1004','273','273','2026-10-09 10:15:00','2026-10-09 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (150,2,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-09 10:15:00','2026-10-09 10:15:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P2-FB',1,'2026-10-09 10:15:00',2,55,2,95,1004,999,12,12,12,0,0,0,0,0,273,244,4,'273','273','2026-10-09 10:15:00','2026-10-09 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P2-XH','演示工序投入消耗',95,1004,2,2,891,'2026-10-09 09:55:00',4,'273','273','2026-10-09 09:55:00','2026-10-09 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (120,999,12,1190,'OCT0814-DEMO-1009-2-P1-PC','273','273','2026-10-09 09:55:00','2026-10-09 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (120,345,1235,999,12,1190,'OCT0814-DEMO-1009-2-P1-PC',23,8,8,'273','273','2026-10-09 09:55:00','2026-10-09 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,120,'OCT0814-DEMO-1009-2-P2-XH',345,1235,NULL,999,-12,1190,'OCT0814-DEMO-1009-2-P1-PC',23,8,8,'2026-10-09 09:55:00','2026-10-09 09:55:00','273','273','2026-10-09 09:55:00','2026-10-09 09:55:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1235; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P2-PC',999,'2026-10-09','2027-04-07',95,1004,2,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'273','273','2026-10-09 10:15:00','2026-10-09 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P2-CC','演示工序产出',95,891,2,2,1004,'2026-10-09 10:18:00',4,'273','273','2026-10-09 10:15:00','2026-10-09 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (120,891,999,12,1191,'OCT0814-DEMO-1009-2-P2-PC','2027-04-07','OCT0814-DEMO-1009',1,'273','273','2026-10-09 10:15:00','2026-10-09 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1191,'OCT0814-DEMO-1009-2-P2-PC',23,8,8,0,0,0,0,0,'2026-10-09 10:18:00','244','244','2026-10-09 10:18:00','2026-10-09 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,120,'OCT0814-DEMO-1009-2-P2-CC',120,1236,NULL,999,12,1191,'OCT0814-DEMO-1009-2-P2-PC',23,8,8,'2026-10-09 10:18:00','2026-10-09 10:18:00','273','273','2026-10-09 10:18:00','2026-10-09 10:18:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1236; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (120,120,999,12,1191,'OCT0814-DEMO-1009-2-P2-PC',23,8,8,'273','273','2026-10-09 10:18:00','2026-10-09 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (3,3,30,7,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P3-TK','演示工序-3',95,3,55,3,3,999,12,12,12,0,1381,'2026-10-09 10:20:00','2026-10-09 10:40:00','2026-10-09 10:43:00','2026-10-09 10:40:00','2026-10-09 10:40:00',4,'244','244','2026-10-09 10:20:00','2026-10-09 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1005,3,'PT-STP-003','称量参数模板-003','OCT0814-DEMO-1005','244','244','2026-10-09 10:40:00','2026-10-09 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (151,3,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 10:40:00','2026-10-09 10:40:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P3-FB',1,'2026-10-09 10:40:00',3,55,3,95,1005,999,12,12,12,0,0,0,0,0,244,244,4,'244','244','2026-10-09 10:40:00','2026-10-09 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P3-XH','演示工序投入消耗',95,1005,3,3,892,'2026-10-09 10:20:00',4,'244','244','2026-10-09 10:20:00','2026-10-09 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (121,999,12,1191,'OCT0814-DEMO-1009-2-P2-PC','244','244','2026-10-09 10:20:00','2026-10-09 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (121,346,1236,999,12,1191,'OCT0814-DEMO-1009-2-P2-PC',23,8,8,'244','244','2026-10-09 10:20:00','2026-10-09 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,121,'OCT0814-DEMO-1009-2-P3-XH',346,1236,NULL,999,-12,1191,'OCT0814-DEMO-1009-2-P2-PC',23,8,8,'2026-10-09 10:20:00','2026-10-09 10:20:00','244','244','2026-10-09 10:20:00','2026-10-09 10:20:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1236; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P3-PC',999,'2026-10-09','2027-04-07',95,1005,3,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'244','244','2026-10-09 10:40:00','2026-10-09 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P3-CC','演示工序产出',95,892,3,3,1005,'2026-10-09 10:43:00',4,'244','244','2026-10-09 10:40:00','2026-10-09 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (121,892,999,12,1192,'OCT0814-DEMO-1009-2-P3-PC','2027-04-07','OCT0814-DEMO-1009',1,'244','244','2026-10-09 10:40:00','2026-10-09 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1192,'OCT0814-DEMO-1009-2-P3-PC',23,8,8,0,0,0,0,0,'2026-10-09 10:43:00','244','244','2026-10-09 10:43:00','2026-10-09 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,121,'OCT0814-DEMO-1009-2-P3-CC',121,1237,NULL,999,12,1192,'OCT0814-DEMO-1009-2-P3-PC',23,8,8,'2026-10-09 10:43:00','2026-10-09 10:43:00','244','244','2026-10-09 10:43:00','2026-10-09 10:43:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1237; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (121,121,999,12,1192,'OCT0814-DEMO-1009-2-P3-PC',23,8,8,'244','244','2026-10-09 10:43:00','2026-10-09 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (7,7,40,10,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P4-TK','演示工序-7',95,7,55,7,7,999,12,12,12,0,1381,'2026-10-09 10:45:00','2026-10-09 11:05:00','2026-10-09 11:08:00','2026-10-09 11:05:00','2026-10-09 11:05:00',4,'273','273','2026-10-09 10:45:00','2026-10-09 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1006,7,'PT-STP-007','人工选别参数模板-007','OCT0814-DEMO-1006','273','273','2026-10-09 11:05:00','2026-10-09 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (152,9,'PP-STP-WEIGHT','实际投料重量',1,0,38,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-09 11:05:00','2026-10-09 11:05:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P4-FB',1,'2026-10-09 11:05:00',7,55,7,95,1006,999,12,12,12,0,0,0,0,0,273,244,4,'273','273','2026-10-09 11:05:00','2026-10-09 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P4-XH','演示工序投入消耗',95,1006,7,7,893,'2026-10-09 10:45:00',4,'273','273','2026-10-09 10:45:00','2026-10-09 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (122,999,12,1192,'OCT0814-DEMO-1009-2-P3-PC','273','273','2026-10-09 10:45:00','2026-10-09 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (122,347,1237,999,12,1192,'OCT0814-DEMO-1009-2-P3-PC',23,8,8,'273','273','2026-10-09 10:45:00','2026-10-09 10:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,122,'OCT0814-DEMO-1009-2-P4-XH',347,1237,NULL,999,-12,1192,'OCT0814-DEMO-1009-2-P3-PC',23,8,8,'2026-10-09 10:45:00','2026-10-09 10:45:00','273','273','2026-10-09 10:45:00','2026-10-09 10:45:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1237; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P4-PC',999,'2026-10-09','2027-04-07',95,1006,7,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'273','273','2026-10-09 11:05:00','2026-10-09 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P4-CC','演示工序产出',95,893,7,7,1006,'2026-10-09 11:08:00',4,'273','273','2026-10-09 11:05:00','2026-10-09 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (122,893,999,12,1193,'OCT0814-DEMO-1009-2-P4-PC','2027-04-07','OCT0814-DEMO-1009',1,'273','273','2026-10-09 11:05:00','2026-10-09 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1193,'OCT0814-DEMO-1009-2-P4-PC',23,8,8,0,0,0,0,0,'2026-10-09 11:08:00','244','244','2026-10-09 11:08:00','2026-10-09 11:08:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,122,'OCT0814-DEMO-1009-2-P4-CC',122,1238,NULL,999,12,1193,'OCT0814-DEMO-1009-2-P4-PC',23,8,8,'2026-10-09 11:08:00','2026-10-09 11:08:00','273','273','2026-10-09 11:08:00','2026-10-09 11:08:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1238; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (122,122,999,12,1193,'OCT0814-DEMO-1009-2-P4-PC',23,8,8,'273','273','2026-10-09 11:08:00','2026-10-09 11:08:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (10,10,50,11,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P5-TK','演示工序-10',95,10,55,10,10,999,12,12,12,0,1381,'2026-10-09 11:10:00','2026-10-09 11:30:00','2026-10-09 11:33:00','2026-10-09 11:30:00','2026-10-09 11:30:00',4,'244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1007,10,'PT-STP-010','内包装参数模板-010','OCT0814-DEMO-1007','244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (153,14,'PP-STP-PACK','内包装净含量',1,0,30,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (153,15,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P5-FB',1,'2026-10-09 11:30:00',10,55,10,95,1007,999,12,12,12,0,0,0,0,0,244,244,4,'244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P5-LL','演示生产领料',95,1007,10,'2026-10-09 11:05:00','2026-10-09 11:10:00',4,'244','244','2026-10-09 11:00:00','2026-10-09 11:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (66,1007,882,24,12.000000,12.000000,1188,'244','244','2026-10-09 11:00:00','2026-10-09 11:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (66,160,1232,882,12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC',22,7,7,'244','244','2026-10-09 11:00:00','2026-10-09 11:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,66,'OCT0814-DEMO-1009-2-P5-LL',160,1232,NULL,882,-12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC',22,7,7,'2026-10-09 11:05:00','2026-10-09 11:05:00','244','244','2026-10-09 11:05:00','2026-10-09 11:05:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1232; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (882,1188,'OCT0814-DEMO-1009-2-RAW2-PC',23,8,8,0,0,0,0,0,'2026-10-09 11:05:00','244','244','2026-10-09 11:05:00','2026-10-09 11:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,66,'OCT0814-DEMO-1009-2-P5-LL',160,1239,1630,882,12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC',23,8,8,'2026-10-09 11:05:00','2026-10-09 11:05:00','244','244','2026-10-09 11:05:00','2026-10-09 11:05:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12.000000,update_time=update_time WHERE id=1239; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1007,95,10,'PRODUCT_ISSUE',66,160,'OCT0814-DEMO-1009-2-P5-LL','OCT0814-DEMO-1009-2-RAW2-PC',882,24,12.000000,0,12.000000,'244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P5-XH','演示工序投入消耗',95,1007,10,10,894,'2026-10-09 11:10:00',4,'244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (123,882,12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC','244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (123,348,1239,882,12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC',23,8,8,'244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,123,'OCT0814-DEMO-1009-2-P5-XH',348,1239,NULL,882,-12.000000,1188,'OCT0814-DEMO-1009-2-RAW2-PC',23,8,8,'2026-10-09 11:10:00','2026-10-09 11:10:00','244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1239; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (123,999,12,1193,'OCT0814-DEMO-1009-2-P4-PC','244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (123,349,1238,999,12,1193,'OCT0814-DEMO-1009-2-P4-PC',23,8,8,'244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,123,'OCT0814-DEMO-1009-2-P5-XH',349,1238,NULL,999,-12,1193,'OCT0814-DEMO-1009-2-P4-PC',23,8,8,'2026-10-09 11:10:00','2026-10-09 11:10:00','244','244','2026-10-09 11:10:00','2026-10-09 11:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1238; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P5-PC',999,'2026-10-09','2027-04-07',95,1007,10,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P5-CC','演示工序产出',95,894,10,10,1007,'2026-10-09 11:33:00',4,'244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (123,894,999,12,1194,'OCT0814-DEMO-1009-2-P5-PC','2027-04-07','OCT0814-DEMO-1009',1,'244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1194,'OCT0814-DEMO-1009-2-P5-PC',23,8,8,0,0,0,0,0,'2026-10-09 11:33:00','244','244','2026-10-09 11:33:00','2026-10-09 11:33:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,123,'OCT0814-DEMO-1009-2-P5-CC',123,1240,NULL,999,12,1194,'OCT0814-DEMO-1009-2-P5-PC',23,8,8,'2026-10-09 11:33:00','2026-10-09 11:33:00','244','244','2026-10-09 11:33:00','2026-10-09 11:33:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1240; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (123,123,999,12,1194,'OCT0814-DEMO-1009-2-P5-PC',23,8,8,'244','244','2026-10-09 11:33:00','2026-10-09 11:33:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (11,11,60,12,3,NULL,NULL,NULL,1,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P6-TK','演示工序-11',95,11,55,11,11,999,12,12,12,0,1381,'2026-10-09 11:35:00','2026-10-09 11:55:00','2026-10-09 11:58:00','2026-10-09 11:55:00','2026-10-09 11:55:00',4,'273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1008,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1008','273','273','2026-10-09 11:55:00','2026-10-09 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (154,16,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-09 11:55:00','2026-10-09 11:55:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P6-FB',1,'2026-10-09 11:55:00',11,55,11,95,1008,999,12,12,12,0,0,0,0,0,273,244,4,'273','273','2026-10-09 11:55:00','2026-10-09 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P6-LL','演示生产领料',95,1008,11,'2026-10-09 11:30:00','2026-10-09 11:35:00',4,'244','244','2026-10-09 11:25:00','2026-10-09 11:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (67,1008,883,24,12.000000,12.000000,1189,'244','244','2026-10-09 11:25:00','2026-10-09 11:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (67,161,1233,883,12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC',22,7,7,'244','244','2026-10-09 11:25:00','2026-10-09 11:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,67,'OCT0814-DEMO-1009-2-P6-LL',161,1233,NULL,883,-12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC',22,7,7,'2026-10-09 11:30:00','2026-10-09 11:30:00','244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1233; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (883,1189,'OCT0814-DEMO-1009-2-RAW3-PC',23,8,8,0,0,0,0,0,'2026-10-09 11:30:00','244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,67,'OCT0814-DEMO-1009-2-P6-LL',161,1241,1635,883,12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC',23,8,8,'2026-10-09 11:30:00','2026-10-09 11:30:00','244','244','2026-10-09 11:30:00','2026-10-09 11:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12.000000,update_time=update_time WHERE id=1241; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1008,95,11,'PRODUCT_ISSUE',67,161,'OCT0814-DEMO-1009-2-P6-LL','OCT0814-DEMO-1009-2-RAW3-PC',883,24,12.000000,0,12.000000,'273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P6-XH','演示工序投入消耗',95,1008,11,11,895,'2026-10-09 11:35:00',4,'273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (124,883,12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC','273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (124,350,1241,883,12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC',23,8,8,'273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,124,'OCT0814-DEMO-1009-2-P6-XH',350,1241,NULL,883,-12.000000,1189,'OCT0814-DEMO-1009-2-RAW3-PC',23,8,8,'2026-10-09 11:35:00','2026-10-09 11:35:00','273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1241; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (124,999,12,1194,'OCT0814-DEMO-1009-2-P5-PC','273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (124,351,1240,999,12,1194,'OCT0814-DEMO-1009-2-P5-PC',23,8,8,'273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,124,'OCT0814-DEMO-1009-2-P6-XH',351,1240,NULL,999,-12,1194,'OCT0814-DEMO-1009-2-P5-PC',23,8,8,'2026-10-09 11:35:00','2026-10-09 11:35:00','273','273','2026-10-09 11:35:00','2026-10-09 11:35:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1240; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P6-PC',999,'2026-10-09','2027-04-07',95,1008,11,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'273','273','2026-10-09 11:55:00','2026-10-09 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P6-CC','演示工序产出',95,895,11,11,1008,'2026-10-09 11:58:00',4,'273','273','2026-10-09 11:55:00','2026-10-09 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (124,895,999,12,1195,'OCT0814-DEMO-1009-2-P6-PC','2027-04-07','OCT0814-DEMO-1009',1,'273','273','2026-10-09 11:55:00','2026-10-09 11:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1195,'OCT0814-DEMO-1009-2-P6-PC',23,8,8,0,0,0,0,0,'2026-10-09 11:58:00','244','244','2026-10-09 11:58:00','2026-10-09 11:58:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,124,'OCT0814-DEMO-1009-2-P6-CC',124,1242,NULL,999,12,1195,'OCT0814-DEMO-1009-2-P6-PC',23,8,8,'2026-10-09 11:58:00','2026-10-09 11:58:00','273','273','2026-10-09 11:58:00','2026-10-09 11:58:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1242; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (124,124,999,12,1195,'OCT0814-DEMO-1009-2-P6-PC',23,8,8,'273','273','2026-10-09 11:58:00','2026-10-09 11:58:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (12,12,70,13,3,NULL,NULL,NULL,0,1,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-TK','演示工序-12',95,12,55,12,12,999,12,12,12,0,1381,'2026-10-09 12:00:00','2026-10-09 12:20:00','2026-10-09 12:23:00','2026-10-09 12:20:00','2026-10-09 12:20:00',4,'244','244','2026-10-09 12:00:00','2026-10-09 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1009,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1009','244','244','2026-10-09 12:20:00','2026-10-09 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (155,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 12:20:00','2026-10-09 12:20:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-FB',1,'2026-10-09 12:20:00',12,55,12,95,1009,999,12,12,12,0,0,0,0,0,244,244,4,'244','244','2026-10-09 12:20:00','2026-10-09 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-XH','演示工序投入消耗',95,1009,12,12,896,'2026-10-09 12:00:00',4,'244','244','2026-10-09 12:00:00','2026-10-09 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (125,999,12,1195,'OCT0814-DEMO-1009-2-P6-PC','244','244','2026-10-09 12:00:00','2026-10-09 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (125,352,1242,999,12,1195,'OCT0814-DEMO-1009-2-P6-PC',23,8,8,'244','244','2026-10-09 12:00:00','2026-10-09 12:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,125,'OCT0814-DEMO-1009-2-P7-XH',352,1242,NULL,999,-12,1195,'OCT0814-DEMO-1009-2-P6-PC',23,8,8,'2026-10-09 12:00:00','2026-10-09 12:00:00','244','244','2026-10-09 12:00:00','2026-10-09 12:00:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1242; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-PC',999,'2026-10-09','2027-04-07',95,1009,12,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'244','244','2026-10-09 12:20:00','2026-10-09 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-CC','演示工序产出',95,896,12,12,1009,'2026-10-09 12:23:00',4,'244','244','2026-10-09 12:20:00','2026-10-09 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (125,896,999,12,1196,'OCT0814-DEMO-1009-2-P7-PC','2027-04-07','OCT0814-DEMO-1009',1,'244','244','2026-10-09 12:20:00','2026-10-09 12:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`type`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-IPQC','OCT0814-DEMO-1009-2-P7-IPQC-演示检验',282,999,12,12,0,0,0,0,0,0,0,1,'2026-10-09 12:22:00',289,4,'演示样品,非真实质检记录',5,124,125,125,'OCT0814-DEMO-1009-2-P7-CC',95,1009,12,12,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P7-IPQC-R',136,2,999,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,57,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.2;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,57,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,58,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.3;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,58,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,13,'电热鼓风干燥箱(配电子天平)','来源:SOP-QC-(YL)012-03 §3.1;GB5009.3;SOP-QC-(JF)001','7.000000',NULL,'7.000000',NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,13,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,3,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,3,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,60,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §正文;','39.500000',NULL,'48.000000','31.000000',0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,60,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,19,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.5;GB5009.11;SOP-QC-(JF)010','1.000000',NULL,'1.000000',NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,19,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,61,'紫外-可见分光光度计(配离子色谱柱)','来源:SOP-QC-(YL)012-03 §3.6;GB5009.33;SOP-QC-(JF)004','29.000000',NULL,'29.000000',NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,61,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,56,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.1;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,56,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,48,'分析天平(万分之一)','来源:SOP-QC-(YL)012-03 §2.1.4;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,48,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,29,'凯氏定氮仪','来源:SOP-QC-(YL)012-03 §3.2;GB5009.5;SOP-QC-(JF)002','10.000000',NULL,NULL,'10.000000',0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,29,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,59,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §3.3;GB31614.1—2023','50.000000',NULL,NULL,'50.000000',0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,59,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.4;GB5009.12;SOP-QC-(JF)009','0.500000',NULL,'0.500000',NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (136,62,'全玻璃蒸馏装置(配可见分光光度计)','来源:SOP-QC-(YL)012-03 §3.7;GB5009.34;SOP-QC-(JF)008','30.000000',NULL,'30.000000',NULL,0,0,0,'289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1277,62,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-09 12:22:00','2026-10-09 12:22:00',0); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1196,'OCT0814-DEMO-1009-2-P7-PC',23,8,8,0,0,0,0,0,'2026-10-09 12:23:00','244','244','2026-10-09 12:23:00','2026-10-09 12:23:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,125,'OCT0814-DEMO-1009-2-P7-CC',125,1243,NULL,999,12,1196,'OCT0814-DEMO-1009-2-P7-PC',23,8,8,'2026-10-09 12:23:00','2026-10-09 12:23:00','244','244','2026-10-09 12:23:00','2026-10-09 12:23:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1243; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (125,125,999,12,1196,'OCT0814-DEMO-1009-2-P7-PC',23,8,8,'244','244','2026-10-09 12:23:00','2026-10-09 12:23:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (13,13,80,24,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P8-TK','演示工序-13',95,13,55,13,13,999,12,12,12,0,1381,'2026-10-09 12:25:00','2026-10-09 12:45:00','2026-10-09 12:48:00','2026-10-09 12:45:00','2026-10-09 12:45:00',4,'273','273','2026-10-09 12:25:00','2026-10-09 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1010,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1010','273','273','2026-10-09 12:45:00','2026-10-09 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (156,18,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-09 12:45:00','2026-10-09 12:45:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P8-FB',1,'2026-10-09 12:45:00',13,55,13,95,1010,999,12,12,12,0,0,0,0,0,273,244,4,'273','273','2026-10-09 12:45:00','2026-10-09 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P8-XH','演示工序投入消耗',95,1010,13,13,897,'2026-10-09 12:25:00',4,'273','273','2026-10-09 12:25:00','2026-10-09 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (126,999,12,1196,'OCT0814-DEMO-1009-2-P7-PC','273','273','2026-10-09 12:25:00','2026-10-09 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (126,353,1243,999,12,1196,'OCT0814-DEMO-1009-2-P7-PC',23,8,8,'273','273','2026-10-09 12:25:00','2026-10-09 12:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,126,'OCT0814-DEMO-1009-2-P8-XH',353,1243,NULL,999,-12,1196,'OCT0814-DEMO-1009-2-P7-PC',23,8,8,'2026-10-09 12:25:00','2026-10-09 12:25:00','273','273','2026-10-09 12:25:00','2026-10-09 12:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1243; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P8-PC',999,'2026-10-09','2027-04-07',95,1010,13,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'273','273','2026-10-09 12:45:00','2026-10-09 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P8-CC','演示工序产出',95,897,13,13,1010,'2026-10-09 12:48:00',4,'273','273','2026-10-09 12:45:00','2026-10-09 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (126,897,999,12,1197,'OCT0814-DEMO-1009-2-P8-PC','2027-04-07','OCT0814-DEMO-1009',1,'273','273','2026-10-09 12:45:00','2026-10-09 12:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1197,'OCT0814-DEMO-1009-2-P8-PC',23,8,8,0,0,0,0,0,'2026-10-09 12:48:00','244','244','2026-10-09 12:48:00','2026-10-09 12:48:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,126,'OCT0814-DEMO-1009-2-P8-CC',126,1244,NULL,999,12,1197,'OCT0814-DEMO-1009-2-P8-PC',23,8,8,'2026-10-09 12:48:00','2026-10-09 12:48:00','273','273','2026-10-09 12:48:00','2026-10-09 12:48:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1244; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (126,126,999,12,1197,'OCT0814-DEMO-1009-2-P8-PC',23,8,8,'273','273','2026-10-09 12:48:00','2026-10-09 12:48:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (24,24,90,25,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P9-TK','演示工序-24',95,24,55,24,24,999,12,12,12,0,1381,'2026-10-09 12:50:00','2026-10-09 13:10:00','2026-10-09 13:13:00','2026-10-09 13:10:00','2026-10-09 13:10:00',4,'244','244','2026-10-09 12:50:00','2026-10-09 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1011,24,'PT-STP-024','瞬时灭菌参数模板-024','OCT0814-DEMO-1011','244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (157,33,'PP-STP-TEMP','工艺温度',1,1,84,'100','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (157,34,'PP-STP-SEC','瞬时处理时间',1,1,86,'30','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P9-FB',1,'2026-10-09 13:10:00',24,55,24,95,1011,999,12,12,12,0,0,0,0,0,244,244,4,'244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P9-XH','演示工序投入消耗',95,1011,24,24,898,'2026-10-09 12:50:00',4,'244','244','2026-10-09 12:50:00','2026-10-09 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (127,999,12,1197,'OCT0814-DEMO-1009-2-P8-PC','244','244','2026-10-09 12:50:00','2026-10-09 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (127,354,1244,999,12,1197,'OCT0814-DEMO-1009-2-P8-PC',23,8,8,'244','244','2026-10-09 12:50:00','2026-10-09 12:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,127,'OCT0814-DEMO-1009-2-P9-XH',354,1244,NULL,999,-12,1197,'OCT0814-DEMO-1009-2-P8-PC',23,8,8,'2026-10-09 12:50:00','2026-10-09 12:50:00','244','244','2026-10-09 12:50:00','2026-10-09 12:50:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1244; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P9-PC',999,'2026-10-09','2027-04-07',95,1011,24,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P9-CC','演示工序产出',95,898,24,24,1011,'2026-10-09 13:13:00',4,'244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (127,898,999,12,1198,'OCT0814-DEMO-1009-2-P9-PC','2027-04-07','OCT0814-DEMO-1009',1,'244','244','2026-10-09 13:10:00','2026-10-09 13:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1198,'OCT0814-DEMO-1009-2-P9-PC',23,8,8,0,0,0,0,0,'2026-10-09 13:13:00','244','244','2026-10-09 13:13:00','2026-10-09 13:13:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,127,'OCT0814-DEMO-1009-2-P9-CC',127,1245,NULL,999,12,1198,'OCT0814-DEMO-1009-2-P9-PC',23,8,8,'2026-10-09 13:13:00','2026-10-09 13:13:00','244','244','2026-10-09 13:13:00','2026-10-09 13:13:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1245; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (127,127,999,12,1198,'OCT0814-DEMO-1009-2-P9-PC',23,8,8,'244','244','2026-10-09 13:13:00','2026-10-09 13:13:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (25,25,100,NULL,3,NULL,NULL,NULL,0,0,0,NULL,95,'244','244','2026-10-09 08:45:00','2026-10-09 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P10-TK','演示工序-25',95,25,55,25,25,999,12,12,12,0,1381,'2026-10-09 13:15:00','2026-10-09 13:35:00','2026-10-09 13:38:00','2026-10-09 13:35:00','2026-10-09 13:35:00',4,'273','273','2026-10-09 13:15:00','2026-10-09 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (95,1012,25,'PT-STP-025','热灌装参数模板-025','OCT0814-DEMO-1012','273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (158,35,'PP-STP-TEMP','工艺温度',1,1,84,'87','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (158,36,'PP-STP-FILL','灌装净含量',1,0,50,'015','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P10-FB',1,'2026-10-09 13:35:00',25,55,25,95,1012,999,12,12,12,0,0,0,0,0,273,244,4,'273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P10-XH','演示工序投入消耗',95,1012,25,25,899,'2026-10-09 13:15:00',4,'273','273','2026-10-09 13:15:00','2026-10-09 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (128,999,12,1198,'OCT0814-DEMO-1009-2-P9-PC','273','273','2026-10-09 13:15:00','2026-10-09 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (128,355,1245,999,12,1198,'OCT0814-DEMO-1009-2-P9-PC',23,8,8,'273','273','2026-10-09 13:15:00','2026-10-09 13:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,128,'OCT0814-DEMO-1009-2-P10-XH',355,1245,NULL,999,-12,1198,'OCT0814-DEMO-1009-2-P9-PC',23,8,8,'2026-10-09 13:15:00','2026-10-09 13:15:00','273','273','2026-10-09 13:15:00','2026-10-09 13:15:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1245; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P10-PC',999,'2026-10-09','2027-04-07',95,1012,25,1381,'OCT0814-DEMO-1009-2-XS','OCT0814-DEMO-1009',1,'273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-P10-CC','演示工序产出',95,899,25,25,1012,'2026-10-09 13:38:00',4,'273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (128,899,999,12,1199,'OCT0814-DEMO-1009-2-P10-PC','2027-04-07','OCT0814-DEMO-1009',1,'273','273','2026-10-09 13:35:00','2026-10-09 13:35:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1199,'OCT0814-DEMO-1009-2-P10-PC',23,8,8,0,0,0,0,0,'2026-10-09 13:38:00','244','244','2026-10-09 13:38:00','2026-10-09 13:38:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,128,'OCT0814-DEMO-1009-2-P10-CC',128,1246,NULL,999,12,1199,'OCT0814-DEMO-1009-2-P10-PC',23,8,8,'2026-10-09 13:38:00','2026-10-09 13:38:00','273','273','2026-10-09 13:38:00','2026-10-09 13:38:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1246; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (128,128,999,12,1199,'OCT0814-DEMO-1009-2-P10-PC',23,8,8,'273','273','2026-10-09 13:38:00','2026-10-09 13:38:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `mes_pro_work_order` SET `batch_code`='OCT0814-DEMO-1009-2-P10-PC',update_time=update_time WHERE id=95; INSERT INTO `mes_wm_product_receipt` (`code`,`name`,`work_order_id`,`item_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-RK','演示成品入库-即食小罐洞燕窝',95,999,'2026-10-09 14:30:00',4,'244','244','2026-10-09 14:15:00','2026-10-09 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_receipt_line` (`receipt_id`,`item_id`,`quantity`,`material_stock_id`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (10,999,12,1246,1199,'OCT0814-DEMO-1009-2-P10-PC','244','244','2026-10-09 14:15:00','2026-10-09 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,118,10,'OCT0814-DEMO-1009-2-RK',10,1246,NULL,999,-12,1199,'OCT0814-DEMO-1009-2-P10-PC',23,8,8,'2026-10-09 14:30:00','2026-10-09 14:30:00','244','244','2026-10-09 14:30:00','2026-10-09 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1246; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (999,1199,'OCT0814-DEMO-1009-2-P10-PC',18,3,3,0,0,0,0,0,'2026-10-09 14:30:00','244','244','2026-10-09 14:30:00','2026-10-09 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,118,10,'OCT0814-DEMO-1009-2-RK',10,1247,1648,999,12,1199,'OCT0814-DEMO-1009-2-P10-PC',18,3,3,'2026-10-09 14:30:00','2026-10-09 14:30:00','244','244','2026-10-09 14:30:00','2026-10-09 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=12,update_time=update_time WHERE id=1247; INSERT INTO `mes_wm_product_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (10,10,1247,999,12,1199,18,3,3,'244','244','2026-10-09 14:30:00','2026-10-09 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice` (`code`,`name`,`client_id`,`sale_order_id`,`sale_order_code`,`sales_date`,`delivery_date`,`status`,`out_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-FH','演示发货通知-即食小罐洞燕窝',1381,1056,'OCT0814-DEMO-1009-2-XS','2026-10-09 14:40:00','2026-10-09 15:30:00',4,2,'291','291','2026-10-09 14:40:00','2026-10-09 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice_line` (`notice_id`,`sale_order_item_id`,`item_id`,`batch_id`,`batch_code`,`quantity`,`out_count`,`oqc_check_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (34,4180,999,1199,'OCT0814-DEMO-1009-2-P10-PC',12,12,1,'291','291','2026-10-09 14:40:00','2026-10-09 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales` (`code`,`name`,`client_id`,`sale_order_id`,`notice_id`,`sales_order_code`,`sales_date`,`carrier`,`shipping_number`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-CK','演示销售出库-即食小罐洞燕窝',1381,1056,34,'OCT0814-DEMO-1009-2-XS','2026-10-09 15:30:00','演示自配送','OCT0814-DEMO-1009-2-SHIP',4,'244','244','2026-10-09 14:50:00','2026-10-09 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales_line` (`sales_id`,`sale_order_item_id`,`notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`batch_id`,`batch_code`,`material_stock_id`,`quantity`,`oqc_check_flag`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (33,4180,86,999,9,12,1199,'OCT0814-DEMO-1009-2-P10-PC',1247,12,1,1,'244','244','2026-10-09 14:50:00','2026-10-09 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`client_id`,`batch_code`,`out_quantity`,`out_date`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-OQC','OCT0814-DEMO-1009-2-OQC-演示检验',283,999,12,12,0,0,0,0,0,0,0,1,'2026-10-09 15:00:00',290,4,'演示样品,非真实质检记录',119,33,85,'OCT0814-DEMO-1009-2-CK',1381,'OCT0814-DEMO-1009-2-P10-PC',12,'2026-10-09 15:30:00','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1009-2-OQC-R',364,3,999,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,57,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.2;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,57,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,58,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.3;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,58,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,13,'电热鼓风干燥箱(配电子天平)','来源:SOP-QC-(YL)012-03 §3.1;GB5009.3;SOP-QC-(JF)001','7.000000',NULL,'7.000000',NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,13,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,3,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,3,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,60,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §正文;','39.500000',NULL,'48.000000','31.000000',0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,60,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,19,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.5;GB5009.11;SOP-QC-(JF)010','1.000000',NULL,'1.000000',NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,19,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,61,'紫外-可见分光光度计(配离子色谱柱)','来源:SOP-QC-(YL)012-03 §3.6;GB5009.33;SOP-QC-(JF)004','29.000000',NULL,'29.000000',NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,61,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,56,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)012-03 §2.1.1;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,56,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,48,'分析天平(万分之一)','来源:SOP-QC-(YL)012-03 §2.1.4;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,48,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,29,'凯氏定氮仪','来源:SOP-QC-(YL)012-03 §3.2;GB5009.5;SOP-QC-(JF)002','10.000000',NULL,NULL,'10.000000',0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,29,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,59,'高效液相色谱仪(配分析天平)','来源:SOP-QC-(YL)012-03 §3.3;GB31614.1—2023','50.000000',NULL,NULL,'50.000000',0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,59,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)012-03 §3.4;GB5009.12;SOP-QC-(JF)009','0.500000',NULL,'0.500000',NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (364,62,'全玻璃蒸馏装置(配可见分光光度计)','来源:SOP-QC-(YL)012-03 §3.7;GB5009.34;SOP-QC-(JF)008','30.000000',NULL,'30.000000',NULL,0,0,0,'290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1278,62,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-09 15:00:00','2026-10-09 15:00:00',0); UPDATE `mes_wm_product_sales_line` SET `oqc_id`=364,update_time=update_time WHERE id=85; INSERT INTO `mes_wm_product_sales_detail` (`sales_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (33,85,1247,999,12,1199,'OCT0814-DEMO-1009-2-P10-PC',18,3,3,'244','244','2026-10-09 15:30:00','2026-10-09 15:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_stock_reserve` (`material_stock_id`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`item_id`,`quantity`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1247,1,33,'OCT0814-DEMO-1009-2-CK',85,999,12,3,'244','244','2026-10-09 15:20:00','2026-10-09 15:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,119,33,'OCT0814-DEMO-1009-2-CK',85,1247,NULL,999,-12,1199,'OCT0814-DEMO-1009-2-P10-PC',18,3,3,'2026-10-09 15:30:00','2026-10-09 15:30:00','244','244','2026-10-09 15:30:00','2026-10-09 15:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1247; INSERT INTO `crm_business` (`name`,`customer_id`,`owner_user_id`,`follow_up_status`,`status_type_id`,`status_id`,`end_status`,`deal_time`,`total_product_price`,`discount_percent`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('演示-枸杞原浆-1012',1359,291,1,1,5,1,'2026-10-12 08:25:00',408.00,0,461.04,'291','291','2026-10-12 08:00:00','2026-10-12 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_business_product` (`business_id`,`item_id`,`item_unit_id`,`item_price`,`business_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1167,497,24,17.00,17.00,24,408.00,'291','291','2026-10-12 08:00:00','2026-10-12 08:00:00',0); INSERT INTO `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('OCT0814-DEMO-1012-3-BJ','演示报价-枸杞原浆',1359,1167,291,10,'2026-10-12 08:10:00','2026-11-11 08:10:00',408.00,0,0,461.04,13,53.04,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 报价为演示价格,非现行报价政策;OCT0814-DEMO','291','291','2026-10-12 08:10:00','2026-10-12 08:10:00',0,0); INSERT INTO `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES (544,497,24,17.00,17.00,24,408.00,13,53.04,'291','291','2026-10-12 08:10:00','2026-10-12 08:10:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`sign_user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-HT','演示合同-枸杞原浆',1359,1167,291,20,'2026-10-12 08:20:00','2026-10-12 08:20:00','2026-11-11 08:20:00',461.04,461.04,0,0,291,'291','291','2026-10-12 08:20:00','2026-10-12 08:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (544,497,24,19.21,19.21,24,461.04,'291','291','2026-10-12 08:20:00','2026-10-12 08:20:00',0); INSERT INTO `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`production_finish_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-XS',20,1359,544,'OCT0814-DEMO-1012-3-HT',291,'2026-10-12 08:25:00',24,408.00,53.04,461.04,0,0,0,24,3,1,'2026-10-12 13:45:00','291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`out_count`,`need_production`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1057,497,24,17.00,24,408.00,13,53.04,24,1,'291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `crm_contract` SET `order_id`=1057,`order_no`='OCT0814-DEMO-1012-3-XS',update_time=update_time WHERE id=544; UPDATE `crm_sale_quotation` SET `contract_id`=544,`contract_no`='OCT0814-DEMO-1012-3-HT',update_time=update_time WHERE id=544; UPDATE `crm_business` SET `order_id`=1057,`order_no`='OCT0814-DEMO-1012-3-XS',update_time=update_time WHERE id=1167; INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,1359,544,291,'2026-10-19 16:00:00',8,138.31,3,'2026-10-16 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-12 08:22:00','2026-10-12 08:22:00',0); INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,1359,544,291,'2026-11-11 16:00:00',8,322.73,3,'2026-11-09 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-12 08:22:00','2026-10-12 08:22:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1167,291,1,'291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (5,544,291,1,'291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (9,544,291,1,'291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,39,291,1,'291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,40,291,1,'291','291','2026-10-12 08:25:00','2026-10-12 08:25:00',0); INSERT INTO `crm_follow_up_record` (`biz_type`,`biz_id`,`type`,`content`,`next_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1167,1,'演示跟进:客户询价→报价确认→签约→转销售生产;OCT0814-DEMO','2026-10-13 16:00:00','291','291','2026-10-12 08:05:00','2026-10-12 08:05:00',0); INSERT INTO `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`auto_finish_flag`,`request_date`,`finish_date`,`status`,`is_feedback_approve`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-WO','演示生产-枸杞原浆',1,1,'OCT0814-DEMO-1012-3-XS',497,24,24,24,0,1359,36,1,'2026-10-12 13:30:00','2026-10-12 13:45:00',2,0,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES ('OCT0814-DEMO-1012-3-MPS',2,1057,'OCT0814-DEMO-1012-3-XS',4181,497,24,24,24,1359,'2026-10-12 13:30:00','2026-10-12 08:45:00','2026-10-12 13:45:00',96,'OCT0814-DEMO-1012-3-WO',0,'244','244','2026-10-12 08:35:00','2026-10-12 08:35:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `erp_sale_order_items` SET `mps_id`=3500,update_time=update_time WHERE id=4181; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,11,610,24.000000,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,11,625,24.000000,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,11,626,0.672000,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,11,627,1.344000,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,11,628,240.000000,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW1-DH','演示来料-质量保障防伪贴小号-圆25MM','2026-10-12 08:50:00',4,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (39,610,24.000000,24.000000,1,1,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW1-IQC','OCT0814-DEMO-1012-3-RAW1-IQC-演示检验',281,610,24.000000,24.000000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,39,39,'OCT0814-DEMO-1012-3-RAW1-DH',24.000000,'2026-10-12 08:50:00','OCT0814-DEMO-1012-3-RAW1-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW1-IQC-R',85,1,610,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (85,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1279,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (85,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1279,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=85,update_time=update_time WHERE id=39; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW1-PC',610,'2026-10-12','2026-10-12',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW1-RK','演示来料入库-质量保障防伪贴小号-圆25MM',85,39,'2026-10-12 09:10:00',4,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (102,39,610,63,24.000000,24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC','2026-10-12','OCT0814-DEMO-RAW','244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (610,1200,'OCT0814-DEMO-1012-3-RAW1-PC',22,7,7,0,0,0,0,0,'2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,102,'OCT0814-DEMO-1012-3-RAW1-RK',102,1248,NULL,610,24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC',22,7,7,'2026-10-12 09:10:00','2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24.000000,update_time=update_time WHERE id=1248; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (102,102,1248,610,24.000000,1200,22,7,7,'244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW2-DH','演示来料-青源堂-枸杞原浆外盒','2026-10-12 08:50:00',4,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (40,625,24.000000,24.000000,1,1,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW2-IQC','OCT0814-DEMO-1012-3-RAW2-IQC-演示检验',281,625,24.000000,24.000000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,40,40,'OCT0814-DEMO-1012-3-RAW2-DH',24.000000,'2026-10-12 08:50:00','OCT0814-DEMO-1012-3-RAW2-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW2-IQC-R',86,1,625,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (86,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1280,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (86,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1280,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=86,update_time=update_time WHERE id=40; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW2-PC',625,'2026-10-12','2026-10-12',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW2-RK','演示来料入库-青源堂-枸杞原浆外盒',86,40,'2026-10-12 09:10:00',4,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (103,40,625,24,24.000000,24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC','2026-10-12','OCT0814-DEMO-RAW','244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (625,1201,'OCT0814-DEMO-1012-3-RAW2-PC',22,7,7,0,0,0,0,0,'2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,103,'OCT0814-DEMO-1012-3-RAW2-RK',103,1249,NULL,625,24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC',22,7,7,'2026-10-12 09:10:00','2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24.000000,update_time=update_time WHERE id=1249; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (103,103,1249,625,24.000000,1201,22,7,7,'244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW3-DH','演示来料-造养青年-沙棘原浆-300ml(*10袋)外箱','2026-10-12 08:50:00',4,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (41,626,0.672000,0.672000,1,1,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW3-IQC','OCT0814-DEMO-1012-3-RAW3-IQC-演示检验',281,626,0.672000,0.672000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,41,41,'OCT0814-DEMO-1012-3-RAW3-DH',0.672000,'2026-10-12 08:50:00','OCT0814-DEMO-1012-3-RAW3-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW3-IQC-R',87,1,626,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (87,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1281,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (87,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1281,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=87,update_time=update_time WHERE id=41; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW3-PC',626,'2026-10-12','2026-10-12',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW3-RK','演示来料入库-造养青年-沙棘原浆-300ml(*10袋)外箱',87,41,'2026-10-12 09:10:00',4,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (104,41,626,24,0.672000,0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC','2026-10-12','OCT0814-DEMO-RAW','244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (626,1202,'OCT0814-DEMO-1012-3-RAW3-PC',24,9,9,0,0,0,0,0,'2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,104,'OCT0814-DEMO-1012-3-RAW3-RK',104,1250,NULL,626,0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC',24,9,9,'2026-10-12 09:10:00','2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.672000,update_time=update_time WHERE id=1250; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (104,104,1250,626,0.672000,1202,24,9,9,'244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW4-DH','演示来料-造养青年-沙棘原浆-300ml(*10袋)外箱垫板','2026-10-12 08:50:00',4,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (42,627,1.344000,1.344000,1,1,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW4-IQC','OCT0814-DEMO-1012-3-RAW4-IQC-演示检验',281,627,1.344000,1.344000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,42,42,'OCT0814-DEMO-1012-3-RAW4-DH',1.344000,'2026-10-12 08:50:00','OCT0814-DEMO-1012-3-RAW4-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW4-IQC-R',88,1,627,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (88,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1282,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (88,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1282,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=88,update_time=update_time WHERE id=42; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW4-PC',627,'2026-10-12','2026-10-12',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW4-RK','演示来料入库-造养青年-沙棘原浆-300ml(*10袋)外箱垫板',88,42,'2026-10-12 09:10:00',4,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (105,42,627,82,1.344000,1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC','2026-10-12','OCT0814-DEMO-RAW','244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (627,1203,'OCT0814-DEMO-1012-3-RAW4-PC',24,9,9,0,0,0,0,0,'2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,105,'OCT0814-DEMO-1012-3-RAW4-RK',105,1251,NULL,627,1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC',24,9,9,'2026-10-12 09:10:00','2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=1.344000,update_time=update_time WHERE id=1251; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (105,105,1251,627,1.344000,1203,24,9,9,'244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW5-DH','演示来料-枸杞原浆-30ml(青源堂)','2026-10-12 08:50:00',4,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (43,628,240.000000,240.000000,1,1,'244','244','2026-10-12 08:50:00','2026-10-12 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW5-IQC','OCT0814-DEMO-1012-3-RAW5-IQC-演示检验',281,628,240.000000,240.000000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,43,43,'OCT0814-DEMO-1012-3-RAW5-DH',240.000000,'2026-10-12 08:50:00','OCT0814-DEMO-1012-3-RAW5-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW5-IQC-R',89,1,628,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (89,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1283,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (89,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1283,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 09:00:00','2026-10-12 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=89,update_time=update_time WHERE id=43; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW5-PC',628,'2026-10-12','2026-10-12',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RAW5-RK','演示来料入库-枸杞原浆-30ml(青源堂)',89,43,'2026-10-12 09:10:00',4,'244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (106,43,628,3,240.000000,240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC','2026-10-12','OCT0814-DEMO-RAW','244','244','2026-10-12 09:05:00','2026-10-12 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (628,1204,'OCT0814-DEMO-1012-3-RAW5-PC',18,3,3,0,0,0,0,0,'2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,106,'OCT0814-DEMO-1012-3-RAW5-RK',106,1252,NULL,628,240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC',18,3,3,'2026-10-12 09:10:00','2026-10-12 09:10:00','244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=240.000000,update_time=update_time WHERE id=1252; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (106,106,1252,628,240.000000,1204,18,3,3,'244','244','2026-10-12 09:10:00','2026-10-12 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (11,11,10,12,3,NULL,NULL,NULL,1,0,0,NULL,96,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P1-TK','演示工序-11',96,11,36,11,11,497,24,24,24,0,1359,'2026-10-12 09:30:00','2026-10-12 09:50:00','2026-10-12 09:53:00','2026-10-12 09:50:00','2026-10-12 09:50:00',4,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,1013,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1013','244','244','2026-10-12 09:50:00','2026-10-12 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (159,16,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-12 09:50:00','2026-10-12 09:50:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P1-FB',1,'2026-10-12 09:50:00',11,36,11,96,1013,497,24,24,24,0,0,0,0,0,244,244,4,'244','244','2026-10-12 09:50:00','2026-10-12 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P1-LL','演示生产领料',96,1013,11,'2026-10-12 09:25:00','2026-10-12 09:30:00',4,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,1013,610,63,24.000000,24.000000,1200,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,162,1248,610,24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC',22,7,7,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,68,'OCT0814-DEMO-1012-3-P1-LL',162,1248,NULL,610,-24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC',22,7,7,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1248; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (610,1200,'OCT0814-DEMO-1012-3-RAW1-PC',23,8,8,0,0,0,0,0,'2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,68,'OCT0814-DEMO-1012-3-P1-LL',162,1253,1656,610,24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC',23,8,8,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24.000000,update_time=update_time WHERE id=1253; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1013,96,11,'PRODUCT_ISSUE',68,162,'OCT0814-DEMO-1012-3-P1-LL','OCT0814-DEMO-1012-3-RAW1-PC',610,63,24.000000,0,24.000000,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,1013,625,24,24.000000,24.000000,1201,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,163,1249,625,24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC',22,7,7,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,68,'OCT0814-DEMO-1012-3-P1-LL',163,1249,NULL,625,-24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC',22,7,7,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1249; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (625,1201,'OCT0814-DEMO-1012-3-RAW2-PC',23,8,8,0,0,0,0,0,'2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,68,'OCT0814-DEMO-1012-3-P1-LL',163,1254,1658,625,24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC',23,8,8,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24.000000,update_time=update_time WHERE id=1254; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1013,96,11,'PRODUCT_ISSUE',68,163,'OCT0814-DEMO-1012-3-P1-LL','OCT0814-DEMO-1012-3-RAW2-PC',625,24,24.000000,0,24.000000,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,1013,626,24,0.672000,0.672000,1202,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,164,1250,626,0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC',24,9,9,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,68,'OCT0814-DEMO-1012-3-P1-LL',164,1250,NULL,626,-0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC',24,9,9,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1250; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (626,1202,'OCT0814-DEMO-1012-3-RAW3-PC',23,8,8,0,0,0,0,0,'2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,68,'OCT0814-DEMO-1012-3-P1-LL',164,1255,1660,626,0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC',23,8,8,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.672000,update_time=update_time WHERE id=1255; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1013,96,11,'PRODUCT_ISSUE',68,164,'OCT0814-DEMO-1012-3-P1-LL','OCT0814-DEMO-1012-3-RAW3-PC',626,24,0.672000,0,0.672000,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,1013,627,82,1.344000,1.344000,1203,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,165,1251,627,1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC',24,9,9,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,68,'OCT0814-DEMO-1012-3-P1-LL',165,1251,NULL,627,-1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC',24,9,9,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1251; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (627,1203,'OCT0814-DEMO-1012-3-RAW4-PC',23,8,8,0,0,0,0,0,'2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,68,'OCT0814-DEMO-1012-3-P1-LL',165,1256,1662,627,1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC',23,8,8,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=1.344000,update_time=update_time WHERE id=1256; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1013,96,11,'PRODUCT_ISSUE',68,165,'OCT0814-DEMO-1012-3-P1-LL','OCT0814-DEMO-1012-3-RAW4-PC',627,82,1.344000,0,1.344000,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,1013,628,3,240.000000,240.000000,1204,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (68,166,1252,628,240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC',18,3,3,'244','244','2026-10-12 09:20:00','2026-10-12 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,68,'OCT0814-DEMO-1012-3-P1-LL',166,1252,NULL,628,-240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC',18,3,3,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1252; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (628,1204,'OCT0814-DEMO-1012-3-RAW5-PC',23,8,8,0,0,0,0,0,'2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,68,'OCT0814-DEMO-1012-3-P1-LL',166,1257,1664,628,240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC',23,8,8,'2026-10-12 09:25:00','2026-10-12 09:25:00','244','244','2026-10-12 09:25:00','2026-10-12 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=240.000000,update_time=update_time WHERE id=1257; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1013,96,11,'PRODUCT_ISSUE',68,166,'OCT0814-DEMO-1012-3-P1-LL','OCT0814-DEMO-1012-3-RAW5-PC',628,3,240.000000,0,240.000000,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P1-XH','演示工序投入消耗',96,1013,11,11,900,'2026-10-12 09:30:00',4,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,610,24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,356,1253,610,24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC',23,8,8,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,129,'OCT0814-DEMO-1012-3-P1-XH',356,1253,NULL,610,-24.000000,1200,'OCT0814-DEMO-1012-3-RAW1-PC',23,8,8,'2026-10-12 09:30:00','2026-10-12 09:30:00','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1253; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,625,24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,357,1254,625,24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC',23,8,8,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,129,'OCT0814-DEMO-1012-3-P1-XH',357,1254,NULL,625,-24.000000,1201,'OCT0814-DEMO-1012-3-RAW2-PC',23,8,8,'2026-10-12 09:30:00','2026-10-12 09:30:00','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1254; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,626,0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,358,1255,626,0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC',23,8,8,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,129,'OCT0814-DEMO-1012-3-P1-XH',358,1255,NULL,626,-0.672000,1202,'OCT0814-DEMO-1012-3-RAW3-PC',23,8,8,'2026-10-12 09:30:00','2026-10-12 09:30:00','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1255; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,627,1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,359,1256,627,1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC',23,8,8,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,129,'OCT0814-DEMO-1012-3-P1-XH',359,1256,NULL,627,-1.344000,1203,'OCT0814-DEMO-1012-3-RAW4-PC',23,8,8,'2026-10-12 09:30:00','2026-10-12 09:30:00','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1256; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,628,240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,360,1257,628,240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC',23,8,8,'244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,129,'OCT0814-DEMO-1012-3-P1-XH',360,1257,NULL,628,-240.000000,1204,'OCT0814-DEMO-1012-3-RAW5-PC',23,8,8,'2026-10-12 09:30:00','2026-10-12 09:30:00','244','244','2026-10-12 09:30:00','2026-10-12 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1257; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P1-PC',497,'2026-10-12','2027-04-10',96,1013,11,1359,'OCT0814-DEMO-1012-3-XS','OCT0814-DEMO-1012',1,'244','244','2026-10-12 09:50:00','2026-10-12 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P1-CC','演示工序产出',96,900,11,11,1013,'2026-10-12 09:53:00',4,'244','244','2026-10-12 09:50:00','2026-10-12 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,900,497,24,1205,'OCT0814-DEMO-1012-3-P1-PC','2027-04-10','OCT0814-DEMO-1012',1,'244','244','2026-10-12 09:50:00','2026-10-12 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (497,1205,'OCT0814-DEMO-1012-3-P1-PC',23,8,8,0,0,0,0,0,'2026-10-12 09:53:00','244','244','2026-10-12 09:53:00','2026-10-12 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,129,'OCT0814-DEMO-1012-3-P1-CC',129,1258,NULL,497,24,1205,'OCT0814-DEMO-1012-3-P1-PC',23,8,8,'2026-10-12 09:53:00','2026-10-12 09:53:00','244','244','2026-10-12 09:53:00','2026-10-12 09:53:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24,update_time=update_time WHERE id=1258; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (129,129,497,24,1205,'OCT0814-DEMO-1012-3-P1-PC',23,8,8,'244','244','2026-10-12 09:53:00','2026-10-12 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (12,12,20,13,3,NULL,NULL,NULL,0,1,0,NULL,96,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-TK','演示工序-12',96,12,36,12,12,497,24,24,24,0,1359,'2026-10-12 09:55:00','2026-10-12 10:15:00','2026-10-12 10:18:00','2026-10-12 10:15:00','2026-10-12 10:15:00',4,'273','273','2026-10-12 09:55:00','2026-10-12 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,1014,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1014','273','273','2026-10-12 10:15:00','2026-10-12 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (160,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-12 10:15:00','2026-10-12 10:15:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-FB',1,'2026-10-12 10:15:00',12,36,12,96,1014,497,24,24,24,0,0,0,0,0,273,244,4,'273','273','2026-10-12 10:15:00','2026-10-12 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-XH','演示工序投入消耗',96,1014,12,12,901,'2026-10-12 09:55:00',4,'273','273','2026-10-12 09:55:00','2026-10-12 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (130,497,24,1205,'OCT0814-DEMO-1012-3-P1-PC','273','273','2026-10-12 09:55:00','2026-10-12 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (130,361,1258,497,24,1205,'OCT0814-DEMO-1012-3-P1-PC',23,8,8,'273','273','2026-10-12 09:55:00','2026-10-12 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,130,'OCT0814-DEMO-1012-3-P2-XH',361,1258,NULL,497,-24,1205,'OCT0814-DEMO-1012-3-P1-PC',23,8,8,'2026-10-12 09:55:00','2026-10-12 09:55:00','273','273','2026-10-12 09:55:00','2026-10-12 09:55:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1258; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-PC',497,'2026-10-12','2027-04-10',96,1014,12,1359,'OCT0814-DEMO-1012-3-XS','OCT0814-DEMO-1012',1,'273','273','2026-10-12 10:15:00','2026-10-12 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-CC','演示工序产出',96,901,12,12,1014,'2026-10-12 10:18:00',4,'273','273','2026-10-12 10:15:00','2026-10-12 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (130,901,497,24,1206,'OCT0814-DEMO-1012-3-P2-PC','2027-04-10','OCT0814-DEMO-1012',1,'273','273','2026-10-12 10:15:00','2026-10-12 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`type`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-IPQC','OCT0814-DEMO-1012-3-P2-IPQC-演示检验',14,497,24,24,0,0,0,0,0,0,0,1,'2026-10-12 10:17:00',289,4,'演示样品,非真实质检记录',5,124,130,130,'OCT0814-DEMO-1012-3-P2-CC',96,1014,12,12,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P2-IPQC-R',137,2,497,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,53,'阿贝折光仪','来源:SOP-QC-(YL)014-03 §2.1;GB/T 12143','10.000000',NULL,NULL,'10.000000',0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,53,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)014-03 §3.1;GB 5009.12','0.500000',NULL,'0.500000',NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,17,'全玻璃蒸馏装置(配可见分光光度计)','来源:SOP-QC-(YL)014-03 §4;GB 5009.34','0.050000',NULL,'0.050000',NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,17,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,45,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.1;GB 4789.2',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,45,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,75,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.4;GB 4789.15','20.000000',NULL,'20.000000',NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,75,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,31,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)014-03 §正文;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,31,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,19,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)014-03 §3.2;GB 5009.11','1.000000',NULL,'1.000000',NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,19,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,4,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,4,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,47,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.2;GB 4789.3',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,47,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (137,74,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.3;GB 4789.15',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1284,74,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-12 10:17:00','2026-10-12 10:17:00',0); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (497,1206,'OCT0814-DEMO-1012-3-P2-PC',23,8,8,0,0,0,0,0,'2026-10-12 10:18:00','244','244','2026-10-12 10:18:00','2026-10-12 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,130,'OCT0814-DEMO-1012-3-P2-CC',130,1259,NULL,497,24,1206,'OCT0814-DEMO-1012-3-P2-PC',23,8,8,'2026-10-12 10:18:00','2026-10-12 10:18:00','273','273','2026-10-12 10:18:00','2026-10-12 10:18:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24,update_time=update_time WHERE id=1259; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (130,130,497,24,1206,'OCT0814-DEMO-1012-3-P2-PC',23,8,8,'273','273','2026-10-12 10:18:00','2026-10-12 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (13,13,30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,96,'244','244','2026-10-12 08:45:00','2026-10-12 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P3-TK','演示工序-13',96,13,36,13,13,497,24,24,24,0,1359,'2026-10-12 10:20:00','2026-10-12 10:40:00','2026-10-12 10:43:00','2026-10-12 10:40:00','2026-10-12 10:40:00',4,'244','244','2026-10-12 10:20:00','2026-10-12 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (96,1015,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1015','244','244','2026-10-12 10:40:00','2026-10-12 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (161,18,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-12 10:40:00','2026-10-12 10:40:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P3-FB',1,'2026-10-12 10:40:00',13,36,13,96,1015,497,24,24,24,0,0,0,0,0,244,244,4,'244','244','2026-10-12 10:40:00','2026-10-12 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P3-XH','演示工序投入消耗',96,1015,13,13,902,'2026-10-12 10:20:00',4,'244','244','2026-10-12 10:20:00','2026-10-12 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (131,497,24,1206,'OCT0814-DEMO-1012-3-P2-PC','244','244','2026-10-12 10:20:00','2026-10-12 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (131,362,1259,497,24,1206,'OCT0814-DEMO-1012-3-P2-PC',23,8,8,'244','244','2026-10-12 10:20:00','2026-10-12 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,131,'OCT0814-DEMO-1012-3-P3-XH',362,1259,NULL,497,-24,1206,'OCT0814-DEMO-1012-3-P2-PC',23,8,8,'2026-10-12 10:20:00','2026-10-12 10:20:00','244','244','2026-10-12 10:20:00','2026-10-12 10:20:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1259; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P3-PC',497,'2026-10-12','2027-04-10',96,1015,13,1359,'OCT0814-DEMO-1012-3-XS','OCT0814-DEMO-1012',1,'244','244','2026-10-12 10:40:00','2026-10-12 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-P3-CC','演示工序产出',96,902,13,13,1015,'2026-10-12 10:43:00',4,'244','244','2026-10-12 10:40:00','2026-10-12 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (131,902,497,24,1207,'OCT0814-DEMO-1012-3-P3-PC','2027-04-10','OCT0814-DEMO-1012',1,'244','244','2026-10-12 10:40:00','2026-10-12 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (497,1207,'OCT0814-DEMO-1012-3-P3-PC',23,8,8,0,0,0,0,0,'2026-10-12 10:43:00','244','244','2026-10-12 10:43:00','2026-10-12 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,131,'OCT0814-DEMO-1012-3-P3-CC',131,1260,NULL,497,24,1207,'OCT0814-DEMO-1012-3-P3-PC',23,8,8,'2026-10-12 10:43:00','2026-10-12 10:43:00','244','244','2026-10-12 10:43:00','2026-10-12 10:43:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24,update_time=update_time WHERE id=1260; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (131,131,497,24,1207,'OCT0814-DEMO-1012-3-P3-PC',23,8,8,'244','244','2026-10-12 10:43:00','2026-10-12 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `mes_pro_work_order` SET `batch_code`='OCT0814-DEMO-1012-3-P3-PC',update_time=update_time WHERE id=96; INSERT INTO `mes_wm_product_receipt` (`code`,`name`,`work_order_id`,`item_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-RK','演示成品入库-枸杞原浆',96,497,'2026-10-12 14:30:00',4,'244','244','2026-10-12 14:15:00','2026-10-12 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_receipt_line` (`receipt_id`,`item_id`,`quantity`,`material_stock_id`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (11,497,24,1260,1207,'OCT0814-DEMO-1012-3-P3-PC','244','244','2026-10-12 14:15:00','2026-10-12 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,118,11,'OCT0814-DEMO-1012-3-RK',11,1260,NULL,497,-24,1207,'OCT0814-DEMO-1012-3-P3-PC',23,8,8,'2026-10-12 14:30:00','2026-10-12 14:30:00','244','244','2026-10-12 14:30:00','2026-10-12 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1260; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (497,1207,'OCT0814-DEMO-1012-3-P3-PC',18,3,3,0,0,0,0,0,'2026-10-12 14:30:00','244','244','2026-10-12 14:30:00','2026-10-12 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,118,11,'OCT0814-DEMO-1012-3-RK',11,1261,1676,497,24,1207,'OCT0814-DEMO-1012-3-P3-PC',18,3,3,'2026-10-12 14:30:00','2026-10-12 14:30:00','244','244','2026-10-12 14:30:00','2026-10-12 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=24,update_time=update_time WHERE id=1261; INSERT INTO `mes_wm_product_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (11,11,1261,497,24,1207,18,3,3,'244','244','2026-10-12 14:30:00','2026-10-12 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice` (`code`,`name`,`client_id`,`sale_order_id`,`sale_order_code`,`sales_date`,`delivery_date`,`status`,`out_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-FH','演示发货通知-枸杞原浆',1359,1057,'OCT0814-DEMO-1012-3-XS','2026-10-12 14:40:00','2026-10-12 15:30:00',4,2,'291','291','2026-10-12 14:40:00','2026-10-12 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice_line` (`notice_id`,`sale_order_item_id`,`item_id`,`batch_id`,`batch_code`,`quantity`,`out_count`,`oqc_check_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (35,4181,497,1207,'OCT0814-DEMO-1012-3-P3-PC',24,24,1,'291','291','2026-10-12 14:40:00','2026-10-12 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales` (`code`,`name`,`client_id`,`sale_order_id`,`notice_id`,`sales_order_code`,`sales_date`,`carrier`,`shipping_number`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-CK','演示销售出库-枸杞原浆',1359,1057,35,'OCT0814-DEMO-1012-3-XS','2026-10-12 15:30:00','演示自配送','OCT0814-DEMO-1012-3-SHIP',4,'244','244','2026-10-12 14:50:00','2026-10-12 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales_line` (`sales_id`,`sale_order_item_id`,`notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`batch_id`,`batch_code`,`material_stock_id`,`quantity`,`oqc_check_flag`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (34,4181,87,497,24,24,1207,'OCT0814-DEMO-1012-3-P3-PC',1261,24,1,1,'244','244','2026-10-12 14:50:00','2026-10-12 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`client_id`,`batch_code`,`out_quantity`,`out_date`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-OQC','OCT0814-DEMO-1012-3-OQC-演示检验',14,497,24,24,0,0,0,0,0,0,0,1,'2026-10-12 15:00:00',290,4,'演示样品,非真实质检记录',119,34,86,'OCT0814-DEMO-1012-3-CK',1359,'OCT0814-DEMO-1012-3-P3-PC',24,'2026-10-12 15:30:00','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1012-3-OQC-R',365,3,497,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,53,'阿贝折光仪','来源:SOP-QC-(YL)014-03 §2.1;GB/T 12143','10.000000',NULL,NULL,'10.000000',0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,53,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)014-03 §3.1;GB 5009.12','0.500000',NULL,'0.500000',NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,17,'全玻璃蒸馏装置(配可见分光光度计)','来源:SOP-QC-(YL)014-03 §4;GB 5009.34','0.050000',NULL,'0.050000',NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,17,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,45,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.1;GB 4789.2',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,45,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,75,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.4;GB 4789.15','20.000000',NULL,'20.000000',NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,75,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,31,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)014-03 §正文;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,31,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,19,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)014-03 §3.2;GB 5009.11','1.000000',NULL,'1.000000',NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,19,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,4,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,4,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,47,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.2;GB 4789.3',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,47,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (365,74,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)014-03 §5.3;GB 4789.15',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1285,74,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-12 15:00:00','2026-10-12 15:00:00',0); UPDATE `mes_wm_product_sales_line` SET `oqc_id`=365,update_time=update_time WHERE id=86; INSERT INTO `mes_wm_product_sales_detail` (`sales_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (34,86,1261,497,24,1207,'OCT0814-DEMO-1012-3-P3-PC',18,3,3,'244','244','2026-10-12 15:30:00','2026-10-12 15:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_stock_reserve` (`material_stock_id`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`item_id`,`quantity`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1261,1,34,'OCT0814-DEMO-1012-3-CK',86,497,24,3,'244','244','2026-10-12 15:20:00','2026-10-12 15:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,119,34,'OCT0814-DEMO-1012-3-CK',86,1261,NULL,497,-24,1207,'OCT0814-DEMO-1012-3-P3-PC',18,3,3,'2026-10-12 15:30:00','2026-10-12 15:30:00','244','244','2026-10-12 15:30:00','2026-10-12 15:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1261; INSERT INTO `crm_business` (`name`,`customer_id`,`owner_user_id`,`follow_up_status`,`status_type_id`,`status_id`,`end_status`,`deal_time`,`total_product_price`,`discount_percent`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('演示-黑枸杞原浆-1014',1358,291,1,1,5,1,'2026-10-14 08:25:00',1264.00,0,1428.32,'291','291','2026-10-14 08:00:00','2026-10-14 08:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_business_product` (`business_id`,`item_id`,`item_unit_id`,`item_price`,`business_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1168,507,24,158.00,158.00,8,1264.00,'291','291','2026-10-14 08:00:00','2026-10-14 08:00:00',0); INSERT INTO `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('OCT0814-DEMO-1014-4-BJ','演示报价-黑枸杞原浆',1358,1168,291,10,'2026-10-14 08:10:00','2026-11-13 08:10:00',1264.00,0,0,1428.32,13,164.32,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 报价为演示价格,非现行报价政策;OCT0814-DEMO','291','291','2026-10-14 08:10:00','2026-10-14 08:10:00',0,0); INSERT INTO `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES (545,507,24,158.00,158.00,8,1264.00,13,164.32,'291','291','2026-10-14 08:10:00','2026-10-14 08:10:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract` (`no`,`name`,`customer_id`,`business_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`sign_user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-HT','演示合同-黑枸杞原浆',1358,1168,291,20,'2026-10-14 08:20:00','2026-10-14 08:20:00','2026-11-13 08:20:00',1428.32,1428.32,0,0,291,'291','291','2026-10-14 08:20:00','2026-10-14 08:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (545,507,24,178.54,178.54,8,1428.32,'291','291','2026-10-14 08:20:00','2026-10-14 08:20:00',0); INSERT INTO `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`production_finish_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-XS',20,1358,545,'OCT0814-DEMO-1014-4-HT',291,'2026-10-14 08:25:00',8,1264.00,164.32,1428.32,0,0,0,8,3,1,'2026-10-14 13:45:00','291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`out_count`,`need_production`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1058,507,24,158.00,8,1264.00,13,164.32,8,1,'291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `crm_contract` SET `order_id`=1058,`order_no`='OCT0814-DEMO-1014-4-XS',update_time=update_time WHERE id=545; UPDATE `crm_sale_quotation` SET `contract_id`=545,`contract_no`='OCT0814-DEMO-1014-4-HT',update_time=update_time WHERE id=545; UPDATE `crm_business` SET `order_id`=1058,`order_no`='OCT0814-DEMO-1014-4-XS',update_time=update_time WHERE id=1168; INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,1358,545,291,'2026-10-21 16:00:00',8,428.50,3,'2026-10-19 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-14 08:22:00','2026-10-14 08:22:00',0); INSERT INTO `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`receivable_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,1358,545,291,'2026-11-13 16:00:00',8,999.82,3,'2026-11-10 16:00:00',NULL,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 约定回款日期与比例为演示计划;未录入实际回款。','291','291','2026-10-14 08:22:00','2026-10-14 08:22:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1168,291,1,'291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (5,545,291,1,'291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (9,545,291,1,'291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,41,291,1,'291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0); INSERT INTO `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (8,42,291,1,'291','291','2026-10-14 08:25:00','2026-10-14 08:25:00',0); INSERT INTO `crm_follow_up_record` (`biz_type`,`biz_id`,`type`,`content`,`next_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (4,1168,1,'演示跟进:客户询价→报价确认→签约→转销售生产;OCT0814-DEMO','2026-10-15 16:00:00','291','291','2026-10-14 08:05:00','2026-10-14 08:05:00',0); INSERT INTO `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`auto_finish_flag`,`request_date`,`finish_date`,`status`,`is_feedback_approve`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-WO','演示生产-黑枸杞原浆',1,1,'OCT0814-DEMO-1014-4-XS',507,8,8,8,0,1358,34,1,'2026-10-14 13:30:00','2026-10-14 13:45:00',2,0,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`,`remark`) VALUES ('OCT0814-DEMO-1014-4-MPS',2,1058,'OCT0814-DEMO-1014-4-XS',4182,507,8,8,24,1358,'2026-10-14 13:30:00','2026-10-14 08:45:00','2026-10-14 13:45:00',97,'OCT0814-DEMO-1014-4-WO',0,'244','244','2026-10-14 08:35:00','2026-10-14 08:35:00',0,0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `erp_sale_order_items` SET `mps_id`=3501,update_time=update_time WHERE id=4182; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,11,630,8.000000,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,11,631,3.200000,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,11,632,1.600000,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,11,643,480.000000,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,11,655,8.000000,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW1-DH','演示来料-质量保障防伪贴大号-圆42MM','2026-10-14 08:50:00',4,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (44,630,8.000000,8.000000,1,1,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW1-IQC','OCT0814-DEMO-1014-4-RAW1-IQC-演示检验',281,630,8.000000,8.000000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,44,44,'OCT0814-DEMO-1014-4-RAW1-DH',8.000000,'2026-10-14 08:50:00','OCT0814-DEMO-1014-4-RAW1-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW1-IQC-R',90,1,630,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (90,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1286,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (90,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1286,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=90,update_time=update_time WHERE id=44; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW1-PC',630,'2026-10-14','2026-10-14',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW1-RK','演示来料入库-质量保障防伪贴大号-圆42MM',90,44,'2026-10-14 09:10:00',4,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (107,44,630,63,8.000000,8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC','2026-10-14','OCT0814-DEMO-RAW','244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (630,1208,'OCT0814-DEMO-1014-4-RAW1-PC',24,9,9,0,0,0,0,0,'2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,107,'OCT0814-DEMO-1014-4-RAW1-RK',107,1262,NULL,630,8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC',24,9,9,'2026-10-14 09:10:00','2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8.000000,update_time=update_time WHERE id=1262; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (107,107,1262,630,8.000000,1208,24,9,9,'244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW2-DH','演示来料-青源堂-原浆外箱垫板','2026-10-14 08:50:00',4,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (45,631,3.200000,3.200000,1,1,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW2-IQC','OCT0814-DEMO-1014-4-RAW2-IQC-演示检验',281,631,3.200000,3.200000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,45,45,'OCT0814-DEMO-1014-4-RAW2-DH',3.200000,'2026-10-14 08:50:00','OCT0814-DEMO-1014-4-RAW2-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW2-IQC-R',91,1,631,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (91,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1287,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (91,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1287,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=91,update_time=update_time WHERE id=45; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW2-PC',631,'2026-10-14','2026-10-14',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW2-RK','演示来料入库-青源堂-原浆外箱垫板',91,45,'2026-10-14 09:10:00',4,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (108,45,631,82,3.200000,3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC','2026-10-14','OCT0814-DEMO-RAW','244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (631,1209,'OCT0814-DEMO-1014-4-RAW2-PC',24,9,9,0,0,0,0,0,'2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,108,'OCT0814-DEMO-1014-4-RAW2-RK',108,1263,NULL,631,3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC',24,9,9,'2026-10-14 09:10:00','2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=3.200000,update_time=update_time WHERE id=1263; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (108,108,1263,631,3.200000,1209,24,9,9,'244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW3-DH','演示来料-青源堂-原浆外箱','2026-10-14 08:50:00',4,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (46,632,1.600000,1.600000,1,1,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW3-IQC','OCT0814-DEMO-1014-4-RAW3-IQC-演示检验',281,632,1.600000,1.600000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,46,46,'OCT0814-DEMO-1014-4-RAW3-DH',1.600000,'2026-10-14 08:50:00','OCT0814-DEMO-1014-4-RAW3-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW3-IQC-R',92,1,632,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (92,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1288,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (92,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1288,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=92,update_time=update_time WHERE id=46; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW3-PC',632,'2026-10-14','2026-10-14',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW3-RK','演示来料入库-青源堂-原浆外箱',92,46,'2026-10-14 09:10:00',4,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (109,46,632,24,1.600000,1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC','2026-10-14','OCT0814-DEMO-RAW','244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (632,1210,'OCT0814-DEMO-1014-4-RAW3-PC',24,9,9,0,0,0,0,0,'2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,109,'OCT0814-DEMO-1014-4-RAW3-RK',109,1264,NULL,632,1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC',24,9,9,'2026-10-14 09:10:00','2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=1.600000,update_time=update_time WHERE id=1264; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (109,109,1264,632,1.600000,1210,24,9,9,'244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW4-DH','演示来料-黑枸杞原浆-30ml','2026-10-14 08:50:00',4,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (47,643,480.000000,480.000000,1,1,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW4-IQC','OCT0814-DEMO-1014-4-RAW4-IQC-演示检验',281,643,480.000000,480.000000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,47,47,'OCT0814-DEMO-1014-4-RAW4-DH',480.000000,'2026-10-14 08:50:00','OCT0814-DEMO-1014-4-RAW4-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW4-IQC-R',93,1,643,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (93,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1289,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (93,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1289,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=93,update_time=update_time WHERE id=47; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW4-PC',643,'2026-10-14','2026-10-14',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW4-RK','演示来料入库-黑枸杞原浆-30ml',93,47,'2026-10-14 09:10:00',4,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (110,47,643,3,480.000000,480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC','2026-10-14','OCT0814-DEMO-RAW','244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (643,1211,'OCT0814-DEMO-1014-4-RAW4-PC',18,3,3,0,0,0,0,0,'2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,110,'OCT0814-DEMO-1014-4-RAW4-RK',110,1265,NULL,643,480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC',18,3,3,'2026-10-14 09:10:00','2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=480.000000,update_time=update_time WHERE id=1265; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (110,110,1265,643,480.000000,1211,18,3,3,'244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice` (`code`,`name`,`arrival_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW5-DH','演示来料-青源堂双标款 黑果枸杞原浆罐头礼盒','2026-10-14 08:50:00',4,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_arrival_notice_line` (`notice_id`,`item_id`,`arrival_quantity`,`qualified_quantity`,`iqc_check_flag`,`iqc_check_result`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (48,655,8.000000,8.000000,1,1,'244','244','2026-10-14 08:50:00','2026-10-14 08:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`received_quantity`,`receive_date`,`vendor_batch`,`vendor_name`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW5-IQC','OCT0814-DEMO-1014-4-RAW5-IQC-演示检验',281,655,8.000000,8.000000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,48,48,'OCT0814-DEMO-1014-4-RAW5-DH',8.000000,'2026-10-14 08:50:00','OCT0814-DEMO-1014-4-RAW5-PC','演示批次来料(不代表真实供应商交付)','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW5-IQC-R',94,1,655,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,8,'感官检验(目测、嗅辨、品尝;无专用仪器)','演示外观、数量核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1290,8,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); INSERT INTO `mes_qc_iqc_line` (`iqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (94,9,'电子天平(感量0.01g)','演示数量一致性核验,不作为真实检验标准',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1290,9,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 09:00:00','2026-10-14 09:00:00',0); UPDATE `mes_wm_arrival_notice_line` SET `iqc_id`=94,update_time=update_time WHERE id=48; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`receipt_date`,`quality_status`,`lot_number`,`purchase_order_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW5-PC',655,'2026-10-14','2026-10-14',1,'OCT0814-DEMO-RAW',NULL,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt` (`code`,`name`,`iqc_id`,`notice_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RAW5-RK','演示来料入库-青源堂双标款 黑果枸杞原浆罐头礼盒',94,48,'2026-10-14 09:10:00',4,'244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_receipt_line` (`receipt_id`,`arrival_notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`received_quantity`,`batch_id`,`batch_code`,`production_date`,`lot_number`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (111,48,655,24,8.000000,8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC','2026-10-14','OCT0814-DEMO-RAW','244','244','2026-10-14 09:05:00','2026-10-14 09:05:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (655,1212,'OCT0814-DEMO-1014-4-RAW5-PC',22,7,7,0,0,0,0,0,'2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,110,111,'OCT0814-DEMO-1014-4-RAW5-RK',111,1266,NULL,655,8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC',22,7,7,'2026-10-14 09:10:00','2026-10-14 09:10:00','244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8.000000,update_time=update_time WHERE id=1266; INSERT INTO `mes_wm_item_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (111,111,1266,655,8.000000,1212,22,7,7,'244','244','2026-10-14 09:10:00','2026-10-14 09:10:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (11,11,10,12,3,NULL,NULL,NULL,1,0,0,NULL,97,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P1-TK','演示工序-11',97,11,34,11,11,507,8,8,8,0,1358,'2026-10-14 09:30:00','2026-10-14 09:50:00','2026-10-14 09:53:00','2026-10-14 09:50:00','2026-10-14 09:50:00',4,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,1016,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1016','244','244','2026-10-14 09:50:00','2026-10-14 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (162,16,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-14 09:50:00','2026-10-14 09:50:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P1-FB',1,'2026-10-14 09:50:00',11,34,11,97,1016,507,8,8,8,0,0,0,0,0,244,244,4,'244','244','2026-10-14 09:50:00','2026-10-14 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`issue_date`,`required_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P1-LL','演示生产领料',97,1016,11,'2026-10-14 09:25:00','2026-10-14 09:30:00',4,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,1016,630,63,8.000000,8.000000,1208,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,167,1262,630,8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC',24,9,9,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,69,'OCT0814-DEMO-1014-4-P1-LL',167,1262,NULL,630,-8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC',24,9,9,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1262; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (630,1208,'OCT0814-DEMO-1014-4-RAW1-PC',23,8,8,0,0,0,0,0,'2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,69,'OCT0814-DEMO-1014-4-P1-LL',167,1267,1684,630,8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC',23,8,8,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8.000000,update_time=update_time WHERE id=1267; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1016,97,11,'PRODUCT_ISSUE',69,167,'OCT0814-DEMO-1014-4-P1-LL','OCT0814-DEMO-1014-4-RAW1-PC',630,63,8.000000,0,8.000000,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,1016,631,82,3.200000,3.200000,1209,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,168,1263,631,3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC',24,9,9,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,69,'OCT0814-DEMO-1014-4-P1-LL',168,1263,NULL,631,-3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC',24,9,9,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1263; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (631,1209,'OCT0814-DEMO-1014-4-RAW2-PC',23,8,8,0,0,0,0,0,'2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,69,'OCT0814-DEMO-1014-4-P1-LL',168,1268,1686,631,3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC',23,8,8,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=3.200000,update_time=update_time WHERE id=1268; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1016,97,11,'PRODUCT_ISSUE',69,168,'OCT0814-DEMO-1014-4-P1-LL','OCT0814-DEMO-1014-4-RAW2-PC',631,82,3.200000,0,3.200000,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,1016,632,24,1.600000,1.600000,1210,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,169,1264,632,1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC',24,9,9,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,69,'OCT0814-DEMO-1014-4-P1-LL',169,1264,NULL,632,-1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC',24,9,9,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1264; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (632,1210,'OCT0814-DEMO-1014-4-RAW3-PC',23,8,8,0,0,0,0,0,'2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,69,'OCT0814-DEMO-1014-4-P1-LL',169,1269,1688,632,1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC',23,8,8,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=1.600000,update_time=update_time WHERE id=1269; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1016,97,11,'PRODUCT_ISSUE',69,169,'OCT0814-DEMO-1014-4-P1-LL','OCT0814-DEMO-1014-4-RAW3-PC',632,24,1.600000,0,1.600000,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,1016,643,3,480.000000,480.000000,1211,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,170,1265,643,480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC',18,3,3,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,69,'OCT0814-DEMO-1014-4-P1-LL',170,1265,NULL,643,-480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC',18,3,3,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1265; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (643,1211,'OCT0814-DEMO-1014-4-RAW4-PC',23,8,8,0,0,0,0,0,'2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,69,'OCT0814-DEMO-1014-4-P1-LL',170,1270,1690,643,480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC',23,8,8,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=480.000000,update_time=update_time WHERE id=1270; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1016,97,11,'PRODUCT_ISSUE',69,170,'OCT0814-DEMO-1014-4-P1-LL','OCT0814-DEMO-1014-4-RAW4-PC',643,3,480.000000,0,480.000000,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_line` (`issue_id`,`task_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`quantity`,`batch_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,1016,655,24,8.000000,8.000000,1212,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_issue_detail` (`issue_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (69,171,1266,655,8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC',22,7,7,'244','244','2026-10-14 09:20:00','2026-10-14 09:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,116,69,'OCT0814-DEMO-1014-4-P1-LL',171,1266,NULL,655,-8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC',22,7,7,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1266; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (655,1212,'OCT0814-DEMO-1014-4-RAW5-PC',23,8,8,0,0,0,0,0,'2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,116,69,'OCT0814-DEMO-1014-4-P1-LL',171,1271,1692,655,8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC',23,8,8,'2026-10-14 09:25:00','2026-10-14 09:25:00','244','244','2026-10-14 09:25:00','2026-10-14 09:25:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8.000000,update_time=update_time WHERE id=1271; INSERT INTO `mes_pro_task_issue` (`task_id`,`work_order_id`,`workstation_id`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`batch_code`,`item_id`,`unit_measure_id`,`issued_quantity`,`available_quantity`,`used_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1016,97,11,'PRODUCT_ISSUE',69,171,'OCT0814-DEMO-1014-4-P1-LL','OCT0814-DEMO-1014-4-RAW5-PC',655,24,8.000000,0,8.000000,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P1-XH','演示工序投入消耗',97,1016,11,11,903,'2026-10-14 09:30:00',4,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,630,8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,363,1267,630,8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC',23,8,8,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,132,'OCT0814-DEMO-1014-4-P1-XH',363,1267,NULL,630,-8.000000,1208,'OCT0814-DEMO-1014-4-RAW1-PC',23,8,8,'2026-10-14 09:30:00','2026-10-14 09:30:00','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1267; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,631,3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,364,1268,631,3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC',23,8,8,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,132,'OCT0814-DEMO-1014-4-P1-XH',364,1268,NULL,631,-3.200000,1209,'OCT0814-DEMO-1014-4-RAW2-PC',23,8,8,'2026-10-14 09:30:00','2026-10-14 09:30:00','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1268; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,632,1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,365,1269,632,1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC',23,8,8,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,132,'OCT0814-DEMO-1014-4-P1-XH',365,1269,NULL,632,-1.600000,1210,'OCT0814-DEMO-1014-4-RAW3-PC',23,8,8,'2026-10-14 09:30:00','2026-10-14 09:30:00','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1269; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,643,480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,366,1270,643,480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC',23,8,8,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,132,'OCT0814-DEMO-1014-4-P1-XH',366,1270,NULL,643,-480.000000,1211,'OCT0814-DEMO-1014-4-RAW4-PC',23,8,8,'2026-10-14 09:30:00','2026-10-14 09:30:00','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1270; INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,655,8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,367,1271,655,8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC',23,8,8,'244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,132,'OCT0814-DEMO-1014-4-P1-XH',367,1271,NULL,655,-8.000000,1212,'OCT0814-DEMO-1014-4-RAW5-PC',23,8,8,'2026-10-14 09:30:00','2026-10-14 09:30:00','244','244','2026-10-14 09:30:00','2026-10-14 09:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0.000000,update_time=update_time WHERE id=1271; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P1-PC',507,'2026-10-14','2027-04-12',97,1016,11,1358,'OCT0814-DEMO-1014-4-XS','OCT0814-DEMO-1014',1,'244','244','2026-10-14 09:50:00','2026-10-14 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P1-CC','演示工序产出',97,903,11,11,1016,'2026-10-14 09:53:00',4,'244','244','2026-10-14 09:50:00','2026-10-14 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,903,507,8,1213,'OCT0814-DEMO-1014-4-P1-PC','2027-04-12','OCT0814-DEMO-1014',1,'244','244','2026-10-14 09:50:00','2026-10-14 09:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (507,1213,'OCT0814-DEMO-1014-4-P1-PC',23,8,8,0,0,0,0,0,'2026-10-14 09:53:00','244','244','2026-10-14 09:53:00','2026-10-14 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,132,'OCT0814-DEMO-1014-4-P1-CC',132,1272,NULL,507,8,1213,'OCT0814-DEMO-1014-4-P1-PC',23,8,8,'2026-10-14 09:53:00','2026-10-14 09:53:00','244','244','2026-10-14 09:53:00','2026-10-14 09:53:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8,update_time=update_time WHERE id=1272; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (132,132,507,8,1213,'OCT0814-DEMO-1014-4-P1-PC',23,8,8,'244','244','2026-10-14 09:53:00','2026-10-14 09:53:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (12,12,20,13,3,NULL,NULL,NULL,0,1,0,NULL,97,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-TK','演示工序-12',97,12,34,12,12,507,8,8,8,0,1358,'2026-10-14 09:55:00','2026-10-14 10:15:00','2026-10-14 10:18:00','2026-10-14 10:15:00','2026-10-14 10:15:00',4,'273','273','2026-10-14 09:55:00','2026-10-14 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,1017,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1017','273','273','2026-10-14 10:15:00','2026-10-14 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (163,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','273','273','2026-10-14 10:15:00','2026-10-14 10:15:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-FB',1,'2026-10-14 10:15:00',12,34,12,97,1017,507,8,8,8,0,0,0,0,0,273,244,4,'273','273','2026-10-14 10:15:00','2026-10-14 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-XH','演示工序投入消耗',97,1017,12,12,904,'2026-10-14 09:55:00',4,'273','273','2026-10-14 09:55:00','2026-10-14 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (133,507,8,1213,'OCT0814-DEMO-1014-4-P1-PC','273','273','2026-10-14 09:55:00','2026-10-14 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (133,368,1272,507,8,1213,'OCT0814-DEMO-1014-4-P1-PC',23,8,8,'273','273','2026-10-14 09:55:00','2026-10-14 09:55:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,133,'OCT0814-DEMO-1014-4-P2-XH',368,1272,NULL,507,-8,1213,'OCT0814-DEMO-1014-4-P1-PC',23,8,8,'2026-10-14 09:55:00','2026-10-14 09:55:00','273','273','2026-10-14 09:55:00','2026-10-14 09:55:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1272; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-PC',507,'2026-10-14','2027-04-12',97,1017,12,1358,'OCT0814-DEMO-1014-4-XS','OCT0814-DEMO-1014',1,'273','273','2026-10-14 10:15:00','2026-10-14 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-CC','演示工序产出',97,904,12,12,1017,'2026-10-14 10:18:00',4,'273','273','2026-10-14 10:15:00','2026-10-14 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (133,904,507,8,1214,'OCT0814-DEMO-1014-4-P2-PC','2027-04-12','OCT0814-DEMO-1014',1,'273','273','2026-10-14 10:15:00','2026-10-14 10:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`type`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-IPQC','OCT0814-DEMO-1014-4-P2-IPQC-演示检验',35,507,8,8,0,0,0,0,0,0,0,1,'2026-10-14 10:17:00',289,4,'演示样品,非真实质检记录',5,124,133,133,'OCT0814-DEMO-1014-4-P2-CC',97,1017,12,12,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P2-IPQC-R',138,2,507,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,53,'阿贝折光仪','来源:SOP-QC-(YL)035-03 §2.1;GBT2.2143-1989','10.000000',NULL,NULL,'10.000000',0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,53,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,55,'pH计(酸度计)','来源:SOP-QC-(YL)035-03 §3.2.2;','6.000000',NULL,'7.000000','5.000000',0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,55,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)035-03 §5;','0.500000',NULL,'0.500000',NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,45,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.1;GB 4789.2',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,45,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,47,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.2;GB 4789.3',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,47,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,75,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.4;GB 4789.15','20.000000',NULL,'20.000000',NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,75,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,31,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)035-03 §1;',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,31,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,3,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,3,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,115,'pH计(酸度计)','来源:SOP-QC-(YL)035-03 §3;GB/T 12456-2021','32.000000',NULL,NULL,'32.000000',0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,115,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,11,'紫外-可见分光光度计','来源:SOP-QC-(YL)035-03 §4;GB/T 6682',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,11,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,12,'紫外-可见分光光度计','来源:SOP-QC-(YL)035-03 §4;判定要求续文,无需重复检验',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,12,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,4,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,4,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_qc_ipqc_line` (`ipqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (138,74,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.3;GB 4789.15',NULL,NULL,NULL,NULL,0,0,0,'289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1291,74,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','289','289','2026-10-14 10:17:00','2026-10-14 10:17:00',0); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (507,1214,'OCT0814-DEMO-1014-4-P2-PC',23,8,8,0,0,0,0,0,'2026-10-14 10:18:00','244','244','2026-10-14 10:18:00','2026-10-14 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,133,'OCT0814-DEMO-1014-4-P2-CC',133,1273,NULL,507,8,1214,'OCT0814-DEMO-1014-4-P2-PC',23,8,8,'2026-10-14 10:18:00','2026-10-14 10:18:00','273','273','2026-10-14 10:18:00','2026-10-14 10:18:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8,update_time=update_time WHERE id=1273; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (133,133,507,8,1214,'OCT0814-DEMO-1014-4-P2-PC',23,8,8,'273','273','2026-10-14 10:18:00','2026-10-14 10:18:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_process` (`process_id`,`param_template_id`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`work_order_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (13,13,30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,97,'244','244','2026-10-14 08:45:00','2026-10-14 08:45:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`client_id`,`start_time`,`end_time`,`finish_date`,`first_feedback_time`,`last_feedback_time`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P3-TK','演示工序-13',97,13,34,13,13,507,8,8,8,0,1358,'2026-10-14 10:20:00','2026-10-14 10:40:00','2026-10-14 10:43:00','2026-10-14 10:40:00','2026-10-14 10:40:00',4,'244','244','2026-10-14 10:20:00','2026-10-14 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (97,1018,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1018','244','244','2026-10-14 10:40:00','2026-10-14 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (164,18,'PP-STP-COUNT','包装数量',1,0,24,'003','演示参数值;不是现场实测参数,原工艺限值未改动。','244','244','2026-10-14 10:40:00','2026-10-14 10:40:00',0); INSERT INTO `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P3-FB',1,'2026-10-14 10:40:00',13,34,13,97,1018,507,8,8,8,0,0,0,0,0,244,244,4,'244','244','2026-10-14 10:40:00','2026-10-14 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume` (`code`,`name`,`work_order_id`,`task_id`,`workstation_id`,`process_id`,`feedback_id`,`consume_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P3-XH','演示工序投入消耗',97,1018,13,13,905,'2026-10-14 10:20:00',4,'244','244','2026-10-14 10:20:00','2026-10-14 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_line` (`consume_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (134,507,8,1214,'OCT0814-DEMO-1014-4-P2-PC','244','244','2026-10-14 10:20:00','2026-10-14 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_item_consume_detail` (`consume_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (134,369,1273,507,8,1214,'OCT0814-DEMO-1014-4-P2-PC',23,8,8,'244','244','2026-10-14 10:20:00','2026-10-14 10:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,123,134,'OCT0814-DEMO-1014-4-P3-XH',369,1273,NULL,507,-8,1214,'OCT0814-DEMO-1014-4-P2-PC',23,8,8,'2026-10-14 10:20:00','2026-10-14 10:20:00','244','244','2026-10-14 10:20:00','2026-10-14 10:20:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1273; INSERT INTO `mes_wm_batch` (`code`,`item_id`,`produce_date`,`expire_date`,`work_order_id`,`task_id`,`workstation_id`,`client_id`,`sales_order_code`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P3-PC',507,'2026-10-14','2027-04-12',97,1018,13,1358,'OCT0814-DEMO-1014-4-XS','OCT0814-DEMO-1014',1,'244','244','2026-10-14 10:40:00','2026-10-14 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce` (`code`,`name`,`work_order_id`,`feedback_id`,`workstation_id`,`process_id`,`task_id`,`produce_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-P3-CC','演示工序产出',97,905,13,13,1018,'2026-10-14 10:43:00',4,'244','244','2026-10-14 10:40:00','2026-10-14 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_produce_line` (`produce_id`,`feedback_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`expire_date`,`lot_number`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (134,905,507,8,1215,'OCT0814-DEMO-1014-4-P3-PC','2027-04-12','OCT0814-DEMO-1014',1,'244','244','2026-10-14 10:40:00','2026-10-14 10:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (507,1215,'OCT0814-DEMO-1014-4-P3-PC',23,8,8,0,0,0,0,0,'2026-10-14 10:43:00','244','244','2026-10-14 10:43:00','2026-10-14 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,124,134,'OCT0814-DEMO-1014-4-P3-CC',134,1274,NULL,507,8,1215,'OCT0814-DEMO-1014-4-P3-PC',23,8,8,'2026-10-14 10:43:00','2026-10-14 10:43:00','244','244','2026-10-14 10:43:00','2026-10-14 10:43:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8,update_time=update_time WHERE id=1274; INSERT INTO `mes_wm_product_produce_detail` (`produce_id`,`line_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (134,134,507,8,1215,'OCT0814-DEMO-1014-4-P3-PC',23,8,8,'244','244','2026-10-14 10:43:00','2026-10-14 10:43:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); UPDATE `mes_pro_work_order` SET `batch_code`='OCT0814-DEMO-1014-4-P3-PC',update_time=update_time WHERE id=97; INSERT INTO `mes_wm_product_receipt` (`code`,`name`,`work_order_id`,`item_id`,`receipt_date`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-RK','演示成品入库-黑枸杞原浆',97,507,'2026-10-14 14:30:00',4,'244','244','2026-10-14 14:15:00','2026-10-14 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_receipt_line` (`receipt_id`,`item_id`,`quantity`,`material_stock_id`,`batch_id`,`batch_code`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (12,507,8,1274,1215,'OCT0814-DEMO-1014-4-P3-PC','244','244','2026-10-14 14:15:00','2026-10-14 14:15:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,118,12,'OCT0814-DEMO-1014-4-RK',12,1274,NULL,507,-8,1215,'OCT0814-DEMO-1014-4-P3-PC',23,8,8,'2026-10-14 14:30:00','2026-10-14 14:30:00','244','244','2026-10-14 14:30:00','2026-10-14 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1274; INSERT INTO `mes_wm_material_stock` (`item_id`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`quantity`,`frozen_quantity`,`reserved_quantity`,`in_transit_quantity`,`frozen`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (507,1215,'OCT0814-DEMO-1014-4-P3-PC',18,3,3,0,0,0,0,0,'2026-10-14 14:30:00','244','244','2026-10-14 14:30:00','2026-10-14 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1,118,12,'OCT0814-DEMO-1014-4-RK',12,1275,1704,507,8,1215,'OCT0814-DEMO-1014-4-P3-PC',18,3,3,'2026-10-14 14:30:00','2026-10-14 14:30:00','244','244','2026-10-14 14:30:00','2026-10-14 14:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=8,update_time=update_time WHERE id=1275; INSERT INTO `mes_wm_product_receipt_detail` (`receipt_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (12,12,1275,507,8,1215,18,3,3,'244','244','2026-10-14 14:30:00','2026-10-14 14:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice` (`code`,`name`,`client_id`,`sale_order_id`,`sale_order_code`,`sales_date`,`delivery_date`,`status`,`out_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-FH','演示发货通知-黑枸杞原浆',1358,1058,'OCT0814-DEMO-1014-4-XS','2026-10-14 14:40:00','2026-10-14 15:30:00',4,2,'291','291','2026-10-14 14:40:00','2026-10-14 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_sales_notice_line` (`notice_id`,`sale_order_item_id`,`item_id`,`batch_id`,`batch_code`,`quantity`,`out_count`,`oqc_check_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (36,4182,507,1215,'OCT0814-DEMO-1014-4-P3-PC',8,8,1,'291','291','2026-10-14 14:40:00','2026-10-14 14:40:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales` (`code`,`name`,`client_id`,`sale_order_id`,`notice_id`,`sales_order_code`,`sales_date`,`carrier`,`shipping_number`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-CK','演示销售出库-黑枸杞原浆',1358,1058,36,'OCT0814-DEMO-1014-4-XS','2026-10-14 15:30:00','演示自配送','OCT0814-DEMO-1014-4-SHIP',4,'244','244','2026-10-14 14:50:00','2026-10-14 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_product_sales_line` (`sales_id`,`sale_order_item_id`,`notice_line_id`,`item_id`,`enter_unit_measure_id`,`enter_quantity`,`batch_id`,`batch_code`,`material_stock_id`,`quantity`,`oqc_check_flag`,`quality_status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (35,4182,88,507,24,8,1215,'OCT0814-DEMO-1014-4-P3-PC',1275,8,1,1,'244','244','2026-10-14 14:50:00','2026-10-14 14:50:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc` (`code`,`name`,`template_id`,`item_id`,`check_quantity`,`qualified_quantity`,`unqualified_quantity`,`critical_quantity`,`major_quantity`,`minor_quantity`,`critical_rate`,`major_rate`,`minor_rate`,`check_result`,`inspect_date`,`inspector_user_id`,`status`,`sampling_location`,`source_doc_type`,`source_doc_id`,`source_line_id`,`source_doc_code`,`client_id`,`batch_code`,`out_quantity`,`out_date`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-OQC','OCT0814-DEMO-1014-4-OQC-演示检验',35,507,8,8,0,0,0,0,0,0,0,1,'2026-10-14 15:00:00',290,4,'演示样品,非真实质检记录',119,35,87,'OCT0814-DEMO-1014-4-CK',1358,'OCT0814-DEMO-1014-4-P3-PC',8,'2026-10-14 15:30:00','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result` (`code`,`qc_id`,`qc_type`,`item_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES ('OCT0814-DEMO-1014-4-OQC-R',366,3,507,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,53,'阿贝折光仪','来源:SOP-QC-(YL)035-03 §2.1;GBT2.2143-1989','10.000000',NULL,NULL,'10.000000',0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,53,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,55,'pH计(酸度计)','来源:SOP-QC-(YL)035-03 §3.2.2;','6.000000',NULL,'7.000000','5.000000',0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,55,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,18,'原子吸收分光光度计(配微波消解仪)','来源:SOP-QC-(YL)035-03 §5;','0.500000',NULL,'0.500000',NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,18,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,45,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.1;GB 4789.2',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,45,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,47,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.2;GB 4789.3',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,47,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,75,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.4;GB 4789.15','20.000000',NULL,'20.000000',NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,75,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,1,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,1,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,31,'感官检验(目测、嗅辨、品尝;无专用仪器)','来源:SOP-QC-(YL)035-03 §1;',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,31,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,2,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,2,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,3,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,3,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,115,'pH计(酸度计)','来源:SOP-QC-(YL)035-03 §3;GB/T 12456-2021','32.000000',NULL,NULL,'32.000000',0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,115,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,11,'紫外-可见分光光度计','来源:SOP-QC-(YL)035-03 §4;GB/T 6682',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,11,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,12,'紫外-可见分光光度计','来源:SOP-QC-(YL)035-03 §4;判定要求续文,无需重复检验',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,12,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,5,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,5,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,4,NULL,'分组标题,不参与判定',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,4,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); INSERT INTO `mes_qc_oqc_line` (`oqc_id`,`indicator_id`,`tool`,`check_method`,`standard_value`,`unit_measure_id`,`max_threshold`,`min_threshold`,`critical_quantity`,`major_quantity`,`minor_quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (366,74,'生化培养箱(配超净工作台、压力蒸汽灭菌器)','来源:SOP-QC-(YL)035-03 §6.3;GB 4789.15',NULL,NULL,NULL,NULL,0,0,0,'290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_qc_indicator_result_detail` (`result_id`,`indicator_id`,`measure_no`,`value`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (1292,74,1,'演示:符合现有方案描述(非真实实测)','演示样例结果;不作为真实检测或放行依据。','290','290','2026-10-14 15:00:00','2026-10-14 15:00:00',0); UPDATE `mes_wm_product_sales_line` SET `oqc_id`=366,update_time=update_time WHERE id=87; INSERT INTO `mes_wm_product_sales_detail` (`sales_id`,`line_id`,`material_stock_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (35,87,1275,507,8,1215,'OCT0814-DEMO-1014-4-P3-PC',18,3,3,'244','244','2026-10-14 15:30:00','2026-10-14 15:30:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_stock_reserve` (`material_stock_id`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`item_id`,`quantity`,`status`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (1275,1,35,'OCT0814-DEMO-1014-4-CK',87,507,8,3,'244','244','2026-10-14 15:20:00','2026-10-14 15:20:00',0,'10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。'); INSERT INTO `mes_wm_transaction` (`type`,`biz_type`,`biz_id`,`biz_code`,`biz_line_id`,`material_stock_id`,`related_transaction_id`,`item_id`,`quantity`,`batch_id`,`batch_code`,`warehouse_id`,`location_id`,`area_id`,`transaction_time`,`receipt_time`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) VALUES (2,119,35,'OCT0814-DEMO-1014-4-CK',87,1275,NULL,507,-8,1215,'OCT0814-DEMO-1014-4-P3-PC',18,3,3,'2026-10-14 15:30:00','2026-10-14 15:30:00','244','244','2026-10-14 15:30:00','2026-10-14 15:30:00',0); UPDATE `mes_wm_material_stock` SET `quantity`=0,update_time=update_time WHERE id=1275; INSERT INTO `mes_energy_record` (`record_date`,`energy_type`,`usage_area`,`product_category`,`usage_purpose`,`quantity`,`unit_price`,`amount`,`recorder`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('2026-10-08','WATER','原浆调配区','滋补品原浆','清洗、调配用水',32.600,5.2000,169.52,'赵磊','10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 单价参考现有能耗台账,用量为演示补充;OCT0814-DEMO','243','243','2026-10-08 16:00:00','2026-10-08 16:00:00',0,0); INSERT INTO `mes_energy_record` (`record_date`,`energy_type`,`usage_area`,`product_category`,`usage_purpose`,`quantity`,`unit_price`,`amount`,`recorder`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('2026-10-09','ELECTRICITY','燕窝加工区','燕窝','加工及包装设备用电',1268.500,0.8300,1052.86,'赵磊','10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 单价参考现有能耗台账,用量为演示补充;OCT0814-DEMO','243','243','2026-10-09 16:00:00','2026-10-09 16:00:00',0,0); INSERT INTO `mes_energy_record` (`record_date`,`energy_type`,`usage_area`,`product_category`,`usage_purpose`,`quantity`,`unit_price`,`amount`,`recorder`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('2026-10-12','STEAM','原浆杀菌区','滋补品原浆','加热杀菌用汽',1.850,248.0000,458.80,'赵磊','10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 单价参考现有能耗台账,用量为演示补充;OCT0814-DEMO','243','243','2026-10-12 16:00:00','2026-10-12 16:00:00',0,0); INSERT INTO `mes_energy_record` (`record_date`,`energy_type`,`usage_area`,`product_category`,`usage_purpose`,`quantity`,`unit_price`,`amount`,`recorder`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) VALUES ('2026-10-14','ELECTRICITY','动力站','公共能耗','动力设备运行用电',1586.200,0.8300,1316.55,'赵磊','10月8日至14日业务链演示补充;非真实交易、投料、检验或物流凭证;沿用现有示意BOM及工艺主数据。 单价参考现有能耗台账,用量为演示补充;OCT0814-DEMO','243','243','2026-10-14 16:00:00','2026-10-14 16:00:00',0,0); ROLLBACK;