2024-06-27 23:59:02 -- == sync_order start == 2024-06-27 23:59:02 -- start:2024-06-27,end:2024-06-27 2024-06-27 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-06-27%' OR l.modify_date like '2024-06-27%'; 2024-06-27 23:59:03 -- == sync omo_order_list == 2024-06-27 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '295234', process_status = '6', pay_status = '5', totalprice_after = '160', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040098329' 2024-06-27 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '6', totalprice_after = '705', lunar_date = '2024-03-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050006521' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '6', totalprice_after = '650', lunar_date = '2024-03-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050008542' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '6', totalprice_after = '630', lunar_date = '2024-03-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050008834' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '7', totalprice_after = '0', lunar_date = '2024-03-25', invoice_status = '2',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050009398' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '7', totalprice_after = '0', lunar_date = '2024-03-25', invoice_status = '2',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050009419' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '7', totalprice_after = '0', lunar_date = '2024-03-25', invoice_status = '0',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050009531' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '7', totalprice_after = '0', lunar_date = '2024-03-25', invoice_status = '2',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050009659' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '7', totalprice_after = '0', lunar_date = '2024-03-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050009849' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '176640', lunar_date = '2024-04-13', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24050079114' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '394196', process_status = '2', pay_status = '1', totalprice_after = '1150', lunar_date = '2024-04-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060024633' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '394401', process_status = '2', pay_status = '1', totalprice_after = '3570', lunar_date = '2024-04-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060032899' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '394401', process_status = '2', pay_status = '1', totalprice_after = '6900', lunar_date = '2024-05-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060047745' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '395580', process_status = '3', pay_status = '1', totalprice_after = '1050', lunar_date = '2024-05-06', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060059350' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '96184', process_status = '2', pay_status = '1', totalprice_after = '3630', lunar_date = '2024-05-11', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060076113' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '15519', process_status = '3', pay_status = '1', totalprice_after = '5800', lunar_date = '2024-05-13', invoice_status = '1',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24060083719' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '396488', process_status = '2', pay_status = '1', totalprice_after = '8235', lunar_date = '2024-05-13', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24060084616' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '109501', process_status = '2', pay_status = '1', totalprice_after = '850', lunar_date = '2024-05-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060095393' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '323236', process_status = '2', pay_status = '1', totalprice_after = '1500', lunar_date = '2024-05-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060102941' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397754', process_status = '3', pay_status = '1', totalprice_after = '870', lunar_date = '2024-05-19', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060105830' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '157992', process_status = '3', pay_status = '1', totalprice_after = '18240', lunar_date = '2024-05-19', invoice_status = '1',category_name = '永康門市訂單,永康門市CALL客', category_id = '31,26' where ordernumber = 'S24060109517' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '276191', process_status = '2', pay_status = '1', totalprice_after = '2450', lunar_date = '2024-05-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060112517' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '165213', process_status = '2', pay_status = '1', totalprice_after = '57024', lunar_date = '2024-05-20', invoice_status = '1',category_name = '團媽訂單', category_id = '3' where ordernumber = 'S24060112989' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '32456', process_status = '2', pay_status = '1', totalprice_after = '155520', lunar_date = '2024-05-20', invoice_status = '1',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24060113911' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398050', process_status = '2', pay_status = '1', totalprice_after = '975', lunar_date = '2024-05-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060115235' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398106', process_status = '2', pay_status = '1', totalprice_after = '5570', lunar_date = '2024-05-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060115385' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398115', process_status = '2', pay_status = '1', totalprice_after = '7375', lunar_date = '2024-05-20', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060115869' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398120', process_status = '2', pay_status = '1', totalprice_after = '4470', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060115990' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398123', process_status = '2', pay_status = '1', totalprice_after = '3070', lunar_date = '2024-05-21', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060116111' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398115', process_status = '2', pay_status = '1', totalprice_after = '753', lunar_date = '2024-05-21', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24060116483' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398162', process_status = '2', pay_status = '1', totalprice_after = '1270', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060116973' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398121', process_status = '2', pay_status = '1', totalprice_after = '1410', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060117053' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '393216', process_status = '2', pay_status = '1', totalprice_after = '1430', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060117287' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '395580', process_status = '2', pay_status = '1', totalprice_after = '1200', lunar_date = '2024-05-21', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24060117398' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397757', process_status = '2', pay_status = '1', totalprice_after = '1770', lunar_date = '2024-05-21', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24060117575' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397801', process_status = '2', pay_status = '1', totalprice_after = '1180', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060117686' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398222', process_status = '2', pay_status = '1', totalprice_after = '3630', lunar_date = '2024-05-21', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24060117771' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '223304', process_status = '3', pay_status = '1', totalprice_after = '3540', lunar_date = '2024-05-21', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24060117831' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '166182', process_status = '1', pay_status = '1', totalprice_after = '8710', lunar_date = '2024-05-21', invoice_status = '0',category_name = 'LINE@訂單,正式彌月', category_id = '1,9' where ordernumber = 'S24060117978' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398254', process_status = '2', pay_status = '1', totalprice_after = '1140', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118186' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '387892', process_status = '2', pay_status = '1', totalprice_after = '930', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118231' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397756', process_status = '2', pay_status = '1', totalprice_after = '11826', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118322' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397756', process_status = '2', pay_status = '1', totalprice_after = '5460', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118477' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398276', process_status = '2', pay_status = '1', totalprice_after = '4670', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118513' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398277', process_status = '2', pay_status = '1', totalprice_after = '4040', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118666' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398308', process_status = '2', pay_status = '1', totalprice_after = '1270', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118738' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398248', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060118920' 2024-06-27 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398322', process_status = '2', pay_status = '1', totalprice_after = '4910', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060119430' 2024-06-27 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 ('186364','152689',1,'','','O24060119616','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','330','829','高雄市','湖內區','829','高雄市','湖內區','480','2024-06-27 00:18:58','2024-05-22') 2024-06-27 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 ('357273','393909',1,'','','O24060119754','1','11','1','1','1','','','0','2024-07-03','0','0','0','','0','30','5750','734','台南市','六甲區','710','台南市','永康區','5720','2024-06-27 00:36:55','2024-05-22') 2024-06-27 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 ('361718','398325',1,'','','O24060119812','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3360','813','高雄市','左營區','813','高雄市','左營區','3480','2024-06-27 01:56:17','2024-05-22') 2024-06-27 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 ('361627','398234',1,'LINE@訂單','9','S24060119924','1','4','1','1','1','28412550','台灣世曦工程顧問股份有限公司','0','2024-08-02','0','3570','0','','0','0','51000','114','台北市','內湖區','114','台北市','內湖區','47430','2024-06-27 09:43:26','2024-05-22') 2024-06-27 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 ('361739','398345',1,'','','O24060120091','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2900','326','桃園市','楊梅區','326','桃園市','楊梅區','3020','2024-06-27 11:44:02','2024-05-22') 2024-06-27 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 ('323119','360115',1,'','','O24060120177','1','11','1','6','6','','','0','2024-07-01','0','0','0','','150','0','390','402','台中市','南區','402','台中市','南區','540','2024-06-27 11:48:36','2024-05-22') 2024-06-27 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 ('138974','107164',1,'','','O24060120269','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','800','428','台中市','大雅區','428','台中市','大雅區','950','2024-06-27 12:11:38','2024-05-22') 2024-06-27 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 ('200210','166182',1,'正式彌月,LINE@訂單,美村門市訂單','1,9,32','S24060120381','1','2','6','1','1','','','0','2024-07-12','0','450','0','','0','0','10150','402','台中市','南區','402','台中市','南區','9700','2024-06-27 12:12:28','2024-05-22') 2024-06-27 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 ('280823','318365',1,'','','O24060120410','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1150','802','高雄市','苓雅區','802','高雄市','苓雅區','1300','2024-06-27 12:30:15','2024-05-22') 2024-06-27 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 ('361757','398362',1,'','','O24060120567','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1500','640','雲林縣','斗六市','640','雲林縣','斗六市','1620','2024-06-27 12:49:33','2024-05-22') 2024-06-27 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 ('251788','285623',1,'','','O24060120668','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1600','523','彰化縣','埤頭鄉','640','雲林縣','斗六市','1750','2024-06-27 13:30:33','2024-05-22') 2024-06-27 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 ('62882','0',1,'合作廠商訂貨','17','S24060120796','1','7','6','0','3','54898538','成真社會企業有限公司','1','2024-06-24','0','0','0','','0','0','2534','403','台中市','西區','403','台中市','西區','2534','2024-06-27 13:43:50','2024-05-22') 2024-06-27 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 ('361564','0',1,'迪化門市訂單','43','S24060120838','1','1','12','1','1','','','0','2024-07-11','0','0','0','','0','30','840','112','台北市','北投區','825','高雄市','橋頭區','810','2024-06-27 13:51:37','2024-05-22') 2024-06-27 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 ('360468','397086',1,'','','O24060120986','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1150','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1270','2024-06-27 13:55:15','2024-05-22') 2024-06-27 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 ('361797','398401',1,'電話訂單','12','S24060121096','1','2','1','0','0','55915416','佳晟電機股份有限公司','0','2024-08-28','0','720','0','','0','0','14400','420','台中市','豐原區','420','台中市','豐原區','13680','2024-06-27 14:09:25','2024-05-22') 2024-06-27 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 ('360468','397086',1,'','','O24060121190','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1150','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1300','2024-06-27 14:11:38','2024-05-22') 2024-06-27 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 ('361795','398399',1,'','','O24060121265','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','3000','338','桃園市','蘆竹區','338','桃園市','蘆竹區','3050','2024-06-27 14:13:25','2024-05-22') 2024-06-27 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 ('357422','394058',1,'','','O24060121323','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','700','830','高雄市','鳳山區','830','高雄市','鳳山區','820','2024-06-27 14:16:24','2024-05-22') 2024-06-27 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 ('201611','167538',1,'團媽訂單','3','S24060121444','1','4','1','1','1','85533077','采圻商店','0','2024-07-01','0','1296','0','','0','0','10800','814','高雄市','仁武區','814','高雄市','仁武區','9504','2024-06-27 14:24:28','2024-05-22') 2024-06-27 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 ('351347','388031',1,'','','O24060121598','1','11','1','1','1','27925292','英屬維京群島商韋豐利有限公司台灣分公司','0','0000-00-00','432','0','0','','0','0','8640','406','台中市','北屯區','403','台中市','西區','8208','2024-06-27 14:52:42','2024-05-22') 2024-06-27 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 ('347503','384225',1,'','','O24060121625','1','2','1','0','0','88318495','送子鳥11診所','0','0000-00-00','0','0','0','','150','0','1470','104','台北市','中山區','104','台北市','中山區','1620','2024-06-27 15:09:55','2024-05-22') 2024-06-27 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 ('200073','166046',1,'','','O24060121799','1','1','1','1','1','07927440','中鴻鋼鐵股份有限公司職工福利委員會','0','0000-00-00','1536','0','0','','0','0','30720','505','彰化縣','鹿港鎮','505','彰化縣','鹿港鎮','29184','2024-06-27 15:34:05','2024-05-22') 2024-06-27 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 ('361843','0',1,'美村門市訂單','32','S24060121838','1','6','1','1','1','','','1','2024-07-22','0','894','0','','0','0','17280','402','台中市','南區','404','台中市','北區','16386','2024-06-27 16:13:52','2024-05-22') 2024-06-27 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 ('165726','0',1,'插單群訂單','14','S24060121976','1','4','1','0','0','35268278','興拓實業股份有限公司','0','2024-07-05','0','810','0','','0','0','14685','403','台中市','西區','403','台中市','西區','13875','2024-06-27 16:26:28','2024-05-22') 2024-06-27 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 ('34434','183762',1,'','','O24060122027','1','2','1','0','0','80215664','盛彬企業有限公司','0','0000-00-00','0','0','0','','150','0','1150','411','台中市','太平區','411','台中市','太平區','1300','2024-06-27 16:32:52','2024-05-22') 2024-06-27 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 ('361881','398484',1,'','','O24060122198','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','700','514','彰化縣','溪湖鎮','514','彰化縣','溪湖鎮','820','2024-06-27 17:28:21','2024-05-22') 2024-06-27 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 ('333542','370424',1,'','','O24060122265','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1630','363','苗栗縣','公館鄉','363','苗栗縣','公館鄉','1780','2024-06-27 18:11:24','2024-05-22') 2024-06-27 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 ('361942','398545',1,'','','O24060122353','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1500','320','桃園市','中壢區','320','桃園市','中壢區','1620','2024-06-27 20:37:56','2024-05-22') 2024-06-27 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 ('361944','398547',1,'','','O24060122483','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1460','709','台南市','安南區','709','台南市','安南區','1580','2024-06-27 21:11:02','2024-05-22') 2024-06-27 23:59:05 -- == sync_order end == 2024-06-27 23:59:05 -- == sync_order_detail start == 2024-06-27 23:59:05 -- start:2024-06-27,end:2024-06-27 2024-06-27 23:59:05 -- == sync omo_order_detail == 2024-06-27 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-06-27%' OR modify_date like '2024-06-27%' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040098329' and product_code = 'DG010404-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231447',`firm_id` = '8',`ordernumber` = 'O24040098329', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2024-06-28',`create_date` = '2024-04-30 17:06:49',`modify_date` = '2024-06-27 11:24:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-22'where ordernumber = 'O24040098329' and product_code = 'DG010404-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050006521' and product_code = 'DG010315-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231525',`firm_id` = '8',`ordernumber` = 'O24050006521', `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-06-28',`create_date` = '2024-05-02 18:03:32',`modify_date` = '2024-06-27 16:51:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-24'where ordernumber = 'O24050006521' and product_code = 'DG010315-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050008542' and product_code = 'DG010327-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231545',`firm_id` = '8',`ordernumber` = 'O24050008542', `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` = '1',`total_price` = '500',`etd` = '2024-06-28',`create_date` = '2024-05-03 10:08:46',`modify_date` = '2024-06-27 16:51:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050008542' and product_code = 'DG010327-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050008834' and product_code = 'DG0103148-05' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231548',`firm_id` = '8',`ordernumber` = 'O24050008834', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-06-28',`create_date` = '2024-05-03 10:13:06',`modify_date` = '2024-06-27 16:52:03',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050008834' and product_code = 'DG0103148-05' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050009398' and product_code = 'DG010315-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231553',`firm_id` = '8',`ordernumber` = 'O24050009398', `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-06-28',`create_date` = '2024-05-03 11:00:46',`modify_date` = '2024-06-27 12:12:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050009398' and product_code = 'DG010315-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050009419' and product_code = 'DG010312-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231554',`firm_id` = '8',`ordernumber` = 'O24050009419', `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-06-28',`create_date` = '2024-05-03 11:06:57',`modify_date` = '2024-06-27 12:13:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050009419' and product_code = 'DG010312-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050009531' and product_code = 'DG010261-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231555',`firm_id` = '8',`ordernumber` = 'O24050009531', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`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-06-28',`create_date` = '2024-05-03 11:16:11',`modify_date` = '2024-06-27 12:14:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050009531' and product_code = 'DG010261-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050009659' and product_code = 'LS010101-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231556',`firm_id` = '8',`ordernumber` = 'O24050009659', `product_name` = '分享包-無糖芒果乾',`product_code` = 'LS010101-01',`product_sn` = 'LS010101',`product_spec` = '180g芒果乾分享包',`invoice_name` = '(紅袋)芒果乾',`listprice` = '360',`sellingprice` = '360',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-06-28',`create_date` = '2024-05-03 11:28:49',`modify_date` = '2024-06-27 12:15:17',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050009659' and product_code = 'LS010101-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050009849' and product_code = 'FL010102-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231558',`firm_id` = '8',`ordernumber` = 'O24050009849', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '165',`etd` = '2024-06-28',`create_date` = '2024-05-03 11:36:11',`modify_date` = '2024-06-27 12:15:56',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'O24050009849' and product_code = 'FL010102-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050079114' and product_code = 'DG010107-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232251',`firm_id` = '8',`ordernumber` = 'S24050079114', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '736',`total_price` = '176640',`etd` = '2024-06-26',`create_date` = '2024-05-20 13:30:51',`modify_date` = '2024-06-27 11:35:56',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-13'where ordernumber = 'S24050079114' and product_code = 'DG010107-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060059350' and product_code = 'DG0103155-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233685',`firm_id` = '8',`ordernumber` = 'O24060059350', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-06-13',`create_date` = '2024-06-11 17:16:08',`modify_date` = '2024-06-27 10:34:17',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-06'where ordernumber = 'O24060059350' and product_code = 'DG0103155-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060083719' and product_code = 'DG010527-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233929',`firm_id` = '8',`ordernumber` = 'S24060083719', `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` = '20',`total_price` = '5800',`etd` = '2024-06-27',`create_date` = '2024-06-18 11:32:09',`modify_date` = '2024-06-27 13:08:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-13'where ordernumber = 'S24060083719' and product_code = 'DG010527-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060105830' and product_code = '13988' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234150',`firm_id` = '8',`ordernumber` = 'O24060105830', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13988',`product_sn` = '13987',`product_spec` = '芝麻',`invoice_name` = '組合-32入芝麻+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-06-26',`create_date` = '2024-06-24 05:22:46',`modify_date` = '2024-06-27 11:35:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-19'where ordernumber = 'O24060105830' and product_code = '13988' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060105830' and product_code = 'BP010159-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234150',`firm_id` = '8',`ordernumber` = 'O24060105830', `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-06-26',`create_date` = '2024-06-24 05:22:46',`modify_date` = '2024-06-27 11:35:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-19'where ordernumber = 'O24060105830' and product_code = 'BP010159-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060109517' and product_code = 'DG010312-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234186',`firm_id` = '8',`ordernumber` = 'S24060109517', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '40',`total_price` = '19200',`etd` = '2024-06-27',`create_date` = '2024-06-24 17:24:31',`modify_date` = '2024-06-27 15:47:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-19'where ordernumber = 'S24060109517' and product_code = 'DG010312-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060112989' and product_code = 'DG010113-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234220',`firm_id` = '8',`ordernumber` = 'S24060112989', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '96',`total_price` = '21600',`etd` = '2024-06-27',`create_date` = '2024-06-25 13:22:36',`modify_date` = '2024-06-27 10:02:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'S24060112989' and product_code = 'DG010113-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060112989' and product_code = 'DG010113-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234220',`firm_id` = '8',`ordernumber` = 'S24060112989', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-06-27',`create_date` = '2024-06-25 13:22:36',`modify_date` = '2024-06-27 10:02:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'S24060112989' and product_code = 'DG010113-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060112989' and product_code = 'DG010113-03' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234220',`firm_id` = '8',`ordernumber` = 'S24060112989', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-06-27',`create_date` = '2024-06-25 13:22:36',`modify_date` = '2024-06-27 10:02:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'S24060112989' and product_code = 'DG010113-03' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060112989' and product_code = 'DG010113-04' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234220',`firm_id` = '8',`ordernumber` = 'S24060112989', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`product_sn` = 'DG010113',`product_spec` = '海苔',`invoice_name` = '32入海苔',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-06-27',`create_date` = '2024-06-25 13:22:36',`modify_date` = '2024-06-27 10:02:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'S24060112989' and product_code = 'DG010113-04' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060112989' and product_code = 'DG010113-05' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234220',`firm_id` = '8',`ordernumber` = 'S24060112989', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-06-27',`create_date` = '2024-06-25 13:22:36',`modify_date` = '2024-06-27 10:02:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'S24060112989' and product_code = 'DG010113-05' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060115869' and product_code = 'DG010258-02' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234249',`firm_id` = '8',`ordernumber` = 'O24060115869', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4425',`etd` = '2024-06-27',`create_date` = '2024-06-25 22:56:38',`modify_date` = '2024-06-27 08:21:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'O24060115869' and product_code = 'DG010258-02' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060115869' and product_code = 'DG010258-05' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234249',`firm_id` = '8',`ordernumber` = 'O24060115869', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2950',`etd` = '2024-06-27',`create_date` = '2024-06-25 22:56:38',`modify_date` = '2024-06-27 08:21:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'O24060115869' and product_code = 'DG010258-05' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060115869' and product_code = 'ZP0101135-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234249',`firm_id` = '8',`ordernumber` = 'O24060115869', `product_name` = '贈品-復古紅提袋x2',`product_code` = 'ZP0101135-01',`product_sn` = 'ZP0101135',`product_spec` = '贈品-復古紅提袋x2',`invoice_name` = '贈品-[復古]提袋x2',`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-06-27',`create_date` = '2024-06-25 22:56:38',`modify_date` = '2024-06-27 08:21:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-20'where ordernumber = 'O24060115869' and product_code = 'ZP0101135-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117398' and product_code = '40000' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234264',`firm_id` = '8',`ordernumber` = 'S24060117398', `product_name` = '運費',`product_code` = '40000',`product_sn` = '40000',`product_spec` = '150運費',`invoice_name` = '150運費',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-06-27',`create_date` = '2024-06-26 13:49:37',`modify_date` = '2024-06-27 10:40:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117398' and product_code = '40000' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117831' and product_code = 'DG010101-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234269',`firm_id` = '8',`ordernumber` = 'S24060117831', `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` = '11',`total_price` = '3080',`etd` = '2024-06-27',`create_date` = '2024-06-26 15:57:17',`modify_date` = '2024-06-27 11:33:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117831' and product_code = 'DG010101-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117831' and product_code = 'BP010128-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234269',`firm_id` = '8',`ordernumber` = 'S24060117831', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '110',`etd` = '2024-06-27',`create_date` = '2024-06-26 15:57:17',`modify_date` = '2024-06-27 11:33:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117831' and product_code = 'BP010128-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117978' and product_code = 'DG010222-01' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234270',`firm_id` = '8',`ordernumber` = 'S24060117978', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-07-09',`create_date` = '2024-06-26 16:20:01',`modify_date` = '2024-06-27 12:18:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117978' and product_code = 'DG010222-01' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117978' and product_code = 'DG010222-05' 2024-06-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234270',`firm_id` = '8',`ordernumber` = 'S24060117978', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '23',`total_price` = '6900',`etd` = '2024-07-09',`create_date` = '2024-06-26 16:20:01',`modify_date` = '2024-06-27 12:18:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117978' and product_code = 'DG010222-05' 2024-06-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117978' and product_code = 'DG010222-03' 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234270',`firm_id` = '8',`ordernumber` = 'S24060117978', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-07-09',`create_date` = '2024-06-26 16:20:01',`modify_date` = '2024-06-27 12:18:11',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117978' and product_code = 'DG010222-03' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117978' and product_code = 'DG010222-02' 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234270',`firm_id` = '8',`ordernumber` = 'S24060117978', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-09',`create_date` = '2024-06-26 16:20:01',`modify_date` = '2024-06-27 12:18:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117978' and product_code = 'DG010222-02' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117978' and product_code = 'ZP0101119-01' 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234270',`firm_id` = '8',`ordernumber` = 'S24060117978', `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` = '0',`total_price` = '0',`etd` = '2024-07-09',`create_date` = '2024-06-26 16:20:01',`modify_date` = '2024-06-27 12:18:11',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117978' and product_code = 'ZP0101119-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117978' and product_code = 'DG010576-28' 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234270',`firm_id` = '8',`ordernumber` = 'S24060117978', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-28',`product_sn` = 'DG010576',`product_spec` = '原味x2+咖啡x2+巧克力x1',`invoice_name` = '組合-32入(原味x2+咖啡x2+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-07-09',`create_date` = '2024-06-26 16:20:01',`modify_date` = '2024-06-27 12:18:11',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-05-21'where ordernumber = 'S24060117978' and product_code = 'DG010576-28' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119616' and product_code = 'FL010102-01' 2024-06-27 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,'234287','8','O24060119616','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','2','330','2024-07-02','2024-06-27 00:18:58','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234287',`firm_id` = '8',`ordernumber` = 'O24060119616', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '330',`etd` = '2024-07-02',`create_date` = '2024-06-27 00:18:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119616' and product_code = 'FL010102-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119754' and product_code = 'DG010576-33' 2024-06-27 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,'234288','8','O24060119754','【品牌月獨家】經典蛋捲五入組','DG010576-33','DG010576','原味x2+海苔x2+巧克力x1','組合-32入(原味x2+海苔x2+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-03','2024-06-27 00:36:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234288',`firm_id` = '8',`ordernumber` = 'O24060119754', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-33',`product_sn` = 'DG010576',`product_spec` = '原味x2+海苔x2+巧克力x1',`invoice_name` = '組合-32入(原味x2+海苔x2+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-03',`create_date` = '2024-06-27 00:36:55',`modify_date` = '2024-06-27 09:49:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119754' and product_code = 'DG010576-33' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119754' and product_code = 'DG010576-80' 2024-06-27 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,'234288','8','O24060119754','【品牌月獨家】經典蛋捲五入組','DG010576-80','DG010576','芝麻x3+巧克力x2','組合-32入(芝麻x3+巧克力x2)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-03','2024-06-27 00:36:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234288',`firm_id` = '8',`ordernumber` = 'O24060119754', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-80',`product_sn` = 'DG010576',`product_spec` = '芝麻x3+巧克力x2',`invoice_name` = '組合-32入(芝麻x3+巧克力x2)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-03',`create_date` = '2024-06-27 00:36:55',`modify_date` = '2024-06-27 09:49:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119754' and product_code = 'DG010576-80' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119754' and product_code = 'DG010576-01' 2024-06-27 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,'234288','8','O24060119754','【品牌月獨家】經典蛋捲五入組','DG010576-01','DG010576','原味x5','組合-32入原味x5+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-03','2024-06-27 00:36:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234288',`firm_id` = '8',`ordernumber` = 'O24060119754', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-01',`product_sn` = 'DG010576',`product_spec` = '原味x5',`invoice_name` = '組合-32入原味x5+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-03',`create_date` = '2024-06-27 00:36:55',`modify_date` = '2024-06-27 09:49:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119754' and product_code = 'DG010576-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119754' and product_code = 'DG010576-06' 2024-06-27 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,'234288','8','O24060119754','【品牌月獨家】經典蛋捲五入組','DG010576-06','DG010576','原味x3+芝麻x2','組合-32入(原味x3+芝麻x2)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-03','2024-06-27 00:36:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234288',`firm_id` = '8',`ordernumber` = 'O24060119754', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-06',`product_sn` = 'DG010576',`product_spec` = '原味x3+芝麻x2',`invoice_name` = '組合-32入(原味x3+芝麻x2)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-03',`create_date` = '2024-06-27 00:36:55',`modify_date` = '2024-06-27 09:49:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119754' and product_code = 'DG010576-06' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119754' and product_code = 'DG010576-19' 2024-06-27 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,'234288','8','O24060119754','【品牌月獨家】經典蛋捲五入組','DG010576-19','DG010576','原味x2+芝麻x2+巧克力x1','組合-32入(原味x2+芝麻x2+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-03','2024-06-27 00:36:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234288',`firm_id` = '8',`ordernumber` = 'O24060119754', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-19',`product_sn` = 'DG010576',`product_spec` = '原味x2+芝麻x2+巧克力x1',`invoice_name` = '組合-32入(原味x2+芝麻x2+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-03',`create_date` = '2024-06-27 00:36:55',`modify_date` = '2024-06-27 09:49:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119754' and product_code = 'DG010576-19' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119754' and product_code = 'ZP0101133-01' 2024-06-27 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,'234288','8','O24060119754','贈品-復古紅提袋','ZP0101133-01','ZP0101133','贈品-復古紅提袋','贈品-[復古]提袋','0','0','0','0','0','0','1','0.0','1','0','2024-07-03','2024-06-27 00:36:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234288',`firm_id` = '8',`ordernumber` = 'O24060119754', `product_name` = '贈品-復古紅提袋',`product_code` = 'ZP0101133-01',`product_sn` = 'ZP0101133',`product_spec` = '贈品-復古紅提袋',`invoice_name` = '贈品-[復古]提袋',`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-07-03',`create_date` = '2024-06-27 00:36:55',`modify_date` = '2024-06-27 09:49:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119754' and product_code = 'ZP0101133-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119812' and product_code = 'DG0103148-11' 2024-06-27 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,'234289','8','O24060119812','金典8結禮盒','DG0103148-11','DG0103148','咖啡+海苔','禮盒-金典(紅)【咖啡+海苔】','480','480','0','0','0','0','1','0.0','2','960','2024-07-04','2024-06-27 01:56:17','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234289',`firm_id` = '8',`ordernumber` = 'O24060119812', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-11',`product_sn` = 'DG0103148',`product_spec` = '咖啡+海苔',`invoice_name` = '禮盒-金典(紅)【咖啡+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-07-04',`create_date` = '2024-06-27 01:56:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119812' and product_code = 'DG0103148-11' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119812' and product_code = 'DG0103148-14' 2024-06-27 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,'234289','8','O24060119812','金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-07-04','2024-06-27 01:56:17','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234289',`firm_id` = '8',`ordernumber` = 'O24060119812', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-14',`product_sn` = 'DG0103148',`product_spec` = '巧克力+海苔',`invoice_name` = '禮盒-金典(紅)【海苔+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-04',`create_date` = '2024-06-27 01:56:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119812' and product_code = 'DG0103148-14' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119812' and product_code = 'DG0103148-02' 2024-06-27 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,'234289','8','O24060119812','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','3','1440','2024-07-04','2024-06-27 01:56:17','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234289',`firm_id` = '8',`ordernumber` = 'O24060119812', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-04',`create_date` = '2024-06-27 01:56:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119812' and product_code = 'DG0103148-02' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119812' and product_code = 'DG0103148-09' 2024-06-27 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,'234289','8','O24060119812','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-07-04','2024-06-27 01:56:17','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234289',`firm_id` = '8',`ordernumber` = 'O24060119812', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-09',`product_sn` = 'DG0103148',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-金典(紅)【芝麻+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-04',`create_date` = '2024-06-27 01:56:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119812' and product_code = 'DG0103148-09' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060119812' and product_code = 'ZP0101133-01' 2024-06-27 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,'234289','8','O24060119812','贈品-復古紅提袋','ZP0101133-01','ZP0101133','贈品-復古紅提袋','贈品-[復古]提袋','0','0','0','0','0','0','1','0.0','1','0','2024-07-04','2024-06-27 01:56:17','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234289',`firm_id` = '8',`ordernumber` = 'O24060119812', `product_name` = '贈品-復古紅提袋',`product_code` = 'ZP0101133-01',`product_sn` = 'ZP0101133',`product_spec` = '贈品-復古紅提袋',`invoice_name` = '贈品-[復古]提袋',`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-07-04',`create_date` = '2024-06-27 01:56:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060119812' and product_code = 'ZP0101133-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060119924' and product_code = 'DG010203-01' 2024-06-27 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,'234290','8','S24060119924','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','45','13500','2024-08-02','2024-06-27 09:43:26','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234290',`firm_id` = '8',`ordernumber` = 'S24060119924', `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` = '45',`total_price` = '13500',`etd` = '2024-08-02',`create_date` = '2024-06-27 09:43:26',`modify_date` = '2024-06-27 14:55:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060119924' and product_code = 'DG010203-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060119924' and product_code = 'DG010203-02' 2024-06-27 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,'234290','8','S24060119924','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','45','13500','2024-08-02','2024-06-27 09:43:26','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234290',`firm_id` = '8',`ordernumber` = 'S24060119924', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '45',`total_price` = '13500',`etd` = '2024-08-02',`create_date` = '2024-06-27 09:43:26',`modify_date` = '2024-06-27 14:55:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060119924' and product_code = 'DG010203-02' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060119924' and product_code = 'DG010203-05' 2024-06-27 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,'234290','8','S24060119924','【小王子聯名】閃耀星空8結提盒','DG010203-05','DG010203','40入巧克力蛋捲','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','40','12000','2024-08-02','2024-06-27 09:43:26','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234290',`firm_id` = '8',`ordernumber` = 'S24060119924', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-05',`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` = '40',`total_price` = '12000',`etd` = '2024-08-02',`create_date` = '2024-06-27 09:43:26',`modify_date` = '2024-06-27 14:55:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060119924' and product_code = 'DG010203-05' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060119924' and product_code = 'DG010203-04' 2024-06-27 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,'234290','8','S24060119924','【小王子聯名】閃耀星空8結提盒','DG010203-04','DG010203','40入海苔蛋捲','提盒-小王子(藍)-40入海苔','300','300','0','0','0','0','1','0.0','40','12000','2024-08-02','2024-06-27 09:43:26','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234290',`firm_id` = '8',`ordernumber` = 'S24060119924', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-04',`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` = '40',`total_price` = '12000',`etd` = '2024-08-02',`create_date` = '2024-06-27 09:43:26',`modify_date` = '2024-06-27 14:55:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060119924' and product_code = 'DG010203-04' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060119924' and product_code = 'ZP0101148-01' 2024-06-27 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,'234290','8','S24060119924','贈品-復古紅提袋x15','ZP0101148-01','ZP0101148','贈品-復古紅提袋x15','贈品-[復古]提袋x15','0','0','0','0','0','0','1','0.0','1','0','2024-08-02','2024-06-27 09:43:26','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234290',`firm_id` = '8',`ordernumber` = 'S24060119924', `product_name` = '贈品-復古紅提袋x15',`product_code` = 'ZP0101148-01',`product_sn` = 'ZP0101148',`product_spec` = '贈品-復古紅提袋x15',`invoice_name` = '贈品-[復古]提袋x15',`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-08-02',`create_date` = '2024-06-27 09:43:26',`modify_date` = '2024-06-27 14:55:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060119924' and product_code = 'ZP0101148-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060117398' and product_code = 'DG0103155-02' 2024-06-27 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,'234264','8','S24060117398','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲.芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','2','1000','2024-06-27','2024-06-27 10:33:55','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234264',`firm_id` = '8',`ordernumber` = 'S24060117398', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲.芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-06-27',`create_date` = '2024-06-27 10:33:55',`modify_date` = '2024-06-27 10:40:49',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060117398' and product_code = 'DG0103155-02' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120091' and product_code = 'DG010527-01' 2024-06-27 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,'234291','8','O24060120091','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-07-01','2024-06-27 11:44:02','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234291',`firm_id` = '8',`ordernumber` = 'O24060120091', `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-07-01',`create_date` = '2024-06-27 11:44:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120091' and product_code = 'DG010527-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120091' and product_code = '13656' 2024-06-27 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,'234291','8','O24060120091','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-07-01','2024-06-27 11:44:02','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234291',`firm_id` = '8',`ordernumber` = 'O24060120091', `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` = '5',`total_price` = '1450',`etd` = '2024-07-01',`create_date` = '2024-06-27 11:44:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120091' and product_code = '13656' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120177' and product_code = '13987' 2024-06-27 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,'234292','8','O24060120177','【官網限定】小王子小提袋蛋捲組','13987','13987','原味','組合-32入原味+小王子小提袋','390','390','0','0','0','1','1','0.0','1','390','2024-07-01','2024-06-27 11:48:36','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234292',`firm_id` = '8',`ordernumber` = 'O24060120177', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13987',`product_sn` = '13987',`product_spec` = '原味',`invoice_name` = '組合-32入原味+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-07-01',`create_date` = '2024-06-27 11:48:36',`modify_date` = '2024-06-27 16:54:49',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120177' and product_code = '13987' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120269' and product_code = 'DG0105100-01' 2024-06-27 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,'234293','8','O24060120269','【品牌月獨家】復古紅提袋蛋捲組','DG0105100-01','DG0105100','原味蛋捲+復古紅提袋','組合-32入原味+[復古]提袋','400','400','0','0','0','0','1','0.0','1','400','2024-07-01','2024-06-27 12:11:38','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234293',`firm_id` = '8',`ordernumber` = 'O24060120269', `product_name` = '【品牌月獨家】復古紅提袋蛋捲組',`product_code` = 'DG0105100-01',`product_sn` = 'DG0105100',`product_spec` = '原味蛋捲+復古紅提袋',`invoice_name` = '組合-32入原味+[復古]提袋',`listprice` = '400',`sellingprice` = '400',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '400',`etd` = '2024-07-01',`create_date` = '2024-06-27 12:11:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120269' and product_code = 'DG0105100-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120269' and product_code = 'DG0105100-05' 2024-06-27 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,'234293','8','O24060120269','【品牌月獨家】復古紅提袋蛋捲組','DG0105100-05','DG0105100','巧克力蛋捲+復古紅提袋','組合-32入巧克力 +[復古]提袋','400','400','0','0','0','0','1','0.0','1','400','2024-07-01','2024-06-27 12:11:38','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234293',`firm_id` = '8',`ordernumber` = 'O24060120269', `product_name` = '【品牌月獨家】復古紅提袋蛋捲組',`product_code` = 'DG0105100-05',`product_sn` = 'DG0105100',`product_spec` = '巧克力蛋捲+復古紅提袋',`invoice_name` = '組合-32入巧克力 +[復古]提袋',`listprice` = '400',`sellingprice` = '400',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '400',`etd` = '2024-07-01',`create_date` = '2024-06-27 12:11:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120269' and product_code = 'DG0105100-05' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120381' and product_code = 'DG010222-01' 2024-06-27 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,'234294','8','S24060120381','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','21','6300','2024-07-12','2024-06-27 12:12:28','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234294',`firm_id` = '8',`ordernumber` = 'S24060120381', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '21',`total_price` = '6300',`etd` = '2024-07-12',`create_date` = '2024-06-27 12:12:28',`modify_date` = '2024-06-27 12:41:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120381' and product_code = 'DG010222-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120381' and product_code = 'DG010222-03' 2024-06-27 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,'234294','8','S24060120381','【小王子聯名】夢想旅程8結提盒','DG010222-03','DG010222','40入咖啡蛋捲','提盒-小王子(紅)-40入咖啡','300','300','0','0','0','0','1','0.0','8','2400','2024-07-12','2024-06-27 12:12:28','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234294',`firm_id` = '8',`ordernumber` = 'S24060120381', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2400',`etd` = '2024-07-12',`create_date` = '2024-06-27 12:12:28',`modify_date` = '2024-06-27 12:41:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120381' and product_code = 'DG010222-03' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120381' and product_code = 'DG010222-05' 2024-06-27 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,'234294','8','S24060120381','【小王子聯名】夢想旅程8結提盒','DG010222-05','DG010222','40入巧克力蛋捲','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-07-12','2024-06-27 12:12:28','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234294',`firm_id` = '8',`ordernumber` = 'S24060120381', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-12',`create_date` = '2024-06-27 12:12:28',`modify_date` = '2024-06-27 12:41:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120381' and product_code = 'DG010222-05' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120381' and product_code = 'DG010576-28' 2024-06-27 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,'234294','8','S24060120381','【品牌月獨家】經典蛋捲五入組','DG010576-28','DG010576','原味x2+咖啡x2+巧克力x1','組合-32入(原味x2+咖啡x2+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-12','2024-06-27 12:12:28','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234294',`firm_id` = '8',`ordernumber` = 'S24060120381', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-28',`product_sn` = 'DG010576',`product_spec` = '原味x2+咖啡x2+巧克力x1',`invoice_name` = '組合-32入(原味x2+咖啡x2+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-12',`create_date` = '2024-06-27 12:12:28',`modify_date` = '2024-06-27 12:41:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120381' and product_code = 'DG010576-28' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120381' and product_code = 'ZP0101119-01' 2024-06-27 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,'234294','8','S24060120381','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-12','2024-06-27 12:12:28','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234294',`firm_id` = '8',`ordernumber` = 'S24060120381', `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-07-12',`create_date` = '2024-06-27 12:12:28',`modify_date` = '2024-06-27 12:41:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120381' and product_code = 'ZP0101119-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120410' and product_code = 'DG010576-50' 2024-06-27 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,'234295','8','O24060120410','【品牌月獨家】經典蛋捲五入組','DG010576-50','DG010576','原+芝+巧+咖+海','組合-32入(原味x1+芝麻x1+咖啡x1+海苔x1+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-05','2024-06-27 12:30:15','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234295',`firm_id` = '8',`ordernumber` = 'O24060120410', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-50',`product_sn` = 'DG010576',`product_spec` = '原+芝+巧+咖+海',`invoice_name` = '組合-32入(原味x1+芝麻x1+咖啡x1+海苔x1+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-05',`create_date` = '2024-06-27 12:30:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120410' and product_code = 'DG010576-50' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120567' and product_code = 'DG0103155-05' 2024-06-27 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,'234296','8','O24060120567','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-07-01','2024-06-27 12:49:33','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234296',`firm_id` = '8',`ordernumber` = 'O24060120567', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-01',`create_date` = '2024-06-27 12:49:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120567' and product_code = 'DG0103155-05' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120567' and product_code = 'DG0103155-01' 2024-06-27 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,'234296','8','O24060120567','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-01','DG0103155','原味蛋捲,原味蛋捲','禮盒-SNOOPY【原味+原味】','500','500','0','0','0','0','1','0.0','2','1000','2024-07-01','2024-06-27 12:49:33','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234296',`firm_id` = '8',`ordernumber` = 'O24060120567', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-01',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,原味蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+原味】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-07-01',`create_date` = '2024-06-27 12:49:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120567' and product_code = 'DG0103155-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120668' and product_code = 'DG010101-01' 2024-06-27 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,'234297','8','O24060120668','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-07-01','2024-06-27 13:30:33','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234297',`firm_id` = '8',`ordernumber` = 'O24060120668', `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-07-01',`create_date` = '2024-06-27 13:30:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120668' and product_code = 'DG010101-01' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120668' and product_code = 'DG010312-07' 2024-06-27 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,'234297','8','O24060120668','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-07-01','2024-06-27 13:30:33','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234297',`firm_id` = '8',`ordernumber` = 'O24060120668', `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` = '1',`total_price` = '480',`etd` = '2024-07-01',`create_date` = '2024-06-27 13:30:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120668' and product_code = 'DG010312-07' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120796' and product_code = '03707' 2024-06-27 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,'234298','8','S24060120796','【廠商專用】成真咖啡禮盒','03707','03515','ESG藍金【原味蛋捲+成真咖啡盒套(不需咖啡包)】','禮盒-ESG藍金【原味蛋捲+成真咖啡盒套(不放咖啡包)】','181','181','0','0','0','0','1','0.0','14','2534','2024-06-24','2024-06-27 13:43:50','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234298',`firm_id` = '8',`ordernumber` = 'S24060120796', `product_name` = '【廠商專用】成真咖啡禮盒',`product_code` = '03707',`product_sn` = '03515',`product_spec` = 'ESG藍金【原味蛋捲+成真咖啡盒套(不需咖啡包)】',`invoice_name` = '禮盒-ESG藍金【原味蛋捲+成真咖啡盒套(不放咖啡包)】',`listprice` = '181',`sellingprice` = '181',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '2534',`etd` = '2024-06-24',`create_date` = '2024-06-27 13:43:50',`modify_date` = '2024-06-27 15:10:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120796' and product_code = '03707' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060120838' and product_code = 'DG010101-02' 2024-06-27 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,'234299','8','S24060120838','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-07-11','2024-06-27 13:51:37','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234299',`firm_id` = '8',`ordernumber` = 'S24060120838', `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` = '3',`total_price` = '840',`etd` = '2024-07-11',`create_date` = '2024-06-27 13:51:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060120838' and product_code = 'DG010101-02' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060120986' and product_code = 'DG010576-28' 2024-06-27 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,'234300','8','O24060120986','【品牌月獨家】經典蛋捲五入組','DG010576-28','DG010576','原味x2+咖啡x2+巧克力x1','組合-32入(原味x2+咖啡x2+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-01','2024-06-27 13:55:15','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234300',`firm_id` = '8',`ordernumber` = 'O24060120986', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-28',`product_sn` = 'DG010576',`product_spec` = '原味x2+咖啡x2+巧克力x1',`invoice_name` = '組合-32入(原味x2+咖啡x2+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-01',`create_date` = '2024-06-27 13:55:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060120986' and product_code = 'DG010576-28' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121096' and product_code = 'DG010312-05' 2024-06-27 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,'234301','8','S24060121096','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','30','14400','2024-08-28','2024-06-27 14:09:25','2024-06-27 23:59:07',0,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234301',`firm_id` = '8',`ordernumber` = 'S24060121096', `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` = '30',`total_price` = '14400',`etd` = '2024-08-28',`create_date` = '2024-06-27 14:09:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121096' and product_code = 'DG010312-05' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121190' and product_code = 'DG010576-27' 2024-06-27 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,'234302','8','O24060121190','【品牌月獨家】經典蛋捲五入組','DG010576-27','DG010576','原味x2+咖啡x2+海苔x1','組合-32入(原味x2+咖啡x2+海苔x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-01','2024-06-27 14:11:38','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234302',`firm_id` = '8',`ordernumber` = 'O24060121190', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-27',`product_sn` = 'DG010576',`product_spec` = '原味x2+咖啡x2+海苔x1',`invoice_name` = '組合-32入(原味x2+咖啡x2+海苔x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:11:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121190' and product_code = 'DG010576-27' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121265' and product_code = 'DG0103155-02' 2024-06-27 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,'234303','8','O24060121265','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','6','3000','2024-07-01','2024-06-27 14:13:25','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234303',`firm_id` = '8',`ordernumber` = 'O24060121265', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '3000',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:13:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121265' and product_code = 'DG0103155-02' 2024-06-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121323' and product_code = 'DG010599-14' 2024-06-27 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,'234304','8','O24060121323','【品牌月獨家】經典蛋捲三入組','DG010599-14','DG010599','原味+巧克力+海苔','組合-32入(原味+海苔+巧克力)+紅色提袋','700','700','0','0','0','1','1','0.0','1','700','2024-07-01','2024-06-27 14:16:24','2024-06-27 23:59:07',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234304',`firm_id` = '8',`ordernumber` = 'O24060121323', `product_name` = '【品牌月獨家】經典蛋捲三入組',`product_code` = 'DG010599-14',`product_sn` = 'DG010599',`product_spec` = '原味+巧克力+海苔',`invoice_name` = '組合-32入(原味+海苔+巧克力)+紅色提袋',`listprice` = '700',`sellingprice` = '700',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '700',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:16:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121323' and product_code = 'DG010599-14' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121444' and product_code = 'DG010113-01' 2024-06-27 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,'234305','8','S24060121444','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','18','4050','2024-07-01','2024-06-27 14:24:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234305',`firm_id` = '8',`ordernumber` = 'S24060121444', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '4050',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:24:28',`modify_date` = '2024-06-27 14:45:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121444' and product_code = 'DG010113-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121444' and product_code = 'DG010113-02' 2024-06-27 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,'234305','8','S24060121444','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','7','1575','2024-07-01','2024-06-27 14:24:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234305',`firm_id` = '8',`ordernumber` = 'S24060121444', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '1575',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:24:28',`modify_date` = '2024-06-27 14:45:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121444' and product_code = 'DG010113-02' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121444' and product_code = 'DG010113-04' 2024-06-27 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,'234305','8','S24060121444','海苔小盒','DG010113-04','DG010113','海苔','32入海苔','225','225','0','0','0','0','1','0.0','2','450','2024-07-01','2024-06-27 14:24:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234305',`firm_id` = '8',`ordernumber` = 'S24060121444', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`product_sn` = 'DG010113',`product_spec` = '海苔',`invoice_name` = '32入海苔',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '450',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:24:28',`modify_date` = '2024-06-27 14:45:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121444' and product_code = 'DG010113-04' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121444' and product_code = 'DG010113-03' 2024-06-27 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,'234305','8','S24060121444','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','7','1575','2024-07-01','2024-06-27 14:24:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234305',`firm_id` = '8',`ordernumber` = 'S24060121444', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '1575',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:24:28',`modify_date` = '2024-06-27 14:45:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121444' and product_code = 'DG010113-03' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121444' and product_code = 'DG010113-05' 2024-06-27 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,'234305','8','S24060121444','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','14','3150','2024-07-01','2024-06-27 14:24:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234305',`firm_id` = '8',`ordernumber` = 'S24060121444', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '3150',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:24:28',`modify_date` = '2024-06-27 14:45:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121444' and product_code = 'DG010113-05' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121598' and product_code = 'DG010312-01' 2024-06-27 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,'234306','8','O24060121598','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','9','4320','2024-07-01','2024-06-27 14:52:42','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234306',`firm_id` = '8',`ordernumber` = 'O24060121598', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`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` = '9',`total_price` = '4320',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121598' and product_code = 'DG010312-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121598' and product_code = 'DG010312-06' 2024-06-27 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,'234306','8','O24060121598','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-07-01','2024-06-27 14:52:42','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234306',`firm_id` = '8',`ordernumber` = 'O24060121598', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`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-07-01',`create_date` = '2024-06-27 14:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121598' and product_code = 'DG010312-06' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121598' and product_code = 'DG010312-10' 2024-06-27 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,'234306','8','O24060121598','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-07-01','2024-06-27 14:52:42','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234306',`firm_id` = '8',`ordernumber` = 'O24060121598', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`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-07-01',`create_date` = '2024-06-27 14:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121598' and product_code = 'DG010312-10' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121598' and product_code = 'DG010312-15' 2024-06-27 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,'234306','8','O24060121598','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-07-01','2024-06-27 14:52:42','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234306',`firm_id` = '8',`ordernumber` = 'O24060121598', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121598' and product_code = 'DG010312-15' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121598' and product_code = 'DG010312-13' 2024-06-27 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,'234306','8','O24060121598','【海苔+海苔】金8結禮盒','DG010312-13','DG010312','金8結盒','禮盒-金8結【海苔+海苔】','590','480','0','0','0','0','1','480.0','3','1440','2024-07-01','2024-06-27 14:52:42','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234306',`firm_id` = '8',`ordernumber` = 'O24060121598', `product_name` = '【海苔+海苔】金8結禮盒',`product_code` = 'DG010312-13',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【海苔+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-01',`create_date` = '2024-06-27 14:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121598' and product_code = 'DG010312-13' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121598' and product_code = 'ZP0101135-01' 2024-06-27 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,'234306','8','O24060121598','贈品-復古紅提袋x2','ZP0101135-01','ZP0101135','贈品-復古紅提袋x2','贈品-[復古]提袋x2','0','0','0','0','0','0','1','0.0','1','0','2024-07-01','2024-06-27 14:52:42','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234306',`firm_id` = '8',`ordernumber` = 'O24060121598', `product_name` = '贈品-復古紅提袋x2',`product_code` = 'ZP0101135-01',`product_sn` = 'ZP0101135',`product_spec` = '贈品-復古紅提袋x2',`invoice_name` = '贈品-[復古]提袋x2',`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-07-01',`create_date` = '2024-06-27 14:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121598' and product_code = 'ZP0101135-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121625' and product_code = 'FL010310-01' 2024-06-27 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,'234307','8','O24060121625','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','540','540','0','0','0','0','1','0.0','2','1080','2024-07-09','2024-06-27 15:09:55','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234307',`firm_id` = '8',`ordernumber` = 'O24060121625', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1080',`etd` = '2024-07-09',`create_date` = '2024-06-27 15:09:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121625' and product_code = 'FL010310-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121625' and product_code = 'FL010316-02' 2024-06-27 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,'234307','8','O24060121625','剛好一口酥禮盒','FL010316-02','FL010316','鳳梨酥,鳳梅酥','禮盒-剛好一口酥【鳳梨酥+鳳梅酥】','390','390','0','0','0','0','1','0.0','1','390','2024-07-09','2024-06-27 15:09:55','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234307',`firm_id` = '8',`ordernumber` = 'O24060121625', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-02',`product_sn` = 'FL010316',`product_spec` = '鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-剛好一口酥【鳳梨酥+鳳梅酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-07-09',`create_date` = '2024-06-27 15:09:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121625' and product_code = 'FL010316-02' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'DG0103148-02' 2024-06-27 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,'234308','8','O24060121799','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','32','15360','2024-07-12','2024-06-27 15:34:05','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '32',`total_price` = '15360',`etd` = '2024-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'DG0103148-02' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'DG010312-05' 2024-06-27 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,'234308','8','O24060121799','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','31','14880','2024-07-12','2024-06-27 15:34:05','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `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` = '31',`total_price` = '14880',`etd` = '2024-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'DG010312-05' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'DG010312-12' 2024-06-27 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,'234308','8','O24060121799','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-07-12','2024-06-27 15:34:05','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'DG010312-12' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'ZP0101142-01' 2024-06-27 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,'234308','8','O24060121799','贈品-復古紅提袋x9','ZP0101142-01','ZP0101142','贈品-復古紅提袋x9','贈品-[復古]提袋x9','0','0','0','0','0','0','1','0.0','1','0','2024-07-12','2024-06-27 15:34:05','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `product_name` = '贈品-復古紅提袋x9',`product_code` = 'ZP0101142-01',`product_sn` = 'ZP0101142',`product_spec` = '贈品-復古紅提袋x9',`invoice_name` = '贈品-[復古]提袋x9',`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-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'ZP0101142-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121838' and product_code = 'DG010312-05' 2024-06-27 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,'234309','8','S24060121838','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','36','17280','2024-07-22','2024-06-27 16:13:52','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234309',`firm_id` = '8',`ordernumber` = 'S24060121838', `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` = '36',`total_price` = '17280',`etd` = '2024-07-22',`create_date` = '2024-06-27 16:13:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121838' and product_code = 'DG010312-05' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121976' and product_code = 'DG010527-01' 2024-06-27 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,'234310','8','S24060121976','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','50','14500','2024-07-05','2024-06-27 16:26:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234310',`firm_id` = '8',`ordernumber` = 'S24060121976', `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` = '50',`total_price` = '14500',`etd` = '2024-07-05',`create_date` = '2024-06-27 16:26:28',`modify_date` = '2024-06-27 16:32:30',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121976' and product_code = 'DG010527-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121976' and product_code = 'FL010103-01' 2024-06-27 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,'234310','8','S24060121976','加購-一口鳳梅酥','FL010103-01','FL010103','8入鳳梅酥','加購-(盒)鳳梅酥','185','185','0','0','0','1','1','0.0','1','185','2024-07-05','2024-06-27 16:26:28','2024-06-27 23:59:08',0,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234310',`firm_id` = '8',`ordernumber` = 'S24060121976', `product_name` = '加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '8入鳳梅酥',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-07-05',`create_date` = '2024-06-27 16:26:28',`modify_date` = '2024-06-27 16:32:30',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121976' and product_code = 'FL010103-01' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122027' and product_code = 'DG010576-50' 2024-06-27 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,'234311','8','O24060122027','【品牌月獨家】經典蛋捲五入組','DG010576-50','DG010576','原+芝+巧+咖+海','組合-32入(原味x1+芝麻x1+咖啡x1+海苔x1+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-02','2024-06-27 16:32:52','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234311',`firm_id` = '8',`ordernumber` = 'O24060122027', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-50',`product_sn` = 'DG010576',`product_spec` = '原+芝+巧+咖+海',`invoice_name` = '組合-32入(原味x1+芝麻x1+咖啡x1+海苔x1+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-02',`create_date` = '2024-06-27 16:32:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122027' and product_code = 'DG010576-50' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122198' and product_code = 'DG010599-09' 2024-06-27 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,'234312','8','O24060122198','【品牌月獨家】經典蛋捲三入組','DG010599-09','DG010599','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+紅色提袋','700','700','0','0','0','1','1','0.0','1','700','2024-07-01','2024-06-27 17:28:21','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234312',`firm_id` = '8',`ordernumber` = 'O24060122198', `product_name` = '【品牌月獨家】經典蛋捲三入組',`product_code` = 'DG010599-09',`product_sn` = 'DG010599',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+紅色提袋',`listprice` = '700',`sellingprice` = '700',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '700',`etd` = '2024-07-01',`create_date` = '2024-06-27 17:28:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122198' and product_code = 'DG010599-09' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122265' and product_code = 'DG010576-50' 2024-06-27 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,'234313','8','O24060122265','【品牌月獨家】經典蛋捲五入組','DG010576-50','DG010576','原+芝+巧+咖+海','組合-32入(原味x1+芝麻x1+咖啡x1+海苔x1+巧克力x1)+紅色提袋x2','1150','1150','0','0','0','1','1','0.0','1','1150','2024-07-02','2024-06-27 18:11:24','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234313',`firm_id` = '8',`ordernumber` = 'O24060122265', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-50',`product_sn` = 'DG010576',`product_spec` = '原+芝+巧+咖+海',`invoice_name` = '組合-32入(原味x1+芝麻x1+咖啡x1+海苔x1+巧克力x1)+紅色提袋x2',`listprice` = '1150',`sellingprice` = '1150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1150',`etd` = '2024-07-02',`create_date` = '2024-06-27 18:11:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122265' and product_code = 'DG010576-50' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122265' and product_code = 'DG010312-02' 2024-06-27 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,'234313','8','O24060122265','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-07-02','2024-06-27 18:11:24','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234313',`firm_id` = '8',`ordernumber` = 'O24060122265', `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-07-02',`create_date` = '2024-06-27 18:11:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122265' and product_code = 'DG010312-02' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122353' and product_code = 'DG0103155-05' 2024-06-27 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,'234314','8','O24060122353','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','3','1500','2024-07-01','2024-06-27 20:37:56','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234314',`firm_id` = '8',`ordernumber` = 'O24060122353', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-07-01',`create_date` = '2024-06-27 20:37:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122353' and product_code = 'DG0103155-05' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122483' and product_code = 'DG0103148-05' 2024-06-27 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,'234315','8','O24060122483','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-07-01','2024-06-27 21:11:02','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234315',`firm_id` = '8',`ordernumber` = 'O24060122483', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-01',`create_date` = '2024-06-27 21:11:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122483' and product_code = 'DG0103148-05' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122483' and product_code = 'DG0103148-03' 2024-06-27 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,'234315','8','O24060122483','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-07-01','2024-06-27 21:11:02','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234315',`firm_id` = '8',`ordernumber` = 'O24060122483', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-01',`create_date` = '2024-06-27 21:11:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122483' and product_code = 'DG0103148-03' 2024-06-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122483' and product_code = 'DG0103155-03' 2024-06-27 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,'234315','8','O24060122483','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-07-01','2024-06-27 21:11:02','2024-06-27 23:59:08',null,'1','2024-05-22') 2024-06-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234315',`firm_id` = '8',`ordernumber` = 'O24060122483', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-01',`create_date` = '2024-06-27 21:11:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122483' and product_code = 'DG0103155-03' 2024-06-27 23:59:08 -- == sync_order_detail end == 2024-06-27 23:59:08 -- == sync_order start == 2024-06-27 23:59:08 -- start:2024-06-27,end:2024-06-27 2024-06-27 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-06-27%' OR l.modify_date like '2024-06-27%'; 2024-06-27 23:59:08 -- == sync omo_order_list == 2024-06-27 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '157472', process_status = '2', pay_status = '1', totalprice_after = '18525', lunar_date = '2024-05-08', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24060012613RB' 2024-06-27 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '38000', lunar_date = '2024-05-14', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24060019145' 2024-06-27 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '393235', process_status = '2', pay_status = '1', totalprice_after = '18735', lunar_date = '2024-05-14', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24060019976' 2024-06-27 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '80', lunar_date = '2024-05-16', invoice_status = '1', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M24060023210' 2024-06-27 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '397856', process_status = '1', pay_status = '1', totalprice_after = '25650', lunar_date = '2024-05-19', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24060025764' 2024-06-27 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '397975', process_status = '1', pay_status = '1', totalprice_after = '15105', lunar_date = '2024-05-20', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24060026914RB' 2024-06-27 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '800', lunar_date = '2024-05-21', invoice_status = '1', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24060027229' 2024-06-27 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '398124', process_status = '2', pay_status = '1', totalprice_after = '1430', lunar_date = '2024-05-21', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24060027332' 2024-06-27 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '398167', process_status = '3', pay_status = '1', totalprice_after = '990', lunar_date = '2024-05-21', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24060027555' 2024-06-27 23:59:09 -- == 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 ('121630','397975',2,'正式彌,LINE@訂單','1,9','M24060028017','1','2','1','1','6','','','0','2024-07-04','0','45','0','','0','0','900','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','855','2024-06-27 10:36:18','2024-05-22') 2024-06-27 23:59:09 -- == 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 ('117547','0',2,'正式彌,LINE@訂單','1,9','M24060028143','1','1','1','1','6','','','0','2024-07-10','0','100','0','','0','0','2000','330','桃園市','桃園區','330','桃園市','桃園區','1900','2024-06-27 10:46:04','2024-05-22') 2024-06-27 23:59:09 -- == 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 ('121630','397975',2,'正式彌,LINE@訂單','1,9','M24060028254','1','2','1','1','6','','','0','2024-07-04','0','75','0','','0','0','1500','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','1425','2024-06-27 11:26:39','2024-05-22') 2024-06-27 23:59:09 -- == 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 ('119244','395613',2,'正式彌,LINE@訂單','1,9','M24060028373','1','1','1','0','0','','','0','2024-07-05','0','0','0','','0','0','7040','221','新北市','汐止區','221','新北市','汐止區','7040','2024-06-27 16:30:46','2024-05-22') 2024-06-27 23:59:09 -- == 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 ('119167','0',2,'正式彌,LINE@訂單','1,9','M24060028431','1','2','1','1','1','','','0','2024-07-01','0','70','0','','150','0','1400','804','高雄市','鼓山區','804','高雄市','鼓山區','1480','2024-06-27 17:43:58','2024-05-22') 2024-06-27 23:59:09 -- == 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 ('122214','398554',2,'','','B24060028589','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','830','高雄市','鳳山區','333','桃園市','龜山區','420','2024-06-27 22:23:00','2024-05-22') 2024-06-27 23:59:09 -- == sync_order end == 2024-06-27 23:59:09 -- == sync_order_detail start == 2024-06-27 23:59:09 -- start:2024-06-27,end:2024-06-27 2024-06-27 23:59:09 -- == sync omo_order_detail == 2024-06-27 23:59:09 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-06-27%' OR modify_date like '2024-06-27%' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060019145' and product_code = 'DG010327-03' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31506',`firm_id` = '8',`ordernumber` = 'M24060019145', `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-03',`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` = '40',`total_price` = '20000',`etd` = '2024-07-04',`create_date` = '2024-06-19 09:17:18',`modify_date` = '2024-06-27 17:12:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060019145' and product_code = 'DG010327-03', `lunar_date` = '2024-05-14' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060019145' and product_code = 'DG010327-09' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31506',`firm_id` = '8',`ordernumber` = 'M24060019145', `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-09',`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` = '40',`total_price` = '20000',`etd` = '2024-07-04',`create_date` = '2024-06-19 09:17:18',`modify_date` = '2024-06-27 17:12:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060019145' and product_code = 'DG010327-09', `lunar_date` = '2024-05-14' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060019145' and product_code = 'ZP0101119-01' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31506',`firm_id` = '8',`ordernumber` = 'M24060019145', `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` = '0',`total_price` = '0',`etd` = '2024-07-10',`create_date` = '2024-06-19 09:17:18',`modify_date` = '2024-06-27 10:47:39',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24060019145' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-14' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060019145' and product_code = 'ZP0101106-01' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31506',`firm_id` = '8',`ordernumber` = 'M24060019145', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-07-10',`create_date` = '2024-06-19 09:17:18',`modify_date` = '2024-06-27 10:47:39',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24060019145' and product_code = 'ZP0101106-01', `lunar_date` = '2024-05-14' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060023210' and product_code = '40009' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31552',`firm_id` = '8',`ordernumber` = 'M24060023210', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '80',`etd` = '2024-06-26',`create_date` = '2024-06-21 13:22:34',`modify_date` = '2024-06-27 11:35:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060023210' and product_code = '40009', `lunar_date` = '2024-05-16' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'DG010203-01' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '5400',`etd` = '2024-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'DG010203-01', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'DG010203-02' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '5400',`etd` = '2024-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'DG010203-02', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'DG010203-03' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'DG010203-03', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'DG010222-03' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'DG010222-03', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'DG010222-04' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-04',`product_sn` = 'DG010222',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(紅)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '5400',`etd` = '2024-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'DG010222-04', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'DG010222-05' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '5400',`etd` = '2024-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'DG010222-05', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060025764' and product_code = 'ZP0101106-01' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31579',`firm_id` = '8',`ordernumber` = 'M24060025764', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`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-07-02',`create_date` = '2024-06-24 16:18:23',`modify_date` = '2024-06-27 14:21:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060025764' and product_code = 'ZP0101106-01', `lunar_date` = '2024-05-19' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060026914RB' and product_code = 'ZP0101119-01' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31593',`firm_id` = '8',`ordernumber` = 'M24060026914RB', `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-07-04',`create_date` = '2024-06-25 12:13:48',`modify_date` = '2024-06-27 11:38:43',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060026914RB' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-20' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060026914RB' and product_code = 'DG010203-01' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31593',`firm_id` = '8',`ordernumber` = 'M24060026914RB', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '53',`total_price` = '15900',`etd` = '2024-07-04',`create_date` = '2024-06-25 14:08:07',`modify_date` = '2024-06-27 11:38:43',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060026914RB' and product_code = 'DG010203-01', `lunar_date` = '2024-05-20' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24060027555' and product_code = '05401' 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31598',`firm_id` = '8',`ordernumber` = 'B24060027555', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-06-28',`create_date` = '2024-06-26 13:20:31',`modify_date` = '2024-06-27 16:57:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24060027555' and product_code = '05401', `lunar_date` = '2024-05-21' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028017' and product_code = 'DG010203-01' 2024-06-27 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,'31603','8','M24060028017','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','3','900','2024-07-04','2024-06-27 10:36:18','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31603',`firm_id` = '8',`ordernumber` = 'M24060028017', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-07-04',`create_date` = '2024-06-27 10:36:18',`modify_date` = '2024-06-27 11:23:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028017' and product_code = 'DG010203-01', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028143' and product_code = 'DG010327-03' 2024-06-27 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,'31604','8','M24060028143','【小王子聯名】仰望星空8結彌月禮盒','DG010327-03','DG010327','原味+咖啡','禮盒-小王子(藍)【原味+咖啡】','500','500','0','0','0','0','1','0.0','4','2000','2024-07-10','2024-06-27 10:46:04','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31604',`firm_id` = '8',`ordernumber` = 'M24060028143', `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-03',`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` = '4',`total_price` = '2000',`etd` = '2024-07-10',`create_date` = '2024-06-27 10:46:04',`modify_date` = '2024-06-27 11:04:12',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028143' and product_code = 'DG010327-03', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060019145' and product_code = 'ZP010134-01' 2024-06-27 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,'31506','8','M24060019145','贈品-recolte氣炸鍋(顏色隨機)','ZP010134-01','ZP010134','贈品-recolte氣炸鍋(顏色隨機)','贈品-recolte氣炸鍋(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-04','2024-06-27 11:03:58','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31506',`firm_id` = '8',`ordernumber` = 'M24060019145', `product_name` = '贈品-recolte氣炸鍋(顏色隨機)',`product_code` = 'ZP010134-01',`product_sn` = 'ZP010134',`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-07-04',`create_date` = '2024-06-27 11:03:58',`modify_date` = '2024-06-27 17:12:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060019145' and product_code = 'ZP010134-01', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028254' and product_code = 'DG010203-01' 2024-06-27 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,'31605','8','M24060028254','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','5','1500','2024-07-04','2024-06-27 11:26:39','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31605',`firm_id` = '8',`ordernumber` = 'M24060028254', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-07-04',`create_date` = '2024-06-27 11:26:39',`modify_date` = '2024-06-27 11:38:56',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028254' and product_code = 'DG010203-01', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028373' and product_code = 'DG010222-03' 2024-06-27 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,'31606','8','M24060028373','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','0','0','0','1','0.0','20','6000','2024-07-05','2024-06-27 16:30:46','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31606',`firm_id` = '8',`ordernumber` = 'M24060028373', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-07-05',`create_date` = '2024-06-27 16:30:46',`modify_date` = '2024-06-27 16:42:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028373' and product_code = 'DG010222-03', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028373' and product_code = 'ZP010151-01' 2024-06-27 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,'31606','8','M24060028373','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-05','2024-06-27 16:30:46','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31606',`firm_id` = '8',`ordernumber` = 'M24060028373', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-05',`create_date` = '2024-06-27 16:30:46',`modify_date` = '2024-06-27 16:42:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028373' and product_code = 'ZP010151-01', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028373' and product_code = '40009' 2024-06-27 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,'31606','8','M24060028373','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','13','1040','2024-07-05','2024-06-27 16:30:46','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31606',`firm_id` = '8',`ordernumber` = 'M24060028373', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '1040',`etd` = '2024-07-05',`create_date` = '2024-06-27 16:30:46',`modify_date` = '2024-06-27 16:42:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028373' and product_code = '40009', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028431' and product_code = 'DG010203-01' 2024-06-27 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,'31607','8','M24060028431','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','3','900','2024-07-01','2024-06-27 17:43:58','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31607',`firm_id` = '8',`ordernumber` = 'M24060028431', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-07-01',`create_date` = '2024-06-27 17:43:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028431' and product_code = 'DG010203-01', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24060028431' and product_code = 'DG010327-03' 2024-06-27 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,'31607','8','M24060028431','【小王子聯名】仰望星空8結彌月禮盒','DG010327-03','DG010327','原味+咖啡','禮盒-小王子(藍)【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-07-01','2024-06-27 17:43:58','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31607',`firm_id` = '8',`ordernumber` = 'M24060028431', `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-03',`product_sn` = 'DG010327',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-小王子(藍)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-01',`create_date` = '2024-06-27 17:43:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24060028431' and product_code = 'DG010327-03', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24060028589' and product_code = 'DG010203-01' 2024-06-27 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,'31608','8','B24060028589','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','1','300','2024-07-02','2024-06-27 22:23:00','2024-06-27 23:59:09',null,'1','2024-05-22') 2024-06-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31608',`firm_id` = '8',`ordernumber` = 'B24060028589', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-02',`create_date` = '2024-06-27 22:23:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24060028589' and product_code = 'DG010203-01', `lunar_date` = '2024-05-22' 2024-06-27 23:59:09 -- == sync_order_detail end == 2024-06-27 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-06-27' OR o.updated_at = '2024-06-27') and o.deleted_at is null 2024-06-27 23:59:09 -- == sync_order_detail start == 2024-06-27 23:59:09 -- start:2024-06-27,end:2024-06-27 2024-06-27 23:59:10 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-06-27 23:59:10 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-06-27 23:59:13 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-06-27%';