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,'演示外观、数量核验,不作为真实检验标准',284,'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,'演示数量一致性核验,不作为真实检验标准',284,'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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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 (284,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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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,285,'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 (285,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 (285,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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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,286,'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 (286,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 (286,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 (1169,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,1169,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 (546,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,1169,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 (546,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,546,'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 (1059,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`=1059,`order_no`='OCT0814-DEMO-1008-1-XS',update_time=update_time WHERE id=546; UPDATE `crm_sale_quotation` SET `contract_id`=546,`contract_no`='OCT0814-DEMO-1008-1-HT',update_time=update_time WHERE id=546; UPDATE `crm_business` SET `order_id`=1059,`order_no`='OCT0814-DEMO-1008-1-XS',update_time=update_time WHERE id=1169; 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,546,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,546,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,1169,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,546,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,546,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,43,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,44,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,1169,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,1059,'OCT0814-DEMO-1008-1-XS',4183,977,10,10,9,1353,'2026-10-08 13:30:00','2026-10-08 08:45:00','2026-10-08 13:45:00',98,'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`=3502,update_time=update_time WHERE id=4183; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (98,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 (98,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 (98,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 (49,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-演示检验',284,914,10.000000,10.000000,0,0,0,0,0,0,0,1,'2026-10-08 09:00:00',290,4,'演示样品,非真实质检记录',100,49,49,'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',95,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 (95,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 (1293,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 (95,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 (1293,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`=95,update_time=update_time WHERE id=49; 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#洞燕窝(配料)-燕盏',95,49,'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 (112,49,914,30,10.000000,10.000000,1216,'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,1216,'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,112,'OCT0814-DEMO-1008-1-RAW1-RK',112,1276,NULL,914,10.000000,1216,'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=1276; 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 (112,112,1276,914,10.000000,1216,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 (50,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-演示检验',284,882,10.000000,10.000000,0,0,0,0,0,0,0,1,'2026-10-08 09:00:00',290,4,'演示样品,非真实质检记录',100,50,50,'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',96,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 (96,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 (1294,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 (96,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 (1294,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`=96,update_time=update_time WHERE id=50; 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瓶外盒',96,50,'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 (113,50,882,24,10.000000,10.000000,1217,'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,1217,'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,113,'OCT0814-DEMO-1008-1-RAW2-RK',113,1277,NULL,882,10.000000,1217,'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=1277; 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 (113,113,1277,882,10.000000,1217,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 (51,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-演示检验',284,883,10.000000,10.000000,0,0,0,0,0,0,0,1,'2026-10-08 09:00:00',290,4,'演示样品,非真实质检记录',100,51,51,'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',97,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 (97,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 (1295,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 (97,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 (1295,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`=97,update_time=update_time WHERE id=51; 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瓶标签',97,51,'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 (114,51,883,24,10.000000,10.000000,1218,'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,1218,'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,114,'OCT0814-DEMO-1008-1-RAW3-RK',114,1278,NULL,883,10.000000,1218,'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=1278; 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 (114,114,1278,883,10.000000,1218,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,98,'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',98,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 (98,1019,1,'PT-STP-001','原料验收参数模板-001','OCT0814-DEMO-1019','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 (165,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,98,1019,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','演示生产领料',98,1019,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 (70,1019,914,30,10.000000,10.000000,1216,'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 (70,172,1276,914,10.000000,1216,'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,70,'OCT0814-DEMO-1008-1-P1-LL',172,1276,NULL,914,-10.000000,1216,'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=1276; 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,1216,'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,70,'OCT0814-DEMO-1008-1-P1-LL',172,1279,1710,914,10.000000,1216,'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=1279; 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 (1019,98,1,'PRODUCT_ISSUE',70,172,'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','演示工序投入消耗',98,1019,1,1,906,'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 (135,914,10.000000,1216,'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 (135,370,1279,914,10.000000,1216,'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,135,'OCT0814-DEMO-1008-1-P1-XH',370,1279,NULL,914,-10.000000,1216,'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=1279; 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',98,1019,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','演示工序产出',98,906,1,1,1019,'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 (135,906,977,10,1219,'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,1219,'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,135,'OCT0814-DEMO-1008-1-P1-CC',135,1280,NULL,977,10,1219,'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=1280; 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 (135,135,977,10,1219,'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,98,'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',98,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 (98,1020,2,'PT-STP-002','领料脱包参数模板-002','OCT0814-DEMO-1020','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 (166,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,98,1020,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','演示工序投入消耗',98,1020,2,2,907,'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 (136,977,10,1219,'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 (136,371,1280,977,10,1219,'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,136,'OCT0814-DEMO-1008-1-P2-XH',371,1280,NULL,977,-10,1219,'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=1280; 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',98,1020,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','演示工序产出',98,907,2,2,1020,'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 (136,907,977,10,1220,'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,1220,'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,136,'OCT0814-DEMO-1008-1-P2-CC',136,1281,NULL,977,10,1220,'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=1281; 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 (136,136,977,10,1220,'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,98,'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',98,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 (98,1021,3,'PT-STP-003','称量参数模板-003','OCT0814-DEMO-1021','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 (167,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,98,1021,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','演示工序投入消耗',98,1021,3,3,908,'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 (137,977,10,1220,'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 (137,372,1281,977,10,1220,'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,137,'OCT0814-DEMO-1008-1-P3-XH',372,1281,NULL,977,-10,1220,'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=1281; 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',98,1021,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','演示工序产出',98,908,3,3,1021,'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 (137,908,977,10,1221,'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,1221,'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,137,'OCT0814-DEMO-1008-1-P3-CC',137,1282,NULL,977,10,1221,'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=1282; 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 (137,137,977,10,1221,'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,98,'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',98,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 (98,1022,7,'PT-STP-007','人工选别参数模板-007','OCT0814-DEMO-1022','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 (168,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,98,1022,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','演示工序投入消耗',98,1022,7,7,909,'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 (138,977,10,1221,'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 (138,373,1282,977,10,1221,'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,138,'OCT0814-DEMO-1008-1-P4-XH',373,1282,NULL,977,-10,1221,'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=1282; 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',98,1022,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','演示工序产出',98,909,7,7,1022,'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 (138,909,977,10,1222,'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,1222,'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,138,'OCT0814-DEMO-1008-1-P4-CC',138,1283,NULL,977,10,1222,'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=1283; 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 (138,138,977,10,1222,'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,98,'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',98,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 (98,1023,10,'PT-STP-010','内包装参数模板-010','OCT0814-DEMO-1023','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 (169,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 (169,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,98,1023,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','演示生产领料',98,1023,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 (71,1023,882,24,10.000000,10.000000,1217,'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 (71,173,1277,882,10.000000,1217,'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,71,'OCT0814-DEMO-1008-1-P5-LL',173,1277,NULL,882,-10.000000,1217,'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=1277; 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,1217,'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,71,'OCT0814-DEMO-1008-1-P5-LL',173,1284,1720,882,10.000000,1217,'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=1284; 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 (1023,98,10,'PRODUCT_ISSUE',71,173,'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','演示工序投入消耗',98,1023,10,10,910,'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 (139,882,10.000000,1217,'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 (139,374,1284,882,10.000000,1217,'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,139,'OCT0814-DEMO-1008-1-P5-XH',374,1284,NULL,882,-10.000000,1217,'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=1284; 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 (139,977,10,1222,'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 (139,375,1283,977,10,1222,'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,139,'OCT0814-DEMO-1008-1-P5-XH',375,1283,NULL,977,-10,1222,'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=1283; 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',98,1023,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','演示工序产出',98,910,10,10,1023,'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 (139,910,977,10,1223,'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,1223,'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,139,'OCT0814-DEMO-1008-1-P5-CC',139,1285,NULL,977,10,1223,'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=1285; 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 (139,139,977,10,1223,'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,98,'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',98,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 (98,1024,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1024','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 (170,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,98,1024,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','演示生产领料',98,1024,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 (72,1024,883,24,10.000000,10.000000,1218,'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 (72,174,1278,883,10.000000,1218,'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,72,'OCT0814-DEMO-1008-1-P6-LL',174,1278,NULL,883,-10.000000,1218,'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=1278; 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,1218,'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,72,'OCT0814-DEMO-1008-1-P6-LL',174,1286,1725,883,10.000000,1218,'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=1286; 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 (1024,98,11,'PRODUCT_ISSUE',72,174,'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','演示工序投入消耗',98,1024,11,11,911,'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 (140,883,10.000000,1218,'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 (140,376,1286,883,10.000000,1218,'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,140,'OCT0814-DEMO-1008-1-P6-XH',376,1286,NULL,883,-10.000000,1218,'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=1286; 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 (140,977,10,1223,'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 (140,377,1285,977,10,1223,'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,140,'OCT0814-DEMO-1008-1-P6-XH',377,1285,NULL,977,-10,1223,'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=1285; 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',98,1024,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','演示工序产出',98,911,11,11,1024,'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 (140,911,977,10,1224,'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,1224,'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,140,'OCT0814-DEMO-1008-1-P6-CC',140,1287,NULL,977,10,1224,'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=1287; 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 (140,140,977,10,1224,'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,98,'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',98,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 (98,1025,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1025','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 (171,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,98,1025,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','演示工序投入消耗',98,1025,12,12,912,'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 (141,977,10,1224,'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 (141,378,1287,977,10,1224,'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,141,'OCT0814-DEMO-1008-1-P7-XH',378,1287,NULL,977,-10,1224,'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=1287; 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',98,1025,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','演示工序产出',98,912,12,12,1025,'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 (141,912,977,10,1225,'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-演示检验',285,977,10,10,0,0,0,0,0,0,0,1,'2026-10-08 12:22:00',289,4,'演示样品,非真实质检记录',5,124,141,141,'OCT0814-DEMO-1008-1-P7-CC',98,1025,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',139,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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 (139,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 (1296,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,1225,'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,141,'OCT0814-DEMO-1008-1-P7-CC',141,1288,NULL,977,10,1225,'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=1288; 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 (141,141,977,10,1225,'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,98,'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',98,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 (98,1026,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1026','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 (172,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,98,1026,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','演示工序投入消耗',98,1026,13,13,913,'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 (142,977,10,1225,'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 (142,379,1288,977,10,1225,'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,142,'OCT0814-DEMO-1008-1-P8-XH',379,1288,NULL,977,-10,1225,'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=1288; 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',98,1026,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','演示工序产出',98,913,13,13,1026,'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 (142,913,977,10,1226,'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,1226,'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,142,'OCT0814-DEMO-1008-1-P8-CC',142,1289,NULL,977,10,1226,'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=1289; 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 (142,142,977,10,1226,'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,98,'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',98,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 (98,1027,24,'PT-STP-024','瞬时灭菌参数模板-024','OCT0814-DEMO-1027','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 (173,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 (173,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,98,1027,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','演示工序投入消耗',98,1027,24,24,914,'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 (143,977,10,1226,'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 (143,380,1289,977,10,1226,'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,143,'OCT0814-DEMO-1008-1-P9-XH',380,1289,NULL,977,-10,1226,'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=1289; 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',98,1027,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','演示工序产出',98,914,24,24,1027,'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 (143,914,977,10,1227,'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,1227,'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,143,'OCT0814-DEMO-1008-1-P9-CC',143,1290,NULL,977,10,1227,'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=1290; 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 (143,143,977,10,1227,'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,98,'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',98,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 (98,1028,25,'PT-STP-025','热灌装参数模板-025','OCT0814-DEMO-1028','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 (174,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 (174,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,98,1028,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','演示工序投入消耗',98,1028,25,25,915,'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 (144,977,10,1227,'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 (144,381,1290,977,10,1227,'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,144,'OCT0814-DEMO-1008-1-P10-XH',381,1290,NULL,977,-10,1227,'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=1290; 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',98,1028,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','演示工序产出',98,915,25,25,1028,'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 (144,915,977,10,1228,'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,1228,'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,144,'OCT0814-DEMO-1008-1-P10-CC',144,1291,NULL,977,10,1228,'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=1291; 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 (144,144,977,10,1228,'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=98; 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','演示成品入库-洞燕窝即食碗装燕窝',98,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 (13,977,10,1291,1228,'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,13,'OCT0814-DEMO-1008-1-RK',13,1291,NULL,977,-10,1228,'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=1291; 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,1228,'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,13,'OCT0814-DEMO-1008-1-RK',13,1292,1738,977,10,1228,'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=1292; 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 (13,13,1292,977,10,1228,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,1059,'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 (37,4183,977,1228,'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,1059,37,'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 (36,4183,89,977,9,10,1228,'OCT0814-DEMO-1008-1-P10-PC',1292,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-演示检验',286,977,10,10,0,0,0,0,0,0,0,1,'2026-10-08 15:00:00',290,4,'演示样品,非真实质检记录',119,36,88,'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',367,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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 (367,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 (1297,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`=367,update_time=update_time WHERE id=88; 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 (36,88,1292,977,10,1228,'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 (1292,1,36,'OCT0814-DEMO-1008-1-CK',88,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,36,'OCT0814-DEMO-1008-1-CK',88,1292,NULL,977,-10,1228,'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=1292; 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 (1170,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,1170,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 (547,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,1170,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 (547,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,547,'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 (1060,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`=1060,`order_no`='OCT0814-DEMO-1009-2-XS',update_time=update_time WHERE id=547; UPDATE `crm_sale_quotation` SET `contract_id`=547,`contract_no`='OCT0814-DEMO-1009-2-HT',update_time=update_time WHERE id=547; UPDATE `crm_business` SET `order_id`=1060,`order_no`='OCT0814-DEMO-1009-2-XS',update_time=update_time WHERE id=1170; 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,547,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,547,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,1170,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,547,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,547,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,45,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,46,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,1170,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,1060,'OCT0814-DEMO-1009-2-XS',4184,999,12,12,9,1381,'2026-10-09 13:30:00','2026-10-09 08:45:00','2026-10-09 13:45:00',99,'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`=3503,update_time=update_time WHERE id=4184; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (99,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 (99,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 (99,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 (52,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-演示检验',284,914,12.000000,12.000000,0,0,0,0,0,0,0,1,'2026-10-09 09:00:00',290,4,'演示样品,非真实质检记录',100,52,52,'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',98,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 (98,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 (1298,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 (98,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 (1298,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`=98,update_time=update_time WHERE id=52; 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#洞燕窝(配料)-燕盏',98,52,'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 (115,52,914,30,12.000000,12.000000,1229,'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,1229,'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,115,'OCT0814-DEMO-1009-2-RAW1-RK',115,1293,NULL,914,12.000000,1229,'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=1293; 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 (115,115,1293,914,12.000000,1229,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 (53,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-演示检验',284,882,12.000000,12.000000,0,0,0,0,0,0,0,1,'2026-10-09 09:00:00',290,4,'演示样品,非真实质检记录',100,53,53,'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',99,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 (99,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 (1299,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 (99,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 (1299,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`=99,update_time=update_time WHERE id=53; 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瓶外盒',99,53,'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 (116,53,882,24,12.000000,12.000000,1230,'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,1230,'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,116,'OCT0814-DEMO-1009-2-RAW2-RK',116,1294,NULL,882,12.000000,1230,'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=1294; 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 (116,116,1294,882,12.000000,1230,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 (54,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-演示检验',284,883,12.000000,12.000000,0,0,0,0,0,0,0,1,'2026-10-09 09:00:00',290,4,'演示样品,非真实质检记录',100,54,54,'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',100,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 (100,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 (1300,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 (100,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 (1300,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`=100,update_time=update_time WHERE id=54; 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瓶标签',100,54,'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 (117,54,883,24,12.000000,12.000000,1231,'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,1231,'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,117,'OCT0814-DEMO-1009-2-RAW3-RK',117,1295,NULL,883,12.000000,1231,'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=1295; 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 (117,117,1295,883,12.000000,1231,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,99,'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',99,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 (99,1029,1,'PT-STP-001','原料验收参数模板-001','OCT0814-DEMO-1029','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 (175,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,99,1029,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','演示生产领料',99,1029,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 (73,1029,914,30,12.000000,12.000000,1229,'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 (73,175,1293,914,12.000000,1229,'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,73,'OCT0814-DEMO-1009-2-P1-LL',175,1293,NULL,914,-12.000000,1229,'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=1293; 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,1229,'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,73,'OCT0814-DEMO-1009-2-P1-LL',175,1296,1744,914,12.000000,1229,'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=1296; 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 (1029,99,1,'PRODUCT_ISSUE',73,175,'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','演示工序投入消耗',99,1029,1,1,916,'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 (145,914,12.000000,1229,'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 (145,382,1296,914,12.000000,1229,'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,145,'OCT0814-DEMO-1009-2-P1-XH',382,1296,NULL,914,-12.000000,1229,'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=1296; 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',99,1029,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','演示工序产出',99,916,1,1,1029,'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 (145,916,999,12,1232,'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,1232,'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,145,'OCT0814-DEMO-1009-2-P1-CC',145,1297,NULL,999,12,1232,'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=1297; 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 (145,145,999,12,1232,'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,99,'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',99,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 (99,1030,2,'PT-STP-002','领料脱包参数模板-002','OCT0814-DEMO-1030','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 (176,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,99,1030,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','演示工序投入消耗',99,1030,2,2,917,'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 (146,999,12,1232,'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 (146,383,1297,999,12,1232,'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,146,'OCT0814-DEMO-1009-2-P2-XH',383,1297,NULL,999,-12,1232,'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=1297; 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',99,1030,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','演示工序产出',99,917,2,2,1030,'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 (146,917,999,12,1233,'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,1233,'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,146,'OCT0814-DEMO-1009-2-P2-CC',146,1298,NULL,999,12,1233,'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=1298; 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 (146,146,999,12,1233,'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,99,'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',99,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 (99,1031,3,'PT-STP-003','称量参数模板-003','OCT0814-DEMO-1031','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 (177,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,99,1031,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','演示工序投入消耗',99,1031,3,3,918,'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 (147,999,12,1233,'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 (147,384,1298,999,12,1233,'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,147,'OCT0814-DEMO-1009-2-P3-XH',384,1298,NULL,999,-12,1233,'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=1298; 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',99,1031,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','演示工序产出',99,918,3,3,1031,'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 (147,918,999,12,1234,'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,1234,'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,147,'OCT0814-DEMO-1009-2-P3-CC',147,1299,NULL,999,12,1234,'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=1299; 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 (147,147,999,12,1234,'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,99,'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',99,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 (99,1032,7,'PT-STP-007','人工选别参数模板-007','OCT0814-DEMO-1032','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 (178,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,99,1032,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','演示工序投入消耗',99,1032,7,7,919,'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 (148,999,12,1234,'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 (148,385,1299,999,12,1234,'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,148,'OCT0814-DEMO-1009-2-P4-XH',385,1299,NULL,999,-12,1234,'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=1299; 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',99,1032,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','演示工序产出',99,919,7,7,1032,'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 (148,919,999,12,1235,'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,1235,'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,148,'OCT0814-DEMO-1009-2-P4-CC',148,1300,NULL,999,12,1235,'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=1300; 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 (148,148,999,12,1235,'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,99,'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',99,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 (99,1033,10,'PT-STP-010','内包装参数模板-010','OCT0814-DEMO-1033','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 (179,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 (179,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,99,1033,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','演示生产领料',99,1033,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 (74,1033,882,24,12.000000,12.000000,1230,'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 (74,176,1294,882,12.000000,1230,'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,74,'OCT0814-DEMO-1009-2-P5-LL',176,1294,NULL,882,-12.000000,1230,'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=1294; 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,1230,'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,74,'OCT0814-DEMO-1009-2-P5-LL',176,1301,1754,882,12.000000,1230,'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=1301; 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 (1033,99,10,'PRODUCT_ISSUE',74,176,'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','演示工序投入消耗',99,1033,10,10,920,'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 (149,882,12.000000,1230,'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 (149,386,1301,882,12.000000,1230,'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,149,'OCT0814-DEMO-1009-2-P5-XH',386,1301,NULL,882,-12.000000,1230,'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=1301; 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 (149,999,12,1235,'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 (149,387,1300,999,12,1235,'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,149,'OCT0814-DEMO-1009-2-P5-XH',387,1300,NULL,999,-12,1235,'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=1300; 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',99,1033,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','演示工序产出',99,920,10,10,1033,'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 (149,920,999,12,1236,'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,1236,'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,149,'OCT0814-DEMO-1009-2-P5-CC',149,1302,NULL,999,12,1236,'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=1302; 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 (149,149,999,12,1236,'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,99,'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',99,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 (99,1034,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1034','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 (180,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,99,1034,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','演示生产领料',99,1034,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 (75,1034,883,24,12.000000,12.000000,1231,'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 (75,177,1295,883,12.000000,1231,'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,75,'OCT0814-DEMO-1009-2-P6-LL',177,1295,NULL,883,-12.000000,1231,'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=1295; 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,1231,'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,75,'OCT0814-DEMO-1009-2-P6-LL',177,1303,1759,883,12.000000,1231,'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=1303; 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 (1034,99,11,'PRODUCT_ISSUE',75,177,'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','演示工序投入消耗',99,1034,11,11,921,'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 (150,883,12.000000,1231,'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 (150,388,1303,883,12.000000,1231,'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,150,'OCT0814-DEMO-1009-2-P6-XH',388,1303,NULL,883,-12.000000,1231,'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=1303; 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 (150,999,12,1236,'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 (150,389,1302,999,12,1236,'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,150,'OCT0814-DEMO-1009-2-P6-XH',389,1302,NULL,999,-12,1236,'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=1302; 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',99,1034,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','演示工序产出',99,921,11,11,1034,'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 (150,921,999,12,1237,'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,1237,'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,150,'OCT0814-DEMO-1009-2-P6-CC',150,1304,NULL,999,12,1237,'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=1304; 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 (150,150,999,12,1237,'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,99,'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',99,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 (99,1035,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1035','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 (181,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,99,1035,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','演示工序投入消耗',99,1035,12,12,922,'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 (151,999,12,1237,'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 (151,390,1304,999,12,1237,'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,151,'OCT0814-DEMO-1009-2-P7-XH',390,1304,NULL,999,-12,1237,'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=1304; 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',99,1035,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','演示工序产出',99,922,12,12,1035,'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 (151,922,999,12,1238,'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-演示检验',285,999,12,12,0,0,0,0,0,0,0,1,'2026-10-09 12:22:00',289,4,'演示样品,非真实质检记录',5,124,151,151,'OCT0814-DEMO-1009-2-P7-CC',99,1035,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',140,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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 (140,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 (1301,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,1238,'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,151,'OCT0814-DEMO-1009-2-P7-CC',151,1305,NULL,999,12,1238,'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=1305; 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 (151,151,999,12,1238,'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,99,'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',99,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 (99,1036,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1036','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 (182,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,99,1036,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','演示工序投入消耗',99,1036,13,13,923,'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 (152,999,12,1238,'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 (152,391,1305,999,12,1238,'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,152,'OCT0814-DEMO-1009-2-P8-XH',391,1305,NULL,999,-12,1238,'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=1305; 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',99,1036,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','演示工序产出',99,923,13,13,1036,'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 (152,923,999,12,1239,'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,1239,'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,152,'OCT0814-DEMO-1009-2-P8-CC',152,1306,NULL,999,12,1239,'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=1306; 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 (152,152,999,12,1239,'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,99,'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',99,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 (99,1037,24,'PT-STP-024','瞬时灭菌参数模板-024','OCT0814-DEMO-1037','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 (183,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 (183,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,99,1037,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','演示工序投入消耗',99,1037,24,24,924,'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 (153,999,12,1239,'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 (153,392,1306,999,12,1239,'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,153,'OCT0814-DEMO-1009-2-P9-XH',392,1306,NULL,999,-12,1239,'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=1306; 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',99,1037,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','演示工序产出',99,924,24,24,1037,'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 (153,924,999,12,1240,'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,1240,'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,153,'OCT0814-DEMO-1009-2-P9-CC',153,1307,NULL,999,12,1240,'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=1307; 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 (153,153,999,12,1240,'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,99,'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',99,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 (99,1038,25,'PT-STP-025','热灌装参数模板-025','OCT0814-DEMO-1038','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 (184,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 (184,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,99,1038,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','演示工序投入消耗',99,1038,25,25,925,'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 (154,999,12,1240,'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 (154,393,1307,999,12,1240,'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,154,'OCT0814-DEMO-1009-2-P10-XH',393,1307,NULL,999,-12,1240,'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=1307; 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',99,1038,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','演示工序产出',99,925,25,25,1038,'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 (154,925,999,12,1241,'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,1241,'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,154,'OCT0814-DEMO-1009-2-P10-CC',154,1308,NULL,999,12,1241,'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=1308; 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 (154,154,999,12,1241,'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=99; 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','演示成品入库-即食小罐洞燕窝',99,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 (14,999,12,1308,1241,'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,14,'OCT0814-DEMO-1009-2-RK',14,1308,NULL,999,-12,1241,'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=1308; 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,1241,'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,14,'OCT0814-DEMO-1009-2-RK',14,1309,1772,999,12,1241,'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=1309; 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 (14,14,1309,999,12,1241,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,1060,'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 (38,4184,999,1241,'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,1060,38,'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 (37,4184,90,999,9,12,1241,'OCT0814-DEMO-1009-2-P10-PC',1309,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-演示检验',286,999,12,12,0,0,0,0,0,0,0,1,'2026-10-09 15:00:00',290,4,'演示样品,非真实质检记录',119,37,89,'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',368,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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 (368,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 (1302,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`=368,update_time=update_time WHERE id=89; 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 (37,89,1309,999,12,1241,'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 (1309,1,37,'OCT0814-DEMO-1009-2-CK',89,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,37,'OCT0814-DEMO-1009-2-CK',89,1309,NULL,999,-12,1241,'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=1309; 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 (1171,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,1171,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 (548,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,1171,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 (548,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,548,'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 (1061,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`=1061,`order_no`='OCT0814-DEMO-1012-3-XS',update_time=update_time WHERE id=548; UPDATE `crm_sale_quotation` SET `contract_id`=548,`contract_no`='OCT0814-DEMO-1012-3-HT',update_time=update_time WHERE id=548; UPDATE `crm_business` SET `order_id`=1061,`order_no`='OCT0814-DEMO-1012-3-XS',update_time=update_time WHERE id=1171; 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,548,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,548,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,1171,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,548,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,548,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,47,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,48,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,1171,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,1061,'OCT0814-DEMO-1012-3-XS',4185,497,24,24,24,1359,'2026-10-12 13:30:00','2026-10-12 08:45:00','2026-10-12 13:45:00',100,'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`=3504,update_time=update_time WHERE id=4185; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (100,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 (100,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 (100,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 (100,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 (100,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 (55,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-演示检验',284,610,24.000000,24.000000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,55,55,'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',101,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 (101,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 (1303,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 (101,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 (1303,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`=101,update_time=update_time WHERE id=55; 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',101,55,'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 (118,55,610,63,24.000000,24.000000,1242,'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,1242,'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,118,'OCT0814-DEMO-1012-3-RAW1-RK',118,1310,NULL,610,24.000000,1242,'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=1310; 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 (118,118,1310,610,24.000000,1242,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 (56,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-演示检验',284,625,24.000000,24.000000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,56,56,'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',102,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 (102,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 (1304,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 (102,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 (1304,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`=102,update_time=update_time WHERE id=56; 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','演示来料入库-青源堂-枸杞原浆外盒',102,56,'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 (119,56,625,24,24.000000,24.000000,1243,'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,1243,'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,119,'OCT0814-DEMO-1012-3-RAW2-RK',119,1311,NULL,625,24.000000,1243,'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=1311; 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 (119,119,1311,625,24.000000,1243,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 (57,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-演示检验',284,626,0.672000,0.672000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,57,57,'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',103,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 (103,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 (1305,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 (103,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 (1305,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`=103,update_time=update_time WHERE id=57; 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袋)外箱',103,57,'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 (120,57,626,24,0.672000,0.672000,1244,'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,1244,'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,120,'OCT0814-DEMO-1012-3-RAW3-RK',120,1312,NULL,626,0.672000,1244,'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=1312; 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 (120,120,1312,626,0.672000,1244,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 (58,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-演示检验',284,627,1.344000,1.344000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,58,58,'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',104,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 (104,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 (1306,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 (104,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 (1306,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`=104,update_time=update_time WHERE id=58; 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袋)外箱垫板',104,58,'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 (121,58,627,82,1.344000,1.344000,1245,'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,1245,'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,121,'OCT0814-DEMO-1012-3-RAW4-RK',121,1313,NULL,627,1.344000,1245,'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=1313; 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 (121,121,1313,627,1.344000,1245,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 (59,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-演示检验',284,628,240.000000,240.000000,0,0,0,0,0,0,0,1,'2026-10-12 09:00:00',290,4,'演示样品,非真实质检记录',100,59,59,'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',105,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 (105,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 (1307,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 (105,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 (1307,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`=105,update_time=update_time WHERE id=59; 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(青源堂)',105,59,'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 (122,59,628,3,240.000000,240.000000,1246,'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,1246,'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,122,'OCT0814-DEMO-1012-3-RAW5-RK',122,1314,NULL,628,240.000000,1246,'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=1314; 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 (122,122,1314,628,240.000000,1246,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,100,'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',100,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 (100,1039,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1039','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 (185,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,100,1039,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','演示生产领料',100,1039,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 (76,1039,610,63,24.000000,24.000000,1242,'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 (76,178,1310,610,24.000000,1242,'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,76,'OCT0814-DEMO-1012-3-P1-LL',178,1310,NULL,610,-24.000000,1242,'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=1310; 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,1242,'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,76,'OCT0814-DEMO-1012-3-P1-LL',178,1315,1780,610,24.000000,1242,'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=1315; 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 (1039,100,11,'PRODUCT_ISSUE',76,178,'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 (76,1039,625,24,24.000000,24.000000,1243,'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 (76,179,1311,625,24.000000,1243,'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,76,'OCT0814-DEMO-1012-3-P1-LL',179,1311,NULL,625,-24.000000,1243,'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=1311; 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,1243,'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,76,'OCT0814-DEMO-1012-3-P1-LL',179,1316,1782,625,24.000000,1243,'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=1316; 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 (1039,100,11,'PRODUCT_ISSUE',76,179,'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 (76,1039,626,24,0.672000,0.672000,1244,'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 (76,180,1312,626,0.672000,1244,'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,76,'OCT0814-DEMO-1012-3-P1-LL',180,1312,NULL,626,-0.672000,1244,'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=1312; 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,1244,'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,76,'OCT0814-DEMO-1012-3-P1-LL',180,1317,1784,626,0.672000,1244,'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=1317; 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 (1039,100,11,'PRODUCT_ISSUE',76,180,'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 (76,1039,627,82,1.344000,1.344000,1245,'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 (76,181,1313,627,1.344000,1245,'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,76,'OCT0814-DEMO-1012-3-P1-LL',181,1313,NULL,627,-1.344000,1245,'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=1313; 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,1245,'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,76,'OCT0814-DEMO-1012-3-P1-LL',181,1318,1786,627,1.344000,1245,'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=1318; 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 (1039,100,11,'PRODUCT_ISSUE',76,181,'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 (76,1039,628,3,240.000000,240.000000,1246,'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 (76,182,1314,628,240.000000,1246,'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,76,'OCT0814-DEMO-1012-3-P1-LL',182,1314,NULL,628,-240.000000,1246,'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=1314; 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,1246,'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,76,'OCT0814-DEMO-1012-3-P1-LL',182,1319,1788,628,240.000000,1246,'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=1319; 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 (1039,100,11,'PRODUCT_ISSUE',76,182,'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','演示工序投入消耗',100,1039,11,11,926,'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 (155,610,24.000000,1242,'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 (155,394,1315,610,24.000000,1242,'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,155,'OCT0814-DEMO-1012-3-P1-XH',394,1315,NULL,610,-24.000000,1242,'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=1315; 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 (155,625,24.000000,1243,'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 (155,395,1316,625,24.000000,1243,'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,155,'OCT0814-DEMO-1012-3-P1-XH',395,1316,NULL,625,-24.000000,1243,'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=1316; 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 (155,626,0.672000,1244,'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 (155,396,1317,626,0.672000,1244,'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,155,'OCT0814-DEMO-1012-3-P1-XH',396,1317,NULL,626,-0.672000,1244,'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=1317; 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 (155,627,1.344000,1245,'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 (155,397,1318,627,1.344000,1245,'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,155,'OCT0814-DEMO-1012-3-P1-XH',397,1318,NULL,627,-1.344000,1245,'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=1318; 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 (155,628,240.000000,1246,'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 (155,398,1319,628,240.000000,1246,'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,155,'OCT0814-DEMO-1012-3-P1-XH',398,1319,NULL,628,-240.000000,1246,'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=1319; 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',100,1039,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','演示工序产出',100,926,11,11,1039,'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 (155,926,497,24,1247,'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,1247,'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,155,'OCT0814-DEMO-1012-3-P1-CC',155,1320,NULL,497,24,1247,'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=1320; 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 (155,155,497,24,1247,'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,100,'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',100,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 (100,1040,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1040','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 (186,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,100,1040,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','演示工序投入消耗',100,1040,12,12,927,'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 (156,497,24,1247,'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 (156,399,1320,497,24,1247,'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,156,'OCT0814-DEMO-1012-3-P2-XH',399,1320,NULL,497,-24,1247,'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=1320; 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',100,1040,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','演示工序产出',100,927,12,12,1040,'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 (156,927,497,24,1248,'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,156,156,'OCT0814-DEMO-1012-3-P2-CC',100,1040,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',141,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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 (141,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 (1308,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,1248,'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,156,'OCT0814-DEMO-1012-3-P2-CC',156,1321,NULL,497,24,1248,'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=1321; 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 (156,156,497,24,1248,'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,100,'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',100,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 (100,1041,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1041','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 (187,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,100,1041,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','演示工序投入消耗',100,1041,13,13,928,'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 (157,497,24,1248,'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 (157,400,1321,497,24,1248,'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,157,'OCT0814-DEMO-1012-3-P3-XH',400,1321,NULL,497,-24,1248,'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=1321; 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',100,1041,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','演示工序产出',100,928,13,13,1041,'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 (157,928,497,24,1249,'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,1249,'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,157,'OCT0814-DEMO-1012-3-P3-CC',157,1322,NULL,497,24,1249,'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=1322; 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 (157,157,497,24,1249,'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=100; 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','演示成品入库-枸杞原浆',100,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 (15,497,24,1322,1249,'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,15,'OCT0814-DEMO-1012-3-RK',15,1322,NULL,497,-24,1249,'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=1322; 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,1249,'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,15,'OCT0814-DEMO-1012-3-RK',15,1323,1800,497,24,1249,'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=1323; 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 (15,15,1323,497,24,1249,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,1061,'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 (39,4185,497,1249,'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,1061,39,'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 (38,4185,91,497,24,24,1249,'OCT0814-DEMO-1012-3-P3-PC',1323,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,38,90,'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',369,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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 (369,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 (1309,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`=369,update_time=update_time WHERE id=90; 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 (38,90,1323,497,24,1249,'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 (1323,1,38,'OCT0814-DEMO-1012-3-CK',90,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,38,'OCT0814-DEMO-1012-3-CK',90,1323,NULL,497,-24,1249,'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=1323; 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 (1172,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,1172,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 (549,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,1172,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 (549,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,549,'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 (1062,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`=1062,`order_no`='OCT0814-DEMO-1014-4-XS',update_time=update_time WHERE id=549; UPDATE `crm_sale_quotation` SET `contract_id`=549,`contract_no`='OCT0814-DEMO-1014-4-HT',update_time=update_time WHERE id=549; UPDATE `crm_business` SET `order_id`=1062,`order_no`='OCT0814-DEMO-1014-4-XS',update_time=update_time WHERE id=1172; 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,549,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,549,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,1172,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,549,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,549,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,49,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,50,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,1172,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,1062,'OCT0814-DEMO-1014-4-XS',4186,507,8,8,24,1358,'2026-10-14 13:30:00','2026-10-14 08:45:00','2026-10-14 13:45:00',101,'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`=3505,update_time=update_time WHERE id=4186; INSERT INTO `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`remark`) VALUES (101,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 (101,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 (101,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 (101,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 (101,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 (60,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-演示检验',284,630,8.000000,8.000000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,60,60,'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',106,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 (106,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 (1310,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 (106,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 (1310,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`=106,update_time=update_time WHERE id=60; 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',106,60,'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 (123,60,630,63,8.000000,8.000000,1250,'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,1250,'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,123,'OCT0814-DEMO-1014-4-RAW1-RK',123,1324,NULL,630,8.000000,1250,'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=1324; 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 (123,123,1324,630,8.000000,1250,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 (61,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-演示检验',284,631,3.200000,3.200000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,61,61,'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',107,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 (107,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 (1311,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 (107,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 (1311,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`=107,update_time=update_time WHERE id=61; 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','演示来料入库-青源堂-原浆外箱垫板',107,61,'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 (124,61,631,82,3.200000,3.200000,1251,'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,1251,'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,124,'OCT0814-DEMO-1014-4-RAW2-RK',124,1325,NULL,631,3.200000,1251,'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=1325; 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 (124,124,1325,631,3.200000,1251,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 (62,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-演示检验',284,632,1.600000,1.600000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,62,62,'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',108,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 (108,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 (1312,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 (108,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 (1312,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`=108,update_time=update_time WHERE id=62; 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','演示来料入库-青源堂-原浆外箱',108,62,'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 (125,62,632,24,1.600000,1.600000,1252,'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,1252,'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,125,'OCT0814-DEMO-1014-4-RAW3-RK',125,1326,NULL,632,1.600000,1252,'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=1326; 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 (125,125,1326,632,1.600000,1252,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 (63,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-演示检验',284,643,480.000000,480.000000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,63,63,'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',109,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 (109,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 (1313,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 (109,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 (1313,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`=109,update_time=update_time WHERE id=63; 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',109,63,'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 (126,63,643,3,480.000000,480.000000,1253,'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,1253,'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,126,'OCT0814-DEMO-1014-4-RAW4-RK',126,1327,NULL,643,480.000000,1253,'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=1327; 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 (126,126,1327,643,480.000000,1253,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 (64,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-演示检验',284,655,8.000000,8.000000,0,0,0,0,0,0,0,1,'2026-10-14 09:00:00',290,4,'演示样品,非真实质检记录',100,64,64,'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',110,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 (110,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 (1314,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 (110,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 (1314,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`=110,update_time=update_time WHERE id=64; 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','演示来料入库-青源堂双标款 黑果枸杞原浆罐头礼盒',110,64,'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 (127,64,655,24,8.000000,8.000000,1254,'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,1254,'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,127,'OCT0814-DEMO-1014-4-RAW5-RK',127,1328,NULL,655,8.000000,1254,'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=1328; 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 (127,127,1328,655,8.000000,1254,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,101,'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',101,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 (101,1042,11,'PT-STP-011','外包装参数模板-011','OCT0814-DEMO-1042','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 (188,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,101,1042,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','演示生产领料',101,1042,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 (77,1042,630,63,8.000000,8.000000,1250,'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 (77,183,1324,630,8.000000,1250,'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,77,'OCT0814-DEMO-1014-4-P1-LL',183,1324,NULL,630,-8.000000,1250,'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=1324; 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,1250,'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,77,'OCT0814-DEMO-1014-4-P1-LL',183,1329,1808,630,8.000000,1250,'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=1329; 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 (1042,101,11,'PRODUCT_ISSUE',77,183,'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 (77,1042,631,82,3.200000,3.200000,1251,'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 (77,184,1325,631,3.200000,1251,'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,77,'OCT0814-DEMO-1014-4-P1-LL',184,1325,NULL,631,-3.200000,1251,'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=1325; 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,1251,'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,77,'OCT0814-DEMO-1014-4-P1-LL',184,1330,1810,631,3.200000,1251,'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=1330; 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 (1042,101,11,'PRODUCT_ISSUE',77,184,'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 (77,1042,632,24,1.600000,1.600000,1252,'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 (77,185,1326,632,1.600000,1252,'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,77,'OCT0814-DEMO-1014-4-P1-LL',185,1326,NULL,632,-1.600000,1252,'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=1326; 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,1252,'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,77,'OCT0814-DEMO-1014-4-P1-LL',185,1331,1812,632,1.600000,1252,'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=1331; 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 (1042,101,11,'PRODUCT_ISSUE',77,185,'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 (77,1042,643,3,480.000000,480.000000,1253,'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 (77,186,1327,643,480.000000,1253,'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,77,'OCT0814-DEMO-1014-4-P1-LL',186,1327,NULL,643,-480.000000,1253,'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=1327; 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,1253,'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,77,'OCT0814-DEMO-1014-4-P1-LL',186,1332,1814,643,480.000000,1253,'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=1332; 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 (1042,101,11,'PRODUCT_ISSUE',77,186,'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 (77,1042,655,24,8.000000,8.000000,1254,'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 (77,187,1328,655,8.000000,1254,'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,77,'OCT0814-DEMO-1014-4-P1-LL',187,1328,NULL,655,-8.000000,1254,'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=1328; 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,1254,'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,77,'OCT0814-DEMO-1014-4-P1-LL',187,1333,1816,655,8.000000,1254,'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=1333; 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 (1042,101,11,'PRODUCT_ISSUE',77,187,'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','演示工序投入消耗',101,1042,11,11,929,'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 (158,630,8.000000,1250,'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 (158,401,1329,630,8.000000,1250,'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,158,'OCT0814-DEMO-1014-4-P1-XH',401,1329,NULL,630,-8.000000,1250,'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=1329; 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 (158,631,3.200000,1251,'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 (158,402,1330,631,3.200000,1251,'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,158,'OCT0814-DEMO-1014-4-P1-XH',402,1330,NULL,631,-3.200000,1251,'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=1330; 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 (158,632,1.600000,1252,'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 (158,403,1331,632,1.600000,1252,'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,158,'OCT0814-DEMO-1014-4-P1-XH',403,1331,NULL,632,-1.600000,1252,'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=1331; 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 (158,643,480.000000,1253,'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 (158,404,1332,643,480.000000,1253,'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,158,'OCT0814-DEMO-1014-4-P1-XH',404,1332,NULL,643,-480.000000,1253,'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=1332; 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 (158,655,8.000000,1254,'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 (158,405,1333,655,8.000000,1254,'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,158,'OCT0814-DEMO-1014-4-P1-XH',405,1333,NULL,655,-8.000000,1254,'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=1333; 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',101,1042,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','演示工序产出',101,929,11,11,1042,'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 (158,929,507,8,1255,'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,1255,'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,158,'OCT0814-DEMO-1014-4-P1-CC',158,1334,NULL,507,8,1255,'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=1334; 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 (158,158,507,8,1255,'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,101,'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',101,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 (101,1043,12,'PT-STP-012','成品检验参数模板-012','OCT0814-DEMO-1043','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 (189,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,101,1043,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','演示工序投入消耗',101,1043,12,12,930,'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 (159,507,8,1255,'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 (159,406,1334,507,8,1255,'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,159,'OCT0814-DEMO-1014-4-P2-XH',406,1334,NULL,507,-8,1255,'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=1334; 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',101,1043,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','演示工序产出',101,930,12,12,1043,'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 (159,930,507,8,1256,'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,159,159,'OCT0814-DEMO-1014-4-P2-CC',101,1043,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',142,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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 (142,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 (1315,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,1256,'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,159,'OCT0814-DEMO-1014-4-P2-CC',159,1335,NULL,507,8,1256,'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=1335; 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 (159,159,507,8,1256,'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,101,'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',101,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 (101,1044,13,'PT-STP-013','成品入库参数模板-013','OCT0814-DEMO-1044','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 (190,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,101,1044,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','演示工序投入消耗',101,1044,13,13,931,'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 (160,507,8,1256,'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 (160,407,1335,507,8,1256,'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,160,'OCT0814-DEMO-1014-4-P3-XH',407,1335,NULL,507,-8,1256,'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=1335; 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',101,1044,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','演示工序产出',101,931,13,13,1044,'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 (160,931,507,8,1257,'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,1257,'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,160,'OCT0814-DEMO-1014-4-P3-CC',160,1336,NULL,507,8,1257,'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=1336; 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 (160,160,507,8,1257,'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=101; 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','演示成品入库-黑枸杞原浆',101,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 (16,507,8,1336,1257,'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,16,'OCT0814-DEMO-1014-4-RK',16,1336,NULL,507,-8,1257,'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=1336; 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,1257,'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,16,'OCT0814-DEMO-1014-4-RK',16,1337,1828,507,8,1257,'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=1337; 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 (16,16,1337,507,8,1257,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,1062,'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 (40,4186,507,1257,'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,1062,40,'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 (39,4186,92,507,24,8,1257,'OCT0814-DEMO-1014-4-P3-PC',1337,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,39,91,'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',370,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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 (370,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 (1316,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`=370,update_time=update_time WHERE id=91; 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 (39,91,1337,507,8,1257,'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 (1337,1,39,'OCT0814-DEMO-1014-4-CK',91,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,39,'OCT0814-DEMO-1014-4-CK',91,1337,NULL,507,-8,1257,'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=1337; 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); COMMIT;