2024-07-02 23:59:03 -- == sync_order start == 2024-07-02 23:59:03 -- start:2024-07-02,end:2024-07-02 2024-07-02 23:59:03 -- == 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-07-02%' OR l.modify_date like '2024-07-02%'; 2024-07-02 23:59:04 -- == sync omo_order_list == 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '356486', process_status = '2', pay_status = '1', totalprice_after = '2390', lunar_date = '2024-04-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050076273' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '351178', process_status = '1', pay_status = '1', totalprice_after = '54870', lunar_date = '2024-04-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060025842' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '190837', lunar_date = '2024-05-08', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24060066965' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '345600', lunar_date = '2024-05-14', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24060088418' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '312808', process_status = '2', pay_status = '1', totalprice_after = '27330', lunar_date = '2024-05-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060095627' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397760', process_status = '1', pay_status = '1', totalprice_after = '675', lunar_date = '2024-05-19', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060105999' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398104', process_status = '2', pay_status = '1', totalprice_after = '415', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060115715' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '393909', process_status = '2', pay_status = '1', totalprice_after = '5720', lunar_date = '2024-05-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060119754' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '183762', process_status = '2', pay_status = '1', totalprice_after = '1300', lunar_date = '2024-05-22', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060122027' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '32456', process_status = '2', pay_status = '1', totalprice_after = '150336', lunar_date = '2024-05-23', invoice_status = '1',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24060123766' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '102453', process_status = '2', pay_status = '1', totalprice_after = '4500', lunar_date = '2024-05-23', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060124294' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398742', process_status = '2', pay_status = '1', totalprice_after = '2420', lunar_date = '2024-05-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060125352' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '265197', process_status = '2', pay_status = '1', totalprice_after = '8968', lunar_date = '2024-05-24', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'O24060126166' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397752', process_status = '3', pay_status = '1', totalprice_after = '1305', lunar_date = '2024-05-24', invoice_status = '1',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24060127116' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397752', process_status = '3', pay_status = '1', totalprice_after = '1260', lunar_date = '2024-05-24', invoice_status = '1',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24060127390' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '398977', process_status = '2', pay_status = '1', totalprice_after = '775', lunar_date = '2024-05-26', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060127815' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '249689', process_status = '2', pay_status = '1', totalprice_after = '2420', lunar_date = '2024-05-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060129116' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '108539', process_status = '2', pay_status = '1', totalprice_after = '2015', lunar_date = '2024-05-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060129634' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399125', process_status = '2', pay_status = '1', totalprice_after = '1270', lunar_date = '2024-05-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060130476' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '292953', process_status = '2', pay_status = '1', totalprice_after = '1160', lunar_date = '2024-05-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060130672' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399164', process_status = '2', pay_status = '1', totalprice_after = '1280', lunar_date = '2024-05-25', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24060130919' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '162556', process_status = '2', pay_status = '1', totalprice_after = '1890', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070000137' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399222', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070000389' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '390056', process_status = '2', pay_status = '1', totalprice_after = '5760', lunar_date = '2024-05-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24070000573' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '396587', process_status = '6', pay_status = '6', totalprice_after = '3540', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070000782' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '396587', process_status = '2', pay_status = '1', totalprice_after = '3470', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070000843' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399228', process_status = '2', pay_status = '1', totalprice_after = '1480', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070000910' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '265197', process_status = '2', pay_status = '1', totalprice_after = '841', lunar_date = '2024-05-26', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24070001130' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399235', process_status = '2', pay_status = '1', totalprice_after = '2450', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070001232' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399240', process_status = '3', pay_status = '1', totalprice_after = '3395', lunar_date = '2024-05-26', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24070001341' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399074', process_status = '2', pay_status = '1', totalprice_after = '1010', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070001588' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399247', process_status = '2', pay_status = '1', totalprice_after = '1870', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070001698' 2024-07-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399263', process_status = '2', pay_status = '1', totalprice_after = '3510', lunar_date = '2024-05-26', invoice_status = '0',category_name = ',美村門市訂單', category_id = ',32' where ordernumber = 'S24070001937' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399266', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070002266' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399260', process_status = '2', pay_status = '1', totalprice_after = '2650', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070002371' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '312808', process_status = '2', pay_status = '1', totalprice_after = '2280', lunar_date = '2024-05-26', invoice_status = '0',category_name = ',LINE@訂單', category_id = ',9' where ordernumber = 'S24070002445' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399273', process_status = '2', pay_status = '1', totalprice_after = '225645', lunar_date = '2024-05-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24070002689' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '98709', process_status = '2', pay_status = '1', totalprice_after = '14013', lunar_date = '2024-05-26', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24070002861' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '398624', process_status = '1', pay_status = '1', totalprice_after = '268547', lunar_date = '2024-05-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24070003184' 2024-07-02 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2024-05-26', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S24070003335' 2024-07-02 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 ('84149','56224',1,'','','O24070004129','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','150','2400','243','新北市','泰山區','243','新北市','泰山區','2400','2024-07-02 01:02:58','2024-05-27') 2024-07-02 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 ('202485','0',1,'通路訂單','5','S24070004284','1','7','1','0','1','27362244','遠東都會股份有限公司','0','2024-07-04','0','3264','0','','0','0','21600','106','台北市','大安區','106','台北市','大安區','18336','2024-07-02 09:27:55','2024-05-27') 2024-07-02 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,'活動得獎訂單','11','S24070004315','1','8','1','7','2','','','2','2024-07-03','0','2825','0','','0','0','2825','403','台中市','西區','403','台中市','西區','0','2024-07-02 10:02:10','2024-05-27') 2024-07-02 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 ('362741','399341',1,'','','O24070004412','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1180','268','宜蘭縣','五結鄉','268','宜蘭縣','五結鄉','1300','2024-07-02 10:46:36','2024-05-27') 2024-07-02 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 ('362379','398981',1,'','','O24070004530','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1000','242','新北市','新莊區','242','新北市','新莊區','1120','2024-07-02 11:04:45','2024-05-27') 2024-07-02 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 ('169147','136207',1,'','','O24070004671','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','400','510','彰化縣','員林市','510','彰化縣','員林市','550','2024-07-02 11:25:42','2024-05-27') 2024-07-02 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 ('314028','351178',1,'LINE@訂單','9','S24070004757','1','2','1','0','0','53369150','和司特股份有限公司','0','2024-07-17','0','1032','0','','0','0','14750','407','台中市','西屯區','407','台中市','西屯區','13718','2024-07-02 11:36:46','2024-05-27') 2024-07-02 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 ('103693','74362',1,'LINE@訂單','9','S24070004884','1','2','1','1','1','','','0','2024-07-15','0','0','0','','150','150','2490','904','屏東縣','九如鄉','904','屏東縣','九如鄉','2490','2024-07-02 12:09:34','2024-05-27') 2024-07-02 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 ('362739','399339',1,'','','O24070004960','1','1','1','1','1','80551954','瀚珅企業有限公司','0','0000-00-00','421','0','0','','0','30','8435','330','桃園市','桃園區','330','桃園市','桃園區','7984','2024-07-02 13:09:39','2024-05-27') 2024-07-02 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,'公關訂單','6','S24070005011','1','8','1','7','1','','','0','2024-07-03','0','3490','0','','0','0','3490','403','台中市','西區','702','台南市','南區','0','2024-07-02 13:44:10','2024-05-27') 2024-07-02 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 ('241189','273441',1,'通路訂單','5','S24070005126','1','7','1','0','1','89826011','佐登妮絲國際股份有限公司','0','2024-07-04','0','16416','0','','0','0','64800','622','嘉義縣','大林鎮','622','嘉義縣','大林鎮','48384','2024-07-02 14:05:36','2024-05-27') 2024-07-02 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 ('361149','397760',1,'FB訂單','10','S24070005270','1','1','1','1','1','','','0','2024-07-05','0','0','0','','0','0','690','204','基隆市','安樂區','204','基隆市','安樂區','690','2024-07-02 15:27:17','2024-05-27') 2024-07-02 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,'line禮物','38','S24070005375','1','7','1','0','1','','','0','2024-07-03','0','0','0','','150','0','500','403','台中市','西區','333','桃園市','龜山區','650','2024-07-02 15:32:25','2024-05-27') 2024-07-02 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,'line禮物','38','S24070005466','1','7','1','0','1','','','0','2024-07-03','0','0','0','','150','0','300','403','台中市','西區','505','彰化縣','鹿港鎮','450','2024-07-02 15:35:38','2024-05-27') 2024-07-02 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 ('362797','0',1,'LINE@訂單,企業訂單','9,4','S24070005557','1','4','1','0','0','16901250','馥華人力資源管理顧問股份有限公司','0','2024-08-19','0','11100','0','','0','30','111000','351','苗栗縣','頭份市','351','苗栗縣','頭份市','99870','2024-07-02 15:49:53','2024-05-27') 2024-07-02 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 ('213570','221106',1,'FB訂單','10','S24070005677','1','1','1','0','0','','','0','2024-09-02','0','0','0','','150','0','4210','326','桃園市','楊梅區','326','桃園市','楊梅區','4360','2024-07-02 17:03:21','2024-05-27') 2024-07-02 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 ('362819','399418',1,'','','O24070005728','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5800','710','台南市','永康區','700','台南市','中西區','5770','2024-07-02 17:06:15','2024-05-27') 2024-07-02 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 ('362730','399330',1,'迪化門市訂單','43','S24070005866','1','2','12','1','1','','','0','2024-07-03','0','0','0','','150','30','1165','264','宜蘭縣','員山鄉','264','宜蘭縣','員山鄉','1285','2024-07-02 17:18:14','2024-05-27') 2024-07-02 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 ('362173','398776',1,'','','O24070005939','1','11','1','1','1','64868725','莿桐國小','0','0000-00-00','720','0','0','','0','30','14400','640','雲林縣','斗六市','648','雲林縣','西螺鎮','13650','2024-07-02 18:06:19','2024-05-27') 2024-07-02 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 ('362838','399437',1,'','','O24070006062','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1680','500','彰化縣','彰化市','500','彰化縣','彰化市','1800','2024-07-02 18:14:59','2024-05-27') 2024-07-02 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 ('265868','303522',1,'','','O24070006187','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1500','831','高雄市','大寮區','831','高雄市','大寮區','1650','2024-07-02 18:19:20','2024-05-27') 2024-07-02 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 ('362734','399334',1,'','','O24070006248','1','1','1','0','0','50562379','社團法人臺灣鄔金什度法藏佛教協會','0','0000-00-00','0','0','0','','150','30','2400','242','新北市','新莊區','242','新北市','新莊區','2520','2024-07-02 18:39:56','2024-05-27') 2024-07-02 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,'公關訂單','6','S24070006377','1','8','1','7','1','','','2','2024-07-03','0','2890','0','','0','0','2890','403','台中市','西區','403','台中市','西區','0','2024-07-02 18:49:37','2024-05-27') 2024-07-02 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 ('362848','399447',1,'','','O24070006427','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','7375','811','高雄市','楠梓區','815','高雄市','大社區','7345','2024-07-02 19:37:38','2024-05-27') 2024-07-02 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 ('362853','399452',1,'','','O24070006540','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','565','100','台北市','中正區','812','高雄市','小港區','685','2024-07-02 19:49:24','2024-05-27') 2024-07-02 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 ('303925','341192',1,'','','O24070006630','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5760','249','新北市','八里區','249','新北市','八里區','5760','2024-07-02 19:58:03','2024-05-27') 2024-07-02 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 ('362734','399334',1,'','','O24070006789','1','1','1','1','1','50562379','社團法人臺灣鄔金什度法藏佛教協會','0','0000-00-00','0','0','0','','150','30','2400','242','新北市','新莊區','242','新北市','新莊區','2520','2024-07-02 20:19:35','2024-05-27') 2024-07-02 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 ('362859','399458',1,'','','O24070006823','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1430','832','高雄市','林園區','242','新北市','新莊區','1550','2024-07-02 21:07:58','2024-05-27') 2024-07-02 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 ('360692','397306',1,'','','O24070006981','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','480','640','雲林縣','斗六市','640','雲林縣','斗六市','600','2024-07-02 21:51:43','2024-05-27') 2024-07-02 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 ('362657','399256',1,'','','O24070007065','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2250','508','彰化縣','和美鎮','811','高雄市','楠梓區','2370','2024-07-02 22:02:48','2024-05-27') 2024-07-02 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 ('254699','288836',1,'','','O24070007140','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5770','404','台中市','北區','404','台中市','北區','5770','2024-07-02 22:25:45','2024-05-27') 2024-07-02 23:59:05 -- == sync_order end == 2024-07-02 23:59:05 -- == sync_order_detail start == 2024-07-02 23:59:05 -- start:2024-07-02,end:2024-07-02 2024-07-02 23:59:05 -- == sync omo_order_detail == 2024-07-02 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-02%' OR modify_date like '2024-07-02%' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076273' and product_code = 'DG010101-02' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232222',`firm_id` = '8',`ordernumber` = 'O24050076273', `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` = '4',`total_price` = '1120',`etd` = '2024-07-03',`create_date` = '2024-05-19 21:21:57',`modify_date` = '2024-07-02 09:38:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076273' and product_code = 'DG010101-02' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076273' and product_code = 'DG010101-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232222',`firm_id` = '8',`ordernumber` = 'O24050076273', `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-03',`create_date` = '2024-05-19 21:21:57',`modify_date` = '2024-07-02 09:38:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076273' and product_code = 'DG010101-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060025842' and product_code = 'DG010258-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233350',`firm_id` = '8',`ordernumber` = 'O24060025842', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`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` = '200',`total_price` = '59000',`etd` = '2024-07-17',`create_date` = '2024-06-04 18:45:08',`modify_date` = '2024-07-02 11:37:23',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-28'where ordernumber = 'O24060025842' and product_code = 'DG010258-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060025842' and product_code = '贈品-復古紅提袋x17' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233350',`firm_id` = '8',`ordernumber` = 'O24060025842', `product_name` = '贈品-復古紅提袋x17',`product_code` = '贈品-復古紅提袋x17',`product_sn` = 'ZP0101151',`product_spec` = '贈品-復古紅提袋x17',`invoice_name` = '贈品-[復古]提袋x17',`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-17',`create_date` = '2024-06-04 18:45:08',`modify_date` = '2024-07-02 11:37:23',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-28'where ordernumber = 'O24060025842' and product_code = '贈品-復古紅提袋x17' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060066965' and product_code = 'DG010113-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233761',`firm_id` = '8',`ordernumber` = 'S24060066965', `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` = '528',`total_price` = '118800',`etd` = '2024-06-25',`create_date` = '2024-06-13 15:05:28',`modify_date` = '2024-07-02 14:54:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-08'where ordernumber = 'S24060066965' and product_code = 'DG010113-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060066965' and product_code = 'DG010113-02' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233761',`firm_id` = '8',`ordernumber` = 'S24060066965', `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` = '240',`total_price` = '54000',`etd` = '2024-06-25',`create_date` = '2024-06-13 15:05:28',`modify_date` = '2024-07-02 14:54:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-08'where ordernumber = 'S24060066965' and product_code = 'DG010113-02' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060066965' and product_code = 'DG010113-05' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233761',`firm_id` = '8',`ordernumber` = 'S24060066965', `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` = '144',`total_price` = '32400',`etd` = '2024-06-25',`create_date` = '2024-06-13 15:05:28',`modify_date` = '2024-07-02 14:54:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-08'where ordernumber = 'S24060066965' and product_code = 'DG010113-05' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060066965' and product_code = 'DG010315-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233761',`firm_id` = '8',`ordernumber` = 'S24060066965', `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` = '10',`total_price` = '5550',`etd` = '2024-06-25',`create_date` = '2024-06-13 15:05:28',`modify_date` = '2024-07-02 14:54:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-08'where ordernumber = 'S24060066965' and product_code = 'DG010315-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060088418' and product_code = 'DG010107-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233976',`firm_id` = '8',`ordernumber` = 'S24060088418', `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` = '1440',`total_price` = '345600',`etd` = '2024-07-03',`create_date` = '2024-06-19 10:57:20',`modify_date` = '2024-07-02 09:12:25',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-14'where ordernumber = 'S24060088418' and product_code = 'DG010107-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060105999' and product_code = 'DG010315-04' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234151',`firm_id` = '8',`ordernumber` = 'O24060105999', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-04',`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-07-05',`create_date` = '2024-06-24 08:57:04',`modify_date` = '2024-07-02 15:34:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-19'where ordernumber = 'O24060105999' and product_code = 'DG010315-04' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060122027' and product_code = 'DG010576-50' 2024-07-02 23:59:07 -- == 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` = '2024-07-02 08:16:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060122027' and product_code = 'DG010576-50' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060124294' and product_code = '13656' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234333',`firm_id` = '8',`ordernumber` = 'O24060124294', `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-02',`create_date` = '2024-06-28 16:43:46',`modify_date` = '2024-07-02 08:40:11',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-23'where ordernumber = 'O24060124294' and product_code = '13656' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060124294' and product_code = '13657' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234333',`firm_id` = '8',`ordernumber` = 'O24060124294', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-07-02',`create_date` = '2024-06-28 16:43:46',`modify_date` = '2024-07-02 08:40:11',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-23'where ordernumber = 'O24060124294' and product_code = '13657' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060124294' and product_code = '13660' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234333',`firm_id` = '8',`ordernumber` = 'O24060124294', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`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-02',`create_date` = '2024-06-28 16:43:46',`modify_date` = '2024-07-02 08:40:11',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-23'where ordernumber = 'O24060124294' and product_code = '13660' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060124294' and product_code = 'ZP0101133-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234333',`firm_id` = '8',`ordernumber` = 'O24060124294', `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-02',`create_date` = '2024-06-28 16:43:46',`modify_date` = '2024-07-02 08:40:11',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-23'where ordernumber = 'O24060124294' and product_code = 'ZP0101133-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060127116' and product_code = 'DG010576-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234362',`firm_id` = '8',`ordernumber` = 'S24060127116', `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-02',`create_date` = '2024-06-29 17:18:44',`modify_date` = '2024-07-02 16:19:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-24'where ordernumber = 'S24060127116' and product_code = 'DG010576-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060127116' and product_code = 'FL010103-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234362',`firm_id` = '8',`ordernumber` = 'S24060127116', `product_name` = '加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '8入鳳梅酥',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '0',`addprice` = '185',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-07-02',`create_date` = '2024-06-29 17:18:44',`modify_date` = '2024-07-02 16:19:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-24'where ordernumber = 'S24060127116' and product_code = 'FL010103-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060127116' and product_code = 'ZP0101166-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234362',`firm_id` = '8',`ordernumber` = 'S24060127116', `product_name` = '贈品-鳳梨酥(新)會員',`product_code` = 'ZP0101166-01',`product_sn` = 'ZP0101166',`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-02',`create_date` = '2024-06-29 17:18:44',`modify_date` = '2024-07-02 16:19:11',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-24'where ordernumber = 'S24060127116' and product_code = 'ZP0101166-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060127390' and product_code = 'DG010576-126' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234364',`firm_id` = '8',`ordernumber` = 'S24060127390', `product_name` = '【品牌月獨家】經典蛋捲五入組',`product_code` = 'DG010576-126',`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-02',`create_date` = '2024-06-29 17:35:36',`modify_date` = '2024-07-02 16:18:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-24'where ordernumber = 'S24060127390' and product_code = 'DG010576-126' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060127390' and product_code = 'LS010124-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234364',`firm_id` = '8',`ordernumber` = 'S24060127390', `product_name` = '韓式梅子海苔(純素)',`product_code` = 'LS010124-01',`product_sn` = 'LS010124',`product_spec` = '韓式梅子海苔',`invoice_name` = '韓式梅子海苔',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-07-02',`create_date` = '2024-06-29 17:35:36',`modify_date` = '2024-07-02 16:18:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-24'where ordernumber = 'S24060127390' and product_code = 'LS010124-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000782' and product_code = 'DG010312-05' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234418',`firm_id` = '8',`ordernumber` = 'O24070000782', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '5',`total_price` = '2400',`etd` = '2024-07-03',`create_date` = '2024-07-01 10:51:56',`modify_date` = '2024-07-02 09:09:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000782' and product_code = 'DG010312-05' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000782' and product_code = 'DG010312-07' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234418',`firm_id` = '8',`ordernumber` = 'O24070000782', `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-03',`create_date` = '2024-07-01 10:51:56',`modify_date` = '2024-07-02 09:09:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000782' and product_code = 'DG010312-07' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000782' and product_code = 'DG010312-13' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234418',`firm_id` = '8',`ordernumber` = 'O24070000782', `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` = '1',`total_price` = '480',`etd` = '2024-07-03',`create_date` = '2024-07-01 10:51:56',`modify_date` = '2024-07-02 09:09:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000782' and product_code = 'DG010312-13' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000782' and product_code = 'DG010404-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234418',`firm_id` = '8',`ordernumber` = 'O24070000782', `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` = '6',`total_price` = '60',`etd` = '2024-07-03',`create_date` = '2024-07-01 10:51:56',`modify_date` = '2024-07-02 09:09:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000782' and product_code = 'DG010404-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070001341' and product_code = 'DG010258-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234424',`firm_id` = '8',`ordernumber` = 'S24070001341', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`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` = '11',`total_price` = '3245',`etd` = '2024-07-02',`create_date` = '2024-07-01 11:53:22',`modify_date` = '2024-07-02 14:21:32',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'S24070001341' and product_code = 'DG010258-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070003184' and product_code = 'DG010312-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234442',`firm_id` = '8',`ordernumber` = 'S24070003184', `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` = '228',`total_price` = '109440',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:44:21',`modify_date` = '2024-07-02 14:05:33',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'S24070003184' and product_code = 'DG010312-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070003184' and product_code = 'DG010312-06' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234442',`firm_id` = '8',`ordernumber` = 'S24070003184', `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` = '168',`total_price` = '80640',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:44:21',`modify_date` = '2024-07-02 14:05:33',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'S24070003184' and product_code = 'DG010312-06' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070003184' and product_code = 'DG010312-10' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234442',`firm_id` = '8',`ordernumber` = 'S24070003184', `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` = '108',`total_price` = '51840',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:44:21',`modify_date` = '2024-07-02 14:05:33',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'S24070003184' and product_code = 'DG010312-10' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070003184' and product_code = 'DG010312-15' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234442',`firm_id` = '8',`ordernumber` = 'S24070003184', `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` = '132',`total_price` = '63360',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:44:21',`modify_date` = '2024-07-02 14:05:33',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-26'where ordernumber = 'S24070003184' and product_code = 'DG010312-15' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070003184' and product_code = 'DG010404-01' 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234442',`firm_id` = '8',`ordernumber` = 'S24070003184', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:44:21',`modify_date` = '2024-07-02 12:46:56',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'S24070003184' and product_code = 'DG010404-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004129' and product_code = 'LS010113-01' 2024-07-02 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,'234452','8','O24070004129','家庭分享包-乳酪絲','LS010113-01','LS010113','原味','(紅袋)乳酪絲【原味】','550','550','0','0','0','0','1','0.0','3','1650','2024-07-10','2024-07-02 01:02:58','2024-07-02 23:59:07',null,'1','2024-05-27') 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234452',`firm_id` = '8',`ordernumber` = 'O24070004129', `product_name` = '家庭分享包-乳酪絲',`product_code` = 'LS010113-01',`product_sn` = 'LS010113',`product_spec` = '原味',`invoice_name` = '(紅袋)乳酪絲【原味】',`listprice` = '550',`sellingprice` = '550',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1650',`etd` = '2024-07-10',`create_date` = '2024-07-02 01:02:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004129' and product_code = 'LS010113-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004129' and product_code = 'LS010103-01' 2024-07-02 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,'234452','8','O24070004129','厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','150','150','0','0','0','0','1','0.0','5','750','2024-07-10','2024-07-02 01:02:58','2024-07-02 23:59:07',null,'1','2024-05-27') 2024-07-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234452',`firm_id` = '8',`ordernumber` = 'O24070004129', `product_name` = '厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '750',`etd` = '2024-07-10',`create_date` = '2024-07-02 01:02:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004129' and product_code = 'LS010103-01' 2024-07-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004284' and product_code = 'DG010113-01' 2024-07-02 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,'234453','8','S24070004284','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','48','10800','2024-07-04','2024-07-02 09:27:55','2024-07-02 23:59:07',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234453',`firm_id` = '8',`ordernumber` = 'S24070004284', `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` = '48',`total_price` = '10800',`etd` = '2024-07-04',`create_date` = '2024-07-02 09:27:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004284' and product_code = 'DG010113-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004284' and product_code = 'DG010113-02' 2024-07-02 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,'234453','8','S24070004284','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','24','5400','2024-07-04','2024-07-02 09:27:55','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234453',`firm_id` = '8',`ordernumber` = 'S24070004284', `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` = '24',`total_price` = '5400',`etd` = '2024-07-04',`create_date` = '2024-07-02 09:27:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004284' and product_code = 'DG010113-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004284' and product_code = 'DG010113-05' 2024-07-02 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,'234453','8','S24070004284','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','24','5400','2024-07-04','2024-07-02 09:27:55','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234453',`firm_id` = '8',`ordernumber` = 'S24070004284', `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` = '24',`total_price` = '5400',`etd` = '2024-07-04',`create_date` = '2024-07-02 09:27:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004284' and product_code = 'DG010113-05' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004315' and product_code = 'DG0105101-01' 2024-07-02 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,'234454','8','S24070004315','【期間限定】限定人氣伴手禮組','DG0105101-01','DG0105101','原味蛋捲+鳳梨酥+復古紅提袋','組合-32入原味+8入鳳梨酥+[復古]提袋','565','565','0','0','0','0','1','0.0','5','2825','2024-07-03','2024-07-02 10:02:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234454',`firm_id` = '8',`ordernumber` = 'S24070004315', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-01',`product_sn` = 'DG0105101',`product_spec` = '原味蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入原味+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2825',`etd` = '2024-07-03',`create_date` = '2024-07-02 10:02:10',`modify_date` = '2024-07-02 11:33:25',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004315' and product_code = 'DG0105101-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004412' and product_code = 'DG010204-01' 2024-07-02 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,'234455','8','O24070004412','8結蛋捲【品牌提盒裝】','DG010204-01','DG010204','原味','提盒-品牌(橘)-40入原味','295','295','0','0','0','0','1','0.0','4','1180','2024-07-04','2024-07-02 10:46:36','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234455',`firm_id` = '8',`ordernumber` = 'O24070004412', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`product_spec` = '原味',`invoice_name` = '提盒-品牌(橘)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-07-04',`create_date` = '2024-07-02 10:46:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004412' and product_code = 'DG010204-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004530' and product_code = 'DG0103155-07' 2024-07-02 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,'234456','8','O24070004530','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-07','DG0103155','芝麻蛋捲,咖啡蛋捲','禮盒-SNOOPY【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-07-18','2024-07-02 11:04:45','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234456',`firm_id` = '8',`ordernumber` = 'O24070004530', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-07',`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-18',`create_date` = '2024-07-02 11:04:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004530' and product_code = 'DG0103155-07' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004671' and product_code = 'DG0105100-01' 2024-07-02 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,'234457','8','O24070004671','【期間限定】復古紅提袋蛋捲組','DG0105100-01','DG0105100','原味蛋捲+復古紅提袋','組合-32入原味+[復古]提袋','400','400','0','0','0','0','1','0.0','1','400','2024-07-04','2024-07-02 11:25:42','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234457',`firm_id` = '8',`ordernumber` = 'O24070004671', `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-04',`create_date` = '2024-07-02 11:25:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004671' and product_code = 'DG0105100-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004757' and product_code = 'DG010258-01' 2024-07-02 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,'234458','8','S24070004757','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','50','14750','2024-07-17','2024-07-02 11:36:46','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234458',`firm_id` = '8',`ordernumber` = 'S24070004757', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`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` = '50',`total_price` = '14750',`etd` = '2024-07-17',`create_date` = '2024-07-02 11:36:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004757' and product_code = 'DG010258-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004884' and product_code = 'DG010327-07' 2024-07-02 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,'234459','8','S24070004884','【小王子聯名】仰望星空8結禮盒 ','DG010327-07','DG010327','芝麻.咖啡','禮盒-小王子(藍)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-07-15','2024-07-02 12:09:34','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234459',`firm_id` = '8',`ordernumber` = 'S24070004884', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-07',`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` = '2',`total_price` = '1000',`etd` = '2024-07-15',`create_date` = '2024-07-02 12:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004884' and product_code = 'DG010327-07' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004884' and product_code = 'DG010203-02' 2024-07-02 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,'234459','8','S24070004884','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','4','1200','2024-07-15','2024-07-02 12:09:34','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234459',`firm_id` = '8',`ordernumber` = 'S24070004884', `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` = '4',`total_price` = '1200',`etd` = '2024-07-15',`create_date` = '2024-07-02 12:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004884' and product_code = 'DG010203-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070004884' and product_code = '13658' 2024-07-02 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,'234459','8','S24070004884','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-15','2024-07-02 12:09:34','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234459',`firm_id` = '8',`ordernumber` = 'S24070004884', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-15',`create_date` = '2024-07-02 12:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070004884' and product_code = '13658' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'DG010315-04' 2024-07-02 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,'234460','8','O24070004960','金8結肉酥酥禮盒','DG010315-04','DG010315','原味肉酥酥【芝麻蛋捲】','禮盒-金8結【芝麻+原味肉酥酥】','555','555','0','0','0','0','1','555.0','1','555','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-04',`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-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'DG010315-04' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'DG010394-02' 2024-07-02 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,'234460','8','O24070004960','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-02','DG010394','原味蛋捲,芝麻蛋捲','禮盒-故宮(文物款)【原味+芝麻】','500','500','0','0','0','0','1','0.0','10','5000','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-02',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '5000',`etd` = '2024-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'DG010394-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'DG010312-09' 2024-07-02 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,'234460','8','O24070004960','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`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-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'DG010312-09' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'DG010312-02' 2024-07-02 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,'234460','8','O24070004960','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `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-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'DG010312-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'ZS010201-02' 2024-07-02 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,'234460','8','O24070004960','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'ZS010201-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'ZS010201-01' 2024-07-02 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,'234460','8','O24070004960','提盒裝肉酥酥','ZS010201-01','ZS010201','原味+原味','提盒-肉酥酥【原味】','300','300','0','0','0','0','1','300.0','1','300','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-01',`product_sn` = 'ZS010201',`product_spec` = '原味+原味',`invoice_name` = '提盒-肉酥酥【原味】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'ZS010201-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'DG0103148-02' 2024-07-02 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,'234460','8','O24070004960','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `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` = '2',`total_price` = '960',`etd` = '2024-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'DG0103148-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'FL010102-01' 2024-07-02 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,'234460','8','O24070004960','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','1','165','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `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-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'FL010102-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070004960' and product_code = 'FL010101-01' 2024-07-02 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,'234460','8','O24070004960','一口鳳梅酥','FL010101-01','FL010101','8入鳳梅酥','(盒)鳳梅酥','195','195','0','0','0','0','1','160.0','1','195','2024-07-04','2024-07-02 13:09:39','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234460',`firm_id` = '8',`ordernumber` = 'O24070004960', `product_name` = '一口鳳梅酥',`product_code` = 'FL010101-01',`product_sn` = 'FL010101',`product_spec` = '8入鳳梅酥',`invoice_name` = '(盒)鳳梅酥',`listprice` = '195',`sellingprice` = '195',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '1',`total_price` = '195',`etd` = '2024-07-04',`create_date` = '2024-07-02 13:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070004960' and product_code = 'FL010101-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'DG0103152-02' 2024-07-02 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,'234461','8','S24070005011','金典8結乳酪絲禮盒','DG0103152-02','DG0103152','芝麻蛋捲.原味乳酪絲','禮盒-金典(紅)【芝麻+乳酪絲(原味)】','655','655','0','0','0','0','1','0.0','1','655','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-02',`product_sn` = 'DG0103152',`product_spec` = '芝麻蛋捲.原味乳酪絲',`invoice_name` = '禮盒-金典(紅)【芝麻+乳酪絲(原味)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '655',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'DG0103152-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'DG0103149-02' 2024-07-02 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,'234461','8','S24070005011','金典8結肉酥酥禮盒','DG0103149-02','02945','原味+原辣肉酥酥','禮盒-金典(紅)【原味+原辣肉酥酥】','555','555','0','0','0','0','1','0.0','1','555','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-02',`product_sn` = '02945',`product_spec` = '原味+原辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '555',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'DG0103149-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'DG0103167-05' 2024-07-02 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,'234461','8','S24070005011','金典8結黑松露堅果禮盒','DG0103167-05','12529','巧克力蛋捲.黑松露腰果/夏威夷果綜合','禮盒-金典(紅)【巧克力+腰果夏威夷果綜合提盒】','1430','1430','0','0','0','0','1','0.0','1','1430','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `product_name` = '金典8結黑松露堅果禮盒',`product_code` = 'DG0103167-05',`product_sn` = '12529',`product_spec` = '巧克力蛋捲.黑松露腰果/夏威夷果綜合',`invoice_name` = '禮盒-金典(紅)【巧克力+腰果夏威夷果綜合提盒】',`listprice` = '1430',`sellingprice` = '1430',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1430',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'DG0103167-05' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'DG010113-03' 2024-07-02 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,'234461','8','S24070005011','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','1','225','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `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` = '1',`total_price` = '225',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'DG010113-03' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'DG010113-04' 2024-07-02 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,'234461','8','S24070005011','海苔小盒','DG010113-04','DG010113','海苔','32入海苔','225','225','0','0','0','0','1','0.0','1','225','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `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` = '1',`total_price` = '225',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'DG010113-04' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'LS010104-02' 2024-07-02 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,'234461','8','S24070005011','分享包-乳酪絲','LS010104-02','LS010104','45g羅勒乳酪絲','(藍袋)乳酪絲【羅勒】','200','200','0','0','0','0','1','0.0','1','200','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-02',`product_sn` = 'LS010104',`product_spec` = '45g羅勒乳酪絲',`invoice_name` = '(藍袋)乳酪絲【羅勒】',`listprice` = '200',`sellingprice` = '200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '200',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'LS010104-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005011' and product_code = 'LS010104-03' 2024-07-02 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,'234461','8','S24070005011','分享包-乳酪絲','LS010104-03','LS010104','45g黑松露乳酪絲','(藍袋)乳酪絲【黑松露】','200','200','0','0','0','0','1','0.0','1','200','2024-07-03','2024-07-02 13:44:10','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234461',`firm_id` = '8',`ordernumber` = 'S24070005011', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-03',`product_sn` = 'LS010104',`product_spec` = '45g黑松露乳酪絲',`invoice_name` = '(藍袋)乳酪絲【黑松露】',`listprice` = '200',`sellingprice` = '200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '200',`etd` = '2024-07-03',`create_date` = '2024-07-02 13:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005011' and product_code = 'LS010104-03' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005126' and product_code = 'DG010113-01' 2024-07-02 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,'234462','8','S24070005126','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','120','27000','2024-07-04','2024-07-02 14:05:36','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234462',`firm_id` = '8',`ordernumber` = 'S24070005126', `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` = '120',`total_price` = '27000',`etd` = '2024-07-04',`create_date` = '2024-07-02 14:05:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005126' and product_code = 'DG010113-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005126' and product_code = 'DG010113-02' 2024-07-02 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,'234462','8','S24070005126','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','96','21600','2024-07-04','2024-07-02 14:05:36','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234462',`firm_id` = '8',`ordernumber` = 'S24070005126', `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` = '96',`total_price` = '21600',`etd` = '2024-07-04',`create_date` = '2024-07-02 14:05:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005126' and product_code = 'DG010113-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005126' and product_code = 'DG010113-05' 2024-07-02 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,'234462','8','S24070005126','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','72','16200','2024-07-04','2024-07-02 14:05:36','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234462',`firm_id` = '8',`ordernumber` = 'S24070005126', `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` = '72',`total_price` = '16200',`etd` = '2024-07-04',`create_date` = '2024-07-02 14:05:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005126' and product_code = 'DG010113-05' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005270' and product_code = 'DG010261-02' 2024-07-02 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,'234463','8','S24070005270','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-07-05','2024-07-02 15:27:17','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234463',`firm_id` = '8',`ordernumber` = 'S24070005270', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`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-07-05',`create_date` = '2024-07-02 15:27:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005270' and product_code = 'DG010261-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005270' and product_code = 'BP010157-01' 2024-07-02 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,'234463','8','S24070005270','加購-SNOOPY心意提袋','BP010157-01','BP010157','加購-SNOOPY心意提袋','加購-SNOOPY心意提袋','390','390','0','0','0','1','1','0.0','1','390','2024-07-05','2024-07-02 15:27:17','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234463',`firm_id` = '8',`ordernumber` = 'S24070005270', `product_name` = '加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '加購-SNOOPY心意提袋',`invoice_name` = '加購-SNOOPY心意提袋',`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-05',`create_date` = '2024-07-02 15:27:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005270' and product_code = 'BP010157-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005375' and product_code = 'DG010327-04' 2024-07-02 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,'234464','8','S24070005375','【小王子聯名】仰望星空8結禮盒 ','DG010327-04','DG010327','原味.海苔','禮盒-小王子(藍)【原味+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-07-03','2024-07-02 15:32:25','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234464',`firm_id` = '8',`ordernumber` = 'S24070005375', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-04',`product_sn` = 'DG010327',`product_spec` = '原味.海苔',`invoice_name` = '禮盒-小王子(藍)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-03',`create_date` = '2024-07-02 15:32:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005375' and product_code = 'DG010327-04' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005466' and product_code = 'DG010226-01' 2024-07-02 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,'234465','8','S24070005466','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-01','DG010226','40入原味蛋捲','提盒-故宮(文物款)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-07-03','2024-07-02 15:35:38','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234465',`firm_id` = '8',`ordernumber` = 'S24070005466', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-01',`product_sn` = 'DG010226',`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-03',`create_date` = '2024-07-02 15:35:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005466' and product_code = 'DG010226-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005557' and product_code = 'DG0103149-02' 2024-07-02 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,'234466','8','S24070005557','金典8結肉酥酥禮盒','DG0103149-02','02945','原味+原辣肉酥酥','禮盒-金典(紅)【原味+原辣肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-02 15:49:53','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234466',`firm_id` = '8',`ordernumber` = 'S24070005557', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-02',`product_sn` = '02945',`product_spec` = '原味+原辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-02 15:49:53',`modify_date` = '2024-07-02 16:19:06',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005557' and product_code = 'DG0103149-02' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005677' and product_code = 'DG0105101-01' 2024-07-02 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,'234467','8','S24070005677','【期間限定】限定人氣伴手禮組','DG0105101-01','DG0105101','原味蛋捲+鳳梨酥+復古紅提袋','組合-32入原味+8入鳳梨酥+[復古]提袋','565','565','0','0','0','0','1','0.0','4','2260','2024-09-02','2024-07-02 17:03:21','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234467',`firm_id` = '8',`ordernumber` = 'S24070005677', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-01',`product_sn` = 'DG0105101',`product_spec` = '原味蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入原味+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '2260',`etd` = '2024-09-02',`create_date` = '2024-07-02 17:03:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005677' and product_code = 'DG0105101-01' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005677' and product_code = 'DG0103182-05' 2024-07-02 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,'234467','8','S24070005677','金巧8結禮盒','DG0103182-05','DG0103182','原味.鳳梨酥.夏威夷豆軟糖','禮盒-金巧8結【(原味)-鳳梨酥+夏威夷豆軟糖】','650','650','0','0','0','0','1','0.0','3','1950','2024-09-02','2024-07-02 17:03:21','2024-07-02 23:59:08',0,'1','2024-05-27') 2024-07-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234467',`firm_id` = '8',`ordernumber` = 'S24070005677', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-05',`product_sn` = 'DG0103182',`product_spec` = '原味.鳳梨酥.夏威夷豆軟糖',`invoice_name` = '禮盒-金巧8結【(原味)-鳳梨酥+夏威夷豆軟糖】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1950',`etd` = '2024-09-02',`create_date` = '2024-07-02 17:03:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005677' and product_code = 'DG0103182-05' 2024-07-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070005728' and product_code = 'DG010527-05' 2024-07-02 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, 1,'234468','8','O24070005728','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','6','1740','2024-07-08','2024-07-02 17:06:15','2024-07-02 23:59:08',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234468',`firm_id` = '8',`ordernumber` = 'O24070005728', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1740',`etd` = '2024-07-08',`create_date` = '2024-07-02 17:06:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070005728' and product_code = 'DG010527-05' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070005728' and product_code = 'DG010527-04' 2024-07-02 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, 1,'234468','8','O24070005728','8結蛋捲【小禮袋裝】','DG010527-04','DG010527','40入海苔蛋捲','組合-40入海苔+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-08','2024-07-02 17:06:15','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234468',`firm_id` = '8',`ordernumber` = 'O24070005728', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-04',`product_sn` = 'DG010527',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-08',`create_date` = '2024-07-02 17:06:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070005728' and product_code = 'DG010527-04' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070005728' and product_code = 'DG010527-03' 2024-07-02 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, 1,'234468','8','O24070005728','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','6','1740','2024-07-08','2024-07-02 17:06:15','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234468',`firm_id` = '8',`ordernumber` = 'O24070005728', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1740',`etd` = '2024-07-08',`create_date` = '2024-07-02 17:06:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070005728' and product_code = 'DG010527-03' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070005728' and product_code = 'DG010527-02' 2024-07-02 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, 1,'234468','8','O24070005728','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','6','1740','2024-07-08','2024-07-02 17:06:15','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234468',`firm_id` = '8',`ordernumber` = 'O24070005728', `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` = '6',`total_price` = '1740',`etd` = '2024-07-08',`create_date` = '2024-07-02 17:06:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070005728' and product_code = 'DG010527-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070005728' and product_code = 'DG010527-01' 2024-07-02 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, 1,'234468','8','O24070005728','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-08','2024-07-02 17:06:15','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234468',`firm_id` = '8',`ordernumber` = 'O24070005728', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-08',`create_date` = '2024-07-02 17:06:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070005728' and product_code = 'DG010527-01' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005866' and product_code = 'DG010101-01' 2024-07-02 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, 1,'234469','8','S24070005866','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-07-03','2024-07-02 17:18:14','2024-07-02 23:59:09',0,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234469',`firm_id` = '8',`ordernumber` = 'S24070005866', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-07-03',`create_date` = '2024-07-02 17:18:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005866' and product_code = 'DG010101-01' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005866' and product_code = 'DG010101-02' 2024-07-02 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, 1,'234469','8','S24070005866','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-03','2024-07-02 17:18:14','2024-07-02 23:59:09',0,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234469',`firm_id` = '8',`ordernumber` = 'S24070005866', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-03',`create_date` = '2024-07-02 17:18:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005866' and product_code = 'DG010101-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070005866' and product_code = 'DG010405-01' 2024-07-02 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, 1,'234469','8','S24070005866','單入紅提盒','DG010405-01','DG010405','單入紅提盒包材','單入紅提盒','15','15','0','0','0','0','1','0.0','3','45','2024-07-03','2024-07-02 17:18:14','2024-07-02 23:59:09',0,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234469',`firm_id` = '8',`ordernumber` = 'S24070005866', `product_name` = '單入紅提盒',`product_code` = 'DG010405-01',`product_sn` = 'DG010405',`product_spec` = '單入紅提盒包材',`invoice_name` = '單入紅提盒',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '45',`etd` = '2024-07-03',`create_date` = '2024-07-02 17:18:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070005866' and product_code = 'DG010405-01' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070005939' and product_code = 'DG0103148-03' 2024-07-02 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, 1,'234470','8','O24070005939','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','30','14400','2024-07-15','2024-07-02 18:06:19','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234470',`firm_id` = '8',`ordernumber` = 'O24070005939', `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` = '30',`total_price` = '14400',`etd` = '2024-07-15',`create_date` = '2024-07-02 18:06:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070005939' and product_code = 'DG0103148-03' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006062' and product_code = 'DG010101-02' 2024-07-02 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, 1,'234471','8','O24070006062','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-04','2024-07-02 18:14:59','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234471',`firm_id` = '8',`ordernumber` = 'O24070006062', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-04',`create_date` = '2024-07-02 18:14:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006062' and product_code = 'DG010101-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006062' and product_code = 'DG010101-03' 2024-07-02 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, 1,'234471','8','O24070006062','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-04','2024-07-02 18:14:59','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234471',`firm_id` = '8',`ordernumber` = 'O24070006062', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-04',`create_date` = '2024-07-02 18:14:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006062' and product_code = 'DG010101-03' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006062' and product_code = 'DG010101-04' 2024-07-02 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, 1,'234471','8','O24070006062','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-04','2024-07-02 18:14:59','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234471',`firm_id` = '8',`ordernumber` = 'O24070006062', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-04',`create_date` = '2024-07-02 18:14:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006062' and product_code = 'DG010101-04' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006062' and product_code = 'DG010101-05' 2024-07-02 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, 1,'234471','8','O24070006062','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-04','2024-07-02 18:14:59','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234471',`firm_id` = '8',`ordernumber` = 'O24070006062', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-04',`create_date` = '2024-07-02 18:14:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006062' and product_code = 'DG010101-05' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006062' and product_code = 'DG010101-01' 2024-07-02 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, 1,'234471','8','O24070006062','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-04','2024-07-02 18:14:59','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234471',`firm_id` = '8',`ordernumber` = 'O24070006062', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-04',`create_date` = '2024-07-02 18:14:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006062' and product_code = 'DG010101-01' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006187' and product_code = 'DG0103155-02' 2024-07-02 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, 1,'234472','8','O24070006187','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','2','1000','2024-07-05','2024-07-02 18:19:20','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234472',`firm_id` = '8',`ordernumber` = 'O24070006187', `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-07-05',`create_date` = '2024-07-02 18:19:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006187' and product_code = 'DG0103155-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006187' and product_code = 'DG0103155-04' 2024-07-02 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, 1,'234472','8','O24070006187','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-04','DG0103155','原味蛋捲,海苔蛋捲','禮盒-SNOOPY【原味+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-07-05','2024-07-02 18:19:20','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234472',`firm_id` = '8',`ordernumber` = 'O24070006187', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-04',`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-05',`create_date` = '2024-07-02 18:19:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006187' and product_code = 'DG0103155-04' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006248' and product_code = 'DG010312-02' 2024-07-02 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, 1,'234473','8','O24070006248','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','5','2400','2024-07-04','2024-07-02 18:39:56','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234473',`firm_id` = '8',`ordernumber` = 'O24070006248', `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` = '5',`total_price` = '2400',`etd` = '2024-07-04',`create_date` = '2024-07-02 18:39:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006248' and product_code = 'DG010312-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070006377' and product_code = 'DG0103152-26' 2024-07-02 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, 1,'234474','8','S24070006377','金典8結乳酪絲禮盒','DG0103152-26','DG0103152','原味蛋捲.黑松露乳酪絲','禮盒-金典(紅)【原味+乳酪絲(黑松露)】','655','655','0','0','0','0','1','0.0','1','655','2024-07-03','2024-07-02 18:49:37','2024-07-02 23:59:09',0,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234474',`firm_id` = '8',`ordernumber` = 'S24070006377', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-26',`product_sn` = 'DG0103152',`product_spec` = '原味蛋捲.黑松露乳酪絲',`invoice_name` = '禮盒-金典(紅)【原味+乳酪絲(黑松露)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '655',`etd` = '2024-07-03',`create_date` = '2024-07-02 18:49:37',`modify_date` = '2024-07-02 18:59:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070006377' and product_code = 'DG0103152-26' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070006377' and product_code = 'DG0103148-02' 2024-07-02 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, 1,'234474','8','S24070006377','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-07-03','2024-07-02 18:49:37','2024-07-02 23:59:09',0,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234474',`firm_id` = '8',`ordernumber` = 'S24070006377', `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` = '1',`total_price` = '480',`etd` = '2024-07-03',`create_date` = '2024-07-02 18:49:37',`modify_date` = '2024-07-02 18:59:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070006377' and product_code = 'DG0103148-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070006377' and product_code = 'DG0103152-02' 2024-07-02 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, 1,'234474','8','S24070006377','金典8結乳酪絲禮盒','DG0103152-02','DG0103152','芝麻蛋捲.原味乳酪絲','禮盒-金典(紅)【芝麻+乳酪絲(原味)】','655','655','0','0','0','0','1','0.0','1','655','2024-07-03','2024-07-02 18:55:16','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234474',`firm_id` = '8',`ordernumber` = 'S24070006377', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-02',`product_sn` = 'DG0103152',`product_spec` = '芝麻蛋捲.原味乳酪絲',`invoice_name` = '禮盒-金典(紅)【芝麻+乳酪絲(原味)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '655',`etd` = '2024-07-03',`create_date` = '2024-07-02 18:55:16',`modify_date` = '2024-07-02 18:59:14',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070006377' and product_code = 'DG0103152-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070006377' and product_code = 'DG0103174-05' 2024-07-02 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, 1,'234474','8','S24070006377','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-05','DG0103174','巧克力','禮盒-故宮(文物大盒款)【巧克力+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','1','1100','2024-07-03','2024-07-02 18:58:25','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234474',`firm_id` = '8',`ordernumber` = 'S24070006377', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-05',`product_sn` = 'DG0103174',`product_spec` = '巧克力',`invoice_name` = '禮盒-故宮(文物大盒款)【巧克力+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1100',`etd` = '2024-07-03',`create_date` = '2024-07-02 18:58:25',`modify_date` = '2024-07-02 18:59:14',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'S24070006377' and product_code = 'DG0103174-05' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006427' and product_code = 'DG010206-02' 2024-07-02 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, 1,'234475','8','O24070006427','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','25','7375','2024-07-04','2024-07-02 19:37:38','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234475',`firm_id` = '8',`ordernumber` = 'O24070006427', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7375',`etd` = '2024-07-04',`create_date` = '2024-07-02 19:37:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006427' and product_code = 'DG010206-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006540' and product_code = 'DG0105101-03' 2024-07-02 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, 1,'234476','8','O24070006540','【期間限定】限定人氣伴手禮組','DG0105101-03','DG0105101','咖啡蛋捲+鳳梨酥+復古紅提袋','組合-32入咖啡+8入鳳梨酥+[復古]提袋','565','565','0','0','0','0','1','0.0','1','565','2024-07-04','2024-07-02 19:49:24','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234476',`firm_id` = '8',`ordernumber` = 'O24070006540', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-03',`product_sn` = 'DG0105101',`product_spec` = '咖啡蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入咖啡+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '565',`etd` = '2024-07-04',`create_date` = '2024-07-02 19:49:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006540' and product_code = 'DG0105101-03' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006630' and product_code = 'DG010312-02' 2024-07-02 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, 1,'234477','8','O24070006630','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','12','5760','2024-07-12','2024-07-02 19:58:03','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234477',`firm_id` = '8',`ordernumber` = 'O24070006630', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '12',`total_price` = '5760',`etd` = '2024-07-12',`create_date` = '2024-07-02 19:58:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006630' and product_code = 'DG010312-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006789' and product_code = 'DG010312-02' 2024-07-02 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, 1,'234478','8','O24070006789','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','5','2400','2024-07-04','2024-07-02 20:19:35','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234478',`firm_id` = '8',`ordernumber` = 'O24070006789', `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` = '5',`total_price` = '2400',`etd` = '2024-07-04',`create_date` = '2024-07-02 20:19:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006789' and product_code = 'DG010312-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006823' and product_code = 'DG010527-01' 2024-07-02 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, 1,'234479','8','O24070006823','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','3','870','2024-07-04','2024-07-02 21:07:58','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234479',`firm_id` = '8',`ordernumber` = 'O24070006823', `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` = '3',`total_price` = '870',`etd` = '2024-07-04',`create_date` = '2024-07-02 21:07:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006823' and product_code = 'DG010527-01' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006823' and product_code = 'DG010101-02' 2024-07-02 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, 1,'234479','8','O24070006823','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-04','2024-07-02 21:07:58','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234479',`firm_id` = '8',`ordernumber` = 'O24070006823', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-04',`create_date` = '2024-07-02 21:07:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006823' and product_code = 'DG010101-02' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006981' and product_code = 'DG010312-04' 2024-07-02 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, 1,'234480','8','O24070006981','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-07-04','2024-07-02 21:51:43','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234480',`firm_id` = '8',`ordernumber` = 'O24070006981', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-04',`create_date` = '2024-07-02 21:51:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006981' and product_code = 'DG010312-04' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070007065' and product_code = 'DG0103148-05' 2024-07-02 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, 1,'234481','8','O24070007065','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-07-04','2024-07-02 22:02:48','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234481',`firm_id` = '8',`ordernumber` = 'O24070007065', `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-04',`create_date` = '2024-07-02 22:02:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070007065' and product_code = 'DG0103148-05' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070007065' and product_code = 'DG010258-01' 2024-07-02 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, 1,'234481','8','O24070007065','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','6','1770','2024-07-04','2024-07-02 22:02:48','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234481',`firm_id` = '8',`ordernumber` = 'O24070007065', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`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` = '6',`total_price` = '1770',`etd` = '2024-07-04',`create_date` = '2024-07-02 22:02:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070007065' and product_code = 'DG010258-01' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070007140' and product_code = 'DG010101-05' 2024-07-02 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, 1,'234482','8','O24070007140','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-04','2024-07-02 22:25:45','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234482',`firm_id` = '8',`ordernumber` = 'O24070007140', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-04',`create_date` = '2024-07-02 22:25:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070007140' and product_code = 'DG010101-05' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070007140' and product_code = '13660' 2024-07-02 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, 1,'234482','8','O24070007140','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','17','4930','2024-07-04','2024-07-02 22:25:45','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234482',`firm_id` = '8',`ordernumber` = 'O24070007140', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`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` = '17',`total_price` = '4930',`etd` = '2024-07-04',`create_date` = '2024-07-02 22:25:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070007140' and product_code = '13660' 2024-07-02 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070007140' and product_code = 'DG010101-01' 2024-07-02 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, 1,'234482','8','O24070007140','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-04','2024-07-02 22:25:45','2024-07-02 23:59:09',null,'1','2024-05-27') 2024-07-02 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234482',`firm_id` = '8',`ordernumber` = 'O24070007140', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-04',`create_date` = '2024-07-02 22:25:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070007140' and product_code = 'DG010101-01' 2024-07-02 23:59:09 -- == sync_order_detail end == 2024-07-02 23:59:09 -- == sync_order start == 2024-07-02 23:59:09 -- start:2024-07-02,end:2024-07-02 2024-07-02 23:59:09 -- == 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-07-02%' OR l.modify_date like '2024-07-02%'; 2024-07-02 23:59:10 -- == sync omo_order_list == 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '397770', process_status = '2', pay_status = '1', totalprice_after = '14500', lunar_date = '2024-05-19', invoice_status = '0', category_name = ',正式彌,LINE@訂單', category_id = ',1,9' where ordernumber = 'M24060024822' 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '397840', process_status = '2', pay_status = '1', totalprice_after = '22950', lunar_date = '2024-05-19', invoice_status = '0', category_name = 'LINE@訂單,正式彌', category_id = '9,1' where ordernumber = 'M24060025542' 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '383835', process_status = '2', pay_status = '1', totalprice_after = '8450', lunar_date = '2024-05-24', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24060029946' 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '399224', process_status = '2', pay_status = '1', totalprice_after = '2030', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070001012' 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '399249', process_status = '1', pay_status = '1', totalprice_after = '42750', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070001436' 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '203682', process_status = '1', pay_status = '1', totalprice_after = '19133', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070001778' 2024-07-02 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '399270', process_status = '1', pay_status = '1', totalprice_after = '950', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070002054' 2024-07-02 23:59:10 -- == 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 ('112309','388754',2,'','','B24070002133','1','2','1','1','1','','','0','0000-00-00','630','0','0','','0','0','12600','500','彰化縣','彰化市','500','彰化縣','彰化市','11970','2024-07-02 00:25:37','2024-05-27') 2024-07-02 23:59:10 -- == 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 ('122889','0',2,'彌月試吃','2','B24070002214','1','1','1','1','1','','','0','2024-07-03','0','0','0','','0','0','800','702','台南市','南區','702','台南市','南區','800','2024-07-02 09:04:07','2024-05-27') 2024-07-02 23:59:10 -- == 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 ('122935','0',2,'彌月試吃','2','B24070002334','1','1','1','1','1','','','0','2024-07-03','0','0','0','','0','0','800','708','台南市','安平區','708','台南市','安平區','800','2024-07-02 09:06:43','2024-05-27') 2024-07-02 23:59:10 -- == 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 ('122977','0',2,'彌月試吃','2','B24070002466','1','11','1','1','1','','','0','2024-07-03','0','0','0','','0','0','600','333','桃園市','龜山區','333','桃園市','龜山區','600','2024-07-02 09:07:02','2024-05-27') 2024-07-02 23:59:10 -- == 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 ('122932','399261',2,'永康門市訂單','22','M24070002581','1','1','7','1','1','','','0','2024-07-05','225','0','0','','0','0','4500','202','基隆市','中正區','202','基隆市','中正區','4275','2024-07-02 16:00:45','2024-05-27') 2024-07-02 23:59:10 -- == 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 ('123082','399410',2,'正式彌,LINE@訂單','1,9','M24070002635','1','1','1','1','1','','','0','2024-07-11','0','645','0','','0','0','12900','209','連江縣','南竿鄉','209','連江縣','南竿鄉','12255','2024-07-02 16:14:04','2024-05-27') 2024-07-02 23:59:10 -- == 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 ('123103','0',2,'正式彌,LINE@訂單','1,9','M24070002743','1','2','1','0','0','','','0','2024-07-12','0','750','0','','0','0','15000','244','新北市','林口區','244','新北市','林口區','14250','2024-07-02 17:49:24','2024-05-27') 2024-07-02 23:59:10 -- == sync_order end == 2024-07-02 23:59:10 -- == sync_order_detail start == 2024-07-02 23:59:10 -- start:2024-07-02,end:2024-07-02 2024-07-02 23:59:10 -- == sync omo_order_detail == 2024-07-02 23:59:10 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-02%' OR modify_date like '2024-07-02%' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001436' and product_code = 'DG010222-01' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31640',`firm_id` = '8',`ordernumber` = 'M24070001436', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`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` = '75',`total_price` = '22500',`etd` = '2024-07-10',`create_date` = '2024-07-01 13:07:39',`modify_date` = '2024-07-02 14:31:39',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001436' and product_code = 'DG010222-01', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001436' and product_code = 'DG010222-02' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31640',`firm_id` = '8',`ordernumber` = 'M24070001436', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`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` = '75',`total_price` = '22500',`etd` = '2024-07-10',`create_date` = '2024-07-01 13:07:39',`modify_date` = '2024-07-02 14:31:39',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001436' and product_code = 'DG010222-02', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001436' and product_code = 'ZP010134-01' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31640',`firm_id` = '8',`ordernumber` = 'M24070001436', `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-10',`create_date` = '2024-07-01 13:07:39',`modify_date` = '2024-07-02 14:31:39',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001436' and product_code = 'ZP010134-01', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001778' and product_code = 'DG0103156-05' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31644',`firm_id` = '8',`ordernumber` = 'M24070001778', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '17',`total_price` = '8500',`etd` = '2024-07-10',`create_date` = '2024-07-01 15:26:52',`modify_date` = '2024-07-02 09:16:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001778' and product_code = 'DG0103156-05', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001778' and product_code = 'DG010263-05' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31644',`firm_id` = '8',`ordernumber` = 'M24070001778', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '36',`total_price` = '10800',`etd` = '2024-07-10',`create_date` = '2024-07-01 15:26:52',`modify_date` = '2024-07-02 09:16:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001778' and product_code = 'DG010263-05', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001778' and product_code = 'DG010101-01' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31644',`firm_id` = '8',`ordernumber` = 'M24070001778', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-10',`create_date` = '2024-07-01 15:26:52',`modify_date` = '2024-07-02 09:16:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001778' and product_code = 'DG010101-01', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001778' and product_code = 'DG010101-03' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31644',`firm_id` = '8',`ordernumber` = 'M24070001778', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-10',`create_date` = '2024-07-01 15:26:52',`modify_date` = '2024-07-02 09:16:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001778' and product_code = 'DG010101-03', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001778' and product_code = 'DG010101-05' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31644',`firm_id` = '8',`ordernumber` = 'M24070001778', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-10',`create_date` = '2024-07-01 15:26:52',`modify_date` = '2024-07-02 09:16:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001778' and product_code = 'DG010101-05', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001778' and product_code = 'ZP0101106-01' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31644',`firm_id` = '8',`ordernumber` = 'M24070001778', `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-10',`create_date` = '2024-07-01 15:26:52',`modify_date` = '2024-07-02 09:16:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001778' and product_code = 'ZP0101106-01', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002054' and product_code = 'DG010203-01' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31648',`firm_id` = '8',`ordernumber` = 'M24070002054', `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` = '1',`total_price` = '300',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:58:26',`modify_date` = '2024-07-02 09:10:30',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002054' and product_code = 'DG010203-01', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002054' and product_code = 'DG0103184-171' 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31648',`firm_id` = '8',`ordernumber` = 'M24070002054', `product_name` = '8結彌月禮盒-喜悅',`product_code` = 'DG0103184-171',`product_sn` = 'DG0103184',`product_spec` = '原味.芝麻.黑松露腰果.成真咖啡',`invoice_name` = '禮盒-彌月喜悅【原味+芝麻】+黑松露腰果+成真咖啡',`listprice` = '700',`sellingprice` = '700',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '700',`etd` = '2024-07-04',`create_date` = '2024-07-01 17:58:26',`modify_date` = '2024-07-02 09:10:30',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002054' and product_code = 'DG0103184-171', `lunar_date` = '2024-05-26' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002133' and product_code = 'DG010263-02' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31649','8','B24070002133','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','20','6000','2024-07-08','2024-07-02 00:25:37','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31649',`firm_id` = '8',`ordernumber` = 'B24070002133', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-07-08',`create_date` = '2024-07-02 00:25:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002133' and product_code = 'DG010263-02', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002133' and product_code = 'DG010263-03' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31649','8','B24070002133','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-03','DG010263','咖啡','提盒-彌月SNOOPY-40入咖啡','300','300','0','1','0','0','1','0.0','22','6600','2024-07-08','2024-07-02 00:25:37','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31649',`firm_id` = '8',`ordernumber` = 'B24070002133', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`product_sn` = 'DG010263',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '22',`total_price` = '6600',`etd` = '2024-07-08',`create_date` = '2024-07-02 00:25:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002133' and product_code = 'DG010263-03', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002133' and product_code = 'ZP0101119-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31649','8','B24070002133','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-08','2024-07-02 00:25:37','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31649',`firm_id` = '8',`ordernumber` = 'B24070002133', `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-08',`create_date` = '2024-07-02 00:25:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002133' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002214' and product_code = 'DG010243-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31650','11','B24070002214','年輪提盒彌月試吃【A1】','DG010243-01','DG010243','原味','提盒-彌月年輪-40入原味(試吃)','300','300','0','1','0','0','1','300.0','1','300','2024-07-03','2024-07-02 09:04:07','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31650',`firm_id` = '11',`ordernumber` = 'B24070002214', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-03',`create_date` = '2024-07-02 09:04:07',`modify_date` = '2024-07-02 09:04:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002214' and product_code = 'DG010243-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002214' and product_code = 'DG0103137-09' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31650','11','B24070002214','樂芙禮盒彌月試吃【B2】','DG0103137-09','DG0103137','芝麻+巧克力','禮盒-彌月樂芙【芝麻+巧克力】(試吃)','500','500','0','1','0','0','1','500.0','1','500','2024-07-03','2024-07-02 09:04:07','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31650',`firm_id` = '11',`ordernumber` = 'B24070002214', `product_name` = '樂芙禮盒彌月試吃【B2】',`product_code` = 'DG0103137-09',`product_sn` = 'DG0103137',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-03',`create_date` = '2024-07-02 09:04:07',`modify_date` = '2024-07-02 09:04:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002214' and product_code = 'DG0103137-09', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002334' and product_code = 'DG010244-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31651','11','B24070002334','小王子提盒彌月試吃【A3】','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-07-03','2024-07-02 09:06:43','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31651',`firm_id` = '11',`ordernumber` = 'B24070002334', `product_name` = '小王子提盒彌月試吃【A3】',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-03',`create_date` = '2024-07-02 09:06:43',`modify_date` = '2024-07-02 09:06:43',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002334' and product_code = 'DG010244-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002334' and product_code = 'DG0103138-05' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31651','11','B24070002334','小王子禮盒彌月試吃【B3】','DG0103138-05','DG0103138','原味+巧克力','禮盒-小王子(藍)【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-07-03','2024-07-02 09:06:43','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31651',`firm_id` = '11',`ordernumber` = 'B24070002334', `product_name` = '小王子禮盒彌月試吃【B3】',`product_code` = 'DG0103138-05',`product_sn` = 'DG0103138',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-03',`create_date` = '2024-07-02 09:06:43',`modify_date` = '2024-07-02 09:06:43',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002334' and product_code = 'DG0103138-05', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002466' and product_code = 'DG010253-05' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31652','11','B24070002466','小王子(紅)提盒-彌月試吃【A4】','DG010253-05','DG010253','巧克力','提盒-彌月小王子(紅)-40入巧克力(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-07-03','2024-07-02 09:07:02','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31652',`firm_id` = '11',`ordernumber` = 'B24070002466', `product_name` = '小王子(紅)提盒-彌月試吃【A4】',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月小王子(紅)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-03',`create_date` = '2024-07-02 09:07:02',`modify_date` = '2024-07-02 09:07:02',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002466' and product_code = 'DG010253-05', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070002466' and product_code = 'DG010244-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31652','11','B24070002466','小王子提盒彌月試吃【A3】','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-07-03','2024-07-02 09:07:02','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31652',`firm_id` = '11',`ordernumber` = 'B24070002466', `product_name` = '小王子提盒彌月試吃【A3】',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-03',`create_date` = '2024-07-02 09:07:02',`modify_date` = '2024-07-02 09:07:02',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070002466' and product_code = 'DG010244-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002581' and product_code = 'DG010242-05' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31653','11','M24070002581','彌月試吃提盒-印記','DG010242-05','DG010242','巧克力','提盒-彌月印記-40入巧克力(試吃)','300','300','0','0','0','0','1','300.0','15','4500','2024-07-05','2024-07-02 16:00:45','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31653',`firm_id` = '11',`ordernumber` = 'M24070002581', `product_name` = '彌月試吃提盒-印記',`product_code` = 'DG010242-05',`product_sn` = 'DG010242',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月印記-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '15',`total_price` = '4500',`etd` = '2024-07-05',`create_date` = '2024-07-02 16:00:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002581' and product_code = 'DG010242-05', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002635' and product_code = 'DG010263-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31654','8','M24070002635','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','43','12900','2024-07-11','2024-07-02 16:14:04','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31654',`firm_id` = '8',`ordernumber` = 'M24070002635', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '43',`total_price` = '12900',`etd` = '2024-07-11',`create_date` = '2024-07-02 16:14:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002635' and product_code = 'DG010263-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002635' and product_code = 'ZP0101119-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31654','8','M24070002635','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-11','2024-07-02 16:14:04','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31654',`firm_id` = '8',`ordernumber` = 'M24070002635', `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-11',`create_date` = '2024-07-02 16:14:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002635' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002743' and product_code = 'DG010203-01' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31655','8','M24070002743','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','20','6000','2024-07-12','2024-07-02 17:49:24','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31655',`firm_id` = '8',`ordernumber` = 'M24070002743', `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` = '20',`total_price` = '6000',`etd` = '2024-07-12',`create_date` = '2024-07-02 17:49:24',`modify_date` = '2024-07-02 18:00:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002743' and product_code = 'DG010203-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002743' and product_code = 'DG010203-02' 2024-07-02 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31655','8','M24070002743','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','20','6000','2024-07-12','2024-07-02 17:49:24','2024-07-02 23:59:10',null,'1','2024-05-27') 2024-07-02 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31655',`firm_id` = '8',`ordernumber` = 'M24070002743', `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` = '20',`total_price` = '6000',`etd` = '2024-07-12',`create_date` = '2024-07-02 17:49:24',`modify_date` = '2024-07-02 18:00:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002743' and product_code = 'DG010203-02', `lunar_date` = '2024-05-27' 2024-07-02 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002743' and product_code = 'DG010203-05' 2024-07-02 23:59:11 -- == 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,'31655','8','M24070002743','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','5','1500','2024-07-12','2024-07-02 17:49:24','2024-07-02 23:59:11',null,'1','2024-05-27') 2024-07-02 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31655',`firm_id` = '8',`ordernumber` = 'M24070002743', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`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-12',`create_date` = '2024-07-02 17:49:24',`modify_date` = '2024-07-02 18:00:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002743' and product_code = 'DG010203-05', `lunar_date` = '2024-05-27' 2024-07-02 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002743' and product_code = 'DG010203-04' 2024-07-02 23:59:11 -- == 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,'31655','8','M24070002743','【小王子聯名】閃耀星空8結彌月提盒','DG010203-04','DG010203','海苔','提盒-小王子(藍)-40入海苔','300','300','0','0','0','0','1','0.0','5','1500','2024-07-12','2024-07-02 17:49:24','2024-07-02 23:59:11',null,'1','2024-05-27') 2024-07-02 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31655',`firm_id` = '8',`ordernumber` = 'M24070002743', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-04',`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-12',`create_date` = '2024-07-02 17:49:24',`modify_date` = '2024-07-02 18:00:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002743' and product_code = 'DG010203-04', `lunar_date` = '2024-05-27' 2024-07-02 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002743' and product_code = 'ZP0101119-01' 2024-07-02 23:59:11 -- == 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,'31655','8','M24070002743','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','0','0','2024-07-12','2024-07-02 17:49:24','2024-07-02 23:59:11',null,'0','2024-05-27') 2024-07-02 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31655',`firm_id` = '8',`ordernumber` = 'M24070002743', `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-12',`create_date` = '2024-07-02 17:49:24',`modify_date` = '2024-07-02 17:54:37',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24070002743' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070002743' and product_code = 'ZP0101119-01' 2024-07-02 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31655',`firm_id` = '8',`ordernumber` = 'M24070002743', `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-07-02 18:00:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070002743' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-27' 2024-07-02 23:59:11 -- == sync_order_detail end == 2024-07-02 23:59:11 -- == 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-07-02' OR o.updated_at = '2024-07-02') and o.deleted_at is null 2024-07-02 23:59:11 -- == sync_order_detail start == 2024-07-02 23:59:11 -- start:2024-07-02,end:2024-07-02 2024-07-02 23:59:11 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-07-02 23:59:12 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-07-02 23:59:15 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-07-02%';