2024-02-17 23:59:02 -- == sync_order start ==
2024-02-17 23:59:02 -- start:2024-02-17,end:2024-02-17
2024-02-17 23:59:02 -- == select june1.order_list ==

        SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date  FROM 
            `order_list` l 
        LEFT 
            JOIN member_list m on l.mid = m.id 
        WHERE 
            l.create_date like '2024-02-17%' OR l.modify_date like '2024-02-17%';
        
2024-02-17 23:59:03 -- == sync omo_order_list ==
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '362920', process_status = '2', pay_status = '1', totalprice_after = '5700', lunar_date = '2023-11-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010264534'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '361780', process_status = '2', pay_status = '1', totalprice_after = '1305', lunar_date = '2023-12-07', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010620538'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '368591', process_status = '3', pay_status = '1', totalprice_after = '16780', lunar_date = '2023-12-08', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24010648418'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '650', lunar_date = '2023-12-09', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010700473'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '450', lunar_date = '2023-12-09', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010700532'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '450', lunar_date = '2023-12-09', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010700618'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '90027', process_status = '2', pay_status = '1', totalprice_after = '5600', lunar_date = '2023-12-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010820611'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '650', lunar_date = '2023-12-13', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010826240'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '450', lunar_date = '2023-12-13', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010826371'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '450', lunar_date = '2023-12-15', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010867027'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '445', lunar_date = '2023-12-15', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24010867121'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '373258', process_status = '2', pay_status = '1', totalprice_after = '960', lunar_date = '2023-12-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010931351'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '20851', process_status = '2', pay_status = '1', totalprice_after = '79680', lunar_date = '2023-12-19', invoice_status = '0',category_name = '團媽訂單,電話訂單', category_id = '3,12' where ordernumber = 'S24010690238RB'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '122918', process_status = '2', pay_status = '1', totalprice_after = '68760', lunar_date = '2023-12-21', invoice_status = '1',category_name = '境外訂單', category_id = '18' where ordernumber = 'S24010967992'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '372191', process_status = '2', pay_status = '1', totalprice_after = '3480', lunar_date = '2023-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020000577'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '374892', process_status = '2', pay_status = '1', totalprice_after = '12330', lunar_date = '2023-12-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020001674'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '375106', process_status = '2', pay_status = '1', totalprice_after = '33611', lunar_date = '2023-12-23', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24020004020'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '375751', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2023-12-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020006282'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '375930', process_status = '2', pay_status = '1', totalprice_after = '8805', lunar_date = '2023-12-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020008591RB'
2024-02-17 23:59:03 -- == update lake.omo_order_list ==
update omo_order_list set userId = '352444', process_status = '2', pay_status = '1', totalprice_after = '8208', lunar_date = '2023-12-27', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24020010213RB'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '376427', process_status = '2', pay_status = '1', totalprice_after = '5700', lunar_date = '2023-12-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020013896'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377131', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2024-01-04', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020020315'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '331059', process_status = '1', pay_status = '1', totalprice_after = '410', lunar_date = '2024-01-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020022563'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377269', process_status = '3', pay_status = '1', totalprice_after = '41040', lunar_date = '2024-01-06', invoice_status = '1',category_name = '永康當日宅配,永康門市訂單', category_id = '19,31' where ordernumber = 'S24020024563'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '40128', lunar_date = '2024-01-06', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24020024718'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '42839', process_status = '2', pay_status = '1', totalprice_after = '5280', lunar_date = '2024-01-06', invoice_status = '1',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24020026562'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '22922', lunar_date = '2024-01-06', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24020026919'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377409', process_status = '2', pay_status = '1', totalprice_after = '2520', lunar_date = '2024-01-07', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020028110'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '165213', process_status = '2', pay_status = '1', totalprice_after = '24996', lunar_date = '2024-01-07', invoice_status = '0',category_name = '團媽訂單', category_id = '3' where ordernumber = 'S24020028387'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '22919', lunar_date = '2024-01-07', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24020028447'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '64181', lunar_date = '2024-01-07', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24020028711'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '191148', process_status = '1', pay_status = '1', totalprice_after = '86220', lunar_date = '2024-01-07', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24020025833RB'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377465', process_status = '2', pay_status = '1', totalprice_after = '2040', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020029470'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377464', process_status = '2', pay_status = '1', totalprice_after = '10944', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020029540'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '376719', process_status = '6', pay_status = '0', totalprice_after = '1950', lunar_date = '2024-01-07', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020029678'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '376719', process_status = '2', pay_status = '1', totalprice_after = '1950', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020029751'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377491', process_status = '2', pay_status = '1', totalprice_after = '400', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020029862'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '339377', process_status = '2', pay_status = '1', totalprice_after = '1610', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020030131'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377507', process_status = '2', pay_status = '1', totalprice_after = '1470', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020030282'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377509', process_status = '2', pay_status = '1', totalprice_after = '2720', lunar_date = '2024-01-07', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020030349'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '376825', process_status = '1', pay_status = '1', totalprice_after = '2880', lunar_date = '2024-01-07', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020017393RB'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '374773', process_status = '2', pay_status = '1', totalprice_after = '8378', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020030544'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377520', process_status = '2', pay_status = '1', totalprice_after = '990', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020030685'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '141668', process_status = '2', pay_status = '1', totalprice_after = '3900', lunar_date = '2024-01-07', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020030778'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '233780', process_status = '2', pay_status = '1', totalprice_after = '6160', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020030840'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377309', process_status = '2', pay_status = '1', totalprice_after = '4308', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020030922'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377558', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020031076'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '163661', process_status = '2', pay_status = '1', totalprice_after = '2628', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020031284'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377563', process_status = '2', pay_status = '1', totalprice_after = '1860', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020031343'
2024-02-17 23:59:04 -- == update lake.omo_order_list ==
update omo_order_list set userId = '268667', process_status = '2', pay_status = '1', totalprice_after = '3260', lunar_date = '2024-01-07', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24020031464'
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('224388','247285',1,'','','O24020031590','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1090','845','高雄市','內門區','845','高雄市','內門區','1240','2024-02-17 02:15:14','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('99513','70525',1,'','','O24020031686','1','1','1','1','2','03244509','亞洲水泥股份有限公司','0','0000-00-00','720','0','0','','0','0','14400','970','花蓮縣','花蓮市','971','花蓮縣','新城鄉','13680','2024-02-17 08:48:28','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340780','377573',1,'','','O24020031730','1','11','1','1','2','03090217','兆豐產物保險股份有限公司','0','0000-00-00','0','0','0','','150','30','3360','420','台中市','豐原區','420','台中市','豐原區','3480','2024-02-17 09:01:09','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340783','377576',1,'','','O24020031874','1','11','1','1','2','','','0','0000-00-00','0','0','0','','150','0','480','300','新竹市','香山區','300','新竹市','香山區','630','2024-02-17 09:22:02','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'補寄訂單','7','S24020031976','1','8','1','7','2','','','2','2024-02-17','0','900','0','','0','0','900','403','台中市','西區','252','新北市','三芝區','0','2024-02-17 09:22:41','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('223088','243862',1,'','','O24020032016','1','1','1','1','2','90833834','速進有限公司','0','0000-00-00','0','0','0','','150','0','280','802','高雄市','苓雅區','204','基隆市','安樂區','430','2024-02-17 09:54:38','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('88945','60757',1,'','','O24020032179','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1575','701','台南市','東區','701','台南市','東區','1725','2024-02-17 10:08:19','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('58768','32456',1,'LINE@訂單,團媽訂單','9,3','S24020032213','1','1','1','1','1','82910908','鉅玄有限公司 ','0','2024-02-20','0','10252','0','','0','0','63360','814','高雄市','仁武區','221','新北市','汐止區','53108','2024-02-17 10:48:49','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340788','377581',1,'','','O24020032320','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1980','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','2100','2024-02-17 11:02:58','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340792','377585',1,'','','O24020032437','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','403','台中市','西區','403','台中市','西區','600','2024-02-17 11:18:40','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340796','377589',1,'電話訂單','12','S24020032521','1','2','1','1','1','','','0','2024-02-19','0','0','0','','150','30','1180','950','台東縣','台東市','950','台東縣','台東市','1300','2024-02-17 11:20:11','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340800','377593',1,'永康當日宅配','19','S24020032689','1','1','7','1','3','','','1','2024-02-17','0','0','0','','250','0','3360','110','台北市','信義區','110','台北市','信義區','3610','2024-02-17 11:24:10','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('90099','61847',1,'美村門市訂單','32','S24020032797','1','2','1','1','1','','','0','2024-02-20','0','425','0','','0','0','8500','702','台南市','南區','702','台南市','南區','8075','2024-02-17 11:44:41','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('133330','101729',1,'','','O24020032856','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','4800','825','高雄市','橋頭區','825','高雄市','橋頭區','4950','2024-02-17 12:45:42','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('94101','65519',1,'','','O24020032991','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2065','330','桃園市','桃園區','330','桃園市','桃園區','2215','2024-02-17 13:06:23','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('327759','364717',1,'','','O24020033086','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','0','960','330','桃園市','桃園區','269','宜蘭縣','冬山鄉','1110','2024-02-17 13:23:30','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340840','377633',1,'','','O24020033146','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','244','新北市','林口區','244','新北市','林口區','600','2024-02-17 13:27:12','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('327759','364717',1,'','','O24020033265','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','330','桃園市','桃園區','269','宜蘭縣','冬山鄉','1110','2024-02-17 13:27:24','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('313344','350500',1,'','','O24020033393','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','580','236','新北市','土城區','236','新北市','土城區','730','2024-02-17 13:49:30','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340858','377651',1,'電話訂單','12','S24020033474','1','1','1','1','1','','','0','2024-02-21','0','675','0','','0','100','13500','640','雲林縣','斗六市','640','雲林縣','斗六市','12725','2024-02-17 14:37:45','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340864','377657',1,'','','O24020033535','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2065','436','台中市','清水區','436','台中市','清水區','2185','2024-02-17 14:56:51','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('150622','118335',1,'','','O24020033645','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5720','','新竹市','None','300','新竹市','北區','5720','2024-02-17 15:04:50','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('213714','221377',1,'門市宅配訂單','15','S24020033776','1','1','7','1','1','','','0','2024-02-19','480','0','0','','0','0','2880','204','基隆市','安樂區','204','基隆市','安樂區','2400','2024-02-17 15:06:46','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340872','377665',1,'','','O24020033831','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1120','350','苗栗縣','竹南鎮','350','苗栗縣','竹南鎮','1240','2024-02-17 15:33:45','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('332455','369349',1,'','','O24020033960','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','433','台中市','沙鹿區','433','台中市','沙鹿區','420','2024-02-17 15:42:46','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('326269','363248',1,'','','O24020034020','1','11','1','1','1','22657830','建越工業股份有限公司','0','0000-00-00','796','0','0','','0','0','15930','306','新竹縣','關西鎮','325','桃園市','龍潭區','15134','2024-02-17 16:19:28','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340906','377699',1,'','','O24020034112','1','11','1','1','1','82991140','香港商豐成有限公司台灣分公司','0','0000-00-00','0','0','0','','150','30','1000','337','桃園市','大園區','337','桃園市','大園區','1120','2024-02-17 16:39:02','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340904','377697',1,'','','O24020034225','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1475','241','新北市','三重區','241','新北市','三重區','1595','2024-02-17 16:40:16','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('43293','191148',1,'LINE@訂單','9','S24020034349','1','4','1','1','1','60288196','泰中寶代購有限公司 ','0','2024-02-27','0','445','0','','0','0','4450','244','新北市','林口區','249','新北市','八里區','4005','2024-02-17 17:15:30','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340917','377709',1,'','','O24020034470','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','295','248','新北市','五股區','248','新北市','五股區','415','2024-02-17 17:19:44','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('7917','6422',1,'','','O24020034573','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3735','110','台北市','信義區','110','台北市','信義區','3885','2024-02-17 17:22:16','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('291426','328867',1,'','','O24020034688','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1440','632','雲林縣','虎尾鎮','632','雲林縣','虎尾鎮','1590','2024-02-17 17:28:02','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('104033','74671',1,'','','O24020034736','1','11','1','1','1','43817952','貞六元投資有限公司','0','0000-00-00','0','0','0','','150','0','1180','231','新北市','新店區','231','新北市','新店區','1330','2024-02-17 17:49:35','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340928','377720',1,'','','O24020034814','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','885','708','台南市','安平區','708','台南市','安平區','1035','2024-02-17 17:53:14','2024-01-08')
2024-02-17 23:59:04 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340951','377743',1,'','','O24020034991','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2880','330','桃園市','桃園區','330','桃園市','桃園區','3030','2024-02-17 18:40:29','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340946','377738',1,'','','O24020035097','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2880','252','新北市','三芝區','252','新北市','三芝區','3000','2024-02-17 19:51:26','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340976','377768',1,'','','O24020035133','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2478','806','高雄市','前鎮區','806','高雄市','前鎮區','2598','2024-02-17 21:23:03','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340980','377772',1,'','','O24020035236','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','734','台南市','六甲區','973','花蓮縣','吉安鄉','630','2024-02-17 22:06:55','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('307284','344519',1,'','','O24020035322','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','500','505','彰化縣','鹿港鎮','505','彰化縣','鹿港鎮','650','2024-02-17 22:13:27','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340981','377773',1,'','','O24020035455','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','825','803','高雄市','鹽埕區','803','高雄市','鹽埕區','945','2024-02-17 22:51:50','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340983','377775',1,'','','O24020035525','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','221','新北市','汐止區','221','新北市','汐止區','1560','2024-02-17 23:28:11','2024-01-08')
2024-02-17 23:59:05 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('340187','376985',1,'','','O24020035647','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2065','334','桃園市','八德區','334','桃園市','八德區','2185','2024-02-17 23:48:35','2024-01-08')
2024-02-17 23:59:05 -- == sync_order end ==
2024-02-17 23:59:05 -- == sync_order_detail start ==
2024-02-17 23:59:05 -- start:2024-02-17,end:2024-02-17
2024-02-17 23:59:05 -- == sync omo_order_detail ==
2024-02-17 23:59:05 -- == SELECT order_detail ==
SELECT * from order_detail WHERE create_date like '2024-02-17%' OR modify_date like '2024-02-17%'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24010264534' and product_code = 'DG010101-02' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '220976',`firm_id` = '8',`ordernumber` = 'O24010264534',  `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '6',`total_price` = '1680',`etd` = '2024-02-19',`create_date` = '2024-01-09 09:36:06',`modify_date` = '2024-02-17 10:33:23',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-28'where ordernumber = 'O24010264534' and product_code = 'DG010101-02'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24010264534' and product_code = 'DG010129-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '220976',`firm_id` = '8',`ordernumber` = 'O24010264534',  `product_name` = '【期間限定】皇家伯爵茶蛋捲',`product_code` = 'DG010129-01',`product_sn` = 'DG010129',`product_spec` = '32入伯爵茶',`invoice_name` = '32入伯爵茶',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-02-19',`create_date` = '2024-01-09 09:36:06',`modify_date` = '2024-02-17 10:33:23',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-28'where ordernumber = 'O24010264534' and product_code = 'DG010129-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24010264534' and product_code = 'DG010101-03' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '220976',`firm_id` = '8',`ordernumber` = 'O24010264534',  `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '6',`total_price` = '1680',`etd` = '2024-02-19',`create_date` = '2024-01-09 09:36:06',`modify_date` = '2024-02-17 10:33:23',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-28'where ordernumber = 'O24010264534' and product_code = 'DG010101-03'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24010264534' and product_code = '03951' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '220976',`firm_id` = '8',`ordernumber` = 'O24010264534',  `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '加購-黑曜芝麻糕分享包',`listprice` = '285',`sellingprice` = '285',`isadd` = '1',`isbaby` = '1',`addprice` = '285',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '570',`etd` = '2024-02-19',`create_date` = '2024-01-09 09:36:06',`modify_date` = '2024-02-17 10:33:23',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-28'where ordernumber = 'O24010264534' and product_code = '03951'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24010648418' and product_code = 'FL010102-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '225003',`firm_id` = '8',`ordernumber` = 'S24010648418',  `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '金巧鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '130',`etd` = '2024-02-15',`create_date` = '2024-01-18 13:05:48',`modify_date` = '2024-02-17 15:09:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-08'where ordernumber = 'S24010648418' and product_code = 'FL010102-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24010648418' and product_code = '04191' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '225003',`firm_id` = '8',`ordernumber` = 'S24010648418',  `product_name` = '加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-金巧鳳梨酥',`listprice` = '130',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '139',`total_price` = '16680',`etd` = '2024-02-15',`create_date` = '2024-01-18 13:05:48',`modify_date` = '2024-02-17 15:09:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-12-08'where ordernumber = 'S24010648418' and product_code = '04191'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020022563' and product_code = 'FL010102-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228560',`firm_id` = '8',`ordernumber` = 'O24020022563',  `product_name` = '【預購品,2/26後出貨】一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '260',`etd` = '2024-02-22',`create_date` = '2024-02-14 19:32:50',`modify_date` = '2024-02-17 09:34:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-05'where ordernumber = 'O24020022563' and product_code = 'FL010102-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024563' and product_code = 'DG010312-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228581',`firm_id` = '8',`ordernumber` = 'S24020024563',  `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '25',`total_price` = '12000',`etd` = '2024-02-17',`create_date` = '2024-02-15 12:19:47',`modify_date` = '2024-02-17 10:57:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024563' and product_code = 'DG010312-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024563' and product_code = 'DG010312-02' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228581',`firm_id` = '8',`ordernumber` = 'S24020024563',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '20',`total_price` = '9600',`etd` = '2024-02-17',`create_date` = '2024-02-15 12:19:47',`modify_date` = '2024-02-17 10:57:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024563' and product_code = 'DG010312-02'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024563' and product_code = 'DG010312-03' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228581',`firm_id` = '8',`ordernumber` = 'S24020024563',  `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` = '20',`total_price` = '9600',`etd` = '2024-02-17',`create_date` = '2024-02-15 12:19:47',`modify_date` = '2024-02-17 10:57:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024563' and product_code = 'DG010312-03'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024563' and product_code = 'DG010312-05' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228581',`firm_id` = '8',`ordernumber` = 'S24020024563',  `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` = '25',`total_price` = '12000',`etd` = '2024-02-17',`create_date` = '2024-02-15 12:19:47',`modify_date` = '2024-02-17 10:57:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024563' and product_code = 'DG010312-05'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024718' and product_code = 'DG010312-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228583',`firm_id` = '8',`ordernumber` = 'S24020024718',  `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '20',`total_price` = '9600',`etd` = '2024-02-17',`create_date` = '2024-02-15 13:08:11',`modify_date` = '2024-02-17 09:45:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024718' and product_code = 'DG010312-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024718' and product_code = 'DG010312-06' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228583',`firm_id` = '8',`ordernumber` = 'S24020024718',  `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '20',`total_price` = '9600',`etd` = '2024-02-17',`create_date` = '2024-02-15 13:08:11',`modify_date` = '2024-02-17 09:45:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024718' and product_code = 'DG010312-06'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024718' and product_code = 'DG010312-10' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228583',`firm_id` = '8',`ordernumber` = 'S24020024718',  `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '16',`total_price` = '7680',`etd` = '2024-02-17',`create_date` = '2024-02-15 13:08:11',`modify_date` = '2024-02-17 09:45:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024718' and product_code = 'DG010312-10'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024718' and product_code = 'DG010312-15' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228583',`firm_id` = '8',`ordernumber` = 'S24020024718',  `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '16',`total_price` = '7680',`etd` = '2024-02-17',`create_date` = '2024-02-15 13:08:11',`modify_date` = '2024-02-17 09:45:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024718' and product_code = 'DG010312-15'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024718' and product_code = 'DG010312-13' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228583',`firm_id` = '8',`ordernumber` = 'S24020024718',  `product_name` = '【海苔+海苔】金8結禮盒',`product_code` = 'DG010312-13',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【海苔+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '16',`total_price` = '7680',`etd` = '2024-02-17',`create_date` = '2024-02-15 13:08:11',`modify_date` = '2024-02-17 09:45:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024718' and product_code = 'DG010312-13'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020024718' and product_code = 'DG010404-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228583',`firm_id` = '8',`ordernumber` = 'S24020024718',  `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '紅色提袋',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '176',`total_price` = '0',`etd` = '2024-02-17',`create_date` = '2024-02-15 13:08:11',`modify_date` = '2024-02-17 09:45:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020024718' and product_code = 'DG010404-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020026562' and product_code = 'DG010101-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228603',`firm_id` = '8',`ordernumber` = 'S24020026562',  `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` = '12',`total_price` = '3360',`etd` = '2024-02-17',`create_date` = '2024-02-15 17:23:13',`modify_date` = '2024-02-17 13:13:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020026562' and product_code = 'DG010101-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020026562' and product_code = 'DG010101-03' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228603',`firm_id` = '8',`ordernumber` = 'S24020026562',  `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '4',`total_price` = '1120',`etd` = '2024-02-17',`create_date` = '2024-02-15 17:23:13',`modify_date` = '2024-02-17 13:13:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020026562' and product_code = 'DG010101-03'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020026562' and product_code = 'DG010101-04' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228603',`firm_id` = '8',`ordernumber` = 'S24020026562',  `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-02-17',`create_date` = '2024-02-15 17:23:13',`modify_date` = '2024-02-17 13:13:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020026562' and product_code = 'DG010101-04'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020026562' and product_code = 'DG010101-05' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228603',`firm_id` = '8',`ordernumber` = 'S24020026562',  `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-02-17',`create_date` = '2024-02-15 17:23:13',`modify_date` = '2024-02-17 13:13:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020026562' and product_code = 'DG010101-05'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'DG010101-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `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` = '205',`total_price` = '57400',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:27:15',`modify_date` = '2024-02-17 17:17:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'DG010101-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'DG010101-03' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '20',`total_price` = '5600',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:27:15',`modify_date` = '2024-02-17 17:17:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'DG010101-03'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'DG010101-05' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '20',`total_price` = '5600',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:27:15',`modify_date` = '2024-02-17 17:17:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'DG010101-05'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'DG010101-02' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '60',`total_price` = '16800',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:27:15',`modify_date` = '2024-02-17 17:17:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'DG010101-02'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'DG010101-04' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '20',`total_price` = '5600',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:27:15',`modify_date` = '2024-02-17 17:17:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'DG010101-04'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'DG010312-02' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `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` = '10',`total_price` = '4800',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:27:15',`modify_date` = '2024-02-17 17:17:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'DG010312-02'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'FL010102-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '【預購品,2/26後出貨】一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '0',`total_price` = '0',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:43:46',`modify_date` = '2024-02-17 17:17:27',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'FL010102-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'LS010104-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '【預購品,2/20後出貨】分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '分享包-原味乳酪絲(藍)袋裝',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-02-20',`create_date` = '2024-02-15 15:43:46',`modify_date` = '2024-02-17 17:17:27',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'LS010104-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'TG010107-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '【預購品,2/26後出貨】分享包-夏威夷豆軟糖',`product_code` = 'TG010107-01',`product_sn` = 'TG010107',`product_spec` = '15入夏威夷豆軟糖分享包',`invoice_name` = '分享包-夏威夷豆軟糖',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-02-20',`create_date` = '2024-02-15 16:04:59',`modify_date` = '2024-02-17 17:17:27',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'TG010107-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020025833RB' and product_code = 'TG010106-01' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228638',`firm_id` = '8',`ordernumber` = 'S24020025833RB',  `product_name` = '【預購品,2/26後出貨】分享包-黑曜芝麻糕',`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` = '0',`total_price` = '0',`etd` = '2024-02-20',`create_date` = '2024-02-15 16:04:59',`modify_date` = '2024-02-17 17:17:27',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-01-06'where ordernumber = 'S24020025833RB' and product_code = 'TG010106-01'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020029470' and product_code = 'DG010312-09' 
2024-02-17 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228639',`firm_id` = '8',`ordernumber` = 'O24020029470',  `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-02-17',`create_date` = '2024-02-16 15:07:46',`modify_date` = '2024-02-17 08:23:36',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-07'where ordernumber = 'O24020029470' and product_code = 'DG010312-09'
2024-02-17 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020029470' and product_code = 'DG010312-07' 
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228639',`firm_id` = '8',`ordernumber` = 'O24020029470',  `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-17',`create_date` = '2024-02-16 15:07:46',`modify_date` = '2024-02-17 08:23:36',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-07'where ordernumber = 'O24020029470' and product_code = 'DG010312-07'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020029678' and product_code = 'DG010101-05' 
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228641',`firm_id` = '8',`ordernumber` = 'O24020029678',  `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-02-17',`create_date` = '2024-02-16 15:38:05',`modify_date` = '2024-02-17 12:40:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-07'where ordernumber = 'O24020029678' and product_code = 'DG010101-05'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020029678' and product_code = 'DG010312-05' 
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228641',`firm_id` = '8',`ordernumber` = 'O24020029678',  `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-02-17',`create_date` = '2024-02-16 15:38:05',`modify_date` = '2024-02-17 12:40:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-07'where ordernumber = 'O24020029678' and product_code = 'DG010312-05'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020017393RB' and product_code = 'DG0103168-02' 
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228650',`firm_id` = '8',`ordernumber` = 'O24020017393RB',  `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-02',`product_sn` = 'DG0103168',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-隨享唐寧茶【原味+芝麻】+唐寧早餐茶+茶葉匙',`listprice` = '880',`sellingprice` = '880',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1760',`etd` = '2024-02-19',`create_date` = '2024-02-10 02:18:58',`modify_date` = '2024-02-17 17:29:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-01'where ordernumber = 'O24020017393RB' and product_code = 'DG0103168-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020017393RB' and product_code = 'DG010327-03' 
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228650',`firm_id` = '8',`ordernumber` = 'O24020017393RB',  `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-03',`product_sn` = 'DG010327',`product_spec` = '原味,咖啡',`invoice_name` = '禮盒-小王子(藍)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-19',`create_date` = '2024-02-10 02:18:58',`modify_date` = '2024-02-17 17:29:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-01'where ordernumber = 'O24020017393RB' and product_code = 'DG010327-03'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020017393RB' and product_code = 'DG010327-05' 
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228650',`firm_id` = '8',`ordernumber` = 'O24020017393RB',  `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-05',`product_sn` = 'DG010327',`product_spec` = '原味,巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-19',`create_date` = '2024-02-10 02:18:58',`modify_date` = '2024-02-17 17:29:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-01'where ordernumber = 'O24020017393RB' and product_code = 'DG010327-05'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020031590' and product_code = 'DG010312-04' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228661','8','O24020031590','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-03-01','2024-02-17 02:15:14','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228661',`firm_id` = '8',`ordernumber` = 'O24020031590',  `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-01',`create_date` = '2024-02-17 02:15:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020031590' and product_code = 'DG010312-04'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020031590' and product_code = 'DG010312-09' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228661','8','O24020031590','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-01','2024-02-17 02:15:14','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228661',`firm_id` = '8',`ordernumber` = 'O24020031590',  `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-03-01',`create_date` = '2024-02-17 02:15:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020031590' and product_code = 'DG010312-09'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020031590' and product_code = 'FL010102-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228661','8','O24020031590','【預購品,2/26後出貨】一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','1','130','2024-03-01','2024-02-17 02:15:14','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228661',`firm_id` = '8',`ordernumber` = 'O24020031590',  `product_name` = '【預購品,2/26後出貨】一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '130',`etd` = '2024-03-01',`create_date` = '2024-02-17 02:15:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020031590' and product_code = 'FL010102-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020031686' and product_code = 'DG010312-03' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228662','8','O24020031686','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','30','14400','2024-02-19','2024-02-17 08:48:28','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228662',`firm_id` = '8',`ordernumber` = 'O24020031686',  `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` = '30',`total_price` = '14400',`etd` = '2024-02-19',`create_date` = '2024-02-17 08:48:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020031686' and product_code = 'DG010312-03'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020031730' and product_code = 'DG010312-02' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228663','8','O24020031730','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','7','3360','2024-02-19','2024-02-17 09:01:09','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228663',`firm_id` = '8',`ordernumber` = 'O24020031730',  `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` = '7',`total_price` = '3360',`etd` = '2024-02-19',`create_date` = '2024-02-17 09:01:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020031730' and product_code = 'DG010312-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020031874' and product_code = 'DG010312-05' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228664','8','O24020031874','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 09:22:02','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228664',`firm_id` = '8',`ordernumber` = 'O24020031874',  `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-02-19',`create_date` = '2024-02-17 09:22:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020031874' and product_code = 'DG010312-05'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020031976' and product_code = 'DG010261-02' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228665','8','S24020031976','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-02-17','2024-02-17 09:22:41','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228665',`firm_id` = '8',`ordernumber` = 'S24020031976',  `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`product_sn` = 'DG010261',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-17',`create_date` = '2024-02-17 09:22:41',`modify_date` = '2024-02-17 10:17:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020031976' and product_code = 'DG010261-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032016' and product_code = 'DG010101-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228666','8','O24020032016','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-19','2024-02-17 09:54:38','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228666',`firm_id` = '8',`ordernumber` = 'O24020032016',  `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-19',`create_date` = '2024-02-17 09:54:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032016' and product_code = 'DG010101-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032179' and product_code = '12226' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228667','8','O24020032179','【預購品,3/1後出貨】8結隨享茶點禮盒','12226','12146','原味+芝麻,鳳梨酥,芝麻糕','禮盒-8結隨享【原味+芝麻】+鳳梨酥+芝麻糕','480','480','0','0','0','0','1','0.0','1','480','2024-03-01','2024-02-17 10:08:19','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228667',`firm_id` = '8',`ordernumber` = 'O24020032179',  `product_name` = '【預購品,3/1後出貨】8結隨享茶點禮盒',`product_code` = '12226',`product_sn` = '12146',`product_spec` = '原味+芝麻,鳳梨酥,芝麻糕',`invoice_name` = '禮盒-8結隨享【原味+芝麻】+鳳梨酥+芝麻糕',`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-03-01',`create_date` = '2024-02-17 10:08:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032179' and product_code = '12226'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032179' and product_code = '12389' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228667','8','O24020032179','【預購品,3/1後出貨】8結隨享茶點禮盒','12389','12146','原味+海苔,鳳梅酥,黑松露腰果','禮盒-8結隨享【原味+海苔】+鳳梅酥+黑松露腰果','530','530','0','0','0','0','1','0.0','1','530','2024-03-01','2024-02-17 10:08:19','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228667',`firm_id` = '8',`ordernumber` = 'O24020032179',  `product_name` = '【預購品,3/1後出貨】8結隨享茶點禮盒',`product_code` = '12389',`product_sn` = '12146',`product_spec` = '原味+海苔,鳳梅酥,黑松露腰果',`invoice_name` = '禮盒-8結隨享【原味+海苔】+鳳梅酥+黑松露腰果',`listprice` = '530',`sellingprice` = '530',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '530',`etd` = '2024-03-01',`create_date` = '2024-02-17 10:08:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032179' and product_code = '12389'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032179' and product_code = '12430' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228667','8','O24020032179','【預購品,3/1後出貨】金巧8結禮盒','12430','02240','咖啡,鳳梨酥+黑松露杏仁果','禮盒-金巧8結【(咖啡)-鳳梨酥+黑松露杏仁果】','565','565','0','0','0','0','1','0.0','1','565','2024-03-01','2024-02-17 10:08:19','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228667',`firm_id` = '8',`ordernumber` = 'O24020032179',  `product_name` = '【預購品,3/1後出貨】金巧8結禮盒',`product_code` = '12430',`product_sn` = '02240',`product_spec` = '咖啡,鳳梨酥+黑松露杏仁果',`invoice_name` = '禮盒-金巧8結【(咖啡)-鳳梨酥+黑松露杏仁果】',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '565',`etd` = '2024-03-01',`create_date` = '2024-02-17 10:08:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032179' and product_code = '12430'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020031976' and product_code = 'DG010261-03' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228665','8','S24020031976','【SNOOPY聯名】美好食光-8結提盒','DG010261-03','DG010261','40入咖啡蛋捲','提盒-SNOOPY-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-02-17','2024-02-17 10:17:07','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228665',`firm_id` = '8',`ordernumber` = 'S24020031976',  `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-03',`product_sn` = 'DG010261',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-17',`create_date` = '2024-02-17 10:17:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020031976' and product_code = 'DG010261-03'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032213' and product_code = 'DG010312-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228668','8','S24020032213','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','60','28800','2024-02-20','2024-02-17 10:48:49','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228668',`firm_id` = '8',`ordernumber` = 'S24020032213',  `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '60',`total_price` = '28800',`etd` = '2024-02-20',`create_date` = '2024-02-17 10:48:49',`modify_date` = '2024-02-17 11:02:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032213' and product_code = 'DG010312-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032213' and product_code = 'DG010312-06' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228668','8','S24020032213','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','45','21600','2024-02-20','2024-02-17 10:48:49','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228668',`firm_id` = '8',`ordernumber` = 'S24020032213',  `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '45',`total_price` = '21600',`etd` = '2024-02-20',`create_date` = '2024-02-17 10:48:49',`modify_date` = '2024-02-17 11:02:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032213' and product_code = 'DG010312-06'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032213' and product_code = 'DG010312-10' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228668','8','S24020032213','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','21','10080','2024-02-20','2024-02-17 10:48:49','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228668',`firm_id` = '8',`ordernumber` = 'S24020032213',  `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '21',`total_price` = '10080',`etd` = '2024-02-20',`create_date` = '2024-02-17 10:48:49',`modify_date` = '2024-02-17 11:02:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032213' and product_code = 'DG010312-10'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032213' and product_code = 'DG010312-15' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228668','8','S24020032213','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2024-02-20','2024-02-17 10:48:49','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228668',`firm_id` = '8',`ordernumber` = 'S24020032213',  `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-02-20',`create_date` = '2024-02-17 10:48:49',`modify_date` = '2024-02-17 11:02:14',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032213' and product_code = 'DG010312-15'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032213' and product_code = 'DG010404-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228668','8','S24020032213','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','0','1','0','0','0','1','0.0','264','0','2024-02-20','2024-02-17 11:02:14','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228668',`firm_id` = '8',`ordernumber` = 'S24020032213',  `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '264',`total_price` = '0',`etd` = '2024-02-20',`create_date` = '2024-02-17 11:02:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032213' and product_code = 'DG010404-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032320' and product_code = 'DG010523-12' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228669','8','O24020032320','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','2','1980','2024-02-19','2024-02-17 11:02:58','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228669',`firm_id` = '8',`ordernumber` = 'O24020032320',  `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+咖啡',`invoice_name` = '組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-02-19',`create_date` = '2024-02-17 11:02:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032320' and product_code = 'DG010523-12'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032437' and product_code = 'DG010312-02' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228670','8','O24020032437','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 11:18:40','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228670',`firm_id` = '8',`ordernumber` = 'O24020032437',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 11:18:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032437' and product_code = 'DG010312-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032521' and product_code = 'DG010206-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228671','8','S24020032521','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-02-19','2024-02-17 11:20:11','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228671',`firm_id` = '8',`ordernumber` = 'S24020032521',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-19',`create_date` = '2024-02-17 11:20:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032521' and product_code = 'DG010206-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032689' and product_code = 'DG0103148-03' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228672','8','S24020032689','【預購品,3/1後出貨】金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','7','3360','2024-02-17','2024-02-17 11:24:10','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228672',`firm_id` = '8',`ordernumber` = 'S24020032689',  `product_name` = '【預購品,3/1後出貨】金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '3360',`etd` = '2024-02-17',`create_date` = '2024-02-17 11:24:10',`modify_date` = '2024-02-17 12:01:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032689' and product_code = 'DG0103148-03'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032797' and product_code = 'DG010101-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228673','8','S24020032797','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','5','1400','2024-02-20','2024-02-17 11:44:41','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228673',`firm_id` = '8',`ordernumber` = 'S24020032797',  `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` = '5',`total_price` = '1400',`etd` = '2024-02-20',`create_date` = '2024-02-17 11:44:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032797' and product_code = 'DG010101-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032797' and product_code = 'DG010101-03' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228673','8','S24020032797','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','10','2800','2024-02-20','2024-02-17 11:44:41','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228673',`firm_id` = '8',`ordernumber` = 'S24020032797',  `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '10',`total_price` = '2800',`etd` = '2024-02-20',`create_date` = '2024-02-17 11:44:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032797' and product_code = 'DG010101-03'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032797' and product_code = 'DG010101-05' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228673','8','S24020032797','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','15','4200','2024-02-20','2024-02-17 11:44:41','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228673',`firm_id` = '8',`ordernumber` = 'S24020032797',  `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '15',`total_price` = '4200',`etd` = '2024-02-20',`create_date` = '2024-02-17 11:44:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032797' and product_code = 'DG010101-05'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020032797' and product_code = 'DG010404-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228673','8','S24020032797','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','10','100','2024-02-20','2024-02-17 11:44:41','2024-02-17 23:59:07',0,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228673',`firm_id` = '8',`ordernumber` = 'S24020032797',  `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` = '10',`total_price` = '100',`etd` = '2024-02-20',`create_date` = '2024-02-17 11:44:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020032797' and product_code = 'DG010404-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032856' and product_code = 'DG010312-02' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228674','8','O24020032856','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 12:45:42','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228674',`firm_id` = '8',`ordernumber` = 'O24020032856',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 12:45:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032856' and product_code = 'DG010312-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032856' and product_code = 'DG010312-09' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228674','8','O24020032856','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 12:45:42','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228674',`firm_id` = '8',`ordernumber` = 'O24020032856',  `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-02-19',`create_date` = '2024-02-17 12:45:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032856' and product_code = 'DG010312-09'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032856' and product_code = 'DG010312-15' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228674','8','O24020032856','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 12:45:42','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228674',`firm_id` = '8',`ordernumber` = 'O24020032856',  `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 12:45:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032856' and product_code = 'DG010312-15'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032856' and product_code = 'DG010101-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228674','8','O24020032856','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-02-19','2024-02-17 12:45:42','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228674',`firm_id` = '8',`ordernumber` = 'O24020032856',  `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` = '6',`total_price` = '1680',`etd` = '2024-02-19',`create_date` = '2024-02-17 12:45:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032856' and product_code = 'DG010101-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032856' and product_code = 'DG010101-02' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228674','8','O24020032856','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-02-19','2024-02-17 12:45:42','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228674',`firm_id` = '8',`ordernumber` = 'O24020032856',  `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '6',`total_price` = '1680',`etd` = '2024-02-19',`create_date` = '2024-02-17 12:45:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032856' and product_code = 'DG010101-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020032991' and product_code = 'DG010206-01' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228675','8','O24020032991','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','7','2065','2024-02-19','2024-02-17 13:06:23','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228675',`firm_id` = '8',`ordernumber` = 'O24020032991',  `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` = '7',`total_price` = '2065',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:06:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020032991' and product_code = 'DG010206-01'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033086' and product_code = 'DG010312-02' 
2024-02-17 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228676','8','O24020033086','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 13:23:30','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228676',`firm_id` = '8',`ordernumber` = 'O24020033086',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033086' and product_code = 'DG010312-02'
2024-02-17 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033086' and product_code = 'DG010312-12' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228676','8','O24020033086','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 13:23:30','2024-02-17 23:59:07',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228676',`firm_id` = '8',`ordernumber` = 'O24020033086',  `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033086' and product_code = 'DG010312-12'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033146' and product_code = 'DG010312-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228677','8','O24020033146','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 13:27:12','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228677',`firm_id` = '8',`ordernumber` = 'O24020033146',  `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-02-19',`create_date` = '2024-02-17 13:27:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033146' and product_code = 'DG010312-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033265' and product_code = 'DG010312-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228678','8','O24020033265','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 13:27:24','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228678',`firm_id` = '8',`ordernumber` = 'O24020033265',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:27:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033265' and product_code = 'DG010312-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033265' and product_code = 'DG010312-12' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228678','8','O24020033265','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 13:27:24','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228678',`firm_id` = '8',`ordernumber` = 'O24020033265',  `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:27:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033265' and product_code = 'DG010312-12'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033393' and product_code = 'DG010261-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228679','8','O24020033393','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-02-19','2024-02-17 13:49:30','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228679',`firm_id` = '8',`ordernumber` = 'O24020033393',  `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`product_sn` = 'DG010261',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:49:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033393' and product_code = 'DG010261-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033393' and product_code = 'DG010101-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228679','8','O24020033393','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-19','2024-02-17 13:49:30','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228679',`firm_id` = '8',`ordernumber` = 'O24020033393',  `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-19',`create_date` = '2024-02-17 13:49:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033393' and product_code = 'DG010101-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020033474' and product_code = 'DG010203-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228680','8','S24020033474','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','45','13500','2024-02-21','2024-02-17 14:37:45','2024-02-17 23:59:08',0,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228680',`firm_id` = '8',`ordernumber` = 'S24020033474',  `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '45',`total_price` = '13500',`etd` = '2024-02-21',`create_date` = '2024-02-17 14:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020033474' and product_code = 'DG010203-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033535' and product_code = 'DG010204-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228681','8','O24020033535','8結蛋捲【品牌提盒裝】','DG010204-01','DG010204','原味','提盒-品牌(橘)-40入原味','295','295','0','0','0','0','1','0.0','7','2065','2024-02-20','2024-02-17 14:56:51','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228681',`firm_id` = '8',`ordernumber` = 'O24020033535',  `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`product_spec` = '原味',`invoice_name` = '提盒-品牌(橘)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '2065',`etd` = '2024-02-20',`create_date` = '2024-02-17 14:56:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033535' and product_code = 'DG010204-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033645' and product_code = 'FL010310-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228682','8','O24020033645','【預購品,2/26後出貨】一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','8','3480','2024-03-08','2024-02-17 15:04:50','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228682',`firm_id` = '8',`ordernumber` = 'O24020033645',  `product_name` = '【預購品,2/26後出貨】一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '3480',`etd` = '2024-03-08',`create_date` = '2024-02-17 15:04:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033645' and product_code = 'FL010310-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033645' and product_code = 'DG010101-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228682','8','O24020033645','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-08','2024-02-17 15:04:50','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228682',`firm_id` = '8',`ordernumber` = 'O24020033645',  `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-03-08',`create_date` = '2024-02-17 15:04:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033645' and product_code = 'DG010101-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033645' and product_code = 'DG010101-03' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228682','8','O24020033645','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-08','2024-02-17 15:04:50','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228682',`firm_id` = '8',`ordernumber` = 'O24020033645',  `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-08',`create_date` = '2024-02-17 15:04:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033645' and product_code = 'DG010101-03'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033645' and product_code = 'DG010101-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228682','8','O24020033645','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-08','2024-02-17 15:04:50','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228682',`firm_id` = '8',`ordernumber` = 'O24020033645',  `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-08',`create_date` = '2024-02-17 15:04:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033645' and product_code = 'DG010101-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033645' and product_code = 'DG010101-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228682','8','O24020033645','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-08','2024-02-17 15:04:50','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228682',`firm_id` = '8',`ordernumber` = 'O24020033645',  `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-08',`create_date` = '2024-02-17 15:04:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033645' and product_code = 'DG010101-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020033776' and product_code = 'LS010103-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228683','8','S24020033776','【預購品,3/4後出貨】厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','120','120','0','0','0','0','1','0.0','24','2880','2024-02-19','2024-02-17 15:06:46','2024-02-17 23:59:08',0,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228683',`firm_id` = '8',`ordernumber` = 'S24020033776',  `product_name` = '【預購品,3/4後出貨】厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '120',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '2880',`etd` = '2024-02-19',`create_date` = '2024-02-17 15:06:46',`modify_date` = '2024-02-17 15:08:36',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020033776' and product_code = 'LS010103-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033831' and product_code = 'DG010101-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228684','8','O24020033831','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-19','2024-02-17 15:33:45','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228684',`firm_id` = '8',`ordernumber` = 'O24020033831',  `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-02-19',`create_date` = '2024-02-17 15:33:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033831' and product_code = 'DG010101-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033831' and product_code = 'DG010101-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228684','8','O24020033831','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-19','2024-02-17 15:33:45','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228684',`firm_id` = '8',`ordernumber` = 'O24020033831',  `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-19',`create_date` = '2024-02-17 15:33:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033831' and product_code = 'DG010101-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020033960' and product_code = 'DG010261-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228685','8','O24020033960','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-02-19','2024-02-17 15:42:46','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228685',`firm_id` = '8',`ordernumber` = 'O24020033960',  `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-17 15:42:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020033960' and product_code = 'DG010261-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034020' and product_code = 'DG010206-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228686','8','O24020034020','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','14','4130','2024-02-19','2024-02-17 16:19:28','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228686',`firm_id` = '8',`ordernumber` = 'O24020034020',  `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` = '14',`total_price` = '4130',`etd` = '2024-02-19',`create_date` = '2024-02-17 16:19:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034020' and product_code = 'DG010206-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034020' and product_code = 'DG010206-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228686','8','O24020034020','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','14','4130','2024-02-19','2024-02-17 16:19:28','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228686',`firm_id` = '8',`ordernumber` = 'O24020034020',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4130',`etd` = '2024-02-19',`create_date` = '2024-02-17 16:19:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034020' and product_code = 'DG010206-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034020' and product_code = 'DG010206-04' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228686','8','O24020034020','8結蛋捲【紅提盒裝】','DG010206-04','DG010206','海苔','提盒-品牌(紅)-40入海苔蛋捲','295','295','0','0','0','0','1','0.0','13','3835','2024-02-19','2024-02-17 16:19:28','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228686',`firm_id` = '8',`ordernumber` = 'O24020034020',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-04',`product_sn` = 'DG010206',`product_spec` = '海苔',`invoice_name` = '提盒-品牌(紅)-40入海苔蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3835',`etd` = '2024-02-19',`create_date` = '2024-02-17 16:19:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034020' and product_code = 'DG010206-04'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034020' and product_code = 'DG010206-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228686','8','O24020034020','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','13','3835','2024-02-19','2024-02-17 16:19:28','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228686',`firm_id` = '8',`ordernumber` = 'O24020034020',  `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` = '13',`total_price` = '3835',`etd` = '2024-02-19',`create_date` = '2024-02-17 16:19:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034020' and product_code = 'DG010206-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034112' and product_code = 'DG010394-03' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228687','8','O24020034112','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-03','DG010394','原味蛋捲,咖啡蛋捲','禮盒-故宮(文物款)【原味+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-02-21','2024-02-17 16:39:02','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228687',`firm_id` = '8',`ordernumber` = 'O24020034112',  `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-03',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-02-21',`create_date` = '2024-02-17 16:39:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034112' and product_code = 'DG010394-03'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034225' and product_code = 'DG010206-03' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228688','8','O24020034225','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-02-20','2024-02-17 16:40:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228688',`firm_id` = '8',`ordernumber` = 'O24020034225',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-20',`create_date` = '2024-02-17 16:40:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034225' and product_code = 'DG010206-03'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034225' and product_code = 'DG010206-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228688','8','O24020034225','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','2','590','2024-02-20','2024-02-17 16:40:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228688',`firm_id` = '8',`ordernumber` = 'O24020034225',  `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` = '2',`total_price` = '590',`etd` = '2024-02-20',`create_date` = '2024-02-17 16:40:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034225' and product_code = 'DG010206-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034225' and product_code = 'DG010258-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228688','8','O24020034225','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','2','590','2024-02-20','2024-02-17 16:40:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228688',`firm_id` = '8',`ordernumber` = 'O24020034225',  `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-02-20',`create_date` = '2024-02-17 16:40:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034225' and product_code = 'DG010258-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020034349' and product_code = 'FL010102-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228689','8','S24020034349','【預購品,2/26後出貨】一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','5','650','2024-02-27','2024-02-17 17:15:30','2024-02-17 23:59:08',0,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228689',`firm_id` = '8',`ordernumber` = 'S24020034349',  `product_name` = '【預購品,2/26後出貨】一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '5',`total_price` = '650',`etd` = '2024-02-27',`create_date` = '2024-02-17 17:15:30',`modify_date` = '2024-02-17 17:35:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020034349' and product_code = 'FL010102-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020034349' and product_code = 'TG010106-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228689','8','S24020034349','【預購品,2/26後出貨】分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','5','1500','2024-02-27','2024-02-17 17:15:30','2024-02-17 23:59:08',0,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228689',`firm_id` = '8',`ordernumber` = 'S24020034349',  `product_name` = '【預購品,2/26後出貨】分享包-黑曜芝麻糕',`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` = '5',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-17 17:15:30',`modify_date` = '2024-02-17 17:35:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020034349' and product_code = 'TG010106-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020034349' and product_code = 'TG010107-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228689','8','S24020034349','【預購品,2/26後出貨】分享包-夏威夷豆軟糖','TG010107-01','TG010107','15入夏威夷豆軟糖分享包','(紅袋)夏威夷豆軟糖','300','300','0','0','0','0','1','0.0','5','1500','2024-02-27','2024-02-17 17:15:30','2024-02-17 23:59:08',0,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228689',`firm_id` = '8',`ordernumber` = 'S24020034349',  `product_name` = '【預購品,2/26後出貨】分享包-夏威夷豆軟糖',`product_code` = 'TG010107-01',`product_sn` = 'TG010107',`product_spec` = '15入夏威夷豆軟糖分享包',`invoice_name` = '(紅袋)夏威夷豆軟糖',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-17 17:15:30',`modify_date` = '2024-02-17 17:35:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020034349' and product_code = 'TG010107-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'S24020034349' and product_code = 'LS010104-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228689','8','S24020034349','【預購品,2/23後出貨】分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','160','160','0','0','0','0','1','0.0','5','800','2024-02-27','2024-02-17 17:15:30','2024-02-17 23:59:08',0,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228689',`firm_id` = '8',`ordernumber` = 'S24020034349',  `product_name` = '【預購品,2/23後出貨】分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '800',`etd` = '2024-02-27',`create_date` = '2024-02-17 17:15:30',`modify_date` = '2024-02-17 17:35:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'S24020034349' and product_code = 'LS010104-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034470' and product_code = 'DG010206-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228690','8','O24020034470','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-02-19','2024-02-17 17:19:44','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228690',`firm_id` = '8',`ordernumber` = 'O24020034470',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-19',`create_date` = '2024-02-17 17:19:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034470' and product_code = 'DG010206-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034573' and product_code = 'DG010312-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228691','8','O24020034573','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','5','2400','2024-02-22','2024-02-17 17:22:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228691',`firm_id` = '8',`ordernumber` = 'O24020034573',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '5',`total_price` = '2400',`etd` = '2024-02-22',`create_date` = '2024-02-17 17:22:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034573' and product_code = 'DG010312-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034573' and product_code = 'DG010312-05' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228691','8','O24020034573','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-22','2024-02-17 17:22:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228691',`firm_id` = '8',`ordernumber` = 'O24020034573',  `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-02-22',`create_date` = '2024-02-17 17:22:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034573' and product_code = 'DG010312-05'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034573' and product_code = 'DG010101-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228691','8','O24020034573','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-22','2024-02-17 17:22:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228691',`firm_id` = '8',`ordernumber` = 'O24020034573',  `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-22',`create_date` = '2024-02-17 17:22:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034573' and product_code = 'DG010101-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034573' and product_code = 'DG010101-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228691','8','O24020034573','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-22','2024-02-17 17:22:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228691',`firm_id` = '8',`ordernumber` = 'O24020034573',  `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-22',`create_date` = '2024-02-17 17:22:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034573' and product_code = 'DG010101-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034573' and product_code = 'DG010258-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228691','8','O24020034573','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-02-22','2024-02-17 17:22:16','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228691',`firm_id` = '8',`ordernumber` = 'O24020034573',  `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-02-22',`create_date` = '2024-02-17 17:22:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034573' and product_code = 'DG010258-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034688' and product_code = 'DG010312-02' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228692','8','O24020034688','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-02-19','2024-02-17 17:28:02','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228692',`firm_id` = '8',`ordernumber` = 'O24020034688',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-02-19',`create_date` = '2024-02-17 17:28:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034688' and product_code = 'DG010312-02'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034736' and product_code = 'DG010206-01' 
2024-02-17 23:59:08 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228693','8','O24020034736','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','2','590','2024-02-22','2024-02-17 17:49:35','2024-02-17 23:59:08',null,'1','2024-01-08')
2024-02-17 23:59:08 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228693',`firm_id` = '8',`ordernumber` = 'O24020034736',  `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` = '2',`total_price` = '590',`etd` = '2024-02-22',`create_date` = '2024-02-17 17:49:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034736' and product_code = 'DG010206-01'
2024-02-17 23:59:08 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034736' and product_code = 'DG010206-02' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228693','8','O24020034736','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','2','590','2024-02-22','2024-02-17 17:49:35','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228693',`firm_id` = '8',`ordernumber` = 'O24020034736',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-02-22',`create_date` = '2024-02-17 17:49:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034736' and product_code = 'DG010206-02'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034814' and product_code = 'DG010206-01' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228694','8','O24020034814','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','2','590','2024-02-19','2024-02-17 17:53:14','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228694',`firm_id` = '8',`ordernumber` = 'O24020034814',  `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` = '2',`total_price` = '590',`etd` = '2024-02-19',`create_date` = '2024-02-17 17:53:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034814' and product_code = 'DG010206-01'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034814' and product_code = 'DG010206-04' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228694','8','O24020034814','8結蛋捲【紅提盒裝】','DG010206-04','DG010206','海苔','提盒-品牌(紅)-40入海苔蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-02-19','2024-02-17 17:53:14','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228694',`firm_id` = '8',`ordernumber` = 'O24020034814',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-04',`product_sn` = 'DG010206',`product_spec` = '海苔',`invoice_name` = '提盒-品牌(紅)-40入海苔蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-19',`create_date` = '2024-02-17 17:53:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034814' and product_code = 'DG010206-04'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034991' and product_code = 'DG010312-07' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228695','8','O24020034991','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-02-19','2024-02-17 18:40:29','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228695',`firm_id` = '8',`ordernumber` = 'O24020034991',  `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-19',`create_date` = '2024-02-17 18:40:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034991' and product_code = 'DG010312-07'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034991' and product_code = 'DG010312-12' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228695','8','O24020034991','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-02-19','2024-02-17 18:40:29','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228695',`firm_id` = '8',`ordernumber` = 'O24020034991',  `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-19',`create_date` = '2024-02-17 18:40:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034991' and product_code = 'DG010312-12'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020034991' and product_code = 'DG010312-02' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228695','8','O24020034991','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-02-19','2024-02-17 18:40:29','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228695',`firm_id` = '8',`ordernumber` = 'O24020034991',  `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-02-19',`create_date` = '2024-02-17 18:40:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020034991' and product_code = 'DG010312-02'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035097' and product_code = 'DG010312-02' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228696','8','O24020035097','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-02-19','2024-02-17 19:51:26','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228696',`firm_id` = '8',`ordernumber` = 'O24020035097',  `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-02-19',`create_date` = '2024-02-17 19:51:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035097' and product_code = 'DG010312-02'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035133' and product_code = 'DG010523-14' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228697','8','O24020035133','SNOOPY帶走心意-蛋捲三入組','DG010523-14','DG010523','原味+巧克力+海苔','組合-32入(原味+海苔+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','2','1980','2024-02-19','2024-02-17 21:23:03','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228697',`firm_id` = '8',`ordernumber` = 'O24020035133',  `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-14',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+海苔',`invoice_name` = '組合-32入(原味+海苔+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-02-19',`create_date` = '2024-02-17 21:23:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035133' and product_code = 'DG010523-14'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035133' and product_code = '13060' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228697','8','O24020035133','[加購]加購-【乖乖聯名】復古花磚餐具組','13060','13060','-','加購-乖乖餐具組','249','249','1','1','249','0','0','0.0','2','498','2024-02-19','2024-02-17 21:23:03','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228697',`firm_id` = '8',`ordernumber` = 'O24020035133',  `product_name` = '[加購]加購-【乖乖聯名】復古花磚餐具組',`product_code` = '13060',`product_sn` = '13060',`product_spec` = '-',`invoice_name` = '加購-乖乖餐具組',`listprice` = '249',`sellingprice` = '249',`isadd` = '1',`isbaby` = '1',`addprice` = '249',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '498',`etd` = '2024-02-19',`create_date` = '2024-02-17 21:23:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035133' and product_code = '13060'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035236' and product_code = 'DG010312-12' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228698','8','O24020035236','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-19','2024-02-17 22:06:55','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228698',`firm_id` = '8',`ordernumber` = 'O24020035236',  `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-19',`create_date` = '2024-02-17 22:06:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035236' and product_code = 'DG010312-12'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035322' and product_code = 'DG010383-09' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228699','8','O24020035322','【小王子聯名】星光飛行8結禮盒','DG010383-09','DG010383','芝麻+巧克力','禮盒-小王子(紅)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-02-22','2024-02-17 22:13:27','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228699',`firm_id` = '8',`ordernumber` = 'O24020035322',  `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-09',`product_sn` = 'DG010383',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(紅)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-17 22:13:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035322' and product_code = 'DG010383-09'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035455' and product_code = 'FL010310-01' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228700','8','O24020035455','【預購品,2/26後出貨】一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','1','435','2024-02-27','2024-02-17 22:51:50','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228700',`firm_id` = '8',`ordernumber` = 'O24020035455',  `product_name` = '【預購品,2/26後出貨】一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '435',`etd` = '2024-02-27',`create_date` = '2024-02-17 22:51:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035455' and product_code = 'FL010310-01'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035455' and product_code = 'FL010308-01' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228700','8','O24020035455','【預購品,2/26後出貨】一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','390','390','0','0','0','0','1','0.0','1','390','2024-02-27','2024-02-17 22:51:50','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228700',`firm_id` = '8',`ordernumber` = 'O24020035455',  `product_name` = '【預購品,2/26後出貨】一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-02-27',`create_date` = '2024-02-17 22:51:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035455' and product_code = 'FL010308-01'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035525' and product_code = 'DG010312-11' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228701','8','O24020035525','【咖啡+海苔】金8結禮盒','DG010312-11','DG010312','金8結盒','禮盒-金8結【咖啡+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-02-20','2024-02-17 23:28:11','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228701',`firm_id` = '8',`ordernumber` = 'O24020035525',  `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-02-20',`create_date` = '2024-02-17 23:28:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035525' and product_code = 'DG010312-11'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035525' and product_code = 'DG010312-12' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228701','8','O24020035525','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-20','2024-02-17 23:28:11','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228701',`firm_id` = '8',`ordernumber` = 'O24020035525',  `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-20',`create_date` = '2024-02-17 23:28:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035525' and product_code = 'DG010312-12'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035525' and product_code = 'DG010312-14' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228701','8','O24020035525','【海苔+巧克力】金8結禮盒','DG010312-14','DG010312','金8結盒','禮盒-金8結【海苔+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-20','2024-02-17 23:28:11','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228701',`firm_id` = '8',`ordernumber` = 'O24020035525',  `product_name` = '【海苔+巧克力】金8結禮盒',`product_code` = 'DG010312-14',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【海苔+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-20',`create_date` = '2024-02-17 23:28:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035525' and product_code = 'DG010312-14'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035647' and product_code = 'DG010206-01' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228702','8','O24020035647','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-02-22','2024-02-17 23:48:35','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228702',`firm_id` = '8',`ordernumber` = 'O24020035647',  `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-22',`create_date` = '2024-02-17 23:48:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035647' and product_code = 'DG010206-01'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035647' and product_code = 'DG010206-05' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228702','8','O24020035647','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-02-22','2024-02-17 23:48:35','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228702',`firm_id` = '8',`ordernumber` = 'O24020035647',  `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-02-22',`create_date` = '2024-02-17 23:48:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035647' and product_code = 'DG010206-05'
2024-02-17 23:59:09 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24020035647' and product_code = 'DG010204-02' 
2024-02-17 23:59:09 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'228702','8','O24020035647','8結蛋捲【品牌提盒裝】','DG010204-02','DG010204','芝麻','提盒-品牌(橘)-40入芝麻','295','295','0','0','0','0','1','0.0','2','590','2024-02-22','2024-02-17 23:48:35','2024-02-17 23:59:09',null,'1','2024-01-08')
2024-02-17 23:59:09 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '228702',`firm_id` = '8',`ordernumber` = 'O24020035647',  `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-02',`product_sn` = 'DG010204',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(橘)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-02-22',`create_date` = '2024-02-17 23:48:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-08'where ordernumber = 'O24020035647' and product_code = 'DG010204-02'
2024-02-17 23:59:09 -- == sync_order_detail end ==
2024-02-17 23:59:09 -- == sync_order start ==
2024-02-17 23:59:09 -- start:2024-02-17,end:2024-02-17
2024-02-17 23:59:09 -- == select june1.order_list ==

        select 
            l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date 
        FROM 
            `order_list` l 
        LEFT JOIN 
            member_list m on l.mid = m.id 
        WHERE 
            l.create_date like '2024-02-17%' OR l.modify_date like '2024-02-17%';
        
2024-02-17 23:59:09 -- == sync omo_order_list ==
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '373632', process_status = '2', pay_status = '1', totalprice_after = '1120', lunar_date = '2023-12-20', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24010041574'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '355524', process_status = '1', pay_status = '1', totalprice_after = '19950', lunar_date = '2023-12-27', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020003482'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '376147', process_status = '3', pay_status = '1', totalprice_after = '1600', lunar_date = '2023-12-27', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020003922'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '376296', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2023-12-28', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020005093'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '375192', process_status = '1', pay_status = '1', totalprice_after = '9690', lunar_date = '2023-12-29', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'B24020005887'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '377315', process_status = '3', pay_status = '1', totalprice_after = '200', lunar_date = '2024-01-06', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020008532'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '375192', process_status = '1', pay_status = '1', totalprice_after = '1425', lunar_date = '2024-01-07', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020008836RB'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '2730', lunar_date = '2024-01-07', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020009982'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '373059', process_status = '1', pay_status = '1', totalprice_after = '14220', lunar_date = '2024-01-07', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24020010592'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '373059', process_status = '1', pay_status = '1', totalprice_after = '5670', lunar_date = '2024-01-07', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24020010668'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '374540', process_status = '2', pay_status = '1', totalprice_after = '1200', lunar_date = '2024-01-07', invoice_status = '1', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020010750'
2024-02-17 23:59:09 -- == update lake.omo_order_list ==
update omo_order_list set userId = '0', process_status = '1', pay_status = '7', totalprice_after = '0', lunar_date = '2024-01-07', invoice_status = '2', category_name = '正式彌,公關訂單', category_id = '1,6' where ordernumber = 'M24020010822'
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100835','377434',2,'彌月試吃','2','B24020011115','1','11','1','1','2','','','0','2024-02-19','0','0','0','','0','0','500','330','桃園市','桃園區','330','桃園市','桃園區','500','2024-02-17 09:12:16','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100862','0',2,'彌月試吃','2','B24020011288','1','11','1','1','2','','','0','2024-02-19','0','0','0','','0','0','500','114','台北市','內湖區','114','台北市','內湖區','500','2024-02-17 09:13:30','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100910','0',2,'彌月試吃','2','B24020011360','1','11','1','1','2','','','0','2024-02-19','0','0','0','','0','0','2000','300','新竹市','東區','300','新竹市','東區','2000','2024-02-17 09:14:08','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100973','0',2,'彌月試吃','2','B24020011426','1','11','1','1','2','','','0','2024-02-19','0','0','0','','0','0','500','802','高雄市','苓雅區','802','高雄市','苓雅區','500','2024-02-17 09:15:03','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100981','377579',2,'彌月試吃,LINE@訂單','2,9','M24020011541','1','6','6','8','8','','','0','2024-02-22','0','400','0','','0','0','1200','402','台中市','南區','402','台中市','南區','800','2024-02-17 10:01:37','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100979','377577',2,'','','B24020011642','1','11','1','1','1','','','0','2024-02-29','2110','0','0','','0','30','42200','811','高雄市','楠梓區','811','高雄市','楠梓區','40060','2024-02-17 10:25:17','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100996','377594',2,'彌月試吃,FB訂單','2,10','M24020011792','1','11','1','1','1','','','0','2024-02-19','0','0','0','','0','0','500','812','高雄市','小港區','812','高雄市','小港區','500','2024-02-17 11:27:04','2024-01-08') 
2024-02-17 23:59:09 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('96973','373615',2,'正式彌,LINE@訂單','1,9','M24020011878','1','1','1','0','0','','','0','2024-02-29','0','885','0','','0','0','17700','320','桃園市','中壢區','320','桃園市','中壢區','16815','2024-02-17 12:00:28','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('72603','349515',2,'','','B24020011946','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3000','115','台北市','南港區','115','台北市','南港區','3150','2024-02-17 12:18:57','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('93084','369763',2,'','','B24020012064','1','2','1','0','6','','','0','2024-02-27','0','0','0','','0','30','8300','832','高雄市','林園區','812','高雄市','小港區','8270','2024-02-17 12:29:07','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('101025','377623',2,'彌月試吃,FB訂單','2,10','M24020012191','1','1','1','0','0','','','0','2024-02-19','0','0','0','','0','0','300','813','高雄市','左營區','813','高雄市','左營區','300','2024-02-17 12:41:42','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('93084','369763',2,'','','B24020012280','1','2','1','0','0','','','0','0000-00-00','475','0','0','','0','0','9500','832','高雄市','林園區','812','高雄市','小港區','9025','2024-02-17 12:41:49','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('101030','377628',2,'彌月試吃,FB訂單','2,10','M24020012381','1','6','6','8','8','','','0','2024-02-21','0','200','0','','0','0','600','103','台北市','大同區','103','台北市','大同區','400','2024-02-17 12:58:55','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('101042','377640',2,'彌月試吃,LINE@訂單','2,9','M24020012449','1','6','6','8','8','','','0','2024-02-23','0','300','0','','0','0','1500','103','台北市','大同區','103','台北市','大同區','1200','2024-02-17 13:58:58','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('0','0',2,'LINE@訂單,正式彌','9,1','M24020012593','1','1','1','1','1','','','0','2024-02-21','0','650','0','','0','0','13000','235','新北市','中和區','110','台北市','信義區','12350','2024-02-17 15:37:49','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('101075','377673',2,'彌月試吃,LINE@訂單','2,9','M24020012638','1','6','6','8','8','','','0','2024-02-24','0','400','0','','0','0','1200','402','台中市','南區','402','台中市','南區','800','2024-02-17 15:49:14','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('101074','377672',2,'正式彌,LINE@訂單','1,9','M24020012724','1','1','1','0','0','','','0','2024-02-27','0','1455','0','','0','30','29100','351','苗栗縣','頭份市','351','苗栗縣','頭份市','27615','2024-02-17 16:21:28','2024-01-08') 
2024-02-17 23:59:10 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('101173','377771',2,'','','B24020012892','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','990','813','高雄市','左營區','813','高雄市','左營區','960','2024-02-17 21:57:32','2024-01-08') 
2024-02-17 23:59:10 -- == sync_order end ==
2024-02-17 23:59:10 -- == sync_order_detail start ==
2024-02-17 23:59:10 -- start:2024-02-17,end:2024-02-17
2024-02-17 23:59:10 -- == sync omo_order_detail ==
2024-02-17 23:59:10 -- == SELECT order_detail ==
SELECT * from order_detail WHERE create_date like '2024-02-17%' OR modify_date like '2024-02-17%'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003482' and product_code = 'DG010203-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30181',`firm_id` = '8',`ordernumber` = 'M24020003482',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '65',`total_price` = '19500',`etd` = '2024-02-27',`create_date` = '2024-02-06 12:37:54',`modify_date` = '2024-02-17 09:41:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003482' and product_code = 'DG010203-01', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003482' and product_code = 'ZP010133-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30181',`firm_id` = '8',`ordernumber` = 'M24020003482',  `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`product_spec` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`invoice_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-06 12:37:54',`modify_date` = '2024-02-17 09:41:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003482' and product_code = 'ZP010133-01', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003482' and product_code = 'DG010203-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30181',`firm_id` = '8',`ordernumber` = 'M24020003482',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-06 12:58:14',`modify_date` = '2024-02-17 09:41:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003482' and product_code = 'DG010203-05', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003922' and product_code = 'DG0103147-09' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30186',`firm_id` = '11',`ordernumber` = 'M24020003922',  `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-09',`product_sn` = 'DG0103147',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月都會LUCK【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-17',`create_date` = '2024-02-06 16:30:45',`modify_date` = '2024-02-17 13:33:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003922' and product_code = 'DG0103147-09', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003922' and product_code = 'DG0103157-03' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30186',`firm_id` = '11',`ordernumber` = 'M24020003922',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-03',`product_sn` = 'DG0103157',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【原味+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-17',`create_date` = '2024-02-06 16:30:45',`modify_date` = '2024-02-17 13:33:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003922' and product_code = 'DG0103157-03', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003922' and product_code = 'DG0103138-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30186',`firm_id` = '11',`ordernumber` = 'M24020003922',  `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-05',`product_sn` = 'DG0103138',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-17',`create_date` = '2024-02-06 16:30:45',`modify_date` = '2024-02-17 13:33:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003922' and product_code = 'DG0103138-05', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020003922' and product_code = 'DG0103137-14' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30186',`firm_id` = '11',`ordernumber` = 'M24020003922',  `product_name` = '彌月試吃禮盒組(樂芙)',`product_code` = 'DG0103137-14',`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-02-17',`create_date` = '2024-02-06 16:30:45',`modify_date` = '2024-02-17 13:33:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003922' and product_code = 'DG0103137-14', `lunar_date` = '2023-12-27'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020005093' and product_code = 'DG0103138-14' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30197',`firm_id` = '11',`ordernumber` = 'M24020005093',  `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-14',`product_sn` = 'DG0103138',`product_spec` = '海苔+巧克力',`invoice_name` = '禮盒-小王子(藍)【海苔+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-17',`create_date` = '2024-02-07 13:57:37',`modify_date` = '2024-02-17 14:31:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020005093' and product_code = 'DG0103138-14', `lunar_date` = '2023-12-28'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'DG0103156-15' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-15',`product_sn` = 'DG0103156',`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` = '8',`total_price` = '4000',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'DG0103156-15', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'DG010263-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'DG010263-05', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'DG010222-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'DG010222-05', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'DG010203-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'DG010203-05', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'DG010327-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-05',`product_sn` = 'DG010327',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2500',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'DG010327-05', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'DG010383-15' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-15',`product_sn` = 'DG010383',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-小王子(紅)【巧克力+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '1.0',`amount` = '5',`total_price` = '2500',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'DG010383-15', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020005887' and product_code = 'ZP010152-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30206',`firm_id` = '8',`ordernumber` = 'B24020005887',  `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-19',`create_date` = '2024-02-08 12:52:56',`modify_date` = '2024-02-17 15:29:09',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020005887' and product_code = 'ZP010152-01', `lunar_date` = '2023-12-29'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020008532' and product_code = 'DG010244-02' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30234',`firm_id` = '11',`ordernumber` = 'M24020008532',  `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`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-02-17',`create_date` = '2024-02-15 15:21:53',`modify_date` = '2024-02-17 18:17:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020008532' and product_code = 'DG010244-02', `lunar_date` = '2024-01-06'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020008836RB' and product_code = 'DG0103156-15' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30246',`firm_id` = '8',`ordernumber` = 'M24020008836RB',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-15',`product_sn` = 'DG0103156',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【巧克力+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-02-19',`create_date` = '2024-02-16 10:26:29',`modify_date` = '2024-02-17 15:29:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020008836RB' and product_code = 'DG0103156-15', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020009982' and product_code = 'DG010263-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30251',`firm_id` = '8',`ordernumber` = 'M24020009982',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '2100',`etd` = '2024-02-22',`create_date` = '2024-02-16 11:26:18',`modify_date` = '2024-02-17 16:51:16',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009982' and product_code = 'DG010263-01', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020009982' and product_code = '40000' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30251',`firm_id` = '8',`ordernumber` = 'M24020009982',  `product_name` = '運費',`product_code` = '40000',`product_sn` = '40000',`product_spec` = '150運費',`invoice_name` = '150運費',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-02-22',`create_date` = '2024-02-16 11:26:18',`modify_date` = '2024-02-17 16:51:16',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009982' and product_code = '40000', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020009982' and product_code = '40009' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30251',`firm_id` = '8',`ordernumber` = 'M24020009982',  `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '480',`etd` = '2024-02-22',`create_date` = '2024-02-16 11:26:18',`modify_date` = '2024-02-17 16:51:16',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009982' and product_code = '40009', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020010592' and product_code = 'DG010222-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30257',`firm_id` = '8',`ordernumber` = 'B24020010592',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '50',`total_price` = '15000',`etd` = '2024-03-01',`create_date` = '2024-02-16 16:32:05',`modify_date` = '2024-02-17 09:48:40',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020010592' and product_code = 'DG010222-01', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020010592' and product_code = 'ZP010152-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30257',`firm_id` = '8',`ordernumber` = 'B24020010592',  `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-03-01',`create_date` = '2024-02-16 16:32:05',`modify_date` = '2024-02-17 09:48:40',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020010592' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020010668' and product_code = 'DG010383-02' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30258',`firm_id` = '8',`ordernumber` = 'B24020010668',  `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-02',`product_sn` = 'DG010383',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(紅)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-03-01',`create_date` = '2024-02-16 16:40:16',`modify_date` = '2024-02-17 09:49:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020010668' and product_code = 'DG010383-02', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020010668' and product_code = 'DG010222-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30258',`firm_id` = '8',`ordernumber` = 'B24020010668',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4200',`etd` = '2024-03-01',`create_date` = '2024-02-16 16:40:16',`modify_date` = '2024-02-17 09:49:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020010668' and product_code = 'DG010222-01', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020010822' and product_code = 'DG010383-05' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30260',`firm_id` = '8',`ordernumber` = 'M24020010822',  `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-05',`product_sn` = 'DG010383',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(紅)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '60',`total_price` = '30000',`etd` = '2024-02-27',`create_date` = '2024-02-16 17:09:35',`modify_date` = '2024-02-17 11:26:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020010822' and product_code = 'DG010383-05', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020010822' and product_code = 'ZP010133-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30260',`firm_id` = '8',`ordernumber` = 'M24020010822',  `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`product_spec` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`invoice_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-16 17:54:03',`modify_date` = '2024-02-17 11:26:34',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24020010822' and product_code = 'ZP010133-01', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020010822' and product_code = 'ZP010152-01' 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30260',`firm_id` = '8',`ordernumber` = 'M24020010822',  `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-16 17:54:03',`modify_date` = '2024-02-17 11:26:34',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24020010822' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-07'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011115' and product_code = 'DG0103157-05' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30263','11','B24020011115','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-05','DG0103157','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:12:16','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30263',`firm_id` = '11',`ordernumber` = 'B24020011115',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-05',`product_sn` = 'DG0103157',`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-02-19',`create_date` = '2024-02-17 09:12:16',`modify_date` = '2024-02-17 09:12:16',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011115' and product_code = 'DG0103157-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011288' and product_code = 'DG0103145-08' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30264','11','B24020011288','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-08','DG0103145','芝麻+海苔','禮盒-彌月小王子(紅)【芝麻+海苔】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:13:30','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30264',`firm_id` = '11',`ordernumber` = 'B24020011288',  `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-08',`product_sn` = 'DG0103145',`product_spec` = '芝麻+海苔',`invoice_name` = '禮盒-彌月小王子(紅)【芝麻+海苔】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-19',`create_date` = '2024-02-17 09:13:30',`modify_date` = '2024-02-17 09:13:30',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011288' and product_code = 'DG0103145-08', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011360' and product_code = 'DG0103147-02' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30265','11','B24020011360','彌月試吃禮盒-都會LUCK','DG0103147-02','DG0103147','原味+芝麻','禮盒-彌月都會LUCK【原味+芝麻】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:14:08','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30265',`firm_id` = '11',`ordernumber` = 'B24020011360',  `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-02',`product_sn` = 'DG0103147',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月都會LUCK【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-19',`create_date` = '2024-02-17 09:14:08',`modify_date` = '2024-02-17 09:14:08',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011360' and product_code = 'DG0103147-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011360' and product_code = 'DG0103145-02' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30265','11','B24020011360','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-02','DG0103145','原味+芝麻','禮盒-彌月小王子(紅)【原味+芝麻】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:14:08','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30265',`firm_id` = '11',`ordernumber` = 'B24020011360',  `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-02',`product_sn` = 'DG0103145',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月小王子(紅)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-19',`create_date` = '2024-02-17 09:14:08',`modify_date` = '2024-02-17 09:14:08',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011360' and product_code = 'DG0103145-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011360' and product_code = 'DG0103157-02' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30265','11','B24020011360','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-02','DG0103157','原味+芝麻','禮盒-彌月SNOOPY【原味+芝麻】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:14:08','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30265',`firm_id` = '11',`ordernumber` = 'B24020011360',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-02',`product_sn` = 'DG0103157',`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-02-19',`create_date` = '2024-02-17 09:14:08',`modify_date` = '2024-02-17 09:14:08',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011360' and product_code = 'DG0103157-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011360' and product_code = 'DG0103138-02' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30265','11','B24020011360','小王子彌月試吃禮盒組','DG0103138-02','DG0103138','原味+芝麻','禮盒-小王子(藍)【原味+芝麻】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:14:08','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30265',`firm_id` = '11',`ordernumber` = 'B24020011360',  `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-02',`product_sn` = 'DG0103138',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-19',`create_date` = '2024-02-17 09:14:08',`modify_date` = '2024-02-17 09:14:08',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011360' and product_code = 'DG0103138-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011426' and product_code = 'DG0103157-09' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30266','11','B24020011426','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-09','DG0103157','芝麻+巧克力','禮盒-彌月SNOOPY【芝麻+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-19','2024-02-17 09:15:03','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30266',`firm_id` = '11',`ordernumber` = 'B24020011426',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-09',`product_sn` = 'DG0103157',`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-02-19',`create_date` = '2024-02-17 09:15:03',`modify_date` = '2024-02-17 09:15:03',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011426' and product_code = 'DG0103157-09', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011541' and product_code = 'DG010264-01' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30267','11','M24020011541','【SNOOPY聯名】美好食光-8結彌月提盒(試吃)','DG010264-01','DG010264','原味','提盒-彌月SNOOPY-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-17 10:01:37','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30267',`firm_id` = '11',`ordernumber` = 'M24020011541',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-01',`product_sn` = 'DG010264',`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-02-22',`create_date` = '2024-02-17 10:01:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011541' and product_code = 'DG010264-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011541' and product_code = 'DG010253-01' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30267','11','M24020011541','【小王子聯名】夢想旅程8結彌月提盒(試吃)','DG010253-01','DG010253','原味','提盒-彌月小王子(紅)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-17 10:01:37','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30267',`firm_id` = '11',`ordernumber` = 'M24020011541',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`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-02-22',`create_date` = '2024-02-17 10:01:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011541' and product_code = 'DG010253-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011541' and product_code = 'DG010244-05' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30267','11','M24020011541','小王子彌月試吃提盒','DG010244-05','DG010244','巧克力','提盒-小王子(藍)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-22','2024-02-17 10:01:37','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30267',`firm_id` = '11',`ordernumber` = 'M24020011541',  `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-05',`product_sn` = 'DG010244',`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-02-22',`create_date` = '2024-02-17 10:01:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011541' and product_code = 'DG010244-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011541' and product_code = 'DG010243-05' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30267','11','M24020011541','彌月試吃提盒-年輪','DG010243-05','DG010243','巧克力','提盒-彌月年輪-40入巧克力(試吃)','300','300','0','0','0','0','1','300.0','1','300','2024-02-22','2024-02-17 10:01:37','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30267',`firm_id` = '11',`ordernumber` = 'M24020011541',  `product_name` = '彌月試吃提盒-年輪',`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-02-22',`create_date` = '2024-02-17 10:01:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011541' and product_code = 'DG010243-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010203-01' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','10','3000','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010203-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010203-02' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','1','0','0','1','0.0','5','1500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010203-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010203-05' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','14','4200','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4200',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010203-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010203-03' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】閃耀星空8結彌月提盒','DG010203-03','DG010203','咖啡','提盒-小王子(藍)-40入咖啡','300','300','0','1','0','0','1','0.0','5','1500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010203-03', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010203-04' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】閃耀星空8結彌月提盒','DG010203-04','DG010203','海苔','提盒-小王子(藍)-40入海苔','300','300','0','1','0','0','1','0.0','5','1500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-04',`product_sn` = 'DG010203',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(藍)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010203-04', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010327-02' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】仰望星空8結彌月禮盒','DG010327-02','DG010327','原味+芝麻','禮盒-小王子(藍)【原味+芝麻】','500','500','0','1','0','0','1','0.0','1','500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010327-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010327-04' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】仰望星空8結彌月禮盒','DG010327-04','DG010327','原味+海苔','禮盒-小王子(藍)【原味+海苔】','500','500','0','1','0','0','1','0.0','1','500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:10 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-04',`product_sn` = 'DG010327',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-小王子(藍)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010327-04', `lunar_date` = '2024-01-08'
2024-02-17 23:59:10 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010327-05' 
2024-02-17 23:59:10 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】仰望星空8結彌月禮盒','DG010327-05','DG010327','原味+巧克力','禮盒-小王子(藍)【原味+巧克力】','500','500','0','1','0','0','1','0.0','55','27500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:10',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-05',`product_sn` = 'DG010327',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '55',`total_price` = '27500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010327-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010327-07' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】仰望星空8結彌月禮盒','DG010327-07','DG010327','芝麻+咖啡','禮盒-小王子(藍)【芝麻+咖啡】','500','500','0','1','0','0','1','0.0','3','1500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-07',`product_sn` = 'DG010327',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-小王子(藍)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010327-07', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'DG010327-08' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','【小王子聯名】仰望星空8結彌月禮盒','DG010327-08','DG010327','芝麻+海苔','禮盒-小王子(藍)【芝麻+海苔】','500','500','0','1','0','0','1','0.0','1','500','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-08',`product_sn` = 'DG010327',`product_spec` = '芝麻+海苔',`invoice_name` = '禮盒-小王子(藍)【芝麻+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'DG010327-08', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011642' and product_code = 'ZP010134-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30268','8','B24020011642','贈品-recolte氣炸鍋(顏色隨機)','ZP010134-01','ZP010134','贈品-recolte氣炸鍋(顏色隨機)','贈品-recolte氣炸鍋(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-29','2024-02-17 10:25:17','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30268',`firm_id` = '8',`ordernumber` = 'B24020011642',  `product_name` = '贈品-recolte氣炸鍋(顏色隨機)',`product_code` = 'ZP010134-01',`product_sn` = 'ZP010134',`product_spec` = '贈品-recolte氣炸鍋(顏色隨機)',`invoice_name` = '贈品-recolte氣炸鍋(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-29',`create_date` = '2024-02-17 10:25:17',`modify_date` = '2024-02-17 14:04:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011642' and product_code = 'ZP010134-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011792' and product_code = 'DG0103137-09' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30269','11','M24020011792','彌月試吃禮盒組(樂芙)','DG0103137-09','DG0103137','芝麻+巧克力','禮盒-彌月樂芙【芝麻+巧克力】(試吃)','500','500','0','0','0','0','1','500.0','1','500','2024-02-19','2024-02-17 11:27:04','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30269',`firm_id` = '11',`ordernumber` = 'M24020011792',  `product_name` = '彌月試吃禮盒組(樂芙)',`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-02-19',`create_date` = '2024-02-17 11:27:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011792' and product_code = 'DG0103137-09', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011878' and product_code = 'DG010327-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30270','8','M24020011878','【小王子聯名】仰望星空8結彌月禮盒','DG010327-05','DG010327','原味+巧克力','禮盒-小王子(藍)【原味+巧克力】','500','500','0','0','0','0','1','0.0','21','10500','2024-02-29','2024-02-17 12:00:28','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30270',`firm_id` = '8',`ordernumber` = 'M24020011878',  `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-05',`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` = '21',`total_price` = '10500',`etd` = '2024-02-29',`create_date` = '2024-02-17 12:00:28',`modify_date` = '2024-02-17 12:37:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011878' and product_code = 'DG010327-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011878' and product_code = 'DG010203-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30270','8','M24020011878','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','24','7200','2024-02-29','2024-02-17 12:00:28','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30270',`firm_id` = '8',`ordernumber` = 'M24020011878',  `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '7200',`etd` = '2024-02-29',`create_date` = '2024-02-17 12:00:28',`modify_date` = '2024-02-17 12:37:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011878' and product_code = 'DG010203-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020011878' and product_code = 'ZP010152-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30270','8','M24020011878','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-29','2024-02-17 12:00:28','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30270',`firm_id` = '8',`ordernumber` = 'M24020011878',  `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-29',`create_date` = '2024-02-17 12:00:28',`modify_date` = '2024-02-17 12:37:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020011878' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020011946' and product_code = 'DG010213-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30271','8','B24020011946','8結彌月提盒-香頌日光','DG010213-02','DG010213','芝麻','提盒-彌月香頌日光-40入芝麻','300','300','0','1','0','0','1','0.0','10','3000','2024-02-22','2024-02-17 12:18:57','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30271',`firm_id` = '8',`ordernumber` = 'B24020011946',  `product_name` = '8結彌月提盒-香頌日光',`product_code` = 'DG010213-02',`product_sn` = 'DG010213',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月香頌日光-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-22',`create_date` = '2024-02-17 12:18:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020011946' and product_code = 'DG010213-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012064' and product_code = 'DG0103156-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30272','8','B24020012064','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-05','DG0103156','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-02-27','2024-02-17 12:29:07','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30272',`firm_id` = '8',`ordernumber` = 'B24020012064',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`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-02-27',`create_date` = '2024-02-17 12:29:07',`modify_date` = '2024-02-17 12:55:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012064' and product_code = 'DG0103156-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012064' and product_code = 'DG010263-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30272','8','B24020012064','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','10','3000','2024-02-27','2024-02-17 12:29:07','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30272',`firm_id` = '8',`ordernumber` = 'B24020012064',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:29:07',`modify_date` = '2024-02-17 12:55:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012064' and product_code = 'DG010263-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012064' and product_code = 'DG010263-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30272','8','B24020012064','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-05','DG010263','巧克力','提盒-彌月SNOOPY-40入巧克力','300','300','0','1','0','0','1','0.0','10','3000','2024-02-27','2024-02-17 12:29:07','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30272',`firm_id` = '8',`ordernumber` = 'B24020012064',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:29:07',`modify_date` = '2024-02-17 12:55:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012064' and product_code = 'DG010263-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012064' and product_code = 'DG010263-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30272','8','B24020012064','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','5','1500','2024-02-27','2024-02-17 12:29:07','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30272',`firm_id` = '8',`ordernumber` = 'B24020012064',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:29:07',`modify_date` = '2024-02-17 12:55:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012064' and product_code = 'DG010263-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012064' and product_code = 'DG010263-03' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30272','8','B24020012064','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-03','DG010263','咖啡','提盒-彌月SNOOPY-40入咖啡','300','300','0','1','0','0','1','0.0','1','300','2024-02-27','2024-02-17 12:29:07','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30272',`firm_id` = '8',`ordernumber` = 'B24020012064',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`product_sn` = 'DG010263',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:29:07',`modify_date` = '2024-02-17 12:55:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012064' and product_code = 'DG010263-03', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012064' and product_code = 'ZP010151-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30272','8','B24020012064','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-27','2024-02-17 12:29:07','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30272',`firm_id` = '8',`ordernumber` = 'B24020012064',  `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:29:07',`modify_date` = '2024-02-17 12:55:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012064' and product_code = 'ZP010151-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012191' and product_code = 'DG010253-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30273','11','M24020012191','【小王子聯名】夢想旅程8結彌月提盒(試吃)','DG010253-01','DG010253','原味','提盒-彌月小王子(紅)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-19','2024-02-17 12:41:42','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30273',`firm_id` = '11',`ordernumber` = 'M24020012191',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`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-02-19',`create_date` = '2024-02-17 12:41:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012191' and product_code = 'DG010253-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012280' and product_code = 'DG0103156-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30274','8','B24020012280','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-05','DG0103156','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-02-27','2024-02-17 12:41:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30274',`firm_id` = '8',`ordernumber` = 'B24020012280',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`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-02-27',`create_date` = '2024-02-17 12:41:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012280' and product_code = 'DG0103156-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012280' and product_code = 'DG010263-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30274','8','B24020012280','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','10','3000','2024-02-27','2024-02-17 12:41:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30274',`firm_id` = '8',`ordernumber` = 'B24020012280',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:41:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012280' and product_code = 'DG010263-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012280' and product_code = 'DG010263-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30274','8','B24020012280','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-05','DG010263','巧克力','提盒-彌月SNOOPY-40入巧克力','300','300','0','1','0','0','1','0.0','10','3000','2024-02-27','2024-02-17 12:41:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30274',`firm_id` = '8',`ordernumber` = 'B24020012280',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:41:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012280' and product_code = 'DG010263-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012280' and product_code = 'DG010263-03' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30274','8','B24020012280','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-03','DG010263','咖啡','提盒-彌月SNOOPY-40入咖啡','300','300','0','1','0','0','1','0.0','5','1500','2024-02-27','2024-02-17 12:41:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30274',`firm_id` = '8',`ordernumber` = 'B24020012280',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`product_sn` = 'DG010263',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:41:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012280' and product_code = 'DG010263-03', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012280' and product_code = 'DG010263-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30274','8','B24020012280','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','5','1500','2024-02-27','2024-02-17 12:41:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30274',`firm_id` = '8',`ordernumber` = 'B24020012280',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:41:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012280' and product_code = 'DG010263-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012280' and product_code = 'ZP010151-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30274','8','B24020012280','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-27','2024-02-17 12:41:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30274',`firm_id` = '8',`ordernumber` = 'B24020012280',  `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-17 12:41:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012280' and product_code = 'ZP010151-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012381' and product_code = 'DG010253-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30275','11','M24020012381','【小王子聯名】夢想旅程8結彌月提盒(試吃)','DG010253-05','DG010253','巧克力','提盒-彌月小王子(紅)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-21','2024-02-17 12:58:55','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30275',`firm_id` = '11',`ordernumber` = 'M24020012381',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`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-02-21',`create_date` = '2024-02-17 12:58:55',`modify_date` = '2024-02-17 13:59:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012381' and product_code = 'DG010253-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012381' and product_code = 'DG010244-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30275','11','M24020012381','小王子彌月試吃提盒','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-21','2024-02-17 12:58:55','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30275',`firm_id` = '11',`ordernumber` = 'M24020012381',  `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`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-02-21',`create_date` = '2024-02-17 12:58:55',`modify_date` = '2024-02-17 13:59:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012381' and product_code = 'DG010244-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012449' and product_code = 'DG0103147-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30276','11','M24020012449','彌月試吃禮盒-都會LUCK','DG0103147-02','DG0103147','原味+芝麻','禮盒-彌月都會LUCK【原味+芝麻】(試吃)','500','500','0','0','0','1','1','0.0','1','500','2024-02-23','2024-02-17 13:58:58','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30276',`firm_id` = '11',`ordernumber` = 'M24020012449',  `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-02',`product_sn` = 'DG0103147',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月都會LUCK【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-23',`create_date` = '2024-02-17 13:58:58',`modify_date` = '2024-02-17 14:28:12',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012449' and product_code = 'DG0103147-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012449' and product_code = 'DG0103157-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30276','11','M24020012449','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-02','DG0103157','原味+芝麻','禮盒-彌月SNOOPY【原味+芝麻】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-02-23','2024-02-17 13:58:58','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30276',`firm_id` = '11',`ordernumber` = 'M24020012449',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-02',`product_sn` = 'DG0103157',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月SNOOPY【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-23',`create_date` = '2024-02-17 13:58:58',`modify_date` = '2024-02-17 14:28:12',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012449' and product_code = 'DG0103157-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012449' and product_code = 'DG0103145-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30276','11','M24020012449','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-02','DG0103145','原味+芝麻','禮盒-彌月小王子(紅)【原味+芝麻】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-02-23','2024-02-17 13:58:58','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30276',`firm_id` = '11',`ordernumber` = 'M24020012449',  `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-02',`product_sn` = 'DG0103145',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月小王子(紅)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-23',`create_date` = '2024-02-17 13:58:58',`modify_date` = '2024-02-17 14:28:12',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012449' and product_code = 'DG0103145-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012593' and product_code = 'DG0103156-08' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30277','8','M24020012593','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-08','DG0103156','芝麻+海苔','禮盒-彌月SNOOPY【芝麻+海苔】','500','500','0','0','0','0','1','0.0','8','4000','2024-02-21','2024-02-17 15:37:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30277',`firm_id` = '8',`ordernumber` = 'M24020012593',  `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-08',`product_sn` = 'DG0103156',`product_spec` = '芝麻+海苔',`invoice_name` = '禮盒-彌月SNOOPY【芝麻+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '4000',`etd` = '2024-02-21',`create_date` = '2024-02-17 15:37:49',`modify_date` = '2024-02-17 15:38:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012593' and product_code = 'DG0103156-08', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012593' and product_code = 'DG010263-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30277','8','M24020012593','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','30','9000','2024-02-21','2024-02-17 15:37:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30277',`firm_id` = '8',`ordernumber` = 'M24020012593',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2024-02-21',`create_date` = '2024-02-17 15:37:49',`modify_date` = '2024-02-17 15:38:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012593' and product_code = 'DG010263-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012593' and product_code = 'ZP010152-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30277','8','M24020012593','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-21','2024-02-17 15:37:49','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30277',`firm_id` = '8',`ordernumber` = 'M24020012593',  `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-21',`create_date` = '2024-02-17 15:37:49',`modify_date` = '2024-02-17 15:38:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012593' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010248-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30278','11','M24020012638','彌月試吃提盒-香頌日光','DG010248-01','DG010248','原味','提盒-彌月香頌日光-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-24','2024-02-17 15:49:14','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638',  `product_name` = '彌月試吃提盒-香頌日光',`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-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-17 15:53:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010248-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010244-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30278','11','M24020012638','小王子彌月試吃提盒','DG010244-02','DG010244','芝麻','提盒-小王子(藍)-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-24','2024-02-17 15:49:14','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638',  `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`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-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-17 15:53:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010244-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010253-05' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30278','11','M24020012638','【小王子聯名】夢想旅程8結彌月提盒(試吃)','DG010253-05','DG010253','巧克力','提盒-彌月小王子(紅)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-24','2024-02-17 15:49:14','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`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-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-17 15:53:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010253-05', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010264-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30278','11','M24020012638','【SNOOPY聯名】美好食光-8結彌月提盒(試吃)','DG010264-02','DG010264','芝麻','提盒-彌月SNOOPY-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-24','2024-02-17 15:49:14','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-02',`product_sn` = 'DG010264',`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-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-17 15:53:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010264-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012724' and product_code = 'DG010316-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30279','8','M24020012724','8結彌月禮盒-樂芙','DG010316-02','DG010316','原味+芝麻','禮盒-彌月樂芙【原味+芝麻】','500','500','0','0','0','0','1','500.0','30','15000','2024-02-27','2024-02-17 16:21:28','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30279',`firm_id` = '8',`ordernumber` = 'M24020012724',  `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-02',`product_sn` = 'DG010316',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '30',`total_price` = '15000',`etd` = '2024-02-27',`create_date` = '2024-02-17 16:21:28',`modify_date` = '2024-02-17 17:45:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012724' and product_code = 'DG010316-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012724' and product_code = 'DG010263-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30279','8','M24020012724','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','38','11400','2024-02-27','2024-02-17 16:21:28','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30279',`firm_id` = '8',`ordernumber` = 'M24020012724',  `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '38',`total_price` = '11400',`etd` = '2024-02-27',`create_date` = '2024-02-17 16:21:28',`modify_date` = '2024-02-17 17:45:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012724' and product_code = 'DG010263-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012724' and product_code = 'DG010222-02' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30279','8','M24020012724','【小王子聯名】夢想旅程8結彌月提盒','DG010222-02','DG010222','芝麻','提盒-小王子(紅)-40入芝麻','300','300','0','0','0','0','1','0.0','9','2700','2024-02-27','2024-02-17 16:21:28','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30279',`firm_id` = '8',`ordernumber` = 'M24020012724',  `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-02-27',`create_date` = '2024-02-17 16:21:28',`modify_date` = '2024-02-17 17:45:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012724' and product_code = 'DG010222-02', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012724' and product_code = 'ZP010133-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30279','8','M24020012724','贈品-recolte花灑萃取咖啡機(顏色隨機)','ZP010133-01','ZP010133','贈品-recolte花灑萃取咖啡機(顏色隨機)','贈品-recolte花灑萃取咖啡機(顏色隨機)','0','0','0','0','0','0','1','0.0','0','0','2024-02-27','2024-02-17 16:21:28','2024-02-17 23:59:11',null,'0','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30279',`firm_id` = '8',`ordernumber` = 'M24020012724',  `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`product_spec` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`invoice_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-17 16:21:28',`modify_date` = '2024-02-17 16:22:41',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24020012724' and product_code = 'ZP010133-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24020012724' and product_code = 'ZP010152-01' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30279','8','M24020012724','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','2','0','2024-02-27','2024-02-17 16:22:41','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30279',`firm_id` = '8',`ordernumber` = 'M24020012724',  `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-17 16:22:41',`modify_date` = '2024-02-17 17:45:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012724' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24020012892' and product_code = '05401' 
2024-02-17 23:59:11 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30280','8','B24020012892','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2024-02-22','2024-02-17 21:57:32','2024-02-17 23:59:11',null,'1','2024-01-08') 
2024-02-17 23:59:11 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '30280',`firm_id` = '8',`ordernumber` = 'B24020012892',  `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-02-22',`create_date` = '2024-02-17 21:57:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020012892' and product_code = '05401', `lunar_date` = '2024-01-08'
2024-02-17 23:59:11 -- == sync_order_detail end ==
2024-02-17 23:59:11 -- == select one.order_list ==

                SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date,
                inv.company_number,inv.company_title,inv.invoice_status,
                cust.zipcode,cust.county,cust.district,
                rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea,
                af.type as freight_type
                FROM `orders` o 
                LEFT JOIN systemlead_invoices inv on o.id = inv.order_id 
                LEFT JOIN order_customers cust on o.id = cust.order_id 
                LEFT JOIN order_receivers rec on o.id = rec.order_id 
                LEFT JOIN activity_freights af on o.activity_freight_id = af.id
                WHERE (DATE(o.created_at) = '2024-02-17' OR o.updated_at = '2024-02-17') and o.deleted_at is null
            
2024-02-17 23:59:11 -- == sync_order_detail start ==
2024-02-17 23:59:11 -- start:2024-02-17,end:2024-02-17
2024-02-17 23:59:12 -- step1:
        SELECT id,sku,combinations_product_spec_id FROM `product_specs`
    
2024-02-17 23:59:12 -- step2:
        SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null
    
2024-02-17 23:59:14 -- step3:
            SELECT id,product_code,product_sn FROM `omo_order_detail` 
            WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-02-17%';