-- =====================================================
-- 脚本说明：基于查询结果生成INSERT语句
-- 源表：dmp_smes.qc_task_inspect (7条记录)
-- 源表：dmp_serp.dmp_mc_purchase_arrival (1条记录)
-- 生成时间：2026-07-17
-- =====================================================

-- -----------------------------------------------------
-- 1. 插入 dmp_smes.qc_task_inspect 表数据 (7条记录)
-- -----------------------------------------------------
INSERT INTO `dmp_smes`.`qc_task_inspect` (
 `id`, `ecid`, `insp_doc_no`, `source_no`, `supplier_code`, `supplier_name`,
 `supplier_classfied_name`, `supplier_classfied_code`, `arrival_doc_no`,
 `standard_type`, `check_point`, `category_code`, `category_name`,
 `mater_code`, `mater_name`, `mater_spec`, `unit_code`, `unit_name`,
 `unit_measure`, `mater_batch_no`, `batch_num`, `sample_size`,
 `factory_code`, `factory_name`, `warehouse_code`, `warehouse_name`,
 `purchase_doc_no`, `sales_order_no`, `product_order_no`, `send_out_no`,
 `product_batch`, `process_code`, `process_name`, `task_status`,
 `urgent_flag`, `insp_result`, `non_conform`, `pe_num`, `auxiliary_pe_num`,
 `re_num`, `auxiliary_re_num`, `sev_num`, `gen_num`, `min_num`,
 `handle_result`, `remark`, `insp_remark`, `description`, `insp_time`,
 `insp_files`, `sip_files`, `insp_method`, `data_source`, `workshop_code`,
 `workshop_name`, `pl_code`, `pl_name`, `send_out_line_no`, `device_code`,
 `device_name`, `mold_code`, `mold_name`, `customer_code`, `customer_name`,
 `product_task_no`, `need_number`, `arrival_doc_line_no`, `purchase_order_num`,
 `station`, `create_time`, `created_by`, `update_time`, `updated_by`,
 `om_returnno`, `om_return_lineno`, `inspection_form_no`, `inspection_form_line_no`,
 `sub_storage_code`, `sub_storage_name`, `location_code`, `location_name`,
 `inspect_flag`
) VALUES
(375114322972512498, 'qnkj', 'IQC202601080034', NULL, 'C0019', '重庆众源电器有限责任公司', NULL, NULL, 'PAD2026000030', 'IQC', NULL, 'YCL', '原材料', 'QNL040008N026', '扎带', 'PP9101701', 'pcs', 'pcs', 2, NULL, 60000.000000, 0, NULL, NULL, 'MC1', '原材料仓', 'PO2026000004', NULL, NULL, NULL, NULL, NULL, NULL, 'YZF', 'N', 'OK', 0.0000, 60000.000000, NULL, 0.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-08 13:06:02', NULL, NULL, NULL, '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '2026-01-08 11:41:31', '切纳科技', '2026-01-08 13:06:02', '切纳科技', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0),
(408489742399728416, 'hsjm', 'IQC2026000063', NULL, 'P00050', '东莞市日锐科技有限公司', NULL, NULL, 'PAD2026000030', 'IQC', NULL, 'YCL', '原材料', '200010', '工作台上板', '鑫量度5040铸铝', 'PCS', 'PCS', 0, NULL, 2.000000, 2, NULL, NULL, '01', '原材料仓', 'PO2026000031', 'OR2026000125', NULL, NULL, NULL, NULL, NULL, 'YWC', 'N', 'OK', 0.0000, 2.000000, NULL, 0.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-25 09:55:20', NULL, '', NULL, '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '2026-02-24 11:00:11', '莫宇晨', '2026-02-25 09:55:20', '曾铭', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0),
(408489742739466439, 'hsjm', 'IQC2026000064', NULL, 'P00050', '东莞市日锐科技有限公司', NULL, NULL, 'PAD2026000030', 'IQC', NULL, 'YCL', '原材料', '200011', '工作台中板', '鑫量度5040铸铝', 'PCS', 'PCS', 0, NULL, 2.000000, 2, NULL, NULL, '01', '原材料仓', 'PO2026000031', 'OR2026000125', NULL, NULL, NULL, NULL, NULL, 'YWC', 'N', 'OK', 0.0000, 2.000000, NULL, 0.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-25 13:42:58', NULL, '', NULL, '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, '2026-02-24 11:00:11', '莫宇晨', '2026-02-25 13:42:58', '曾铭', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0),
(412116922065994906, 'taichang', 'IQC202600000072', NULL, 'G1017', '醴陵市振金陶瓷原料经营部', NULL, NULL, 'PAD2026000030', 'IQC', NULL, 'YCL.YL', '釉料', 'SL0030', '叶振涛艳黑', NULL, 'kg', 'kg', 3, NULL, 100.000000, NULL, NULL, NULL, 'YCL', '原材料库', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YWC', 'N', 'OK', 0.0000, 100.000000, NULL, 0.000000, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, '2026-04-20 23:20:13', NULL, NULL, 'SPS', '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '2026-04-20 14:16:38', '周利红', '2026-04-20 23:20:13', '周利红', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0),
(432767837273802631, 'sfbl', 'IQC2026000060', NULL, '33', '东莞市寮步伟林丝印器材商行（雅趣）', NULL, NULL, 'PAD2026000030', 'IQC', NULL, '02', '原材料', '02.04.25', '菲林', NULL, 'PCS', 'PCS', 2, NULL, 2.000000, 0, NULL, NULL, '原材料', '原材料', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'YWC', 'N', 'OK', 0.0000, 2.000000, NULL, 0.000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-16 13:56:21', NULL, NULL, NULL, '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '2026-06-16 13:56:00', '孙佳佳', '2026-06-16 13:56:21', '孙佳佳', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0),
(443294041616347601, 'kangda', 'IQC20260048', NULL, 'gys037', '株洲市众鑫有色金属有限公司', NULL, NULL, 'PAD2026000030', 'IQC', NULL, '03', '原材料', '03021', '顶杆', 'Ф12*350mm', '05', '根', 0, '', 212.000000, 13, NULL, NULL, '03', NULL, 'PO202606100001', '', NULL, NULL, '', NULL, NULL, 'YWC', 'N', 'OK', 0.0000, 212.000000, NULL, 0.000000, NULL, 0, 0, 0, NULL, '', NULL, NULL, '2026-07-15 15:03:37', NULL, '', 'SPS', '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, '2026-07-15 15:03:23', '帅志', '2026-07-15 15:03:37', '帅志', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1),
(443294042174191414, 'kangda', 'IQC20260049', NULL, 'gys037', '株洲市众鑫有色金属有限公司', NULL, NULL, 'PAD2026000030', 'IQC', NULL, '03', '原材料', '03029', '顶杆', 'Ф20*150mm', '05', '根', 0, '', 218.000000, 13, NULL, NULL, '03', NULL, 'PO202606070003', '', NULL, NULL, '', NULL, NULL, 'YWC', 'N', 'OK', 0.0000, 218.000000, NULL, 0.000000, NULL, 0, 0, 0, NULL, '', NULL, NULL, '2026-07-15 15:03:34', NULL, '', 'SPS', '采购管理', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '2026-07-15 15:03:23', '帅志', '2026-07-15 15:03:34', '帅志', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1);

-- -----------------------------------------------------
-- 2. 插入 dmp_serp.dmp_mc_purchase_arrival 表数据 (1条记录)
-- -----------------------------------------------------
INSERT INTO `dmp_serp`.`dmp_mc_purchase_arrival` (
 `id`, `ecid`, `arrival_no`, `arrival_date`, `ship_date`, `vendor_code`,
 `storage_code`, `order_no_list`, `purchaser`, `remark`, `arrival_quantity`,
 `arrival_amount`, `arrival_untax_amount`, `arrival_tax_amount`,
 `entry_quantity`, `status`, `confirm_userid`, `confirm_time`,
 `currency_code`, `exchange_rate`, `f_sort`, `whole_censorship`,
 `sales_order_no_list`, `censorship_sign`, `contact_user`, `contact`,
 `receive_addr`, `plan_arrive_date`, `processor`, `ship_type`,
 `purchase_type`, `unloading_type`, `censorship_printtimes`,
 `arrival_printtimes`, `arrival_confirm`, `auto_inspect`, `auto_stock`,
 `created_by`, `create_time`, `updated_by`, `update_time`, `delete_mark`,
 `created_userid`, `updated_userid`, `over_charge`, `entry_apply_quantity`,
 `arrival_type`, `check_status`, `inspect_flag`
) VALUES (
 443294018260460167, 'kangda', 'PAD2026000030', '2026-07-15', '2026-06-11 00:00:00',
 'gys037', '03', 'PO202606070003,PO202606100001', '1147e4ec9c4d46b7a90d97c9f20d50d7',
 NULL, 430.000000, 1017.500000, 900.443000, 117.057000,
 430.000000, 'delivery', NULL, NULL, 'rmb', 1.000000, NULL, 1,
 NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL,
 'NORMAL', NULL, NULL, NULL, 'N', 0, 1,
 '帅志', '2026-06-11 15:03:18', '帅志', '2026-06-11 15:03:18', 0,
 '1147e4ec9c4d46b7a90d97c9f20d50d7', '1147e4ec9c4d46b7a90d97c9f20d50d7',
 'Y', 430.000000, 'arrivalOrder', 'check', 1
);
