2024-09-29 23:59:02 -- == sync_order start ==
2024-09-29 23:59:02 -- start:2024-09-29,end:2024-09-29
2024-09-29 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-09-29%' OR l.modify_date like '2024-09-29%';
        
2024-09-29 23:59:03 -- == sync omo_order_list ==
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('386632','422944',1,'','','O24090288931','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1445','334','桃園市','八德區','334','桃園市','八德區','1565','2024-09-29 03:04:29','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387194','423504',1,'','','O24090289052','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','325','桃園市','龍潭區','325','桃園市','龍潭區','1560','2024-09-29 07:14:25','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344763','381521',1,'','','O24090289116','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5760','804','高雄市','鼓山區','804','高雄市','鼓山區','5760','2024-09-29 10:00:43','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387202','423512',1,'','','O24090289246','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','612','嘉義縣','太保市','612','嘉義縣','太保市','1080','2024-09-29 10:55:09','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387201','423511',1,'','','O24090289310','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','2290','542','南投縣','草屯鎮','542','南投縣','草屯鎮','2340','2024-09-29 10:55:52','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('386490','422801',1,'','','O24090289490','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','500','彰化縣','彰化市','500','彰化縣','彰化市','600','2024-09-29 12:07:29','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('342892','379667',1,'','','O24090289593','1','11','1','1','1','42382959','信源企業股份有限公司聯合職工福利委員會','0','0000-00-00','3694','0','0','','0','0','52780','220','新北市','板橋區','114','台北市','內湖區','49086','2024-09-29 13:33:15','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387234','423544',1,'','','O24090289657','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1380','238','新北市','樹林區','238','新北市','樹林區','1500','2024-09-29 13:57:37','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387247','423557',1,'','','O24090289711','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1170','557','南投縣','竹山鎮','557','南投縣','竹山鎮','1290','2024-09-29 15:12:42','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387022','423332',1,'','','O24090289819','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2230','613','嘉義縣','朴子市','615','嘉義縣','六腳鄉','2350','2024-09-29 15:22:08','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387055','423365',1,'','','O24090289986','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1200','302','新竹縣','竹北市','302','新竹縣','竹北市','1320','2024-09-29 15:49:22','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387259','423568',1,'','','O24090290093','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','580','717','台南市','仁德區','717','台南市','仁德區','700','2024-09-29 15:57:18','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387267','423576',1,'','','O24090290166','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1500','436','台中市','清水區','436','台中市','清水區','1650','2024-09-29 16:30:27','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387278','423587',1,'','','O24090290226','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1740','500','彰化縣','彰化市','500','彰化縣','彰化市','1860','2024-09-29 17:11:03','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387295','423603',1,'','','O24090290398','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1920','900','屏東縣','屏東市','900','屏東縣','屏東市','2070','2024-09-29 18:28:34','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387303','423611',1,'','','O24090290411','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2250','221','新北市','汐止區','221','新北市','汐止區','2370','2024-09-29 19:13:14','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387307','423615',1,'','','O24090290576','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','990','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1110','2024-09-29 19:50:02','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387311','423619',1,'','','O24090290672','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','901','屏東縣','三地門鄉','901','屏東縣','三地門鄉','600','2024-09-29 20:07:49','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('386860','423170',1,'','','O24090290757','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2250','526','彰化縣','二林鎮','526','彰化縣','二林鎮','2400','2024-09-29 21:27:08','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387322','423630',1,'','','O24090290826','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','30','960','700','台南市','中西區','700','台南市','中西區','1080','2024-09-29 21:57:53','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387322','423630',1,'','','O24090290964','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','700','台南市','中西區','700','台南市','中西區','1080','2024-09-29 22:04:18','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387325','423633',1,'','','O24090291063','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1370','112','台北市','北投區','112','台北市','北投區','1490','2024-09-29 22:23:43','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('380116','416502',1,'','','O24090291112','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1160','235','新北市','中和區','235','新北市','中和區','1310','2024-09-29 22:52:34','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387186','423496',1,'','','O24090291251','2','1','1','1','1','','','0','0000-00-00','0','0','0','','280','30','550','880','澎湖縣','馬公市','880','澎湖縣','馬公市','800','2024-09-29 23:13:42','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387329','423637',1,'','','O24090291312','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','821','高雄市','路竹區','821','高雄市','路竹區','1080','2024-09-29 23:25:58','2024-08-27')
2024-09-29 23:59:03 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387330','423638',1,'','','O24090291476','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2360','247','新北市','蘆洲區','247','新北市','蘆洲區','2510','2024-09-29 23:49:05','2024-08-27')
2024-09-29 23:59:03 -- == sync_order end ==
2024-09-29 23:59:03 -- == sync_order_detail start ==
2024-09-29 23:59:03 -- start:2024-09-29,end:2024-09-29
2024-09-29 23:59:03 -- == sync omo_order_detail ==
2024-09-29 23:59:03 -- == SELECT order_detail ==
SELECT * from order_detail WHERE create_date like '2024-09-29%' OR modify_date like '2024-09-29%'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090288931' and product_code = 'FL010308-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249230','8','O24090288931','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','495','495','0','0','0','0','1','0.0','1','495','2024-10-01','2024-09-29 03:04:29','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249230',`firm_id` = '8',`ordernumber` = 'O24090288931',  `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-10-01',`create_date` = '2024-09-29 03:04:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090288931' and product_code = 'FL010308-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090288931' and product_code = 'FL010316-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249230','8','O24090288931','剛好一口酥禮盒','FL010316-01','FL010316','鳳梨酥,鳳梨酥','禮盒-剛好一口酥【鳳梨酥+鳳梨酥】','360','360','0','0','0','0','1','0.0','1','360','2024-10-01','2024-09-29 03:04:29','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249230',`firm_id` = '8',`ordernumber` = 'O24090288931',  `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-01',`product_sn` = 'FL010316',`product_spec` = '鳳梨酥,鳳梨酥',`invoice_name` = '禮盒-剛好一口酥【鳳梨酥+鳳梨酥】',`listprice` = '360',`sellingprice` = '360',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-10-01',`create_date` = '2024-09-29 03:04:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090288931' and product_code = 'FL010316-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090288931' and product_code = 'DG010268-03' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249230','8','O24090288931','【吳淡如聯名】築夢-8結提盒','DG010268-03','DG010268','咖啡','提盒-吳淡如-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-10-01','2024-09-29 03:04:29','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249230',`firm_id` = '8',`ordernumber` = 'O24090288931',  `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-03',`product_sn` = 'DG010268',`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-10-01',`create_date` = '2024-09-29 03:04:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090288931' and product_code = 'DG010268-03'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090288931' and product_code = '03951' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249230','8','O24090288931','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','1','290','2024-10-01','2024-09-29 03:04:29','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249230',`firm_id` = '8',`ordernumber` = 'O24090288931',  `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-10-01',`create_date` = '2024-09-29 03:04:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090288931' and product_code = '03951'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289052' and product_code = 'DG0103148-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249231','8','O24090289052','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','1','480','2024-10-01','2024-09-29 07:14:25','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249231',`firm_id` = '8',`ordernumber` = 'O24090289052',  `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-01',`product_sn` = 'DG0103148',`product_spec` = '原味+原味',`invoice_name` = '禮盒-金典(紅)【原味+原味】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 07:14:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289052' and product_code = 'DG0103148-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289052' and product_code = 'DG0103148-05' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249231','8','O24090289052','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-10-01','2024-09-29 07:14:25','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249231',`firm_id` = '8',`ordernumber` = 'O24090289052',  `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 07:14:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289052' and product_code = 'DG0103148-05'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289052' and product_code = 'DG0103148-04' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249231','8','O24090289052','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-10-01','2024-09-29 07:14:25','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249231',`firm_id` = '8',`ordernumber` = 'O24090289052',  `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`product_sn` = 'DG0103148',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-金典(紅)【原味+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 07:14:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289052' and product_code = 'DG0103148-04'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289116' and product_code = 'DG0103148-02' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249232','8','O24090289116','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','12','5760','2024-10-01','2024-09-29 10:00:43','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249232',`firm_id` = '8',`ordernumber` = 'O24090289116',  `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '5760',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:00:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289116' and product_code = 'DG0103148-02'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289116' and product_code = 'ZP010146-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249232','8','O24090289116','贈品-南棗核桃糕分享包','ZP010146-01','ZP010146','贈品-南棗核桃糕分享包','贈品-南棗核桃糕分享包','0','0','0','0','0','0','1','0.0','1','0','2024-10-01','2024-09-29 10:00:43','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249232',`firm_id` = '8',`ordernumber` = 'O24090289116',  `product_name` = '贈品-南棗核桃糕分享包',`product_code` = 'ZP010146-01',`product_sn` = 'ZP010146',`product_spec` = '贈品-南棗核桃糕分享包',`invoice_name` = '贈品-南棗核桃糕分享包',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:00:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289116' and product_code = 'ZP010146-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289246' and product_code = 'DG010312-12' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249233','8','O24090289246','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 10:55:09','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249233',`firm_id` = '8',`ordernumber` = 'O24090289246',  `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-10-01',`create_date` = '2024-09-29 10:55:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289246' and product_code = 'DG010312-12'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289246' and product_code = 'DG010312-08' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249233','8','O24090289246','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 10:55:09','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249233',`firm_id` = '8',`ordernumber` = 'O24090289246',  `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:55:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289246' and product_code = 'DG010312-08'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289310' and product_code = 'DG0105103-09' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249234','8','O24090289310','SNOOPY美好心意-蛋捲三入組','DG0105103-09','DG0105103','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY美好提袋','990','990','0','0','0','0','1','0.0','1','990','2024-10-01','2024-09-29 10:55:52','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249234',`firm_id` = '8',`ordernumber` = 'O24090289310',  `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-09',`product_sn` = 'DG0105103',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:55:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289310' and product_code = 'DG0105103-09'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289310' and product_code = 'DG010265-03' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249234','8','O24090289310','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-03','DG010265','咖啡','提盒-SNOOPY(粉)-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-10-01','2024-09-29 10:55:52','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249234',`firm_id` = '8',`ordernumber` = 'O24090289310',  `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-03',`product_sn` = 'DG010265',`product_spec` = '咖啡',`invoice_name` = '提盒-SNOOPY(粉)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:55:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289310' and product_code = 'DG010265-03'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289310' and product_code = 'BP010185-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249234','8','O24090289310','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','2','500','2024-10-01','2024-09-29 10:55:52','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249234',`firm_id` = '8',`ordernumber` = 'O24090289310',  `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '500',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:55:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289310' and product_code = 'BP010185-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289310' and product_code = 'BP010188-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249234','8','O24090289310','[加購]加購-SNOOPY面紙套','BP010188-01','BP010188','-','加購-SNOOPY面紙套','250','250','1','1','250','0','0','0.0','2','500','2024-10-01','2024-09-29 10:55:52','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249234',`firm_id` = '8',`ordernumber` = 'O24090289310',  `product_name` = '[加購]加購-SNOOPY面紙套',`product_code` = 'BP010188-01',`product_sn` = 'BP010188',`product_spec` = '-',`invoice_name` = '加購-SNOOPY面紙套',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '500',`etd` = '2024-10-01',`create_date` = '2024-09-29 10:55:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289310' and product_code = 'BP010188-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289490' and product_code = 'DG010312-05' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249235','8','O24090289490','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 12:07:29','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249235',`firm_id` = '8',`ordernumber` = 'O24090289490',  `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-10-01',`create_date` = '2024-09-29 12:07:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289490' and product_code = 'DG010312-05'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289593' and product_code = 'DG010101-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249236','8','O24090289593','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-28','2024-09-29 13:33:15','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249236',`firm_id` = '8',`ordernumber` = 'O24090289593',  `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-10-28',`create_date` = '2024-09-29 13:33:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289593' and product_code = 'DG010101-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289593' and product_code = 'DG0103188-06' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249236','8','O24090289593','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-06','DG0103188','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY(橘)【原味+芝麻】','500','500','0','0','0','0','1','0.0','35','17500','2024-10-28','2024-09-29 13:33:15','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249236',`firm_id` = '8',`ordernumber` = 'O24090289593',  `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-06',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '35',`total_price` = '17500',`etd` = '2024-10-28',`create_date` = '2024-09-29 13:33:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289593' and product_code = 'DG0103188-06'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289593' and product_code = 'DG0103188-07' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249236','8','O24090289593','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-07','DG0103188','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY(橘)【原味+咖啡】','500','500','0','0','0','0','1','0.0','35','17500','2024-10-28','2024-09-29 13:33:15','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249236',`firm_id` = '8',`ordernumber` = 'O24090289593',  `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-07',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '35',`total_price` = '17500',`etd` = '2024-10-28',`create_date` = '2024-09-29 13:33:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289593' and product_code = 'DG0103188-07'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289593' and product_code = 'DG0103188-09' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249236','8','O24090289593','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','35','17500','2024-10-28','2024-09-29 13:33:15','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249236',`firm_id` = '8',`ordernumber` = 'O24090289593',  `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '35',`total_price` = '17500',`etd` = '2024-10-28',`create_date` = '2024-09-29 13:33:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289593' and product_code = 'DG0103188-09'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289593' and product_code = 'ZP010536-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249236','8','O24090289593','贈品-南棗核桃糕分享包x15','ZP010536-01','ZP010536','贈品-南棗核桃糕分享包+贈品-南棗核桃糕分享包+贈品-南棗核','贈品-南棗核桃糕分享包x15','0','0','0','0','0','0','1','0.0','1','0','2024-10-28','2024-09-29 13:33:15','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249236',`firm_id` = '8',`ordernumber` = 'O24090289593',  `product_name` = '贈品-南棗核桃糕分享包x15',`product_code` = 'ZP010536-01',`product_sn` = 'ZP010536',`product_spec` = '贈品-南棗核桃糕分享包+贈品-南棗核桃糕分享包+贈品-南棗核',`invoice_name` = '贈品-南棗核桃糕分享包x15',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-28',`create_date` = '2024-09-29 13:33:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289593' and product_code = 'ZP010536-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289657' and product_code = 'DG0105103-05' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249237','8','O24090289657','SNOOPY美好心意-蛋捲三入組','DG0105103-05','DG0105103','原味+原味+巧克力','組合-32入(原味+原味+巧克力)+SNOOPY美好提袋','990','990','0','0','0','0','1','0.0','1','990','2024-10-02','2024-09-29 13:57:37','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249237',`firm_id` = '8',`ordernumber` = 'O24090289657',  `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-05',`product_sn` = 'DG0105103',`product_spec` = '原味+原味+巧克力',`invoice_name` = '組合-32入(原味+原味+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-02',`create_date` = '2024-09-29 13:57:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289657' and product_code = 'DG0105103-05'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289657' and product_code = 'BP010179-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249237','8','O24090289657','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-10-02','2024-09-29 13:57:37','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249237',`firm_id` = '8',`ordernumber` = 'O24090289657',  `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-10-02',`create_date` = '2024-09-29 13:57:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289657' and product_code = 'BP010179-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289711' and product_code = 'DG0103188-12' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249238','8','O24090289711','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-12','DG0103188','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-10-01','2024-09-29 15:12:42','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249238',`firm_id` = '8',`ordernumber` = 'O24090289711',  `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-12',`product_sn` = 'DG0103188',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:12:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289711' and product_code = 'DG0103188-12'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289711' and product_code = 'DG010101-03' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249238','8','O24090289711','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-01','2024-09-29 15:12:42','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249238',`firm_id` = '8',`ordernumber` = 'O24090289711',  `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:12:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289711' and product_code = 'DG010101-03'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289711' and product_code = 'BP010179-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249238','8','O24090289711','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-10-01','2024-09-29 15:12:42','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249238',`firm_id` = '8',`ordernumber` = 'O24090289711',  `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:12:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289711' and product_code = 'BP010179-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289819' and product_code = 'DG0105127-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249239','8','O24090289819','【官網限定】熱銷蛋捲6入組','DG0105127-01','DG0105127','原味x6+紅色提袋x2','組合-32入原味x6+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-01','2024-09-29 15:22:08','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249239',`firm_id` = '8',`ordernumber` = 'O24090289819',  `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-01',`product_sn` = 'DG0105127',`product_spec` = '原味x6+紅色提袋x2',`invoice_name` = '組合-32入原味x6+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:22:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289819' and product_code = 'DG0105127-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289819' and product_code = 'DG010527-01' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249239','8','O24090289819','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-01','2024-09-29 15:22:08','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249239',`firm_id` = '8',`ordernumber` = 'O24090289819',  `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:22:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289819' and product_code = 'DG010527-01'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289819' and product_code = 'DG010527-02' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249239','8','O24090289819','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-01','2024-09-29 15:22:08','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249239',`firm_id` = '8',`ordernumber` = 'O24090289819',  `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:22:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289819' and product_code = 'DG010527-02'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289819' and product_code = 'DG010101-02' 
2024-09-29 23:59:05 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249239','8','O24090289819','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-01','2024-09-29 15:22:08','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:05 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249239',`firm_id` = '8',`ordernumber` = 'O24090289819',  `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-10-01',`create_date` = '2024-09-29 15:22:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289819' and product_code = 'DG010101-02'
2024-09-29 23:59:05 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289986' and product_code = 'ZS010201-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249240','8','O24090289986','提盒裝肉酥酥','ZS010201-01','ZS010201','原味+原味','提盒-肉酥酥【原味】','300','300','0','0','0','0','1','300.0','2','600','2024-10-01','2024-09-29 15:49:22','2024-09-29 23:59:05',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249240',`firm_id` = '8',`ordernumber` = 'O24090289986',  `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-01',`product_sn` = 'ZS010201',`product_spec` = '原味+原味',`invoice_name` = '提盒-肉酥酥【原味】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '2',`total_price` = '600',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:49:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289986' and product_code = 'ZS010201-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090289986' and product_code = 'ZS010201-02' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249240','8','O24090289986','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','2','600','2024-10-01','2024-09-29 15:49:22','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249240',`firm_id` = '8',`ordernumber` = 'O24090289986',  `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '2',`total_price` = '600',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:49:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090289986' and product_code = 'ZS010201-02'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290093' and product_code = '13656' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249241','8','O24090290093','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-10-01','2024-09-29 15:57:18','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249241',`firm_id` = '8',`ordernumber` = 'O24090290093',  `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-10-01',`create_date` = '2024-09-29 15:57:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290093' and product_code = '13656'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290166' and product_code = 'ZS010201-02' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249242','8','O24090290166','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','5','1500','2024-10-01','2024-09-29 16:30:27','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249242',`firm_id` = '8',`ordernumber` = 'O24090290166',  `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-10-01',`create_date` = '2024-09-29 16:30:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290166' and product_code = 'ZS010201-02'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290226' and product_code = '13660' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249243','8','O24090290226','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','4','1160','2024-10-01','2024-09-29 17:11:03','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249243',`firm_id` = '8',`ordernumber` = 'O24090290226',  `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1160',`etd` = '2024-10-01',`create_date` = '2024-09-29 17:11:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290226' and product_code = '13660'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290226' and product_code = '13659' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249243','8','O24090290226','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-01','2024-09-29 17:11:03','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249243',`firm_id` = '8',`ordernumber` = 'O24090290226',  `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`product_sn` = '13656',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-10-01',`create_date` = '2024-09-29 17:11:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290226' and product_code = '13659'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290226' and product_code = '13657' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249243','8','O24090290226','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-01','2024-09-29 17:11:03','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249243',`firm_id` = '8',`ordernumber` = 'O24090290226',  `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-10-01',`create_date` = '2024-09-29 17:11:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290226' and product_code = '13657'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290398' and product_code = 'DG010312-04' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249244','8','O24090290398','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','4','1920','2024-10-03','2024-09-29 18:28:34','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249244',`firm_id` = '8',`ordernumber` = 'O24090290398',  `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` = '4',`total_price` = '1920',`etd` = '2024-10-03',`create_date` = '2024-09-29 18:28:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290398' and product_code = 'DG010312-04'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290411' and product_code = 'DG0105135-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249245','8','O24090290411','【官網限定】澎派蛋捲10入組','DG0105135-01','DG0105135','原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-01','2024-09-29 19:13:14','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249245',`firm_id` = '8',`ordernumber` = 'O24090290411',  `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-01',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-01',`create_date` = '2024-09-29 19:13:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290411' and product_code = 'DG0105135-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290576' and product_code = 'DG0105126-14' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249246','8','O24090290576','【官網限定】SNOOPY經典蛋捲3入組','DG0105126-14','DG0105126','原味+咖啡+巧克力+SNOOPY心意提袋','組合-32入原味+32入咖啡+32入巧克力+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-01','2024-09-29 19:50:02','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249246',`firm_id` = '8',`ordernumber` = 'O24090290576',  `product_name` = '【官網限定】SNOOPY經典蛋捲3入組',`product_code` = 'DG0105126-14',`product_sn` = 'DG0105126',`product_spec` = '原味+咖啡+巧克力+SNOOPY心意提袋',`invoice_name` = '組合-32入原味+32入咖啡+32入巧克力+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-01',`create_date` = '2024-09-29 19:50:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290576' and product_code = 'DG0105126-14'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290672' and product_code = 'DG0103148-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249247','8','O24090290672','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','1','480','2024-10-01','2024-09-29 20:07:49','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249247',`firm_id` = '8',`ordernumber` = 'O24090290672',  `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-01',`product_sn` = 'DG0103148',`product_spec` = '原味+原味',`invoice_name` = '禮盒-金典(紅)【原味+原味】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 20:07:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290672' and product_code = 'DG0103148-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290757' and product_code = 'DG0105135-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249248','8','O24090290757','【官網限定】澎派蛋捲10入組','DG0105135-01','DG0105135','原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-03','2024-09-29 21:27:08','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249248',`firm_id` = '8',`ordernumber` = 'O24090290757',  `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-01',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-03',`create_date` = '2024-09-29 21:27:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290757' and product_code = 'DG0105135-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290826' and product_code = 'DG010312-03' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249249','8','O24090290826','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 21:57:53','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249249',`firm_id` = '8',`ordernumber` = 'O24090290826',  `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 21:57:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290826' and product_code = 'DG010312-03'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290826' and product_code = 'DG010312-15' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249249','8','O24090290826','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 21:57:53','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249249',`firm_id` = '8',`ordernumber` = 'O24090290826',  `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-10-01',`create_date` = '2024-09-29 21:57:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290826' and product_code = 'DG010312-15'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290964' and product_code = 'DG010312-03' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249250','8','O24090290964','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 22:04:18','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249250',`firm_id` = '8',`ordernumber` = 'O24090290964',  `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-01',`create_date` = '2024-09-29 22:04:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290964' and product_code = 'DG010312-03'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090290964' and product_code = 'DG010312-15' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249250','8','O24090290964','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-01','2024-09-29 22:04:18','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249250',`firm_id` = '8',`ordernumber` = 'O24090290964',  `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-10-01',`create_date` = '2024-09-29 22:04:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090290964' and product_code = 'DG010312-15'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291063' and product_code = 'DG0105127-353' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249251','8','O24090291063','【官網限定】熱銷蛋捲6入組','DG0105127-353','DG0105127','芝麻+咖啡+巧克力x4+紅色提袋x2','組合-32入芝麻+32入咖啡+32入巧克力x4+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-03','2024-09-29 22:23:43','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249251',`firm_id` = '8',`ordernumber` = 'O24090291063',  `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-353',`product_sn` = 'DG0105127',`product_spec` = '芝麻+咖啡+巧克力x4+紅色提袋x2',`invoice_name` = '組合-32入芝麻+32入咖啡+32入巧克力x4+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-03',`create_date` = '2024-09-29 22:23:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291063' and product_code = 'DG0105127-353'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291112' and product_code = 'DG010527-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249252','8','O24090291112','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','4','1160','2024-10-01','2024-09-29 22:52:34','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249252',`firm_id` = '8',`ordernumber` = 'O24090291112',  `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1160',`etd` = '2024-10-01',`create_date` = '2024-09-29 22:52:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291112' and product_code = 'DG010527-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291251' and product_code = 'BP010187-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249253','8','O24090291251','SNOOPY面紙套','BP010187-01','BP010187','SNOOPY面紙套','SNOOPY面紙套','300','300','0','0','0','0','1','0.0','1','300','2024-10-01','2024-09-29 23:13:42','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249253',`firm_id` = '8',`ordernumber` = 'O24090291251',  `product_name` = 'SNOOPY面紙套',`product_code` = 'BP010187-01',`product_sn` = 'BP010187',`product_spec` = 'SNOOPY面紙套',`invoice_name` = 'SNOOPY面紙套',`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-10-01',`create_date` = '2024-09-29 23:13:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291251' and product_code = 'BP010187-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291251' and product_code = 'BP010185-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249253','8','O24090291251','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-01','2024-09-29 23:13:42','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249253',`firm_id` = '8',`ordernumber` = 'O24090291251',  `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-01',`create_date` = '2024-09-29 23:13:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291251' and product_code = 'BP010185-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291312' and product_code = 'DG010312-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249254','8','O24090291312','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-10-03','2024-09-29 23:25:58','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249254',`firm_id` = '8',`ordernumber` = 'O24090291312',  `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` = '1',`total_price` = '480',`etd` = '2024-10-03',`create_date` = '2024-09-29 23:25:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291312' and product_code = 'DG010312-01'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291312' and product_code = 'DG010312-02' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249254','8','O24090291312','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-10-03','2024-09-29 23:25:58','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249254',`firm_id` = '8',`ordernumber` = 'O24090291312',  `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-10-03',`create_date` = '2024-09-29 23:25:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291312' and product_code = 'DG010312-02'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'O24090291476' and product_code = 'DG010258-02' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249255','8','O24090291476','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','8','2360','2024-10-01','2024-09-29 23:49:05','2024-09-29 23:59:06',null,'1','2024-08-27')
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '249255',`firm_id` = '8',`ordernumber` = 'O24090291476',  `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` = '8',`total_price` = '2360',`etd` = '2024-10-01',`create_date` = '2024-09-29 23:49:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-27'where ordernumber = 'O24090291476' and product_code = 'DG010258-02'
2024-09-29 23:59:06 -- == sync_order_detail end ==
2024-09-29 23:59:06 -- == sync_order start ==
2024-09-29 23:59:06 -- start:2024-09-29,end:2024-09-29
2024-09-29 23:59:06 -- == select june1.order_list ==

        select 
            l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date 
        FROM 
            `order_list` l 
        LEFT JOIN 
            member_list m on l.mid = m.id 
        WHERE 
            l.create_date like '2024-09-29%' OR l.modify_date like '2024-09-29%';
        
2024-09-29 23:59:06 -- == sync omo_order_list ==
2024-09-29 23:59:06 -- == update lake.omo_order_list ==
update omo_order_list set userId = '422514', process_status = '3', pay_status = '1', totalprice_after = '600', lunar_date = '2024-08-21', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24090027854'
2024-09-29 23:59:06 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('147464','423535',2,'','','B24090034363','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1150','114','台北市','內湖區','114','台北市','內湖區','1270','2024-09-29 13:18:54','2024-08-27') 
2024-09-29 23:59:06 -- == inster lake.omo_order_list ==
INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('147523','423593',2,'','','B24090034418','1','1','1','1','1','','','0','0000-00-00','700','0','0','','0','30','14000','202','基隆市','中正區','202','基隆市','中正區','13270','2024-09-29 18:44:55','2024-08-27') 
2024-09-29 23:59:06 -- == sync_order end ==
2024-09-29 23:59:06 -- == sync_order_detail start ==
2024-09-29 23:59:06 -- start:2024-09-29,end:2024-09-29
2024-09-29 23:59:06 -- == sync omo_order_detail ==
2024-09-29 23:59:06 -- == SELECT order_detail ==
SELECT * from order_detail WHERE create_date like '2024-09-29%' OR modify_date like '2024-09-29%'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24090027854' and product_code = 'DG010243-01' 
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32853',`firm_id` = '11',`ordernumber` = 'M24090027854',  `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-09-27',`create_date` = '2024-09-23 15:48:12',`modify_date` = '2024-09-29 19:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090027854' and product_code = 'DG010243-01', `lunar_date` = '2024-08-21'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24090027854' and product_code = 'DG010267-05' 
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32853',`firm_id` = '11',`ordernumber` = 'M24090027854',  `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-05',`product_sn` = 'DG010267',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-09-27',`create_date` = '2024-09-23 15:48:12',`modify_date` = '2024-09-29 19:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090027854' and product_code = 'DG010267-05', `lunar_date` = '2024-08-21'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'M24090027854' and product_code = 'DG010270-03' 
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32853',`firm_id` = '11',`ordernumber` = 'M24090027854',  `product_name` = '吳淡如提盒-彌月試吃【A3】',`product_code` = 'DG010270-03',`product_sn` = 'DG010270',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月吳淡如-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-09-27',`create_date` = '2024-09-23 15:48:12',`modify_date` = '2024-09-29 19:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24090027854' and product_code = 'DG010270-03', `lunar_date` = '2024-08-21'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24090034363' and product_code = 'DG010266-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32922','8','B24090034363','SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','1','0','0','1','0.0','3','900','2024-10-07','2024-09-29 13:18:54','2024-09-29 23:59:06',null,'1','2024-08-27') 
2024-09-29 23:59:06 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32922',`firm_id` = '8',`ordernumber` = 'B24090034363',  `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`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` = '3',`total_price` = '900',`etd` = '2024-10-07',`create_date` = '2024-09-29 13:18:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090034363' and product_code = 'DG010266-01', `lunar_date` = '2024-08-27'
2024-09-29 23:59:06 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24090034363' and product_code = 'BP010185-01' 
2024-09-29 23:59:06 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32922','8','B24090034363','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-07','2024-09-29 13:18:54','2024-09-29 23:59:06',null,'1','2024-08-27') 
2024-09-29 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32922',`firm_id` = '8',`ordernumber` = 'B24090034363',  `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-07',`create_date` = '2024-09-29 13:18:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090034363' and product_code = 'BP010185-01', `lunar_date` = '2024-08-27'
2024-09-29 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24090034418' and product_code = 'DG0103189-05' 
2024-09-29 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32923','8','B24090034418','SNOOPY美好探尋-8結彌月禮盒','DG0103189-05','DG0103189','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】','500','500','0','1','0','0','1','0.0','28','14000','2024-10-07','2024-09-29 18:44:55','2024-09-29 23:59:07',null,'1','2024-08-27') 
2024-09-29 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32923',`firm_id` = '8',`ordernumber` = 'B24090034418',  `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '28',`total_price` = '14000',`etd` = '2024-10-07',`create_date` = '2024-09-29 18:44:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090034418' and product_code = 'DG0103189-05', `lunar_date` = '2024-08-27'
2024-09-29 23:59:07 -- == SELECT lake.omo_order_detail ==
select ordernumber from omo_order_detail where ordernumber = 'B24090034418' and product_code = 'ZP010520-01' 
2024-09-29 23:59:07 -- == INSERT lake.omo_order_detail ==
INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32923','8','B24090034418','贈品-SNOOPY寶寶貼心組','ZP010520-01','ZP010520','SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6','組合-SNOOPY提把水瓶+sNug寶寶襪*3','0','0','0','0','0','0','1','0.0','1','0','2024-10-07','2024-09-29 18:44:55','2024-09-29 23:59:07',null,'1','2024-08-27') 
2024-09-29 23:59:07 -- == UPDATE lake.order_detail ==
UPDATE `omo_order_detail` SET `order_id` = '32923',`firm_id` = '8',`ordernumber` = 'B24090034418',  `product_name` = '贈品-SNOOPY寶寶貼心組',`product_code` = 'ZP010520-01',`product_sn` = 'ZP010520',`product_spec` = 'SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6',`invoice_name` = '組合-SNOOPY提把水瓶+sNug寶寶襪*3',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-07',`create_date` = '2024-09-29 18:44:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090034418' and product_code = 'ZP010520-01', `lunar_date` = '2024-08-27'
2024-09-29 23:59:07 -- == sync_order_detail end ==
2024-09-29 23:59:07 -- == select one.order_list ==

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