2024-09-08 23:59:01 -- == sync_order start == 2024-09-08 23:59:01 -- start:2024-09-08,end:2024-09-08 2024-09-08 23:59:01 -- == 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-09-08%' OR l.modify_date like '2024-09-08%'; 2024-09-08 23:59:02 -- == sync omo_order_list == 2024-09-08 23:59:02 -- == update lake.omo_order_list == update omo_order_list set userId = '402046', process_status = '3', pay_status = '0', totalprice_after = '2619750', lunar_date = '2024-06-21', invoice_status = '0',category_name = 'LINE@訂單,企業訂單', category_id = '4,9' where ordernumber = 'S24070131682' 2024-09-08 23:59:02 -- == update lake.omo_order_list == update omo_order_list set userId = '402476', process_status = '3', pay_status = '1', totalprice_after = '480', lunar_date = '2024-07-11', invoice_status = '1',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24080264373' 2024-09-08 23:59:02 -- == update lake.omo_order_list == update omo_order_list set userId = '415320', process_status = '3', pay_status = '1', totalprice_after = '40', lunar_date = '2024-07-25', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'S24080807390' 2024-09-08 23:59:02 -- == update lake.omo_order_list == update omo_order_list set userId = '415090', process_status = '3', pay_status = '1', totalprice_after = '480', lunar_date = '2024-07-25', invoice_status = '1',category_name = 'FB訂單', category_id = '10' where ordernumber = 'S24080810721' 2024-09-08 23:59:02 -- == update lake.omo_order_list == update omo_order_list set userId = '416445', process_status = '3', pay_status = '1', totalprice_after = '3060', lunar_date = '2024-07-27', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24080904454' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '416632', process_status = '3', pay_status = '1', totalprice_after = '1620', lunar_date = '2024-07-28', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24080920119' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '222699', process_status = '3', pay_status = '1', totalprice_after = '1440', lunar_date = '2024-07-30', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24090044562' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '408495', process_status = '3', pay_status = '1', totalprice_after = '5730', lunar_date = '2024-08-02', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24090143652' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '417902', process_status = '3', pay_status = '1', totalprice_after = '1595', lunar_date = '2024-08-02', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24090167790' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '418459', process_status = '3', pay_status = '1', totalprice_after = '9024', lunar_date = '2024-08-02', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24090175777' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '419162', process_status = '3', pay_status = '1', totalprice_after = '6425', lunar_date = '2024-08-02', invoice_status = '1',category_name = ',美村門市訂單', category_id = ',32' where ordernumber = 'O24090180832' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '419271', process_status = '3', pay_status = '1', totalprice_after = '8140', lunar_date = '2024-08-03', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24090189998' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '36316', process_status = '3', pay_status = '0', totalprice_after = '9050', lunar_date = '2024-08-03', invoice_status = '0',category_name = '合作廠商訂貨', category_id = '17' where ordernumber = 'S24090192430' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '419386', process_status = '3', pay_status = '1', totalprice_after = '6220', lunar_date = '2024-08-03', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24090194318' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '419034', process_status = '3', pay_status = '1', totalprice_after = '23750', lunar_date = '2024-08-04', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24090169365RB2' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '129123', process_status = '3', pay_status = '0', totalprice_after = '5994', lunar_date = '2024-08-04', invoice_status = '0',category_name = ',合作廠商訂貨', category_id = ',17' where ordernumber = 'S24090202088' 2024-09-08 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '419799', process_status = '1', pay_status = '0', totalprice_after = '3170', lunar_date = '2024-08-05', invoice_status = '0',category_name = '迪化門市訂單,迪化當日宅配', category_id = '43,44' where ordernumber = 'S24090204659' 2024-09-08 23:59:03 -- == 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 ('383537','419882',1,'','','O24090205684','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3660','812','高雄市','小港區','812','高雄市','小港區','3780','2024-09-08 00:20:25','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383539','419884',1,'','','O24090205754','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','201','基隆市','信義區','201','基隆市','信義區','1080','2024-09-08 00:24:03','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383542','419887',1,'','','O24090205873','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1920','905','屏東縣','里港鄉','905','屏東縣','里港鄉','2070','2024-09-08 00:37:21','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383512','419857',1,'','','O24090205947','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','231','新北市','新店區','231','新北市','新店區','1080','2024-09-08 10:10:51','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383498','419843',1,'','','O24090206098','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1920','363','苗栗縣','公館鄉','978','花蓮縣','瑞穗鄉','2040','2024-09-08 10:28:12','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('213001','219604',1,'','','O24090206126','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','826','高雄市','梓官區','830','高雄市','鳳山區','1110','2024-09-08 14:00:38','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383553','419898',1,'','','O24090206281','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','4198','243','新北市','泰山區','243','新北市','泰山區','4318','2024-09-08 14:05:38','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383656','420001',1,'','','O24090206363','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','580','351','苗栗縣','頭份市','900','屏東縣','屏東市','700','2024-09-08 14:37:31','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383648','419993',1,'','','O24090206432','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1750','300','新竹市','東區','300','新竹市','東區','1870','2024-09-08 14:45:37','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('5282','173671',1,'','','O24090206529','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1740','510','彰化縣','員林市','510','彰化縣','員林市','1890','2024-09-08 16:07:17','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('361769','398374',1,'','','O24090206618','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1770','806','高雄市','前鎮區','806','高雄市','前鎮區','1920','2024-09-08 16:26:38','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383696','420041',1,'','','O24090206727','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','560','830','高雄市','鳳山區','830','高雄市','鳳山區','680','2024-09-08 16:38:30','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('99937','70919',1,'','','O24090206872','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','251','新北市','淡水區','722','台南市','佳里區','1590','2024-09-08 17:01:39','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('380449','416832',1,'','','O24090206912','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','1080','2024-09-08 19:32:29','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383738','420082',1,'','','O24090207023','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','4800','231','新北市','新店區','269','宜蘭縣','冬山鄉','4950','2024-09-08 21:08:25','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383739','420083',1,'','','O24090207184','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1810','506','彰化縣','福興鄉','506','彰化縣','福興鄉','1930','2024-09-08 21:10:39','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('372973','409458',1,'','','O24090207286','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2880','523','彰化縣','埤頭鄉','523','彰化縣','埤頭鄉','3000','2024-09-08 21:10:58','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('381203','417573',1,'','','O24090207373','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1160','802','高雄市','苓雅區','802','高雄市','苓雅區','1280','2024-09-08 21:28:29','2024-08-06') 2024-09-08 23:59:03 -- == 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 ('383673','420018',1,'','','O24090207421','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','295','414','台中市','烏日區','640','雲林縣','斗六市','415','2024-09-08 22:59:13','2024-08-06') 2024-09-08 23:59:03 -- == sync_order end == 2024-09-08 23:59:03 -- == sync_order_detail start == 2024-09-08 23:59:03 -- start:2024-09-08,end:2024-09-08 2024-09-08 23:59:03 -- == sync omo_order_detail == 2024-09-08 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-09-08%' OR modify_date like '2024-09-08%' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070131682' and product_code = 'DG0103182-136' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '235751',`firm_id` = '8',`ordernumber` = 'S24070131682', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-136',`product_sn` = 'DG0103182',`product_spec` = '芝麻.南棗核桃糕.黑松露腰果',`invoice_name` = '禮盒-金巧8結【(芝麻)-南棗核桃糕+黑松露腰果】',`listprice` = '635',`sellingprice` = '635',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5250',`total_price` = '3333750',`etd` = '2024-09-06',`create_date` = '2024-07-26 14:52:36',`modify_date` = '2024-09-08 14:51:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-21'where ordernumber = 'S24070131682' and product_code = 'DG0103182-136' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24080264373' and product_code = 'DG010312-09' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '239111',`firm_id` = '8',`ordernumber` = 'S24080264373', `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-09-06',`create_date` = '2024-08-14 14:33:20',`modify_date` = '2024-09-08 14:56:12',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-11'where ordernumber = 'S24080264373' and product_code = 'DG010312-09' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24080807390' and product_code = 'DG010404-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '244766',`firm_id` = '8',`ordernumber` = 'S24080807390', `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` = '4',`total_price` = '40',`etd` = '2024-09-06',`create_date` = '2024-08-28 16:40:01',`modify_date` = '2024-09-08 14:53:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-25'where ordernumber = 'S24080807390' and product_code = 'DG010404-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24080810721' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '244804',`firm_id` = '8',`ordernumber` = 'S24080810721', `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-09-06',`create_date` = '2024-08-28 17:44:03',`modify_date` = '2024-09-08 14:52:20',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-25'where ordernumber = 'S24080810721' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24080904454' and product_code = 'DG010527-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '245773',`firm_id` = '8',`ordernumber` = 'O24080904454', `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` = '2',`total_price` = '580',`etd` = '2024-09-04',`create_date` = '2024-08-30 17:33:22',`modify_date` = '2024-09-08 14:49:20',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-07-27'where ordernumber = 'O24080904454' and product_code = 'DG010527-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24080904454' and product_code = 'DG010206-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '245773',`firm_id` = '8',`ordernumber` = 'O24080904454', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2360',`etd` = '2024-09-04',`create_date` = '2024-08-30 17:33:22',`modify_date` = '2024-09-08 14:49:20',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-07-27'where ordernumber = 'O24080904454' and product_code = 'DG010206-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24080920119' and product_code = 'DG010327-09' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '245936',`firm_id` = '8',`ordernumber` = 'O24080920119', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-09',`product_sn` = 'DG010327',`product_spec` = '芝麻,巧克力',`invoice_name` = '禮盒-小王子(藍)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-09-04',`create_date` = '2024-08-31 02:07:41',`modify_date` = '2024-09-08 14:48:12',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-07-28'where ordernumber = 'O24080920119' and product_code = 'DG010327-09' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090044562' and product_code = 'DG010312-08' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '246662',`firm_id` = '8',`ordernumber` = 'S24090044562', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-04',`create_date` = '2024-09-02 09:17:44',`modify_date` = '2024-09-08 14:47:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-30'where ordernumber = 'S24090044562' and product_code = 'DG010312-08' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090044562' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '246662',`firm_id` = '8',`ordernumber` = 'S24090044562', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-04',`create_date` = '2024-09-02 09:17:44',`modify_date` = '2024-09-08 14:47:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-30'where ordernumber = 'S24090044562' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090044562' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '246662',`firm_id` = '8',`ordernumber` = 'S24090044562', `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-09-04',`create_date` = '2024-09-02 09:17:44',`modify_date` = '2024-09-08 14:47:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-30'where ordernumber = 'S24090044562' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090143652' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '247696',`firm_id` = '8',`ordernumber` = 'O24090143652', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '10',`total_price` = '4800',`etd` = '2024-09-08',`create_date` = '2024-09-04 10:26:10',`modify_date` = '2024-09-08 19:56:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090143652' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090143652' and product_code = 'DG010312-12' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '247696',`firm_id` = '8',`ordernumber` = 'O24090143652', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-08',`create_date` = '2024-09-04 10:26:10',`modify_date` = '2024-09-08 19:56:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090143652' and product_code = 'DG010312-12' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090143652' and product_code = 'DG010312-05' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '247696',`firm_id` = '8',`ordernumber` = 'O24090143652', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-08',`create_date` = '2024-09-04 10:26:10',`modify_date` = '2024-09-08 19:56:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090143652' and product_code = 'DG010312-05' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090167790' and product_code = '13656' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '247948',`firm_id` = '8',`ordernumber` = 'S24090167790', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-09-08',`create_date` = '2024-09-04 17:48:36',`modify_date` = '2024-09-08 10:50:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'S24090167790' and product_code = '13656' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090167790' and product_code = 'DG010206-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '247948',`firm_id` = '8',`ordernumber` = 'S24090167790', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-09-08',`create_date` = '2024-09-04 17:48:36',`modify_date` = '2024-09-08 10:50:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'S24090167790' and product_code = 'DG010206-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090167790' and product_code = 'DG010206-05' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '247948',`firm_id` = '8',`ordernumber` = 'S24090167790', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-09-08',`create_date` = '2024-09-04 17:48:36',`modify_date` = '2024-09-08 10:50:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'S24090167790' and product_code = 'DG010206-05' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090175777' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248029',`firm_id` = '8',`ordernumber` = 'O24090175777', `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-09-08',`create_date` = '2024-09-04 21:20:50',`modify_date` = '2024-09-08 12:08:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090175777' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090175777' and product_code = '13656' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248029',`firm_id` = '8',`ordernumber` = 'O24090175777', `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-09-08',`create_date` = '2024-09-04 21:20:50',`modify_date` = '2024-09-08 12:08:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090175777' and product_code = '13656' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090175777' and product_code = '13657' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248029',`firm_id` = '8',`ordernumber` = 'O24090175777', `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` = '8',`total_price` = '2320',`etd` = '2024-09-08',`create_date` = '2024-09-04 21:20:50',`modify_date` = '2024-09-08 12:08:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090175777' and product_code = '13657' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090180832' and product_code = 'DG010206-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248080',`firm_id` = '8',`ordernumber` = 'O24090180832', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '4720',`etd` = '2024-09-08',`create_date` = '2024-09-04 23:22:45',`modify_date` = '2024-09-08 18:33:18',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090180832' and product_code = 'DG010206-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090180832' and product_code = 'DG010206-05' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248080',`firm_id` = '8',`ordernumber` = 'O24090180832', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-09-08',`create_date` = '2024-09-04 23:22:45',`modify_date` = '2024-09-08 18:33:18',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090180832' and product_code = 'DG010206-05' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090180832' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248080',`firm_id` = '8',`ordernumber` = 'O24090180832', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-09-08',`create_date` = '2024-09-04 23:22:45',`modify_date` = '2024-09-08 18:33:18',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'O24090180832' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090189998' and product_code = 'FL010102-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248174',`firm_id` = '8',`ordernumber` = 'S24090189998', `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` = '22',`total_price` = '3630',`etd` = '2024-09-08',`create_date` = '2024-09-05 11:13:35',`modify_date` = '2024-09-08 19:58:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-03'where ordernumber = 'S24090189998' and product_code = 'FL010102-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090189998' and product_code = 'FL010101-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248174',`firm_id` = '8',`ordernumber` = 'S24090189998', `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` = '22',`total_price` = '4290',`etd` = '2024-09-08',`create_date` = '2024-09-05 11:13:35',`modify_date` = '2024-09-08 19:58:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-03'where ordernumber = 'S24090189998' and product_code = 'FL010101-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090189998' and product_code = 'DG010404-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248174',`firm_id` = '8',`ordernumber` = 'S24090189998', `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` = '22',`total_price` = '220',`etd` = '2024-09-08',`create_date` = '2024-09-05 11:13:35',`modify_date` = '2024-09-08 19:58:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-03'where ordernumber = 'S24090189998' and product_code = 'DG010404-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090192430' and product_code = 'DG0103201-01' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248202',`firm_id` = '8',`ordernumber` = 'S24090192430', `product_name` = '【廠商用】六月初一&成真咖啡禮盒(無濾掛包)',`product_code` = 'DG0103201-01',`product_sn` = 'DG0103201',`product_spec` = '原味',`invoice_name` = '禮盒-ESG藍金【原味蛋捲+成真咖啡盒套(不需咖啡包)】',`listprice` = '181',`sellingprice` = '181',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '50',`total_price` = '9050',`etd` = '2024-09-11',`create_date` = '2024-09-05 14:21:52',`modify_date` = '2024-09-08 15:55:06',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-03'where ordernumber = 'S24090192430' and product_code = 'DG0103201-01' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090194318' and product_code = 'DG0103182-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248225',`firm_id` = '8',`ordernumber` = 'O24090194318', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-02',`product_sn` = 'DG0103182',`product_spec` = '原味,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-金巧8結【(原味)-鳳梨酥+鳳梅酥】',`listprice` = '625',`sellingprice` = '625',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '6250',`etd` = '2024-09-08',`create_date` = '2024-09-05 16:21:04',`modify_date` = '2024-09-08 19:56:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-03'where ordernumber = 'O24090194318' and product_code = 'DG0103182-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090169365RB2' and product_code = 'DG010327-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248310',`firm_id` = '8',`ordernumber` = 'S24090169365RB2', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味.芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '50',`total_price` = '25000',`etd` = '2024-09-08',`create_date` = '2024-09-04 18:34:18',`modify_date` = '2024-09-08 12:39:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-02'where ordernumber = 'S24090169365RB2' and product_code = 'DG010327-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090202088' and product_code = 'DG010315-03' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248319',`firm_id` = '8',`ordernumber` = 'S24090202088', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-03',`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` = '12',`total_price` = '6660',`etd` = '2024-09-11',`create_date` = '2024-09-06 17:05:35',`modify_date` = '2024-09-08 15:54:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-04'where ordernumber = 'S24090202088' and product_code = 'DG010315-03' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24090204659' and product_code = 'DG010394-02' 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248348',`firm_id` = '8',`ordernumber` = 'S24090204659', `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` = '6',`total_price` = '3000',`etd` = '2024-09-09',`create_date` = '2024-09-07 13:45:40',`modify_date` = '2024-09-08 17:44:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-08-05'where ordernumber = 'S24090204659' and product_code = 'DG010394-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205684' and product_code = 'DG010312-05' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248358','8','O24090205684','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-09-23','2024-09-08 00:20:25','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248358',`firm_id` = '8',`ordernumber` = 'O24090205684', `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` = '3',`total_price` = '1440',`etd` = '2024-09-23',`create_date` = '2024-09-08 00:20:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205684' and product_code = 'DG010312-05' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205684' and product_code = 'DG010312-09' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248358','8','O24090205684','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-09-23','2024-09-08 00:20:25','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248358',`firm_id` = '8',`ordernumber` = 'O24090205684', `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` = '3',`total_price` = '1440',`etd` = '2024-09-23',`create_date` = '2024-09-08 00:20:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205684' and product_code = 'DG010312-09' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205684' and product_code = 'DG010312-11' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248358','8','O24090205684','【咖啡+海苔】金8結禮盒','DG010312-11','DG010312','金8結盒','禮盒-金8結【咖啡+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-09-23','2024-09-08 00:20:25','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248358',`firm_id` = '8',`ordernumber` = 'O24090205684', `product_name` = '【咖啡+海苔】金8結禮盒',`product_code` = 'DG010312-11',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-23',`create_date` = '2024-09-08 00:20:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205684' and product_code = 'DG010312-11' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205684' and product_code = 'DG010265-02' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248358','8','O24090205684','【預購-9/19後出貨】SNOOPY獨特心意-8結提盒','DG010265-02','DG010265','芝麻','提盒-SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-09-23','2024-09-08 00:20:25','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248358',`firm_id` = '8',`ordernumber` = 'O24090205684', `product_name` = '【預購-9/19後出貨】SNOOPY獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`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` = '1',`total_price` = '300',`etd` = '2024-09-23',`create_date` = '2024-09-08 00:20:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205684' and product_code = 'DG010265-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205754' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248359','8','O24090205754','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-09-20','2024-09-08 00:24:03','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248359',`firm_id` = '8',`ordernumber` = 'O24090205754', `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` = '2',`total_price` = '960',`etd` = '2024-09-20',`create_date` = '2024-09-08 00:24:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205754' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205873' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248360','8','O24090205873','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','4','1920','2024-09-19','2024-09-08 00:37:21','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248360',`firm_id` = '8',`ordernumber` = 'O24090205873', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '4',`total_price` = '1920',`etd` = '2024-09-19',`create_date` = '2024-09-08 00:37:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205873' and product_code = 'DG010312-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090205947' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248361','8','O24090205947','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-09-19','2024-09-08 10:10:51','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248361',`firm_id` = '8',`ordernumber` = 'O24090205947', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-09-19',`create_date` = '2024-09-08 10:10:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090205947' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206098' and product_code = 'DG0103148-02' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248362','8','O24090206098','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 10:28:12','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248362',`firm_id` = '8',`ordernumber` = 'O24090206098', `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-09-19',`create_date` = '2024-09-08 10:28:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206098' and product_code = 'DG0103148-02' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206098' and product_code = 'DG0103148-07' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248362','8','O24090206098','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 10:28:12','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248362',`firm_id` = '8',`ordernumber` = 'O24090206098', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-07',`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-09-19',`create_date` = '2024-09-08 10:28:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206098' and product_code = 'DG0103148-07' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206098' and product_code = 'DG0103148-13' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248362','8','O24090206098','金典8結禮盒','DG0103148-13','DG0103148','海苔+海苔','禮盒-金典(紅)【海苔+海苔】','480','480','0','0','0','0','1','0.0','2','960','2024-09-19','2024-09-08 10:28:12','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248362',`firm_id` = '8',`ordernumber` = 'O24090206098', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-13',`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-09-19',`create_date` = '2024-09-08 10:28:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206098' and product_code = 'DG0103148-13' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206126' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248363','8','O24090206126','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-09-19','2024-09-08 14:00:38','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248363',`firm_id` = '8',`ordernumber` = 'O24090206126', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-09-19',`create_date` = '2024-09-08 14:00:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206126' and product_code = 'DG010312-03' 2024-09-08 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206281' and product_code = '03969' 2024-09-08 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'248364','8','O24090206281','小王子行李箱蛋捲10入組','03969','03956','巧克力x5+咖啡x5','組合-32入(巧克力x5+咖啡x5)小王子行李箱','4188','4188','0','0','0','1','1','0.0','1','4188','2024-09-19','2024-09-08 14:05:38','2024-09-08 23:59:05',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248364',`firm_id` = '8',`ordernumber` = 'O24090206281', `product_name` = '小王子行李箱蛋捲10入組',`product_code` = '03969',`product_sn` = '03956',`product_spec` = '巧克力x5+咖啡x5',`invoice_name` = '組合-32入(巧克力x5+咖啡x5)小王子行李箱',`listprice` = '4188',`sellingprice` = '4188',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '4188',`etd` = '2024-09-19',`create_date` = '2024-09-08 14:05:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206281' and product_code = '03969' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206281' and product_code = 'DG010404-01' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248364','8','O24090206281','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','1','10','2024-09-19','2024-09-08 14:05:38','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248364',`firm_id` = '8',`ordernumber` = 'O24090206281', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2024-09-19',`create_date` = '2024-09-08 14:05:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206281' and product_code = 'DG010404-01' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206363' and product_code = '13660' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248365','8','O24090206363','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-09-19','2024-09-08 14:37:31','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248365',`firm_id` = '8',`ordernumber` = 'O24090206363', `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` = '2',`total_price` = '580',`etd` = '2024-09-19',`create_date` = '2024-09-08 14:37:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206363' and product_code = '13660' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206432' and product_code = 'DG010312-02' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248366','8','O24090206432','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-09-19','2024-09-08 14:45:37','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248366',`firm_id` = '8',`ordernumber` = 'O24090206432', `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-09-19',`create_date` = '2024-09-08 14:45:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206432' and product_code = 'DG010312-02' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206432' and product_code = 'DG0103188-06' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248366','8','O24090206432','【預購-9/19後出貨】SNOOPY美好探尋-8結禮盒','DG0103188-06','DG0103188','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY(橘)【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-09-19','2024-09-08 14:45:37','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248366',`firm_id` = '8',`ordernumber` = 'O24090206432', `product_name` = '【預購-9/19後出貨】SNOOPY美好探尋-8結禮盒',`product_code` = 'DG0103188-06',`product_sn` = 'DG0103188',`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-09-19',`create_date` = '2024-09-08 14:45:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206432' and product_code = 'DG0103188-06' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206432' and product_code = 'DG010527-01' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248366','8','O24090206432','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-09-19','2024-09-08 14:45:37','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248366',`firm_id` = '8',`ordernumber` = 'O24090206432', `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-09-19',`create_date` = '2024-09-08 14:45:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206432' and product_code = 'DG010527-01' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206432' and product_code = 'DG0103148-05' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248366','8','O24090206432','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 14:45:37','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248366',`firm_id` = '8',`ordernumber` = 'O24090206432', `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-09-19',`create_date` = '2024-09-08 14:45:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206432' and product_code = 'DG0103148-05' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206529' and product_code = 'DG010312-05' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248367','8','O24090206529','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-09-23','2024-09-08 16:07:17','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248367',`firm_id` = '8',`ordernumber` = 'O24090206529', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-23',`create_date` = '2024-09-08 16:07:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206529' and product_code = 'DG010312-05' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206529' and product_code = 'DG010312-09' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248367','8','O24090206529','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-09-23','2024-09-08 16:07:17','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248367',`firm_id` = '8',`ordernumber` = 'O24090206529', `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-09-23',`create_date` = '2024-09-08 16:07:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206529' and product_code = 'DG010312-09' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206529' and product_code = 'DG010312-02' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248367','8','O24090206529','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-09-23','2024-09-08 16:07:17','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248367',`firm_id` = '8',`ordernumber` = 'O24090206529', `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-09-23',`create_date` = '2024-09-08 16:07:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206529' and product_code = 'DG010312-02' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206529' and product_code = 'TG010106-01' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248367','8','O24090206529','分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','1','300','2024-09-23','2024-09-08 16:07:17','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248367',`firm_id` = '8',`ordernumber` = 'O24090206529', `product_name` = '分享包-黑曜芝麻糕',`product_code` = 'TG010106-01',`product_sn` = 'TG010106',`product_spec` = '25入芝麻糕分享包',`invoice_name` = '(紅袋)芝麻糕',`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-09-23',`create_date` = '2024-09-08 16:07:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206529' and product_code = 'TG010106-01' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206618' and product_code = 'DG010258-05' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248368','8','O24090206618','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','6','1770','2024-09-19','2024-09-08 16:26:38','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248368',`firm_id` = '8',`ordernumber` = 'O24090206618', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1770',`etd` = '2024-09-19',`create_date` = '2024-09-08 16:26:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206618' and product_code = 'DG010258-05' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206727' and product_code = 'DG010101-01' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248369','8','O24090206727','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-09-19','2024-09-08 16:38:30','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248369',`firm_id` = '8',`ordernumber` = 'O24090206727', `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-09-19',`create_date` = '2024-09-08 16:38:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206727' and product_code = 'DG010101-01' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206872' and product_code = 'DG0105104-02' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248370','8','O24090206872','【都會LUCK】8結禮盒','DG0105104-02','DG0105104','原味+芝麻','禮盒-都會LUCK【原味+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 17:01:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248370',`firm_id` = '8',`ordernumber` = 'O24090206872', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-02',`product_sn` = 'DG0105104',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-都會LUCK【原味+芝麻】',`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-09-19',`create_date` = '2024-09-08 17:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206872' and product_code = 'DG0105104-02' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206872' and product_code = 'DG0105104-14' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248370','8','O24090206872','【都會LUCK】8結禮盒','DG0105104-14','DG0105104','巧克力+海苔','禮盒-都會LUCK【海苔+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 17:01:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248370',`firm_id` = '8',`ordernumber` = 'O24090206872', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-14',`product_sn` = 'DG0105104',`product_spec` = '巧克力+海苔',`invoice_name` = '禮盒-都會LUCK【海苔+巧克力】',`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-09-19',`create_date` = '2024-09-08 17:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206872' and product_code = 'DG0105104-14' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206872' and product_code = 'DG0105104-11' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248370','8','O24090206872','【都會LUCK】8結禮盒','DG0105104-11','DG0105104','咖啡+海苔','禮盒-都會LUCK【咖啡+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 17:01:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248370',`firm_id` = '8',`ordernumber` = 'O24090206872', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-11',`product_sn` = 'DG0105104',`product_spec` = '咖啡+海苔',`invoice_name` = '禮盒-都會LUCK【咖啡+海苔】',`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-09-19',`create_date` = '2024-09-08 17:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206872' and product_code = 'DG0105104-11' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090206912' and product_code = 'DG010312-05' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248371','8','O24090206912','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-09-19','2024-09-08 19:32:29','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248371',`firm_id` = '8',`ordernumber` = 'O24090206912', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-09-19',`create_date` = '2024-09-08 19:32:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090206912' and product_code = 'DG010312-05' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207023' and product_code = 'DG010312-05' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248372','8','O24090207023','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','10','4800','2024-09-19','2024-09-08 21:08:25','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248372',`firm_id` = '8',`ordernumber` = 'O24090207023', `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` = '10',`total_price` = '4800',`etd` = '2024-09-19',`create_date` = '2024-09-08 21:08:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207023' and product_code = 'DG010312-05' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207184' and product_code = 'DG0103148-05' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248373','8','O24090207184','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-09-19','2024-09-08 21:10:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248373',`firm_id` = '8',`ordernumber` = 'O24090207184', `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` = '2',`total_price` = '960',`etd` = '2024-09-19',`create_date` = '2024-09-08 21:10:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207184' and product_code = 'DG0103148-05' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207184' and product_code = 'DG0103148-08' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248373','8','O24090207184','金典8結禮盒','DG0103148-08','DG0103148','芝麻+海苔','禮盒-金典(紅)【芝麻+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-09-19','2024-09-08 21:10:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248373',`firm_id` = '8',`ordernumber` = 'O24090207184', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-08',`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-09-19',`create_date` = '2024-09-08 21:10:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207184' and product_code = 'DG0103148-08' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207184' and product_code = 'LS010108-01' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248373','8','O24090207184','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','1','190','2024-09-19','2024-09-08 21:10:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248373',`firm_id` = '8',`ordernumber` = 'O24090207184', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-09-19',`create_date` = '2024-09-08 21:10:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207184' and product_code = 'LS010108-01' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207184' and product_code = 'GG010104-01' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248373','8','O24090207184','[加購]加購-義式皇家黑松露腰果','GG010104-01','GG010104','-','加購-(盒)堅果【腰果】','180','180','1','1','180','0','0','0.0','1','180','2024-09-19','2024-09-08 21:10:39','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248373',`firm_id` = '8',`ordernumber` = 'O24090207184', `product_name` = '[加購]加購-義式皇家黑松露腰果',`product_code` = 'GG010104-01',`product_sn` = 'GG010104',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【腰果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-09-19',`create_date` = '2024-09-08 21:10:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207184' and product_code = 'GG010104-01' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207286' and product_code = 'DG010312-02' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248374','8','O24090207286','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-09-19','2024-09-08 21:10:58','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248374',`firm_id` = '8',`ordernumber` = 'O24090207286', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-09-19',`create_date` = '2024-09-08 21:10:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207286' and product_code = 'DG010312-02' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207373' and product_code = '13656' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248375','8','O24090207373','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','4','1160','2024-09-23','2024-09-08 21:28:29','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248375',`firm_id` = '8',`ordernumber` = 'O24090207373', `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` = '4',`total_price` = '1160',`etd` = '2024-09-23',`create_date` = '2024-09-08 21:28:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207373' and product_code = '13656' 2024-09-08 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090207421' and product_code = 'DG010258-02' 2024-09-08 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248376','8','O24090207421','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-09-19','2024-09-08 22:59:13','2024-09-08 23:59:06',null,'1','2024-08-06') 2024-09-08 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248376',`firm_id` = '8',`ordernumber` = 'O24090207421', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-09-19',`create_date` = '2024-09-08 22:59:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-06'where ordernumber = 'O24090207421' and product_code = 'DG010258-02' 2024-09-08 23:59:06 -- == sync_order_detail end == 2024-09-08 23:59:06 -- == sync_order start == 2024-09-08 23:59:06 -- start:2024-09-08,end:2024-09-08 2024-09-08 23:59:06 -- == 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-09-08%' OR l.modify_date like '2024-09-08%'; 2024-09-08 23:59:06 -- == sync omo_order_list == 2024-09-08 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '418190', process_status = '3', pay_status = '8', totalprice_after = '800', lunar_date = '2024-08-01', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24090003228' 2024-09-08 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '418344', process_status = '3', pay_status = '8', totalprice_after = '600', lunar_date = '2024-08-01', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24090004071' 2024-09-08 23:59:06 -- == 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 ('143789','419906',2,'','','B24090009532','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','807','高雄市','三民區','400','台中市','中區','620','2024-09-08 10:57:37','2024-08-06') 2024-09-08 23:59:06 -- == 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 ('143921','420037',2,'','','B24090009685','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','741','台南市','善化區','330','桃園市','桃園區','620','2024-09-08 16:21:30','2024-08-06') 2024-09-08 23:59:06 -- == 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 ('143934','93969',2,'','','B24090009716','1','2','1','1','1','','','0','0000-00-00','600','0','0','','0','0','12000','238','新北市','樹林區','238','新北市','樹林區','11400','2024-09-08 17:46:12','2024-08-06') 2024-09-08 23:59:06 -- == 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 ('11756','202046',2,'','','B24090009837','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6000','221','新北市','汐止區','221','新北市','汐止區','6000','2024-09-08 18:21:47','2024-08-06') 2024-09-08 23:59:06 -- == sync_order end == 2024-09-08 23:59:06 -- == sync_order_detail start == 2024-09-08 23:59:06 -- start:2024-09-08,end:2024-09-08 2024-09-08 23:59:06 -- == sync omo_order_detail == 2024-09-08 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-09-08%' OR modify_date like '2024-09-08%' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24090003228' and product_code = 'DG010243-03' 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32567',`firm_id` = '11',`ordernumber` = 'M24090003228', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-03',`product_sn` = 'DG010243',`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` = '1',`total_price` = '300',`etd` = '2024-09-06',`create_date` = '2024-09-03 10:24:41',`modify_date` = '2024-09-08 19:52:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090003228' and product_code = 'DG010243-03', `lunar_date` = '2024-08-01' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24090003228' and product_code = 'DG010248-01' 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32567',`firm_id` = '11',`ordernumber` = 'M24090003228', `product_name` = '香頌日光提盒彌月試吃【A2】',`product_code` = 'DG010248-01',`product_sn` = 'DG010248',`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-09-06',`create_date` = '2024-09-03 10:24:41',`modify_date` = '2024-09-08 19:52:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090003228' and product_code = 'DG010248-01', `lunar_date` = '2024-08-01' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24090003228' and product_code = 'DG0103137-09' 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32567',`firm_id` = '11',`ordernumber` = 'M24090003228', `product_name` = '樂芙禮盒彌月試吃【B1】',`product_code` = 'DG0103137-09',`product_sn` = 'DG0103137',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-09-06',`create_date` = '2024-09-03 10:24:41',`modify_date` = '2024-09-08 19:52:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090003228' and product_code = 'DG0103137-09', `lunar_date` = '2024-08-01' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24090004071' and product_code = 'DG010243-05' 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32575',`firm_id` = '11',`ordernumber` = 'M24090004071', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-05',`product_sn` = 'DG010243',`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` = '1',`total_price` = '300',`etd` = '2024-09-06',`create_date` = '2024-09-03 14:22:36',`modify_date` = '2024-09-08 16:29:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090004071' and product_code = 'DG010243-05', `lunar_date` = '2024-08-01' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24090004071' and product_code = 'DG010248-01' 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32575',`firm_id` = '11',`ordernumber` = 'M24090004071', `product_name` = '香頌日光提盒彌月試吃【A2】',`product_code` = 'DG010248-01',`product_sn` = 'DG010248',`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-09-06',`create_date` = '2024-09-03 14:22:36',`modify_date` = '2024-09-08 16:29:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090004071' and product_code = 'DG010248-01', `lunar_date` = '2024-08-01' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24090004071' and product_code = 'DG010267-02' 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32575',`firm_id` = '11',`ordernumber` = 'M24090004071', `product_name` = 'SNOOPY(粉)提盒-彌月試吃【A3】',`product_code` = 'DG010267-02',`product_sn` = 'DG010267',`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` = '1',`total_price` = '300',`etd` = '2024-09-06',`create_date` = '2024-09-03 14:22:36',`modify_date` = '2024-09-08 16:29:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090004071' and product_code = 'DG010267-02', `lunar_date` = '2024-08-01' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090009532' and product_code = 'DG0103189-03' 2024-09-08 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, 2,'32643','8','B24090009532','【預購-9/19後出貨】SNOOPY美好探尋-8結彌月禮盒','DG0103189-03','DG0103189','原味+咖啡','禮盒-彌月SNOOPY(橘)【原味+咖啡】','500','500','0','1','0','0','1','0.0','1','500','2024-09-20','2024-09-08 10:57:37','2024-09-08 23:59:07',null,'1','2024-08-06') 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32643',`firm_id` = '8',`ordernumber` = 'B24090009532', `product_name` = '【預購-9/19後出貨】SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-03',`product_sn` = 'DG0103189',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+咖啡】',`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-09-20',`create_date` = '2024-09-08 10:57:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090009532' and product_code = 'DG0103189-03', `lunar_date` = '2024-08-06' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090009685' and product_code = 'DG0103189-02' 2024-09-08 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, 2,'32644','8','B24090009685','【預購-9/19後出貨】SNOOPY美好探尋-8結彌月禮盒','DG0103189-02','DG0103189','原味+芝麻','禮盒-彌月SNOOPY(橘)【原味+芝麻】','500','500','0','1','0','0','1','0.0','1','500','2024-09-23','2024-09-08 16:21:30','2024-09-08 23:59:07',null,'1','2024-08-06') 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32644',`firm_id` = '8',`ordernumber` = 'B24090009685', `product_name` = '【預購-9/19後出貨】SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-02',`product_sn` = 'DG0103189',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+芝麻】',`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-09-23',`create_date` = '2024-09-08 16:21:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090009685' and product_code = 'DG0103189-02', `lunar_date` = '2024-08-06' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090009716' and product_code = 'DG010202-01' 2024-09-08 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, 2,'32645','8','B24090009716','8結彌月提盒-年輪','DG010202-01','DG010202','原味','提盒-彌月年輪-40入原味','0','300','0','1','0','0','1','300.0','40','12000','2024-09-20','2024-09-08 17:46:12','2024-09-08 23:59:07',null,'1','2024-08-06') 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32645',`firm_id` = '8',`ordernumber` = 'B24090009716', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-01',`product_sn` = 'DG010202',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味',`listprice` = '0',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '40',`total_price` = '12000',`etd` = '2024-09-20',`create_date` = '2024-09-08 17:46:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090009716' and product_code = 'DG010202-01', `lunar_date` = '2024-08-06' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090009716' and product_code = 'ZP010520-01' 2024-09-08 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, 2,'32645','8','B24090009716','贈品-SNOOPY寶寶貼心組','ZP010520-01','ZP010520','SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6','組合-SNOOPY提把水瓶+sNug寶寶襪*3','0','0','0','0','0','0','1','0.0','1','0','2024-09-20','2024-09-08 17:46:12','2024-09-08 23:59:07',null,'1','2024-08-06') 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32645',`firm_id` = '8',`ordernumber` = 'B24090009716', `product_name` = '贈品-SNOOPY寶寶貼心組',`product_code` = 'ZP010520-01',`product_sn` = 'ZP010520',`product_spec` = 'SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6',`invoice_name` = '組合-SNOOPY提把水瓶+sNug寶寶襪*3',`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-09-20',`create_date` = '2024-09-08 17:46:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090009716' and product_code = 'ZP010520-01', `lunar_date` = '2024-08-06' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090009837' and product_code = 'DG010269-02' 2024-09-08 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, 2,'32646','8','B24090009837','【吳淡如聯名】築夢-8結彌月提盒','DG010269-02','DG010269','芝麻','提盒-彌月吳淡如-40入芝麻','300','300','0','0','0','0','1','0.0','20','6000','2024-09-25','2024-09-08 18:21:47','2024-09-08 23:59:07',null,'1','2024-08-06') 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32646',`firm_id` = '8',`ordernumber` = 'B24090009837', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-02',`product_sn` = 'DG010269',`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-09-25',`create_date` = '2024-09-08 18:21:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090009837' and product_code = 'DG010269-02', `lunar_date` = '2024-08-06' 2024-09-08 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090009837' and product_code = 'ZP010151-01' 2024-09-08 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, 2,'32646','8','B24090009837','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-09-25','2024-09-08 18:21:47','2024-09-08 23:59:07',null,'1','2024-08-06') 2024-09-08 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32646',`firm_id` = '8',`ordernumber` = 'B24090009837', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-09-25',`create_date` = '2024-09-08 18:21:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090009837' and product_code = 'ZP010151-01', `lunar_date` = '2024-08-06' 2024-09-08 23:59:07 -- == sync_order_detail end == 2024-09-08 23:59:07 -- == 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-09-08' OR o.updated_at = '2024-09-08') and o.deleted_at is null 2024-09-08 23:59:07 -- == sync_order_detail start == 2024-09-08 23:59:07 -- start:2024-09-08,end:2024-09-08 2024-09-08 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-09-08 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-09-08 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-09-08%';