2024-02-07 23:59:02 -- == sync_order start == 2024-02-07 23:59:02 -- start:2024-02-07,end:2024-02-07 2024-02-07 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-07%' OR l.modify_date like '2024-02-07%'; 2024-02-07 23:59:03 -- == sync omo_order_list == 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '357873', process_status = '3', pay_status = '1', totalprice_after = '117000', lunar_date = '2023-11-21', invoice_status = '1',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24010031447' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '125557', process_status = '3', pay_status = '1', totalprice_after = '3735', lunar_date = '2023-12-06', invoice_status = '1',category_name = ',電話訂單', category_id = ',12' where ordernumber = 'S24010565573' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '367414', process_status = '1', pay_status = '1', totalprice_after = '1340', lunar_date = '2023-12-07', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24010614925' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '368343', process_status = '3', pay_status = '1', totalprice_after = '13650', lunar_date = '2023-12-08', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24010662049' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '365488', process_status = '6', pay_status = '5', totalprice_after = '5970', lunar_date = '2023-12-09', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010682042' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '370724', process_status = '3', pay_status = '1', totalprice_after = '5730', lunar_date = '2023-12-12', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24010773534' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '369131', process_status = '3', pay_status = '1', totalprice_after = '95040', lunar_date = '2023-12-12', invoice_status = '1',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24010684925RB' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '0', pay_status = '1', totalprice_after = '9135', lunar_date = '2023-12-15', invoice_status = '1',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S24010858154' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '328112', process_status = '6', pay_status = '5', totalprice_after = '2510', lunar_date = '2023-12-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010875552' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '21600', lunar_date = '2023-12-16', invoice_status = '1',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S24010888234' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '372378', process_status = '6', pay_status = '5', totalprice_after = '2040', lunar_date = '2023-12-16', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010889452' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '2742', lunar_date = '2023-12-20', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24010966699' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '374395', process_status = '1', pay_status = '1', totalprice_after = '108240', lunar_date = '2023-12-21', invoice_status = '1',category_name = 'LINE@訂單,企業訂單', category_id = '9,4' where ordernumber = 'S24010968338' 2024-02-07 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '8640', lunar_date = '2023-12-22', invoice_status = '1',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S24020000267' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '374881', process_status = '2', pay_status = '1', totalprice_after = '1620', lunar_date = '2023-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020001480' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '153983', process_status = '3', pay_status = '1', totalprice_after = '17280', lunar_date = '2023-12-23', invoice_status = '0',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S24020003949' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375797', process_status = '2', pay_status = '1', totalprice_after = '10002', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020007771' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '201128', process_status = '2', pay_status = '1', totalprice_after = '630', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020007842' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375087', process_status = '2', pay_status = '1', totalprice_after = '4120', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008010' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375873', process_status = '2', pay_status = '1', totalprice_after = '1845', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008141' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375928', process_status = '2', pay_status = '1', totalprice_after = '2920', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008460' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375940', process_status = '2', pay_status = '1', totalprice_after = '1240', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008619' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375967', process_status = '6', pay_status = '0', totalprice_after = '620', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008758' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '100769', process_status = '2', pay_status = '1', totalprice_after = '5780', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008833' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375851', process_status = '2', pay_status = '1', totalprice_after = '3660', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020009043' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375771', process_status = '2', pay_status = '1', totalprice_after = '620', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020009113' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '375999', process_status = '2', pay_status = '1', totalprice_after = '1240', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020009231' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '376007', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020009475' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '0', totalprice_after = '184184', lunar_date = '2023-12-27', invoice_status = '2',category_name = '境外訂單', category_id = '18' where ordernumber = 'S24020009534' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '376016', process_status = '2', pay_status = '1', totalprice_after = '5730', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020009926' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '374998', process_status = '2', pay_status = '1', totalprice_after = '1860', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020010051' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '343043', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020012521' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '376152', process_status = '2', pay_status = '1', totalprice_after = '9090', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020012659' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '371361', process_status = '2', pay_status = '1', totalprice_after = '1590', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020012743' 2024-02-07 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '256641', process_status = '6', pay_status = '0', totalprice_after = '7200', lunar_date = '2023-12-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020012872' 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339445','376245',1,'','','O24020013390','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','300','600','嘉義市','西區','600','嘉義市','西區','420','2024-02-07 00:10:34','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339482','376280',1,'','','O24020013445','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1180','622','嘉義縣','大林鎮','622','嘉義縣','大林鎮','1300','2024-02-07 11:22:12','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339485','376283',1,'','','O24020013572','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5740','100','台北市','中正區','100','台北市','中正區','5710','2024-02-07 11:32:45','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('229380','256641',1,'','','O24020012872RB','1','1','1','1','1','28505902','文坦自動化股份有限公司','0','2024-02-15','0','0','0','','0','0','7200','302','新竹縣','竹北市','302','新竹縣','竹北市','7200','2024-02-07 12:30:02','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339511','376309',1,'','','O24020013666','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1010','260','宜蘭縣','宜蘭市','260','宜蘭縣','宜蘭市','1130','2024-02-07 12:45:32','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'補寄訂單','7','S24020013739','1','8','1','7','2','','','2','2024-02-07','0','30','0','','0','0','30','403','台中市','西區','505','彰化縣','鹿港鎮','0','2024-02-07 12:52:23','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339163','375967',1,'','','O24020008758RB','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','235','新北市','中和區','235','新北市','中和區','620','2024-02-07 13:01:46','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339629','376427',1,'','','O24020013896','1','1','1','1','1','27825569','良興石材有限公司','0','0000-00-00','0','0','0','','0','0','5700','708','台南市','安平區','708','台南市','安平區','5700','2024-02-07 15:16:12','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020013973','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','295','403','台中市','西區','114','台北市','內湖區','445','2024-02-07 17:15:05','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('195322','161420',1,'','','O24020014076','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1740','205','基隆市','暖暖區','205','基隆市','暖暖區','1890','2024-02-07 17:15:35','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014184','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','300','403','台中市','西區','264','宜蘭縣','員山鄉','450','2024-02-07 17:16:43','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339661','376460',1,'','','O24020014257','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','560','328','桃園市','觀音區','328','桃園市','觀音區','680','2024-02-07 17:23:18','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014327','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','300','403','台中市','西區','510','彰化縣','員林市','450','2024-02-07 17:24:08','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014454','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','500','403','台中市','西區','220','新北市','板橋區','650','2024-02-07 17:25:51','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014581','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','300','403','台中市','西區','406','台中市','北屯區','450','2024-02-07 17:27:35','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014692','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','295','403','台中市','西區','201','基隆市','信義區','445','2024-02-07 17:29:31','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014717','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','500','403','台中市','西區','970','花蓮縣','花蓮市','650','2024-02-07 17:31:46','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014872','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','500','403','台中市','西區','104','台北市','中山區','650','2024-02-07 17:34:28','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020014910','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','300','403','台中市','西區','820','高雄市','岡山區','450','2024-02-07 17:37:22','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('218761','232480',1,'','','O24020015042','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','221','新北市','汐止區','333','桃園市','龜山區','650','2024-02-07 17:37:26','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24020015112','1','8','1','7','1','','','2','2024-02-22','0','0','0','','150','0','300','403','台中市','西區','408','台中市','南屯區','450','2024-02-07 17:39:28','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('175901','142685',1,'','','O24020015285','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2150','433','台中市','沙鹿區','433','台中市','沙鹿區','2300','2024-02-07 17:47:57','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339673','376472',1,'','','O24020015343','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','600','嘉義市','東區','600','嘉義市','東區','960','2024-02-07 18:03:27','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339720','376519',1,'','','O24020015416','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','480','638','雲林縣','麥寮鄉','709','台南市','安南區','600','2024-02-07 20:55:01','2023-12-28') 2024-02-07 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('339722','376521',1,'','','O24020015548','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1920','110','台北市','信義區','110','台北市','信義區','2070','2024-02-07 21:19:53','2023-12-28') 2024-02-07 23:59:04 -- == sync_order end == 2024-02-07 23:59:04 -- == sync_order_detail start == 2024-02-07 23:59:04 -- start:2024-02-07,end:2024-02-07 2024-02-07 23:59:04 -- == sync omo_order_detail == 2024-02-07 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-07%' OR modify_date like '2024-02-07%' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010031447' and product_code = 'DG0103155-09' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '218523',`firm_id` = '8',`ordernumber` = 'S24010031447', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`product_sn` = 'DG0103155',`product_spec` = '芝麻蛋捲.巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '260',`total_price` = '130000',`etd` = '2024-01-30',`create_date` = '2024-01-02 12:35:34',`modify_date` = '2024-02-07 15:13:20',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-11-21'where ordernumber = 'S24010031447' and product_code = 'DG0103155-09' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = 'DG010206-01' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = 'DG010206-01' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = 'DG010206-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = 'DG010206-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = 'DG010206-03' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = 'DG010206-03' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = '02248' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '金巧8結禮盒',`product_code` = '02248',`product_sn` = '02240',`product_spec` = '原味.鳳梨酥+枸杞茶',`invoice_name` = '禮盒-金巧8結【(原味)-鳳梨酥+枸杞茶】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '555',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = '02248' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = '02260' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '金巧8結禮盒',`product_code` = '02260',`product_sn` = '02240',`product_spec` = '芝麻.鳳梨酥+鳳梨酥',`invoice_name` = '禮盒-金巧8結【(芝麻)-鳳梨酥+鳳梨酥】',`listprice` = '525',`sellingprice` = '525',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '525',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = '02260' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = '13044' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '40g香酥醬燒海苔',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '110',`sellingprice` = '110',`isadd` = '1',`isbaby` = '0',`addprice` = '110',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '220',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = '13044' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010565573' and product_code = '13045' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224141',`firm_id` = '8',`ordernumber` = 'S24010565573', `product_name` = '加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '40g厚切椒鹽海苔',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '110',`sellingprice` = '110',`isadd` = '1',`isbaby` = '0',`addprice` = '110',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '220',`etd` = '2024-01-29',`create_date` = '2024-01-16 16:24:07',`modify_date` = '2024-02-07 12:00:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-06'where ordernumber = 'S24010565573' and product_code = '13045' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010614925' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '224657',`firm_id` = '8',`ordernumber` = 'S24010614925', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-02-07',`create_date` = '2024-01-17 16:02:54',`modify_date` = '2024-02-07 10:19:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-07'where ordernumber = 'S24010614925' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010662049' and product_code = 'DG0103148-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '225145',`firm_id` = '8',`ordernumber` = 'O24010662049', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '14400',`etd` = '2024-02-02',`create_date` = '2024-01-18 19:04:37',`modify_date` = '2024-02-07 10:55:33',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-08'where ordernumber = 'O24010662049' and product_code = 'DG0103148-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010682042' and product_code = '13656' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '225350',`firm_id` = '8',`ordernumber` = 'O24010682042', `product_name` = '8結蛋捲【紅提袋裝】【預購品,1/24後出貨】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2900',`etd` = '2024-02-02',`create_date` = '2024-01-19 10:46:51',`modify_date` = '2024-02-07 11:02:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-09'where ordernumber = 'O24010682042' and product_code = '13656' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010682042' and product_code = '13657' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '225350',`firm_id` = '8',`ordernumber` = 'O24010682042', `product_name` = '8結蛋捲【紅提袋裝】【預購品,1/24後出貨】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2900',`etd` = '2024-02-02',`create_date` = '2024-01-19 10:46:51',`modify_date` = '2024-02-07 11:02:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-09'where ordernumber = 'O24010682042' and product_code = '13657' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010682042' and product_code = 'DG010404-01' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '225350',`firm_id` = '8',`ordernumber` = 'O24010682042', `product_name` = '【預購品,1/24後出貨】紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '紅色提袋',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '200',`etd` = '2024-02-02',`create_date` = '2024-01-19 10:46:51',`modify_date` = '2024-02-07 11:02:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-09'where ordernumber = 'O24010682042' and product_code = 'DG010404-01' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010773534' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '226280',`firm_id` = '8',`ordernumber` = 'O24010773534', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '12',`total_price` = '5760',`etd` = '2024-02-02',`create_date` = '2024-01-22 04:19:49',`modify_date` = '2024-02-07 10:57:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-12'where ordernumber = 'O24010773534' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010684925RB' and product_code = 'DG0103148-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '226513',`firm_id` = '8',`ordernumber` = 'S24010684925RB', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '220',`total_price` = '105600',`etd` = '2024-02-02',`create_date` = '2024-01-19 11:48:19',`modify_date` = '2024-02-07 13:10:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-09'where ordernumber = 'S24010684925RB' and product_code = 'DG0103148-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010858154' and product_code = '13656' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '227170',`firm_id` = '8',`ordernumber` = 'S24010858154', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '35',`total_price` = '10150',`etd` = '2024-01-25',`create_date` = '2024-01-25 11:27:12',`modify_date` = '2024-02-07 11:33:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-15'where ordernumber = 'S24010858154' and product_code = '13656' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010875552' and product_code = 'DG010206-05' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '227350',`firm_id` = '8',`ordernumber` = 'O24010875552', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '2065',`etd` = '2024-01-31',`create_date` = '2024-01-25 23:47:27',`modify_date` = '2024-02-07 11:02:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-15'where ordernumber = 'O24010875552' and product_code = 'DG010206-05' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010875552' and product_code = 'DG010206-03' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '227350',`firm_id` = '8',`ordernumber` = 'O24010875552', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-01-31',`create_date` = '2024-01-25 23:47:27',`modify_date` = '2024-02-07 11:02:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-15'where ordernumber = 'O24010875552' and product_code = 'DG010206-03' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010888234' and product_code = 'DG010312-05' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '227485',`firm_id` = '8',`ordernumber` = 'S24010888234', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '50',`total_price` = '24000',`etd` = '2024-01-29',`create_date` = '2024-01-26 16:11:34',`modify_date` = '2024-02-07 10:05:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-16'where ordernumber = 'S24010888234' and product_code = 'DG010312-05' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010889452' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '227500',`firm_id` = '8',`ordernumber` = 'O24010889452', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '4',`total_price` = '1920',`etd` = '2024-01-29',`create_date` = '2024-01-26 17:06:09',`modify_date` = '2024-02-07 11:20:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-16'where ordernumber = 'O24010889452' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010966699' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228287',`firm_id` = '8',`ordernumber` = 'S24010966699', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-02-01',`create_date` = '2024-01-30 15:50:27',`modify_date` = '2024-02-07 10:21:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-20'where ordernumber = 'S24010966699' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010968338' and product_code = 'DG010312-05' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228304',`firm_id` = '8',`ordernumber` = 'S24010968338', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '249',`total_price` = '119520',`etd` = '2024-03-05',`create_date` = '2024-01-31 11:19:30',`modify_date` = '2024-02-07 15:04:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-21'where ordernumber = 'S24010968338' and product_code = 'DG010312-05' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010968338' and product_code = 'DG010312-15' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228304',`firm_id` = '8',`ordernumber` = 'S24010968338', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-01-31 11:19:30',`modify_date` = '2024-02-07 15:04:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-21'where ordernumber = 'S24010968338' and product_code = 'DG010312-15' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010968338' and product_code = 'DG010261-05' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228304',`firm_id` = '8',`ordernumber` = 'S24010968338', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-05',`create_date` = '2024-01-31 11:19:30',`modify_date` = '2024-02-07 15:04:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-21'where ordernumber = 'S24010968338' and product_code = 'DG010261-05' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020000267' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228325',`firm_id` = '8',`ordernumber` = 'S24020000267', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '20',`total_price` = '9600',`etd` = '2024-02-02',`create_date` = '2024-02-01 09:12:59',`modify_date` = '2024-02-07 10:23:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-22'where ordernumber = 'S24020000267' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020001480' and product_code = 'DG010383-09' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228340',`firm_id` = '8',`ordernumber` = 'O24020001480', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-09',`product_sn` = 'DG010383',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(紅)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-01 21:59:52',`modify_date` = '2024-02-07 08:26:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-22'where ordernumber = 'O24020001480' and product_code = 'DG010383-09' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020001480' and product_code = 'DG010383-07' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228340',`firm_id` = '8',`ordernumber` = 'O24020001480', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-07',`product_sn` = 'DG010383',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-小王子(紅)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-01 21:59:52',`modify_date` = '2024-02-07 08:26:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-22'where ordernumber = 'O24020001480' and product_code = 'DG010383-07' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020001480' and product_code = 'DG010383-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228340',`firm_id` = '8',`ordernumber` = 'O24020001480', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-02',`product_sn` = 'DG010383',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(紅)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-01 21:59:52',`modify_date` = '2024-02-07 08:26:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-22'where ordernumber = 'O24020001480' and product_code = 'DG010383-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020003949' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228367',`firm_id` = '8',`ordernumber` = 'S24020003949', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '40',`total_price` = '19200',`etd` = '2024-02-03',`create_date` = '2024-02-02 16:44:19',`modify_date` = '2024-02-07 10:06:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-23'where ordernumber = 'S24020003949' and product_code = 'DG010312-02' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020009534' and product_code = 'DG010113-01' 2024-02-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228425',`firm_id` = '8',`ordernumber` = 'S24020009534', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '324',`total_price` = '72900',`etd` = '2024-03-04',`create_date` = '2024-02-06 08:46:21',`modify_date` = '2024-02-07 09:31:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'S24020009534' and product_code = 'DG010113-01' 2024-02-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020009534' and product_code = 'DG010113-02' 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228425',`firm_id` = '8',`ordernumber` = 'S24020009534', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '156',`total_price` = '35100',`etd` = '2024-03-04',`create_date` = '2024-02-06 08:46:21',`modify_date` = '2024-02-07 09:31:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'S24020009534' and product_code = 'DG010113-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020009534' and product_code = 'DG010113-03' 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228425',`firm_id` = '8',`ordernumber` = 'S24020009534', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '204',`total_price` = '45900',`etd` = '2024-03-04',`create_date` = '2024-02-06 08:46:21',`modify_date` = '2024-02-07 09:31:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'S24020009534' and product_code = 'DG010113-03' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020009534' and product_code = 'DG010113-04' 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228425',`firm_id` = '8',`ordernumber` = 'S24020009534', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`product_sn` = 'DG010113',`product_spec` = '海苔',`invoice_name` = '32入海苔',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '156',`total_price` = '35100',`etd` = '2024-03-04',`create_date` = '2024-02-06 08:46:21',`modify_date` = '2024-02-07 09:31:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'S24020009534' and product_code = 'DG010113-04' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020009534' and product_code = 'DG010113-05' 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228425',`firm_id` = '8',`ordernumber` = 'S24020009534', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '180',`total_price` = '40500',`etd` = '2024-03-04',`create_date` = '2024-02-06 08:46:21',`modify_date` = '2024-02-07 09:31:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'S24020009534' and product_code = 'DG010113-05' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020012872' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228461',`firm_id` = '8',`ordernumber` = 'O24020012872', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '8',`total_price` = '3840',`etd` = '2024-02-15',`create_date` = '2024-02-06 17:12:49',`modify_date` = '2024-02-07 12:29:49',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'O24020012872' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020012872' and product_code = 'DG010312-03' 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228461',`firm_id` = '8',`ordernumber` = 'O24020012872', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '7',`total_price` = '3360',`etd` = '2024-02-15',`create_date` = '2024-02-06 17:12:49',`modify_date` = '2024-02-07 12:29:49',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'O24020012872' and product_code = 'DG010312-03' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013390' and product_code = 'DG010261-05' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228466','8','O24020013390','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-02-15','2024-02-07 00:10:34','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228466',`firm_id` = '8',`ordernumber` = 'O24020013390', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-15',`create_date` = '2024-02-07 00:10:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013390' and product_code = 'DG010261-05' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013445' and product_code = 'DG010206-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228467','8','O24020013445','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-02-15','2024-02-07 11:22:12','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228467',`firm_id` = '8',`ordernumber` = 'O24020013445', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-15',`create_date` = '2024-02-07 11:22:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013445' and product_code = 'DG010206-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010206-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010206-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010206-04' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','8結蛋捲【紅提盒裝】','DG010206-04','DG010206','海苔','提盒-品牌(紅)-40入海苔蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-04',`product_sn` = 'DG010206',`product_spec` = '海苔',`invoice_name` = '提盒-品牌(紅)-40入海苔蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010206-04' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010206-03' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010206-03' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010312-12' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010312-12' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010312-04' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010312-04' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010312-08' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010312-08' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013572' and product_code = 'DG010101-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228468','8','O24020013572','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-22','2024-02-07 11:32:45','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228468',`firm_id` = '8',`ordernumber` = 'O24020013572', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-22',`create_date` = '2024-02-07 11:32:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013572' and product_code = 'DG010101-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020012872RB' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228469','8','O24020012872RB','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','8','3840','2024-02-15','2024-02-06 17:12:49','2024-02-07 23:59:07',null,'1','2023-12-27') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228469',`firm_id` = '8',`ordernumber` = 'O24020012872RB', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '8',`total_price` = '3840',`etd` = '2024-02-15',`create_date` = '2024-02-06 17:12:49',`modify_date` = '2024-02-07 12:30:02',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'O24020012872RB' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020012872RB' and product_code = 'DG010312-03' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228469','8','O24020012872RB','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','7','3360','2024-02-15','2024-02-06 17:12:49','2024-02-07 23:59:07',null,'1','2023-12-27') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228469',`firm_id` = '8',`ordernumber` = 'O24020012872RB', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '7',`total_price` = '3360',`etd` = '2024-02-15',`create_date` = '2024-02-06 17:12:49',`modify_date` = '2024-02-07 12:30:02',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-27'where ordernumber = 'O24020012872RB' and product_code = 'DG010312-03' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013666' and product_code = 'DG010312-12' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228470','8','O24020013666','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-15','2024-02-07 12:45:32','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228470',`firm_id` = '8',`ordernumber` = 'O24020013666', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-15',`create_date` = '2024-02-07 12:45:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013666' and product_code = 'DG010312-12' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013666' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228470','8','O24020013666','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-15','2024-02-07 12:45:32','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228470',`firm_id` = '8',`ordernumber` = 'O24020013666', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-15',`create_date` = '2024-02-07 12:45:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013666' and product_code = 'DG010312-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013666' and product_code = 'DG010404-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228470','8','O24020013666','紅色提袋','DG010404-01','DG010404','紅色提袋','紅色提袋','10','10','0','0','0','0','1','0.0','2','20','2024-02-15','2024-02-07 12:45:32','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228470',`firm_id` = '8',`ordernumber` = 'O24020013666', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '紅色提袋',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2024-02-15',`create_date` = '2024-02-07 12:45:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013666' and product_code = 'DG010404-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013666' and product_code = 'DG010431-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228470','8','O24020013666','金豐收提盒','DG010431-01','DG010431','金豐收藍提盒包材','金豐收藍提盒包材','15','15','0','0','0','1','1','0.0','2','30','2024-02-15','2024-02-07 12:45:32','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228470',`firm_id` = '8',`ordernumber` = 'O24020013666', `product_name` = '金豐收提盒',`product_code` = 'DG010431-01',`product_sn` = 'DG010431',`product_spec` = '金豐收藍提盒包材',`invoice_name` = '金豐收藍提盒包材',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '30',`etd` = '2024-02-15',`create_date` = '2024-02-07 12:45:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013666' and product_code = 'DG010431-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020013739' and product_code = 'DG010409-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228471','8','S24020013739','包材-小王子禮盒','DG010409-01','DG010409','小王子藍禮盒包材','包材-小王子禮盒','30','30','0','0','0','0','1','30.0','1','30','2024-02-07','2024-02-07 12:52:23','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228471',`firm_id` = '8',`ordernumber` = 'S24020013739', `product_name` = '包材-小王子禮盒',`product_code` = 'DG010409-01',`product_sn` = 'DG010409',`product_spec` = '小王子藍禮盒包材',`invoice_name` = '包材-小王子禮盒',`listprice` = '30',`sellingprice` = '30',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '30.0',`amount` = '1',`total_price` = '30',`etd` = '2024-02-07',`create_date` = '2024-02-07 12:52:23',`modify_date` = '2024-02-07 13:53:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020013739' and product_code = 'DG010409-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020008758RB' and product_code = 'DG010327-04' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228472','8','O24020008758RB','【小王子聯名】仰望星空8結禮盒 ','DG010327-04','DG010327','原味,海苔','禮盒-小王子(藍)【原味+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-02-15','2024-02-05 19:07:31','2024-02-07 23:59:07',null,'1','2023-12-26') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228472',`firm_id` = '8',`ordernumber` = 'O24020008758RB', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-04',`product_sn` = 'DG010327',`product_spec` = '原味,海苔',`invoice_name` = '禮盒-小王子(藍)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-05 19:07:31',`modify_date` = '2024-02-07 13:01:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-26'where ordernumber = 'O24020008758RB' and product_code = 'DG010327-04' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020013896' and product_code = 'DG010225-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228473','8','O24020013896','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-01','DG010225','40入原味蛋捲','提盒-故宮(人物款)-40入原味','300','300','0','0','0','0','1','0.0','19','5700','2024-02-19','2024-02-07 15:16:12','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228473',`firm_id` = '8',`ordernumber` = 'O24020013896', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '5700',`etd` = '2024-02-19',`create_date` = '2024-02-07 15:16:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020013896' and product_code = 'DG010225-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020013973' and product_code = 'DG010204-02' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228474','8','S24020013973','8結蛋捲【品牌提盒裝】','DG010204-02','DG010204','芝麻','提盒-品牌(橘)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-02-22','2024-02-07 17:15:05','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228474',`firm_id` = '8',`ordernumber` = 'S24020013973', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-02',`product_sn` = 'DG010204',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(橘)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:15:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020013973' and product_code = 'DG010204-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020014076' and product_code = '13656' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228475','8','O24020014076','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-02-15','2024-02-07 17:15:35','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228475',`firm_id` = '8',`ordernumber` = 'O24020014076', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-02-15',`create_date` = '2024-02-07 17:15:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020014076' and product_code = '13656' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020014076' and product_code = '13657' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228475','8','O24020014076','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-02-15','2024-02-07 17:15:35','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228475',`firm_id` = '8',`ordernumber` = 'O24020014076', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-02-15',`create_date` = '2024-02-07 17:15:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020014076' and product_code = '13657' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014184' and product_code = 'DG010203-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228476','8','S24020014184','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-07 17:16:43','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228476',`firm_id` = '8',`ordernumber` = 'S24020014184', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:16:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014184' and product_code = 'DG010203-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020014257' and product_code = 'DG010101-05' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228477','8','O24020014257','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-15','2024-02-07 17:23:18','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228477',`firm_id` = '8',`ordernumber` = 'O24020014257', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-15',`create_date` = '2024-02-07 17:23:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020014257' and product_code = 'DG010101-05' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014327' and product_code = 'DG010222-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228478','8','S24020014327','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-07 17:24:08','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228478',`firm_id` = '8',`ordernumber` = 'S24020014327', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:24:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014327' and product_code = 'DG010222-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014454' and product_code = 'DG010394-03' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228479','8','S24020014454','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-03','DG010394','原味蛋捲.咖啡蛋捲','禮盒-故宮(文物款)【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-02-22','2024-02-07 17:25:51','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228479',`firm_id` = '8',`ordernumber` = 'S24020014454', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-03',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲.咖啡蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:25:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014454' and product_code = 'DG010394-03' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014581' and product_code = 'DG010222-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228480','8','S24020014581','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-07 17:27:35','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228480',`firm_id` = '8',`ordernumber` = 'S24020014581', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:27:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014581' and product_code = 'DG010222-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014692' and product_code = 'DG010204-05' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228481','8','S24020014692','8結蛋捲【品牌提盒裝】','DG010204-05','DG010204','巧克力','提盒-品牌(橘)-40入巧克力','295','295','0','0','0','0','1','0.0','1','295','2024-02-22','2024-02-07 17:29:31','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228481',`firm_id` = '8',`ordernumber` = 'S24020014692', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-05',`product_sn` = 'DG010204',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(橘)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:29:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014692' and product_code = 'DG010204-05' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014717' and product_code = 'DG010394-02' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228482','8','S24020014717','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-02','DG010394','原味蛋捲.芝麻蛋捲','禮盒-故宮(文物款)【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-02-22','2024-02-07 17:31:46','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228482',`firm_id` = '8',`ordernumber` = 'S24020014717', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-02',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲.芝麻蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:31:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014717' and product_code = 'DG010394-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014872' and product_code = 'DG010383-05' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228483','8','S24020014872','【小王子聯名】星光飛行8結禮盒','DG010383-05','DG010383','原味+巧克力','禮盒-小王子(紅)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-02-22','2024-02-07 17:34:28','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228483',`firm_id` = '8',`ordernumber` = 'S24020014872', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-05',`product_sn` = 'DG010383',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(紅)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:34:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014872' and product_code = 'DG010383-05' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020014910' and product_code = 'DG010203-01' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228484','8','S24020014910','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-07 17:37:22','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228484',`firm_id` = '8',`ordernumber` = 'S24020014910', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:37:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020014910' and product_code = 'DG010203-01' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015042' and product_code = 'DG0103155-03' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228485','8','O24020015042','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-02-15','2024-02-07 17:37:26','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228485',`firm_id` = '8',`ordernumber` = 'O24020015042', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-07 17:37:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015042' and product_code = 'DG0103155-03' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020015112' and product_code = 'DG010203-02' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228486','8','S24020015112','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-07 17:39:28','2024-02-07 23:59:07',0,'1','2023-12-28') 2024-02-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228486',`firm_id` = '8',`ordernumber` = 'S24020015112', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 17:39:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'S24020015112' and product_code = 'DG010203-02' 2024-02-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015285' and product_code = 'DG010523-07' 2024-02-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228487','8','O24020015285','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-15','2024-02-07 17:47:57','2024-02-07 23:59:07',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228487',`firm_id` = '8',`ordernumber` = 'O24020015285', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-02-15',`create_date` = '2024-02-07 17:47:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015285' and product_code = 'DG010523-07' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015285' and product_code = '13658' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228487','8','O24020015285','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','4','1160','2024-02-15','2024-02-07 17:47:57','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228487',`firm_id` = '8',`ordernumber` = 'O24020015285', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1160',`etd` = '2024-02-15',`create_date` = '2024-02-07 17:47:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015285' and product_code = '13658' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015343' and product_code = 'DG010101-05' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228488','8','O24020015343','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-15','2024-02-07 18:03:27','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228488',`firm_id` = '8',`ordernumber` = 'O24020015343', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-15',`create_date` = '2024-02-07 18:03:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015343' and product_code = 'DG010101-05' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015343' and product_code = 'DG010101-01' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228488','8','O24020015343','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-15','2024-02-07 18:03:27','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228488',`firm_id` = '8',`ordernumber` = 'O24020015343', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-15',`create_date` = '2024-02-07 18:03:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015343' and product_code = 'DG010101-01' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015343' and product_code = 'DG010101-03' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228488','8','O24020015343','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-15','2024-02-07 18:03:27','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228488',`firm_id` = '8',`ordernumber` = 'O24020015343', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-15',`create_date` = '2024-02-07 18:03:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015343' and product_code = 'DG010101-03' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015416' and product_code = 'DG010312-03' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228489','8','O24020015416','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-02-15','2024-02-07 20:55:01','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228489',`firm_id` = '8',`ordernumber` = 'O24020015416', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-15',`create_date` = '2024-02-07 20:55:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015416' and product_code = 'DG010312-03' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015548' and product_code = 'DG010312-03' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228490','8','O24020015548','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','3','1440','2024-02-15','2024-02-07 21:19:53','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228490',`firm_id` = '8',`ordernumber` = 'O24020015548', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-02-15',`create_date` = '2024-02-07 21:19:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015548' and product_code = 'DG010312-03' 2024-02-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020015548' and product_code = 'DG010312-12' 2024-02-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228490','8','O24020015548','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-15','2024-02-07 21:19:53','2024-02-07 23:59:08',null,'1','2023-12-28') 2024-02-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228490',`firm_id` = '8',`ordernumber` = 'O24020015548', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-15',`create_date` = '2024-02-07 21:19:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-28'where ordernumber = 'O24020015548' and product_code = 'DG010312-12' 2024-02-07 23:59:08 -- == sync_order_detail end == 2024-02-07 23:59:08 -- == sync_order start == 2024-02-07 23:59:08 -- start:2024-02-07,end:2024-02-07 2024-02-07 23:59:08 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-07%' OR l.modify_date like '2024-02-07%'; 2024-02-07 23:59:08 -- == sync omo_order_list == 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '367321', process_status = '3', pay_status = '1', totalprice_after = '16625', lunar_date = '2023-12-06', invoice_status = '0', category_name = '正式彌,LINE@訂單,永康門市訂單', category_id = '1,9,22' where ordernumber = 'M24010021024' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '369060', process_status = '1', pay_status = '1', totalprice_after = '15675', lunar_date = '2023-12-20', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24010041262' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '374846', process_status = '2', pay_status = '1', totalprice_after = '500', lunar_date = '2023-12-23', invoice_status = '0', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24020001555' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '374966', process_status = '1', pay_status = '1', totalprice_after = '11400', lunar_date = '2023-12-23', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020001839' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '374560', process_status = '2', pay_status = '1', totalprice_after = '9185', lunar_date = '2023-12-23', invoice_status = '0', category_name = 'FB訂單,正式彌', category_id = '1,10' where ordernumber = 'M24020001745RB' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '253528', process_status = '2', pay_status = '1', totalprice_after = '11875', lunar_date = '2023-12-24', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24020002152' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '300', lunar_date = '2023-12-27', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24020003034' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '376042', process_status = '6', pay_status = '6', totalprice_after = '11400', lunar_date = '2023-12-27', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020003366' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '376068', process_status = '2', pay_status = '1', totalprice_after = '500', lunar_date = '2023-12-27', invoice_status = '0', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24020003598' 2024-02-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '376121', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2023-12-27', invoice_status = '0', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24020003857' 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('94857','371516',2,'','','B24020004256','1','11','1','0','0','','','0','0000-00-00','1050','0','0','','0','30','21000','247','新北市','蘆洲區','247','新北市','蘆洲區','19920','2024-02-07 01:24:44','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('94857','371516',2,'','','B24020004356','1','2','1','1','1','','','0','2024-02-27','1050','0','0','','0','0','21000','247','新北市','蘆洲區','247','新北市','蘆洲區','19950','2024-02-07 01:27:27','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99398','0',2,'彌月試吃','2','B24020004448','1','1','1','1','1','','','0','2024-02-15','0','0','0','','0','0','300','251','新北市','淡水區','412','台中市','大里區','300','2024-02-07 09:08:22','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99484','0',2,'彌月試吃','2','B24020004577','1','1','1','1','1','','','0','2024-02-16','0','0','0','','0','0','500','507','彰化縣','線西鄉','507','彰化縣','線西鄉','500','2024-02-07 09:08:51','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99591','0',2,'彌月試吃','2','B24020004667','1','1','1','1','1','','','0','2024-02-16','0','0','0','','0','0','1100','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1100','2024-02-07 09:09:09','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99625','0',2,'彌月試吃','2','B24020004710','1','11','1','1','1','','','0','2024-02-16','0','0','0','','0','0','800','704','台南市','北區','704','台南市','北區','800','2024-02-07 09:09:23','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99631','0',2,'彌月試吃','2','B24020004828','1','1','1','1','1','','','0','2024-02-15','0','0','0','','0','0','300','220','新北市','板橋區','220','新北市','板橋區','300','2024-02-07 09:09:44','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99676','376287',2,'','','B24020004999','1','11','1','1','1','','','0','2024-02-22','750','0','0','','0','30','15000','504','彰化縣','秀水鄉','504','彰化縣','秀水鄉','14220','2024-02-07 12:27:29','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99685','376296',2,'彌月試吃,LINE@訂單','2,9','M24020005093','1','6','6','8','8','','','0','2024-02-17','0','100','0','','0','0','500','402','台中市','南區','402','台中市','南區','400','2024-02-07 13:57:37','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99803','98277',2,'彌月試吃','2','M24020005121','1','2','1','1','1','','','0','2024-02-15','0','0','0','','0','0','1000','908','屏東縣','長治鄉','908','屏東縣','長治鄉','1000','2024-02-07 15:29:41','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('92578','369265',2,'正式彌,LINE@訂單','1,9','M24020005292','1','2','1','1','1','','','0','2024-02-15','0','0','0','','150','0','3000','526','彰化縣','二林鎮','526','彰化縣','二林鎮','3150','2024-02-07 15:53:52','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('92371','369060',2,'LINE@訂單','9','M24020005360','1','1','1','1','1','','','0','2024-02-22','0','0','0','','0','0','2240','520','彰化縣','田中鎮','520','彰化縣','田中鎮','2240','2024-02-07 16:46:01','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99847','376457',2,'正式彌,LINE@訂單','1,9','M24020005486','1','1','1','0','6','','','0','2024-02-16','0','0','0','','0','100','6980','251','新北市','淡水區','251','新北市','淡水區','6880','2024-02-07 17:11:53','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99847','376457',2,'正式彌,LINE@訂單','1,9','M24020005486RB','1','1','1','1','1','','','0','2024-02-16','0','0','0','','0','100','6980','251','新北市','淡水區','251','新北市','淡水區','6880','2024-02-07 17:20:37','2023-12-28') 2024-02-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('79781','356565',2,'','','B24020005585','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6000','600','嘉義市','西區','600','嘉義市','西區','6000','2024-02-07 19:34:34','2023-12-28') 2024-02-07 23:59:08 -- == sync_order end == 2024-02-07 23:59:08 -- == sync_order_detail start == 2024-02-07 23:59:08 -- start:2024-02-07,end:2024-02-07 2024-02-07 23:59:08 -- == sync omo_order_detail == 2024-02-07 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-07%' OR modify_date like '2024-02-07%' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010021024' and product_code = 'DG010263-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29898',`firm_id` = '8',`ordernumber` = 'M24010021024', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '50',`total_price` = '15000',`etd` = '2024-01-25',`create_date` = '2024-01-16 14:48:42',`modify_date` = '2024-02-07 12:57:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010021024' and product_code = 'DG010263-01', `lunar_date` = '2023-12-06' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010021024' and product_code = 'DG0103156-02' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29898',`firm_id` = '8',`ordernumber` = 'M24010021024', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-02',`product_sn` = 'DG0103156',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2500',`etd` = '2024-01-25',`create_date` = '2024-01-16 14:48:42',`modify_date` = '2024-02-07 12:57:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010021024' and product_code = 'DG0103156-02', `lunar_date` = '2023-12-06' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010021024' and product_code = 'ZP010152-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29898',`firm_id` = '8',`ordernumber` = 'M24010021024', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-01-25',`create_date` = '2024-01-16 14:48:42',`modify_date` = '2024-02-07 12:57:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010021024' and product_code = 'ZP010152-01', `lunar_date` = '2023-12-06' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010041262' and product_code = 'DG010263-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30121',`firm_id` = '8',`ordernumber` = 'M24010041262', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-02-22',`create_date` = '2024-01-30 09:29:24',`modify_date` = '2024-02-07 16:50:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010041262' and product_code = 'DG010263-01', `lunar_date` = '2023-12-20' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010041262' and product_code = 'DG010263-02' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30121',`firm_id` = '8',`ordernumber` = 'M24010041262', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-02-22',`create_date` = '2024-01-30 09:29:24',`modify_date` = '2024-02-07 16:50:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010041262' and product_code = 'DG010263-02', `lunar_date` = '2023-12-20' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010041262' and product_code = 'DG010263-03' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30121',`firm_id` = '8',`ordernumber` = 'M24010041262', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`product_sn` = 'DG010263',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-02-22',`create_date` = '2024-01-30 09:29:24',`modify_date` = '2024-02-07 16:50:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010041262' and product_code = 'DG010263-03', `lunar_date` = '2023-12-20' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010041262' and product_code = 'DG010263-04' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30121',`firm_id` = '8',`ordernumber` = 'M24010041262', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-04',`product_sn` = 'DG010263',`product_spec` = '海苔',`invoice_name` = '提盒-彌月SNOOPY-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-02-22',`create_date` = '2024-01-30 09:29:24',`modify_date` = '2024-02-07 16:50:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010041262' and product_code = 'DG010263-04', `lunar_date` = '2023-12-20' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010041262' and product_code = 'DG010263-05' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30121',`firm_id` = '8',`ordernumber` = 'M24010041262', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-02-22',`create_date` = '2024-01-30 09:29:24',`modify_date` = '2024-02-07 16:50:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010041262' and product_code = 'DG010263-05', `lunar_date` = '2023-12-20' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24010041262' and product_code = 'ZP010152-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30121',`firm_id` = '8',`ordernumber` = 'M24010041262', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-22',`create_date` = '2024-01-30 09:29:24',`modify_date` = '2024-02-07 16:50:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24010041262' and product_code = 'ZP010152-01', `lunar_date` = '2023-12-20' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020001839' and product_code = 'DG010203-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30164',`firm_id` = '8',`ordernumber` = 'M24020001839', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '12000',`etd` = '2024-02-22',`create_date` = '2024-02-02 11:56:31',`modify_date` = '2024-02-07 16:00:14',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020001839' and product_code = 'DG010203-01', `lunar_date` = '2023-12-23' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020001839' and product_code = 'ZP010152-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30164',`firm_id` = '8',`ordernumber` = 'M24020001839', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-22',`create_date` = '2024-02-02 11:56:31',`modify_date` = '2024-02-07 16:00:14',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020001839' and product_code = 'ZP010152-01', `lunar_date` = '2023-12-23' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020003366' and product_code = 'DG010263-02' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30180',`firm_id` = '8',`ordernumber` = 'M24020003366', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7500',`etd` = '2024-02-21',`create_date` = '2024-02-06 11:22:05',`modify_date` = '2024-02-07 11:42:41',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003366' and product_code = 'DG010263-02', `lunar_date` = '2023-12-27' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020003366' and product_code = 'DG010263-05' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30180',`firm_id` = '8',`ordernumber` = 'M24020003366', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4500',`etd` = '2024-02-21',`create_date` = '2024-02-06 11:22:05',`modify_date` = '2024-02-07 11:42:41',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003366' and product_code = 'DG010263-05', `lunar_date` = '2023-12-27' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020003366' and product_code = 'ZP010152-01' 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30180',`firm_id` = '8',`ordernumber` = 'M24020003366', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-21',`create_date` = '2024-02-06 11:22:05',`modify_date` = '2024-02-07 11:42:41',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003366' and product_code = 'ZP010152-01', `lunar_date` = '2023-12-27' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004256' and product_code = 'DG010203-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30189','8','B24020004256','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','70','21000','2024-02-19','2024-02-07 01:24:44','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30189',`firm_id` = '8',`ordernumber` = 'B24020004256', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '70',`total_price` = '21000',`etd` = '2024-02-19',`create_date` = '2024-02-07 01:24:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004256' and product_code = 'DG010203-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004256' and product_code = 'ZP010133-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30189','8','B24020004256','贈品-recolte花灑萃取咖啡機(顏色隨機)','ZP010133-01','ZP010133','贈品-recolte花灑萃取咖啡機(顏色隨機)','贈品-recolte花灑萃取咖啡機(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-19','2024-02-07 01:24:44','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30189',`firm_id` = '8',`ordernumber` = 'B24020004256', `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`product_spec` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`invoice_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-19',`create_date` = '2024-02-07 01:24:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004256' and product_code = 'ZP010133-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004356' and product_code = 'DG010203-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30190','8','B24020004356','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','70','21000','2024-02-27','2024-02-07 01:27:27','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30190',`firm_id` = '8',`ordernumber` = 'B24020004356', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '70',`total_price` = '21000',`etd` = '2024-02-27',`create_date` = '2024-02-07 01:27:27',`modify_date` = '2024-02-07 16:29:25',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004356' and product_code = 'DG010203-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004356' and product_code = 'ZP010133-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30190','8','B24020004356','贈品-recolte花灑萃取咖啡機(顏色隨機)','ZP010133-01','ZP010133','贈品-recolte花灑萃取咖啡機(顏色隨機)','贈品-recolte花灑萃取咖啡機(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-27','2024-02-07 01:27:27','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30190',`firm_id` = '8',`ordernumber` = 'B24020004356', `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`product_spec` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`invoice_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-07 01:27:27',`modify_date` = '2024-02-07 16:29:25',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004356' and product_code = 'ZP010133-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004448' and product_code = 'DG010244-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30191','11','B24020004448','小王子彌月試吃提盒','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-15','2024-02-07 09:08:22','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30191',`firm_id` = '11',`ordernumber` = 'B24020004448', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-15',`create_date` = '2024-02-07 09:08:22',`modify_date` = '2024-02-07 09:08:22',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004448' and product_code = 'DG010244-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004577' and product_code = 'DG0103137-09' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30192','11','B24020004577','彌月試吃禮盒組(樂芙)','DG0103137-09','DG0103137','芝麻+巧克力','禮盒-彌月樂芙【芝麻+巧克力】(試吃)','500','500','0','1','0','0','1','500.0','1','500','2024-02-16','2024-02-07 09:08:51','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30192',`firm_id` = '11',`ordernumber` = 'B24020004577', `product_name` = '彌月試吃禮盒組(樂芙)',`product_code` = 'DG0103137-09',`product_sn` = 'DG0103137',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-16',`create_date` = '2024-02-07 09:08:51',`modify_date` = '2024-02-07 09:08:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004577' and product_code = 'DG0103137-09', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004667' and product_code = 'DG010264-05' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30193','11','B24020004667','【SNOOPY聯名】美好食光-8結彌月提盒(試吃)','DG010264-05','DG010264','巧克力','提盒-彌月SNOOPY-40入巧克力(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-16','2024-02-07 09:09:09','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30193',`firm_id` = '11',`ordernumber` = 'B24020004667', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-05',`product_sn` = 'DG010264',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-16',`create_date` = '2024-02-07 09:09:09',`modify_date` = '2024-02-07 09:09:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004667' and product_code = 'DG010264-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004667' and product_code = 'DG010244-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30193','11','B24020004667','小王子彌月試吃提盒','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-16','2024-02-07 09:09:09','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30193',`firm_id` = '11',`ordernumber` = 'B24020004667', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-16',`create_date` = '2024-02-07 09:09:09',`modify_date` = '2024-02-07 09:09:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004667' and product_code = 'DG010244-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004667' and product_code = 'DG0103138-08' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30193','11','B24020004667','小王子彌月試吃禮盒組','DG0103138-08','DG0103138','芝麻+海苔','禮盒-小王子(藍)【芝麻+海苔】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-16','2024-02-07 09:09:09','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30193',`firm_id` = '11',`ordernumber` = 'B24020004667', `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-08',`product_sn` = 'DG0103138',`product_spec` = '芝麻+海苔',`invoice_name` = '禮盒-小王子(藍)【芝麻+海苔】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-16',`create_date` = '2024-02-07 09:09:09',`modify_date` = '2024-02-07 09:09:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004667' and product_code = 'DG0103138-08', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004710' and product_code = 'DG0103137-03' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30194','11','B24020004710','彌月試吃禮盒組(樂芙)','DG0103137-03','DG0103137','原味+咖啡','禮盒-彌月樂芙【原味+咖啡】(試吃)','500','500','0','1','0','0','1','500.0','1','500','2024-02-16','2024-02-07 09:09:23','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30194',`firm_id` = '11',`ordernumber` = 'B24020004710', `product_name` = '彌月試吃禮盒組(樂芙)',`product_code` = 'DG0103137-03',`product_sn` = 'DG0103137',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月樂芙【原味+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-16',`create_date` = '2024-02-07 09:09:23',`modify_date` = '2024-02-07 09:09:23',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004710' and product_code = 'DG0103137-03', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004710' and product_code = 'DG010243-05' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30194','11','B24020004710','彌月試吃提盒-年輪','DG010243-05','DG010243','巧克力','提盒-彌月年輪-40入巧克力(試吃)','300','300','0','1','0','0','1','300.0','1','300','2024-02-16','2024-02-07 09:09:23','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30194',`firm_id` = '11',`ordernumber` = 'B24020004710', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-05',`product_sn` = 'DG010243',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月年輪-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-16',`create_date` = '2024-02-07 09:09:23',`modify_date` = '2024-02-07 09:09:23',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004710' and product_code = 'DG010243-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004828' and product_code = 'DG010253-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30195','11','B24020004828','【小王子聯名】夢想旅程8結彌月提盒(試吃)','DG010253-01','DG010253','原味','提盒-彌月小王子(紅)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-15','2024-02-07 09:09:44','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30195',`firm_id` = '11',`ordernumber` = 'B24020004828', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`product_spec` = '原味',`invoice_name` = '提盒-彌月小王子(紅)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-15',`create_date` = '2024-02-07 09:09:44',`modify_date` = '2024-02-07 09:09:44',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004828' and product_code = 'DG010253-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010222-04' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】夢想旅程8結彌月提盒','DG010222-04','DG010222','海苔','提盒-小王子(紅)-40入海苔','300','300','0','1','0','0','1','0.0','2','600','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-04',`product_sn` = 'DG010222',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(紅)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010222-04', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010222-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','1','0','0','1','0.0','5','1500','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010222-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010222-02' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】夢想旅程8結彌月提盒','DG010222-02','DG010222','芝麻','提盒-小王子(紅)-40入芝麻','300','300','0','1','0','0','1','0.0','14','4200','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4200',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010222-02', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010222-03' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','1','0','0','1','0.0','3','900','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010222-03', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010222-05' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','1','0','0','1','0.0','3','900','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010222-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010203-03' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】閃耀星空8結彌月提盒','DG010203-03','DG010203','咖啡','提盒-小王子(藍)-40入咖啡','300','300','0','1','0','0','1','0.0','8','2400','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2400',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010203-03', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010203-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','8','2400','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2400',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010203-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010203-02' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','1','0','0','1','0.0','3','900','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010203-02', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'DG010203-05' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','4','1200','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'DG010203-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020004999' and product_code = 'ZP010152-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30196','8','B24020004999','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-22','2024-02-07 12:27:29','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30196',`firm_id` = '8',`ordernumber` = 'B24020004999', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-22',`create_date` = '2024-02-07 12:27:29',`modify_date` = '2024-02-07 14:19:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020004999' and product_code = 'ZP010152-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005093' and product_code = 'DG0103138-14' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30197','11','M24020005093','小王子彌月試吃禮盒組','DG0103138-14','DG0103138','海苔+巧克力','禮盒-小王子(藍)【海苔+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-02-17','2024-02-07 13:57:37','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30197',`firm_id` = '11',`ordernumber` = 'M24020005093', `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-14',`product_sn` = 'DG0103138',`product_spec` = '海苔+巧克力',`invoice_name` = '禮盒-小王子(藍)【海苔+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-17',`create_date` = '2024-02-07 13:57:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005093' and product_code = 'DG0103138-14', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005121' and product_code = 'DG0103157-09' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30198','11','M24020005121','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-09','DG0103157','芝麻+巧克力','禮盒-彌月SNOOPY【芝麻+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-02-15','2024-02-07 15:29:41','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30198',`firm_id` = '11',`ordernumber` = 'M24020005121', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-09',`product_sn` = 'DG0103157',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-07 15:29:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005121' and product_code = 'DG0103157-09', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005121' and product_code = 'DG0103145-12' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30198','11','M24020005121','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-12','DG0103145','咖啡+巧克力','禮盒-彌月小王子(紅)【巧克力+咖啡】(試吃)','500','500','0','0','0','0','1','1.0','1','500','2024-02-15','2024-02-07 15:29:41','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30198',`firm_id` = '11',`ordernumber` = 'M24020005121', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-12',`product_sn` = 'DG0103145',`product_spec` = '咖啡+巧克力',`invoice_name` = '禮盒-彌月小王子(紅)【巧克力+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '1.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-15',`create_date` = '2024-02-07 15:29:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005121' and product_code = 'DG0103145-12', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005292' and product_code = 'DG010222-05' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30199','8','M24020005292','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','10','3000','2024-02-15','2024-02-07 15:53:52','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30199',`firm_id` = '8',`ordernumber` = 'M24020005292', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-15',`create_date` = '2024-02-07 15:53:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005292' and product_code = 'DG010222-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005360' and product_code = '40009' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30200','8','M24020005360','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','28','2240','2024-02-22','2024-02-07 16:46:01','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30200',`firm_id` = '8',`ordernumber` = 'M24020005360', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '28',`total_price` = '2240',`etd` = '2024-02-22',`create_date` = '2024-02-07 16:46:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005360' and product_code = '40009', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005486' and product_code = 'DG010203-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30201','8','M24020005486','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','23','6900','2024-02-16','2024-02-07 17:11:53','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30201',`firm_id` = '8',`ordernumber` = 'M24020005486', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '23',`total_price` = '6900',`etd` = '2024-02-16',`create_date` = '2024-02-07 17:11:53',`modify_date` = '2024-02-07 17:20:30',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005486' and product_code = 'DG010203-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005486' and product_code = 'ZP010151-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30201','8','M24020005486','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-16','2024-02-07 17:11:53','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30201',`firm_id` = '8',`ordernumber` = 'M24020005486', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-16',`create_date` = '2024-02-07 17:11:53',`modify_date` = '2024-02-07 17:20:30',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005486' and product_code = 'ZP010151-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005486' and product_code = '40009' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30201','8','M24020005486','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','1','80','2024-02-16','2024-02-07 17:20:30','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30201',`firm_id` = '8',`ordernumber` = 'M24020005486', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '80',`etd` = '2024-02-16',`create_date` = '2024-02-07 17:20:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005486' and product_code = '40009', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005486RB' and product_code = 'DG010203-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30202','8','M24020005486RB','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','23','6900','2024-02-16','2024-02-07 17:11:53','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30202',`firm_id` = '8',`ordernumber` = 'M24020005486RB', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '23',`total_price` = '6900',`etd` = '2024-02-16',`create_date` = '2024-02-07 17:11:53',`modify_date` = '2024-02-07 17:20:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005486RB' and product_code = 'DG010203-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005486RB' and product_code = 'ZP010151-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30202','8','M24020005486RB','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-16','2024-02-07 17:11:53','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30202',`firm_id` = '8',`ordernumber` = 'M24020005486RB', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-16',`create_date` = '2024-02-07 17:11:53',`modify_date` = '2024-02-07 17:20:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005486RB' and product_code = 'ZP010151-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020005486RB' and product_code = '40009' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30202','8','M24020005486RB','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','1','80','2024-02-16','2024-02-07 17:20:30','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30202',`firm_id` = '8',`ordernumber` = 'M24020005486RB', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '80',`etd` = '2024-02-16',`create_date` = '2024-02-07 17:20:30',`modify_date` = '2024-02-07 17:20:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005486RB' and product_code = '40009', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010222-01' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010222-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010222-02' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】夢想旅程8結彌月提盒','DG010222-02','DG010222','芝麻','提盒-小王子(紅)-40入芝麻','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010222-02', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010222-03' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010222-03', `lunar_date` = '2023-12-28' 2024-02-07 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010222-04' 2024-02-07 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】夢想旅程8結彌月提盒','DG010222-04','DG010222','海苔','提盒-小王子(紅)-40入海苔','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:09',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-04',`product_sn` = 'DG010222',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(紅)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010222-04', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010222-05' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010222-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010203-01' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010203-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010203-02' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010203-02', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010203-05' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010203-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010203-03' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】閃耀星空8結彌月提盒','DG010203-03','DG010203','咖啡','提盒-小王子(藍)-40入咖啡','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010203-03', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010203-04' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【小王子聯名】閃耀星空8結彌月提盒','DG010203-04','DG010203','海苔','提盒-小王子(藍)-40入海苔','300','300','0','1','0','0','1','0.0','1','300','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-04',`product_sn` = 'DG010203',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(藍)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010203-04', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010263-01' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','2','600','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010263-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010263-02' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','2','600','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010263-02', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010263-03' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-03','DG010263','咖啡','提盒-彌月SNOOPY-40入咖啡','300','300','0','1','0','0','1','0.0','2','600','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`product_sn` = 'DG010263',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010263-03', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010263-04' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-04','DG010263','海苔','提盒-彌月SNOOPY-40入海苔','300','300','0','1','0','0','1','0.0','2','600','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-04',`product_sn` = 'DG010263',`product_spec` = '海苔',`invoice_name` = '提盒-彌月SNOOPY-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010263-04', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'DG010263-05' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-05','DG010263','巧克力','提盒-彌月SNOOPY-40入巧克力','300','300','0','1','0','0','1','0.0','2','600','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'DG010263-05', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020005585' and product_code = 'ZP010151-01' 2024-02-07 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30203','8','B24020005585','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-22','2024-02-07 19:34:34','2024-02-07 23:59:10',null,'1','2023-12-28') 2024-02-07 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30203',`firm_id` = '8',`ordernumber` = 'B24020005585', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-22',`create_date` = '2024-02-07 19:34:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005585' and product_code = 'ZP010151-01', `lunar_date` = '2023-12-28' 2024-02-07 23:59:10 -- == sync_order_detail end == 2024-02-07 23:59:10 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-02-07' OR o.updated_at = '2024-02-07') and o.deleted_at is null 2024-02-07 23:59:10 -- == sync_order_detail start == 2024-02-07 23:59:10 -- start:2024-02-07,end:2024-02-07 2024-02-07 23:59:10 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-02-07 23:59:10 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-02-07 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-02-07%';