2024-05-01 23:59:02 -- == sync_order start == 2024-05-01 23:59:02 -- start:2024-05-01,end:2024-05-01 2024-05-01 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-05-01%' OR l.modify_date like '2024-05-01%'; 2024-05-01 23:59:03 -- == sync omo_order_list == 2024-05-01 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383611', process_status = '2', pay_status = '1', totalprice_after = '2940', lunar_date = '2024-02-30', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24030109919' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '385578', process_status = '3', pay_status = '1', totalprice_after = '1180', lunar_date = '2024-03-06', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24040042018' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386745', process_status = '2', pay_status = '0', totalprice_after = '41800', lunar_date = '2024-03-15', invoice_status = '0',category_name = '企業訂單', category_id = '4' where ordernumber = 'S24040073123' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386815', process_status = '3', pay_status = '1', totalprice_after = '600', lunar_date = '2024-03-16', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24040078711' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386929', process_status = '3', pay_status = '1', totalprice_after = '720', lunar_date = '2024-03-17', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24040079560' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386932', process_status = '3', pay_status = '1', totalprice_after = '610', lunar_date = '2024-03-17', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24040079784' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386936', process_status = '2', pay_status = '1', totalprice_after = '88462', lunar_date = '2024-03-17', invoice_status = '0',category_name = 'LINE@訂單,企業訂單', category_id = '9,4' where ordernumber = 'S24040080716' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386957', process_status = '3', pay_status = '1', totalprice_after = '720', lunar_date = '2024-03-17', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24040081410' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386924', process_status = '2', pay_status = '1', totalprice_after = '5730', lunar_date = '2024-03-17', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040083011' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '386509', process_status = '2', pay_status = '1', totalprice_after = '1180', lunar_date = '2024-03-19', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040089197' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387403', process_status = '2', pay_status = '1', totalprice_after = '440', lunar_date = '2024-03-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040091776' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '382632', process_status = '2', pay_status = '1', totalprice_after = '1170', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040093880' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '330353', process_status = '2', pay_status = '1', totalprice_after = '5400', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040094010' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '44876', process_status = '2', pay_status = '1', totalprice_after = '3940', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040094147' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387504', process_status = '2', pay_status = '1', totalprice_after = '1250', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040094228' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '32399', lunar_date = '2024-03-21', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24040094389' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '385406', process_status = '2', pay_status = '1', totalprice_after = '9120', lunar_date = '2024-03-21', invoice_status = '1',category_name = '美村門市訂單', category_id = '32' where ordernumber = 'S24040094594' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '226760', process_status = '2', pay_status = '1', totalprice_after = '1500', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040095093' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387570', process_status = '2', pay_status = '1', totalprice_after = '3895', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040095312' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '371163', process_status = '2', pay_status = '1', totalprice_after = '1805', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040095674' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '258338', process_status = '2', pay_status = '1', totalprice_after = '1140', lunar_date = '2024-03-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040095853' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '344322', process_status = '2', pay_status = '1', totalprice_after = '1435', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040096060' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387601', process_status = '2', pay_status = '1', totalprice_after = '1610', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040096462' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387614', process_status = '2', pay_status = '1', totalprice_after = '5730', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040096799' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387615', process_status = '2', pay_status = '1', totalprice_after = '5730', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040096851' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387640', process_status = '2', pay_status = '1', totalprice_after = '13650', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040097159' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387646', process_status = '2', pay_status = '1', totalprice_after = '1930', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040097599' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '450', lunar_date = '2024-03-22', invoice_status = '0',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24040097723' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387670', process_status = '2', pay_status = '1', totalprice_after = '2040', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040098089' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387700', process_status = '2', pay_status = '1', totalprice_after = '1010', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040098837' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '305946', process_status = '2', pay_status = '1', totalprice_after = '1300', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040099326' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387716', process_status = '2', pay_status = '1', totalprice_after = '1900', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040099530' 2024-05-01 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387708', process_status = '2', pay_status = '1', totalprice_after = '11180', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040099732' 2024-05-01 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 ('351026','387719',1,'','','O24050000169','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3178','235','新北市','中和區','235','新北市','中和區','3298','2024-05-01 00:17:49','2024-03-23') 2024-05-01 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 ('349482','386189',1,'','','O24050000244','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1640','231','新北市','新店區','231','新北市','新店區','1760','2024-05-01 01:42:31','2024-03-23') 2024-05-01 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 ('350905','387599',1,'','','O24050000392','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','150','2260','508','彰化縣','和美鎮','508','彰化縣','和美鎮','2260','2024-05-01 07:43:00','2024-03-23') 2024-05-01 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 ('351034','387727',1,'','','O24050000463','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','990','406','台中市','北屯區','404','台中市','北區','1110','2024-05-01 08:31:24','2024-03-23') 2024-05-01 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 ('351034','387727',1,'','','O24050000599','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','406','台中市','北屯區','404','台中市','北區','1110','2024-05-01 08:34:26','2024-03-23') 2024-05-01 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 ('350665','387360',1,'','','O24050000643','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','150','2570','506','彰化縣','福興鄉','506','彰化縣','福興鄉','2570','2024-05-01 10:14:40','2024-03-23') 2024-05-01 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 ('351039','387731',1,'','','O24050000719','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3780','812','高雄市','小港區','812','高雄市','小港區','3900','2024-05-01 10:21:49','2024-03-23') 2024-05-01 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 ('351037','387730',1,'迪化當日宅配','44','S24050000822','1','1','12','1','3','','','1','2024-05-01','0','0','0','','125','100','2500','103','台北市','大同區','103','台北市','大同區','2525','2024-05-01 11:58:28','2024-03-23') 2024-05-01 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 ('351060','387751',1,'','','O24050000924','1','1','1','1','1','10927839','臺中市政府公務人力訓練中心','0','2024-05-27','0','0','0','','0','30','6380','403','台中市','西區','403','台中市','西區','6350','2024-05-01 13:11:49','2024-03-23') 2024-05-01 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 ('350073','386775',1,'','','O24050001051','1','1','1','0','0','','','0','0000-00-00','0','0','0','','0','30','5720','320','桃園市','中壢區','320','桃園市','中壢區','5690','2024-05-01 13:42:49','2024-03-23') 2024-05-01 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 ('351077','387767',1,'','','O24050001159','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1490','721','台南市','麻豆區','721','台南市','麻豆區','1610','2024-05-01 13:56:34','2024-03-23') 2024-05-01 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 ('350838','387532',1,'','','O24050001236','1','1','1','1','1','49966177','金山財神廟','0','0000-00-00','1488','0','0','','0','30','29760','208','新北市','金山區','207','新北市','萬里區','28242','2024-05-01 14:30:09','2024-03-23') 2024-05-01 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 ('351074','387764',1,'','','O24050001332','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','235','新北市','中和區','235','新北市','中和區','600','2024-05-01 14:35:50','2024-03-23') 2024-05-01 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 ('350938','387631',1,'','','O24050001435','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5700','421','台中市','后里區','421','台中市','后里區','5670','2024-05-01 14:36:43','2024-03-23') 2024-05-01 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 ('351103','387793',1,'','','O24050001556','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1400','111','台北市','士林區','111','台北市','士林區','1450','2024-05-01 14:40:52','2024-03-23') 2024-05-01 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 ('351138','387827',1,'','','O24050001699','1','1','1','1','1','90581984','銨得信有限公司','0','0000-00-00','435','0','0','','0','30','8700','433','台中市','沙鹿區','433','台中市','沙鹿區','8235','2024-05-01 16:39:28','2024-03-23') 2024-05-01 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 ('351141','387830',1,'','','O24050001714','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1325','408','台中市','南屯區','408','台中市','南屯區','1445','2024-05-01 16:49:54','2024-03-23') 2024-05-01 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 ('351173','387862',1,'','','O24050001899','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','890','710','台南市','永康區','710','台南市','永康區','1010','2024-05-01 18:53:36','2024-03-23') 2024-05-01 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 ('16979','14745',1,'','','O24050001946','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1630','265','宜蘭縣','羅東鎮','265','宜蘭縣','羅東鎮','1780','2024-05-01 22:20:57','2024-03-23') 2024-05-01 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 ('351187','387876',1,'','','O24050002050','1','11','1','1','1','42886924','聚財課有限公司','0','0000-00-00','1396','0','0','','0','30','27925','100','台北市','中正區','100','台北市','中正區','26499','2024-05-01 23:22:49','2024-03-23') 2024-05-01 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 ('351186','387875',1,'','','O24050002129','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1455','251','新北市','淡水區','251','新北市','淡水區','1575','2024-05-01 23:37:27','2024-03-23') 2024-05-01 23:59:05 -- == 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 ('349985','386689',1,'','','O24050002247','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','150','2320','300','新竹市','北區','300','新竹市','北區','2320','2024-05-01 23:42:23','2024-03-23') 2024-05-01 23:59:05 -- == sync_order end == 2024-05-01 23:59:05 -- == sync_order_detail start == 2024-05-01 23:59:05 -- start:2024-05-01,end:2024-05-01 2024-05-01 23:59:05 -- == sync omo_order_detail == 2024-05-01 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-01%' OR modify_date like '2024-05-01%' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040042018' and product_code = 'DG010101-01' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230886',`firm_id` = '8',`ordernumber` = 'O24040042018', `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` = '2',`total_price` = '560',`etd` = '2024-04-30',`create_date` = '2024-04-14 19:53:33',`modify_date` = '2024-05-01 15:06:12',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-06'where ordernumber = 'O24040042018' and product_code = 'DG010101-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040042018' and product_code = 'DG010101-04' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230886',`firm_id` = '8',`ordernumber` = 'O24040042018', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`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-04-30',`create_date` = '2024-04-14 19:53:33',`modify_date` = '2024-05-01 15:06:12',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-06'where ordernumber = 'O24040042018' and product_code = 'DG010101-04' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040042018' and product_code = 'DG010527-01' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230886',`firm_id` = '8',`ordernumber` = 'O24040042018', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-30',`create_date` = '2024-04-14 19:53:33',`modify_date` = '2024-05-01 15:06:12',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-06'where ordernumber = 'O24040042018' and product_code = 'DG010527-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040083011' and product_code = 'DG010312-07' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231294',`firm_id` = '8',`ordernumber` = 'O24040083011', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`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` = '5',`total_price` = '2400',`etd` = '2024-05-02',`create_date` = '2024-04-25 22:00:20',`modify_date` = '2024-05-01 08:20:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-17'where ordernumber = 'O24040083011' and product_code = 'DG010312-07' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040083011' and product_code = 'DG010312-05' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231294',`firm_id` = '8',`ordernumber` = 'O24040083011', `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` = '5',`total_price` = '2400',`etd` = '2024-05-02',`create_date` = '2024-04-25 22:00:20',`modify_date` = '2024-05-01 08:20:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-17'where ordernumber = 'O24040083011' and product_code = 'DG010312-05' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040083011' and product_code = 'DG010312-12' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231294',`firm_id` = '8',`ordernumber` = 'O24040083011', `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` = '2',`total_price` = '960',`etd` = '2024-05-02',`create_date` = '2024-04-25 22:00:20',`modify_date` = '2024-05-01 08:20:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-17'where ordernumber = 'O24040083011' and product_code = 'DG010312-12' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040097723' and product_code = 'DG010203-01' 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231441',`firm_id` = '8',`ordernumber` = 'S24040097723', `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-05-01',`create_date` = '2024-04-30 15:21:43',`modify_date` = '2024-05-01 08:12:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-22'where ordernumber = 'S24040097723' and product_code = 'DG010203-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000169' and product_code = 'DG010523-12' 2024-05-01 23:59:06 -- == 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,'231462','8','O24050000169','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-24','2024-05-01 00:17:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231462',`firm_id` = '8',`ordernumber` = 'O24050000169', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`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-05-24',`create_date` = '2024-05-01 00:17:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000169' and product_code = 'DG010523-12' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000169' and product_code = '13027' 2024-05-01 23:59:06 -- == 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,'231462','8','O24050000169','[加購]加購-小王子行李箱','13027','13027','-','加購-小王子行李箱','2188','2188','1','1','2188','0','0','0.0','1','2188','2024-05-24','2024-05-01 00:17:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231462',`firm_id` = '8',`ordernumber` = 'O24050000169', `product_name` = '[加購]加購-小王子行李箱',`product_code` = '13027',`product_sn` = '13027',`product_spec` = '-',`invoice_name` = '加購-小王子行李箱',`listprice` = '2188',`sellingprice` = '2188',`isadd` = '1',`isbaby` = '1',`addprice` = '2188',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '2188',`etd` = '2024-05-24',`create_date` = '2024-05-01 00:17:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000169' and product_code = '13027' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000244' and product_code = 'DG010527-01' 2024-05-01 23:59:06 -- == 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,'231463','8','O24050000244','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-03','2024-05-01 01:42:31','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231463',`firm_id` = '8',`ordernumber` = 'O24050000244', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-03',`create_date` = '2024-05-01 01:42:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000244' and product_code = 'DG010527-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000244' and product_code = 'DG010312-05' 2024-05-01 23:59:06 -- == 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,'231463','8','O24050000244','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-03','2024-05-01 01:42:31','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231463',`firm_id` = '8',`ordernumber` = 'O24050000244', `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` = '1',`total_price` = '480',`etd` = '2024-05-03',`create_date` = '2024-05-01 01:42:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000244' and product_code = 'DG010312-05' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000244' and product_code = '13656' 2024-05-01 23:59:06 -- == 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,'231463','8','O24050000244','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-05-03','2024-05-01 01:42:31','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231463',`firm_id` = '8',`ordernumber` = 'O24050000244', `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-05-03',`create_date` = '2024-05-01 01:42:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000244' and product_code = '13656' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000392' and product_code = 'DG010101-05' 2024-05-01 23:59:06 -- == 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,'231464','8','O24050000392','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-05-03','2024-05-01 07:43:00','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231464',`firm_id` = '8',`ordernumber` = 'O24050000392', `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` = '8',`total_price` = '2240',`etd` = '2024-05-03',`create_date` = '2024-05-01 07:43:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000392' and product_code = 'DG010101-05' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000392' and product_code = 'DG010404-01' 2024-05-01 23:59:06 -- == 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,'231464','8','O24050000392','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','2','20','2024-05-03','2024-05-01 07:43:00','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231464',`firm_id` = '8',`ordernumber` = 'O24050000392', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2024-05-03',`create_date` = '2024-05-01 07:43:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000392' and product_code = 'DG010404-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000463' and product_code = 'DG010523-08' 2024-05-01 23:59:06 -- == 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,'231465','8','O24050000463','SNOOPY帶走心意-蛋捲三入組','DG010523-08','DG010523','原味+芝麻+海苔','組合-32入(原味+芝麻+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-03','2024-05-01 08:31:24','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231465',`firm_id` = '8',`ordernumber` = 'O24050000463', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-08',`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-05-03',`create_date` = '2024-05-01 08:31:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000463' and product_code = 'DG010523-08' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000599' and product_code = 'DG010523-08' 2024-05-01 23:59:06 -- == 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,'231466','8','O24050000599','SNOOPY帶走心意-蛋捲三入組','DG010523-08','DG010523','原味+芝麻+海苔','組合-32入(原味+芝麻+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-03','2024-05-01 08:34:26','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231466',`firm_id` = '8',`ordernumber` = 'O24050000599', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-08',`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-05-03',`create_date` = '2024-05-01 08:34:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000599' and product_code = 'DG010523-08' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000643' and product_code = 'DG010527-01' 2024-05-01 23:59:06 -- == 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,'231467','8','O24050000643','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-03','2024-05-01 10:14:40','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231467',`firm_id` = '8',`ordernumber` = 'O24050000643', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:14:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000643' and product_code = 'DG010527-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000643' and product_code = 'DG010101-01' 2024-05-01 23:59:06 -- == 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,'231467','8','O24050000643','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-03','2024-05-01 10:14:40','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231467',`firm_id` = '8',`ordernumber` = 'O24050000643', `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` = '3',`total_price` = '840',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:14:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000643' and product_code = 'DG010101-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000643' and product_code = 'DG010101-05' 2024-05-01 23:59:06 -- == 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,'231467','8','O24050000643','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-03','2024-05-01 10:14:40','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231467',`firm_id` = '8',`ordernumber` = 'O24050000643', `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-05-03',`create_date` = '2024-05-01 10:14:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000643' and product_code = 'DG010101-05' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000719' and product_code = 'DG010523-20' 2024-05-01 23:59:06 -- == 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,'231468','8','O24050000719','SNOOPY帶走心意-蛋捲三入組','DG010523-20','DG010523','芝麻+咖啡+咖啡','組合-32入(芝麻+咖啡+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','2','1980','2024-05-03','2024-05-01 10:21:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231468',`firm_id` = '8',`ordernumber` = 'O24050000719', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-20',`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` = '2',`total_price` = '1980',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:21:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000719' and product_code = 'DG010523-20' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000719' and product_code = 'BP010159-01' 2024-05-01 23:59:06 -- == 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,'231468','8','O24050000719','[加購]加購-SNOOPY提把水瓶','BP010159-01','BP010159','-','加購-SNOOPY提把水瓶','360','360','1','1','360','0','0','0.0','1','360','2024-05-03','2024-05-01 10:21:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231468',`firm_id` = '8',`ordernumber` = 'O24050000719', `product_name` = '[加購]加購-SNOOPY提把水瓶',`product_code` = 'BP010159-01',`product_sn` = 'BP010159',`product_spec` = '-',`invoice_name` = '加購-SNOOPY提把水瓶',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:21:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000719' and product_code = 'BP010159-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000719' and product_code = 'BP010157-01' 2024-05-01 23:59:06 -- == 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,'231468','8','O24050000719','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','1','390','2024-05-03','2024-05-01 10:21:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231468',`firm_id` = '8',`ordernumber` = 'O24050000719', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:21:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000719' and product_code = 'BP010157-01' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000719' and product_code = '03951' 2024-05-01 23:59:06 -- == 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,'231468','8','O24050000719','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','1','290','2024-05-03','2024-05-01 10:21:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231468',`firm_id` = '8',`ordernumber` = 'O24050000719', `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:21:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000719' and product_code = '03951' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000719' and product_code = 'LS010108-03' 2024-05-01 23:59:06 -- == 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,'231468','8','O24050000719','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','190','190','1','1','190','0','0','0.0','4','760','2024-05-03','2024-05-01 10:21:49','2024-05-01 23:59:06',null,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231468',`firm_id` = '8',`ordernumber` = 'O24050000719', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '4',`total_price` = '760',`etd` = '2024-05-03',`create_date` = '2024-05-01 10:21:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000719' and product_code = 'LS010108-03' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050000822' and product_code = 'DG010383-02' 2024-05-01 23:59:06 -- == 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,'231469','8','S24050000822','【小王子聯名】星光飛行8結禮盒','DG010383-02','DG010383','原味+芝麻','禮盒-小王子(紅)【原味+芝麻】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-01','2024-05-01 11:58:28','2024-05-01 23:59:06',0,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231469',`firm_id` = '8',`ordernumber` = 'S24050000822', `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` = '2',`total_price` = '1000',`etd` = '2024-05-01',`create_date` = '2024-05-01 11:58:28',`modify_date` = '2024-05-01 16:17:36',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'S24050000822' and product_code = 'DG010383-02' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050000822' and product_code = 'DG010327-02' 2024-05-01 23:59:06 -- == 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,'231469','8','S24050000822','【小王子聯名】仰望星空8結禮盒 ','DG010327-02','DG010327','原味.芝麻','禮盒-小王子(藍)【原味+芝麻】','500','500','0','0','0','0','1','0.0','3','1500','2024-05-01','2024-05-01 11:58:28','2024-05-01 23:59:06',0,'1','2024-03-23') 2024-05-01 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231469',`firm_id` = '8',`ordernumber` = 'S24050000822', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-02',`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` = '3',`total_price` = '1500',`etd` = '2024-05-01',`create_date` = '2024-05-01 11:58:28',`modify_date` = '2024-05-01 16:17:36',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'S24050000822' and product_code = 'DG010327-02' 2024-05-01 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000924' and product_code = 'DG010527-01' 2024-05-01 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,'231470','8','O24050000924','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-27','2024-05-01 12:04:24','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231470',`firm_id` = '8',`ordernumber` = 'O24050000924', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-27',`create_date` = '2024-05-01 12:04:24',`modify_date` = '2024-05-01 13:12:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000924' and product_code = 'DG010527-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000924' and product_code = 'DG010527-02' 2024-05-01 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,'231470','8','O24050000924','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-27','2024-05-01 12:04:24','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231470',`firm_id` = '8',`ordernumber` = 'O24050000924', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-27',`create_date` = '2024-05-01 12:04:24',`modify_date` = '2024-05-01 13:12:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000924' and product_code = 'DG010527-02' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000924' and product_code = 'DG010527-03' 2024-05-01 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,'231470','8','O24050000924','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-05-27','2024-05-01 12:04:24','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231470',`firm_id` = '8',`ordernumber` = 'O24050000924', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-05-27',`create_date` = '2024-05-01 12:04:24',`modify_date` = '2024-05-01 13:12:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000924' and product_code = 'DG010527-03' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000924' and product_code = 'DG010527-04' 2024-05-01 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,'231470','8','O24050000924','8結蛋捲【小禮袋裝】','DG010527-04','DG010527','40入海苔蛋捲','組合-40入海苔+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-27','2024-05-01 12:04:24','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231470',`firm_id` = '8',`ordernumber` = 'O24050000924', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-04',`product_sn` = 'DG010527',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-27',`create_date` = '2024-05-01 12:04:24',`modify_date` = '2024-05-01 13:12:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000924' and product_code = 'DG010527-04' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050000924' and product_code = 'DG010527-05' 2024-05-01 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,'231470','8','O24050000924','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-27','2024-05-01 12:04:24','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231470',`firm_id` = '8',`ordernumber` = 'O24050000924', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-27',`create_date` = '2024-05-01 12:04:24',`modify_date` = '2024-05-01 13:12:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050000924' and product_code = 'DG010527-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'DG0103174-01' 2024-05-01 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,'231471','8','O24050001051','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-01','DG0103174','原味','禮盒-故宮(文物大盒款)【原味+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','3','3300','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-01',`product_sn` = 'DG0103174',`product_spec` = '原味',`invoice_name` = '禮盒-故宮(文物大盒款)【原味+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '3300',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'DG0103174-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'DG010101-05' 2024-05-01 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,'231471','8','O24050001051','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `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-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'DG010101-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'BP010157-01' 2024-05-01 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,'231471','8','O24050001051','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','1','390','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'BP010157-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'BP010166-01' 2024-05-01 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,'231471','8','O24050001051','[加購]加購-仙萼長春對杯組','BP010166-01','BP010166','-','加購-仙萼長春對杯組','850','850','1','1','850','0','0','0.0','1','850','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-仙萼長春對杯組',`product_code` = 'BP010166-01',`product_sn` = 'BP010166',`product_spec` = '-',`invoice_name` = '加購-仙萼長春對杯組',`listprice` = '850',`sellingprice` = '850',`isadd` = '1',`isbaby` = '1',`addprice` = '850',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '850',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'BP010166-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = '04190' 2024-05-01 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,'231471','8','O24050001051','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = '04190' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = '04191' 2024-05-01 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,'231471','8','O24050001051','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = '04191' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = '13044' 2024-05-01 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,'231471','8','O24050001051','[加購]加購-香酥醬燒海苔(純素)','13044','13044','-','加購-香酥醬燒海苔(純素)','140','140','1','1','140','0','0','0.0','2','280','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '280',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = '13044' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = '13045' 2024-05-01 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,'231471','8','O24050001051','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','2','280','2024-05-03','2024-05-01 13:42:49','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '280',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = '13045' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001159' and product_code = 'DG010527-01' 2024-05-01 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,'231472','8','O24050001159','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-03','2024-05-01 13:56:34','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231472',`firm_id` = '8',`ordernumber` = 'O24050001159', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:56:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001159' and product_code = 'DG010527-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001159' and product_code = 'DG010523-05' 2024-05-01 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,'231472','8','O24050001159','SNOOPY帶走心意-蛋捲三入組','DG010523-05','DG010523','原味+原味+巧克力','組合-32入(原味+原味+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-03','2024-05-01 13:56:34','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231472',`firm_id` = '8',`ordernumber` = 'O24050001159', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-05',`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-05-03',`create_date` = '2024-05-01 13:56:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001159' and product_code = 'DG010523-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001159' and product_code = 'TG010109-01' 2024-05-01 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,'231472','8','O24050001159','[加購]加購-夏威夷豆軟糖(盒裝10入)','TG010109-01','TG010109','-','加購-(盒)夏威夷豆軟糖','210','210','1','1','210','0','0','0.0','1','210','2024-05-03','2024-05-01 13:56:34','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231472',`firm_id` = '8',`ordernumber` = 'O24050001159', `product_name` = '[加購]加購-夏威夷豆軟糖(盒裝10入)',`product_code` = 'TG010109-01',`product_sn` = 'TG010109',`product_spec` = '-',`invoice_name` = '加購-(盒)夏威夷豆軟糖',`listprice` = '210',`sellingprice` = '210',`isadd` = '1',`isbaby` = '1',`addprice` = '210',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '210',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:56:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001159' and product_code = 'TG010109-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001236' and product_code = 'DG010312-02' 2024-05-01 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,'231473','8','O24050001236','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','58','27840','2024-05-13','2024-05-01 14:30:09','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231473',`firm_id` = '8',`ordernumber` = 'O24050001236', `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` = '58',`total_price` = '27840',`etd` = '2024-05-13',`create_date` = '2024-05-01 14:30:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001236' and product_code = 'DG010312-02' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001236' and product_code = 'DG010312-05' 2024-05-01 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,'231473','8','O24050001236','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-05-13','2024-05-01 14:30:09','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231473',`firm_id` = '8',`ordernumber` = 'O24050001236', `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` = '2',`total_price` = '960',`etd` = '2024-05-13',`create_date` = '2024-05-01 14:30:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001236' and product_code = 'DG010312-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001236' and product_code = 'DG010312-11' 2024-05-01 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,'231473','8','O24050001236','【咖啡+海苔】金8結禮盒','DG010312-11','DG010312','金8結盒','禮盒-金8結【咖啡+海苔】','590','480','0','0','0','0','1','480.0','2','960','2024-05-13','2024-05-01 14:30:09','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231473',`firm_id` = '8',`ordernumber` = 'O24050001236', `product_name` = '【咖啡+海苔】金8結禮盒',`product_code` = 'DG010312-11',`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` = '2',`total_price` = '960',`etd` = '2024-05-13',`create_date` = '2024-05-01 14:30:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001236' and product_code = 'DG010312-11' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001332' and product_code = 'DG010312-02' 2024-05-01 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,'231474','8','O24050001332','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-03','2024-05-01 14:35:50','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231474',`firm_id` = '8',`ordernumber` = 'O24050001332', `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-05-03',`create_date` = '2024-05-01 14:35:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001332' and product_code = 'DG010312-02' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001435' and product_code = 'DG010527-01' 2024-05-01 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,'231475','8','O24050001435','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','10','2900','2024-05-06','2024-05-01 14:36:43','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231475',`firm_id` = '8',`ordernumber` = 'O24050001435', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`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-05-06',`create_date` = '2024-05-01 14:36:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001435' and product_code = 'DG010527-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001435' and product_code = 'DG010101-03' 2024-05-01 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,'231475','8','O24050001435','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-06','2024-05-01 14:36:43','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231475',`firm_id` = '8',`ordernumber` = 'O24050001435', `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` = '2',`total_price` = '560',`etd` = '2024-05-06',`create_date` = '2024-05-01 14:36:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001435' and product_code = 'DG010101-03' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001435' and product_code = 'DG010101-01' 2024-05-01 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,'231475','8','O24050001435','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-05-06','2024-05-01 14:36:43','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231475',`firm_id` = '8',`ordernumber` = 'O24050001435', `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` = '4',`total_price` = '1120',`etd` = '2024-05-06',`create_date` = '2024-05-01 14:36:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001435' and product_code = 'DG010101-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001435' and product_code = 'DG010101-05' 2024-05-01 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,'231475','8','O24050001435','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-06','2024-05-01 14:36:43','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231475',`firm_id` = '8',`ordernumber` = 'O24050001435', `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-05-06',`create_date` = '2024-05-01 14:36:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001435' and product_code = 'DG010101-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001435' and product_code = 'DG010101-02' 2024-05-01 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,'231475','8','O24050001435','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-06','2024-05-01 14:36:43','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231475',`firm_id` = '8',`ordernumber` = 'O24050001435', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`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-05-06',`create_date` = '2024-05-01 14:36:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001435' and product_code = 'DG010101-02' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001556' and product_code = 'DG010101-02' 2024-05-01 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,'231476','8','O24050001556','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-03','2024-05-01 14:40:52','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231476',`firm_id` = '8',`ordernumber` = 'O24050001556', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`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-05-03',`create_date` = '2024-05-01 14:40:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001556' and product_code = 'DG010101-02' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001556' and product_code = 'DG010101-03' 2024-05-01 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,'231476','8','O24050001556','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-03','2024-05-01 14:40:52','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231476',`firm_id` = '8',`ordernumber` = 'O24050001556', `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-05-03',`create_date` = '2024-05-01 14:40:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001556' and product_code = 'DG010101-03' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001556' and product_code = 'DG010101-05' 2024-05-01 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,'231476','8','O24050001556','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-03','2024-05-01 14:40:52','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231476',`firm_id` = '8',`ordernumber` = 'O24050001556', `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` = '3',`total_price` = '840',`etd` = '2024-05-03',`create_date` = '2024-05-01 14:40:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001556' and product_code = 'DG010101-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001699' and product_code = 'DG010527-01' 2024-05-01 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,'231477','8','O24050001699','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','30','8700','2024-05-03','2024-05-01 16:39:28','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231477',`firm_id` = '8',`ordernumber` = 'O24050001699', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '8700',`etd` = '2024-05-03',`create_date` = '2024-05-01 16:39:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001699' and product_code = 'DG010527-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001714' and product_code = 'DG010315-01' 2024-05-01 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,'231478','8','O24050001714','金8結肉酥酥禮盒','DG010315-01','DG010315','原味肉酥酥【原味蛋捲】','禮盒-金8結【原味+原味肉酥酥】','555','555','0','0','0','0','1','555.0','1','555','2024-05-06','2024-05-01 16:49:54','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231478',`firm_id` = '8',`ordernumber` = 'O24050001714', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-01',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【原味蛋捲】',`invoice_name` = '禮盒-金8結【原味+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '1',`total_price` = '555',`etd` = '2024-05-06',`create_date` = '2024-05-01 16:49:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001714' and product_code = 'DG010315-01' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001714' and product_code = 'DG010312-05' 2024-05-01 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,'231478','8','O24050001714','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-06','2024-05-01 16:49:54','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231478',`firm_id` = '8',`ordernumber` = 'O24050001714', `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` = '1',`total_price` = '480',`etd` = '2024-05-06',`create_date` = '2024-05-01 16:49:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001714' and product_code = 'DG010312-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001714' and product_code = '13656' 2024-05-01 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,'231478','8','O24050001714','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-06','2024-05-01 16:49:54','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231478',`firm_id` = '8',`ordernumber` = 'O24050001714', `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` = '1',`total_price` = '290',`etd` = '2024-05-06',`create_date` = '2024-05-01 16:49:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001714' and product_code = '13656' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001899' and product_code = 'DG010261-03' 2024-05-01 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,'231479','8','O24050001899','【SNOOPY聯名】美好食光-8結提盒','DG010261-03','DG010261','40入咖啡蛋捲','提盒-SNOOPY-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-05-27','2024-05-01 18:53:36','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231479',`firm_id` = '8',`ordernumber` = 'O24050001899', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-03',`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-05-27',`create_date` = '2024-05-01 18:53:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001899' and product_code = 'DG010261-03' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001899' and product_code = 'DG010261-05' 2024-05-01 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,'231479','8','O24050001899','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-05-27','2024-05-01 18:53:36','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231479',`firm_id` = '8',`ordernumber` = 'O24050001899', `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-05-27',`create_date` = '2024-05-01 18:53:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001899' and product_code = 'DG010261-05' 2024-05-01 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001899' and product_code = 'DG010527-03' 2024-05-01 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,'231479','8','O24050001899','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-27','2024-05-01 18:53:36','2024-05-01 23:59:07',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231479',`firm_id` = '8',`ordernumber` = 'O24050001899', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-27',`create_date` = '2024-05-01 18:53:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001899' and product_code = 'DG010527-03' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001946' and product_code = 'DG010523-21' 2024-05-01 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,'231480','8','O24050001946','SNOOPY帶走心意-蛋捲三入組','DG010523-21','DG010523','芝麻+咖啡+海苔','組合-32入(芝麻+咖啡+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-31','2024-05-01 22:20:57','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231480',`firm_id` = '8',`ordernumber` = 'O24050001946', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-21',`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-05-31',`create_date` = '2024-05-01 22:20:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001946' and product_code = 'DG010523-21' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001946' and product_code = 'LS010102-01' 2024-05-01 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,'231480','8','O24050001946','香酥醬燒海苔(純素)','LS010102-01','LS010102','醬燒海苔40g','醬燒海苔片','150','150','0','0','0','0','1','0.0','1','150','2024-05-31','2024-05-01 22:20:57','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231480',`firm_id` = '8',`ordernumber` = 'O24050001946', `product_name` = '香酥醬燒海苔(純素)',`product_code` = 'LS010102-01',`product_sn` = 'LS010102',`product_spec` = '醬燒海苔40g',`invoice_name` = '醬燒海苔片',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-05-31',`create_date` = '2024-05-01 22:20:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001946' and product_code = 'LS010102-01' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001946' and product_code = 'LS010103-01' 2024-05-01 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,'231480','8','O24050001946','厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','150','150','0','0','0','0','1','0.0','1','150','2024-05-31','2024-05-01 22:20:57','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231480',`firm_id` = '8',`ordernumber` = 'O24050001946', `product_name` = '厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-05-31',`create_date` = '2024-05-01 22:20:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001946' and product_code = 'LS010103-01' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001946' and product_code = '04191' 2024-05-01 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,'231480','8','O24050001946','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-05-31','2024-05-01 22:20:57','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231480',`firm_id` = '8',`ordernumber` = 'O24050001946', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-05-31',`create_date` = '2024-05-01 22:20:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001946' and product_code = '04191' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001946' and product_code = '04190' 2024-05-01 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,'231480','8','O24050001946','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-05-31','2024-05-01 22:20:57','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231480',`firm_id` = '8',`ordernumber` = 'O24050001946', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-05-31',`create_date` = '2024-05-01 22:20:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001946' and product_code = '04190' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002050' and product_code = 'DG0103154-17' 2024-05-01 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,'231481','8','O24050002050','金8結乳酪絲禮盒','DG0103154-17','DG0103154','芝麻蛋捲,羅勒乳酪絲','禮盒-金8結【芝麻+乳酪絲(羅勒)】','655','655','0','0','0','0','1','0.0','10','6550','2024-05-31','2024-05-01 23:22:49','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231481',`firm_id` = '8',`ordernumber` = 'O24050002050', `product_name` = '金8結乳酪絲禮盒',`product_code` = 'DG0103154-17',`product_sn` = 'DG0103154',`product_spec` = '芝麻蛋捲,羅勒乳酪絲',`invoice_name` = '禮盒-金8結【芝麻+乳酪絲(羅勒)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '6550',`etd` = '2024-05-31',`create_date` = '2024-05-01 23:22:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002050' and product_code = 'DG0103154-17' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002050' and product_code = 'DG0103154-05' 2024-05-01 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,'231481','8','O24050002050','金8結乳酪絲禮盒','DG0103154-05','DG0103154','巧克力蛋捲,原味乳酪絲','禮盒-金8結【巧克力+乳酪絲(原味)】','655','655','0','0','0','0','1','0.0','10','6550','2024-05-31','2024-05-01 23:22:49','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231481',`firm_id` = '8',`ordernumber` = 'O24050002050', `product_name` = '金8結乳酪絲禮盒',`product_code` = 'DG0103154-05',`product_sn` = 'DG0103154',`product_spec` = '巧克力蛋捲,原味乳酪絲',`invoice_name` = '禮盒-金8結【巧克力+乳酪絲(原味)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '6550',`etd` = '2024-05-31',`create_date` = '2024-05-01 23:22:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002050' and product_code = 'DG0103154-05' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002050' and product_code = 'DG0103154-19' 2024-05-01 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,'231481','8','O24050002050','金8結乳酪絲禮盒','DG0103154-19','DG0103154','海苔蛋捲,羅勒乳酪絲','禮盒-金8結【海苔+乳酪絲(羅勒)】','655','655','0','0','0','0','1','0.0','5','3275','2024-05-31','2024-05-01 23:22:49','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231481',`firm_id` = '8',`ordernumber` = 'O24050002050', `product_name` = '金8結乳酪絲禮盒',`product_code` = 'DG0103154-19',`product_sn` = 'DG0103154',`product_spec` = '海苔蛋捲,羅勒乳酪絲',`invoice_name` = '禮盒-金8結【海苔+乳酪絲(羅勒)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '3275',`etd` = '2024-05-31',`create_date` = '2024-05-01 23:22:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002050' and product_code = 'DG0103154-19' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002050' and product_code = 'DG0103182-109' 2024-05-01 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,'231481','8','O24050002050','金巧8結禮盒','DG0103182-109','DG0103182','芝麻,鳳梨酥,芝麻糕','禮盒-金巧8結【(芝麻)-鳳梨酥+芝麻糕】','580','580','0','0','0','0','1','0.0','10','5800','2024-05-31','2024-05-01 23:22:49','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231481',`firm_id` = '8',`ordernumber` = 'O24050002050', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-109',`product_sn` = 'DG0103182',`product_spec` = '芝麻,鳳梨酥,芝麻糕',`invoice_name` = '禮盒-金巧8結【(芝麻)-鳳梨酥+芝麻糕】',`listprice` = '580',`sellingprice` = '580',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '5800',`etd` = '2024-05-31',`create_date` = '2024-05-01 23:22:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002050' and product_code = 'DG0103182-109' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002050' and product_code = 'DG0103182-465' 2024-05-01 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,'231481','8','O24050002050','金巧8結禮盒','DG0103182-465','DG0103182','巧克力,芝麻糕,枸杞茶','禮盒-金巧8結【(巧克力)-芝麻糕+枸杞茶】','575','575','0','0','0','0','1','0.0','10','5750','2024-05-31','2024-05-01 23:22:49','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231481',`firm_id` = '8',`ordernumber` = 'O24050002050', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-465',`product_sn` = 'DG0103182',`product_spec` = '巧克力,芝麻糕,枸杞茶',`invoice_name` = '禮盒-金巧8結【(巧克力)-芝麻糕+枸杞茶】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '5750',`etd` = '2024-05-31',`create_date` = '2024-05-01 23:22:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002050' and product_code = 'DG0103182-465' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002129' and product_code = 'DG010225-05' 2024-05-01 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,'231482','8','O24050002129','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-05','DG010225','40入巧克力蛋捲','提盒-故宮(人物款)-40入巧克力','300','300','0','0','0','0','1','0.0','3','900','2024-05-03','2024-05-01 23:37:27','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231482',`firm_id` = '8',`ordernumber` = 'O24050002129', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-05',`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` = '3',`total_price` = '900',`etd` = '2024-05-03',`create_date` = '2024-05-01 23:37:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002129' and product_code = 'DG010225-05' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002129' and product_code = '04190' 2024-05-01 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,'231482','8','O24050002129','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','3','555','2024-05-03','2024-05-01 23:37:27','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231482',`firm_id` = '8',`ordernumber` = 'O24050002129', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '555',`etd` = '2024-05-03',`create_date` = '2024-05-01 23:37:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002129' and product_code = '04190' 2024-05-01 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050002247' and product_code = 'DG010527-01' 2024-05-01 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,'231483','8','O24050002247','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','8','2320','2024-05-06','2024-05-01 23:42:23','2024-05-01 23:59:08',null,'1','2024-03-23') 2024-05-01 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231483',`firm_id` = '8',`ordernumber` = 'O24050002247', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2320',`etd` = '2024-05-06',`create_date` = '2024-05-01 23:42:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050002247' and product_code = 'DG010527-01' 2024-05-01 23:59:08 -- == sync_order_detail end == 2024-05-01 23:59:08 -- == sync_order start == 2024-05-01 23:59:08 -- start:2024-05-01,end:2024-05-01 2024-05-01 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-05-01%' OR l.modify_date like '2024-05-01%'; 2024-05-01 23:59:08 -- == sync omo_order_list == 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '2000', lunar_date = '2024-03-14', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24040015851' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '386735', process_status = '2', pay_status = '1', totalprice_after = '12540', lunar_date = '2024-03-15', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24040018118' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '385687', process_status = '3', pay_status = '1', totalprice_after = '650', lunar_date = '2024-03-15', invoice_status = '1', category_name = '', category_id = '' where ordernumber = 'B24040018837' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '386066', process_status = '3', pay_status = '1', totalprice_after = '720', lunar_date = '2024-03-16', invoice_status = '1', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M24040019426' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '300', lunar_date = '2024-03-18', invoice_status = '1', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24040020850' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '900', lunar_date = '2024-03-18', invoice_status = '1', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24040020976' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '500', lunar_date = '2024-03-18', invoice_status = '1', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24040021045' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '387347', process_status = '2', pay_status = '1', totalprice_after = '18970', lunar_date = '2024-03-21', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24040022485' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '387117', process_status = '2', pay_status = '1', totalprice_after = '300', lunar_date = '2024-03-21', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24040023271' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '387347', process_status = '2', pay_status = '1', totalprice_after = '18970', lunar_date = '2024-03-21', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24040024068' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '386735', process_status = '2', pay_status = '1', totalprice_after = '560', lunar_date = '2024-03-21', invoice_status = '0', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M24040024988' 2024-05-01 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '386560', process_status = '2', pay_status = '1', totalprice_after = '14220', lunar_date = '2024-03-22', invoice_status = '0', category_name = '正式彌,FB訂單', category_id = '1,10' where ordernumber = 'M24040025639' 2024-05-01 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 ('111266','387722',2,'','','B24050000181','1','11','1','1','1','','','0','0000-00-00','780','0','0','','0','30','15600','204','基隆市','安樂區','204','基隆市','安樂區','14790','2024-05-01 08:58:06','2024-03-23') 2024-05-01 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 ('111167','387623',2,'','','B24050000222','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1800','831','高雄市','大寮區','831','高雄市','大寮區','1920','2024-05-01 15:07:55','2024-03-23') 2024-05-01 23:59:08 -- == sync_order end == 2024-05-01 23:59:08 -- == sync_order_detail start == 2024-05-01 23:59:08 -- start:2024-05-01,end:2024-05-01 2024-05-01 23:59:08 -- == sync omo_order_detail == 2024-05-01 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-01%' OR modify_date like '2024-05-01%' 2024-05-01 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050000181' and product_code = 'DG010222-01' 2024-05-01 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,'30962','8','B24050000181','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','1','0','0','1','0.0','52','15600','2024-05-06','2024-05-01 08:58:06','2024-05-01 23:59:09',null,'1','2024-03-23') 2024-05-01 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30962',`firm_id` = '8',`ordernumber` = 'B24050000181', `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` = '52',`total_price` = '15600',`etd` = '2024-05-06',`create_date` = '2024-05-01 08:58:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050000181' and product_code = 'DG010222-01', `lunar_date` = '2024-03-23' 2024-05-01 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050000181' and product_code = 'ZP0101119-01' 2024-05-01 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,'30962','8','B24050000181','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-05-06','2024-05-01 08:58:06','2024-05-01 23:59:09',null,'1','2024-03-23') 2024-05-01 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30962',`firm_id` = '8',`ordernumber` = 'B24050000181', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`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-05-06',`create_date` = '2024-05-01 08:58:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050000181' and product_code = 'ZP0101119-01', `lunar_date` = '2024-03-23' 2024-05-01 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050000222' and product_code = 'DG010203-01' 2024-05-01 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,'30963','8','B24050000222','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','3','900','2024-05-06','2024-05-01 15:07:55','2024-05-01 23:59:09',null,'1','2024-03-23') 2024-05-01 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30963',`firm_id` = '8',`ordernumber` = 'B24050000222', `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` = '3',`total_price` = '900',`etd` = '2024-05-06',`create_date` = '2024-05-01 15:07:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050000222' and product_code = 'DG010203-01', `lunar_date` = '2024-03-23' 2024-05-01 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050000222' and product_code = 'DG010203-02' 2024-05-01 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,'30963','8','B24050000222','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','1','0','0','1','0.0','2','600','2024-05-06','2024-05-01 15:07:55','2024-05-01 23:59:09',null,'1','2024-03-23') 2024-05-01 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30963',`firm_id` = '8',`ordernumber` = 'B24050000222', `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` = '2',`total_price` = '600',`etd` = '2024-05-06',`create_date` = '2024-05-01 15:07:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050000222' and product_code = 'DG010203-02', `lunar_date` = '2024-03-23' 2024-05-01 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050000222' and product_code = 'DG010203-05' 2024-05-01 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,'30963','8','B24050000222','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','1','300','2024-05-06','2024-05-01 15:07:55','2024-05-01 23:59:09',null,'1','2024-03-23') 2024-05-01 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30963',`firm_id` = '8',`ordernumber` = 'B24050000222', `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-05-06',`create_date` = '2024-05-01 15:07:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050000222' and product_code = 'DG010203-05', `lunar_date` = '2024-03-23' 2024-05-01 23:59:09 -- == sync_order_detail end == 2024-05-01 23:59:09 -- == 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-05-01' OR o.updated_at = '2024-05-01') and o.deleted_at is null 2024-05-01 23:59:09 -- == sync_order_detail start == 2024-05-01 23:59:09 -- start:2024-05-01,end:2024-05-01 2024-05-01 23:59:09 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-05-01 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-05-01 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-05-01%';