2024-05-19 23:59:02 -- == sync_order start == 2024-05-19 23:59:02 -- start:2024-05-19,end:2024-05-19 2024-05-19 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-05-19%' OR l.modify_date like '2024-05-19%'; 2024-05-19 23:59:04 -- == sync omo_order_list == 2024-05-19 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '390452', process_status = '3', pay_status = '1', totalprice_after = '4850', lunar_date = '2024-04-10', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24050069637' 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354067','390734',1,'','','O24050073894','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2125','300','新竹市','東區','300','新竹市','東區','2245','2024-05-19 00:35:50','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354068','390735',1,'','','O24050073948','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1200','235','新北市','中和區','413','台中市','霧峰區','1350','2024-05-19 01:13:01','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('346861','383595',1,'','','O24050074079','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','832','高雄市','林園區','832','高雄市','林園區','630','2024-05-19 02:18:20','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354030','390697',1,'','','O24050074129','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1740','235','新北市','中和區','811','高雄市','楠梓區','1860','2024-05-19 03:37:29','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354071','390738',1,'','','O24050074274','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','112','台北市','北投區','238','新北市','樹林區','1110','2024-05-19 07:34:25','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354077','390744',1,'','','O24050074310','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1205','114','台北市','內湖區','114','台北市','內湖區','1325','2024-05-19 10:59:20','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354012','390679',1,'','','O24050074423','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1450','204','基隆市','安樂區','202','基隆市','中正區','1570','2024-05-19 11:30:16','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('353858','390526',1,'','','O24050074545','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5760','434','台中市','龍井區','434','台中市','龍井區','5730','2024-05-19 11:46:56','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('353909','390576',1,'','','O24050074690','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','500','彰化縣','彰化市','500','彰化縣','彰化市','1110','2024-05-19 12:16:21','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354143','390809',1,'','','O24050074749','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1640','106','台北市','大安區','106','台北市','大安區','1760','2024-05-19 15:12:59','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354151','390817',1,'','','O24050074879','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5725','646','雲林縣','古坑鄉','646','雲林縣','古坑鄉','5695','2024-05-19 16:05:41','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('352972','389649',1,'','','O24050074994','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2030','803','高雄市','鹽埕區','242','新北市','新莊區','2180','2024-05-19 16:07:52','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354163','390829',1,'','','O24050075036','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1200','206','基隆市','七堵區','206','基隆市','七堵區','1350','2024-05-19 16:09:21','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354168','390834',1,'','','O24050075111','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','100','台北市','中正區','100','台北市','中正區','620','2024-05-19 16:13:30','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354172','390838',1,'','','O24050075266','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1770','324','桃園市','平鎮區','328','桃園市','觀音區','1890','2024-05-19 16:24:42','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354186','390852',1,'','','O24050075331','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','3460','244','新北市','林口區','244','新北市','林口區','3510','2024-05-19 17:38:55','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('109021','79137',1,'','','O24050075494','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6500','235','新北市','中和區','741','台南市','善化區','6500','2024-05-19 17:56:45','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354198','390864',1,'','','O24050075512','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','701','台南市','東區','701','台南市','東區','960','2024-05-19 18:15:33','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('327799','364756',1,'','','O24050075668','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1000','330','桃園市','桃園區','330','桃園市','桃園區','1150','2024-05-19 18:26:36','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('226200','251109',1,'','','O24050075799','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','7510','406','台中市','北屯區','406','台中市','北屯區','7510','2024-05-19 19:23:37','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354218','390884',1,'','','O24050075885','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','111','台北市','士林區','111','台北市','士林區','1560','2024-05-19 19:54:52','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354219','390885',1,'','','O24050075935','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2400','806','高雄市','前鎮區','806','高雄市','前鎮區','2520','2024-05-19 20:08:57','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('166505','133645',1,'','','O24050076042','1','1','1','1','1','23021323','來今有限公司','0','0000-00-00','0','0','0','','150','0','1250','111','台北市','士林區','111','台北市','士林區','1400','2024-05-19 20:32:25','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354220','390886',1,'','','O24050076188','1','11','1','1','1','29177527','均安資訊有限公司','0','0000-00-00','0','0','0','','0','30','9950','111','台北市','士林區','111','台北市','士林區','9920','2024-05-19 20:46:15','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('319426','356486',1,'','','O24050076273','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2240','300','新竹市','東區','300','新竹市','東區','2390','2024-05-19 21:21:57','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354224','390890',1,'','','O24050076378','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1595','300','新竹市','東區','300','新竹市','東區','1745','2024-05-19 22:06:00','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('285012','322522',1,'','','O24050076476','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2800','111','台北市','士林區','111','台北市','士林區','2950','2024-05-19 22:29:08','2024-04-12') 2024-05-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354230','390895',1,'','','O24050076567','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2740','231','新北市','新店區','231','新北市','新店區','2860','2024-05-19 23:53:45','2024-04-12') 2024-05-19 23:59:04 -- == sync_order end == 2024-05-19 23:59:04 -- == sync_order_detail start == 2024-05-19 23:59:04 -- start:2024-05-19,end:2024-05-19 2024-05-19 23:59:04 -- == sync omo_order_detail == 2024-05-19 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-19%' OR modify_date like '2024-05-19%' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050069637' and product_code = 'DG010226-02' 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232156',`firm_id` = '8',`ordernumber` = 'S24050069637', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-02',`product_sn` = 'DG010226',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4500',`etd` = '2024-05-19',`create_date` = '2024-05-17 16:18:01',`modify_date` = '2024-05-19 11:36:42',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050069637' and product_code = 'DG010226-02' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073894' and product_code = 'DG0103181-211' 2024-05-19 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,'232198','8','O24050073894','8結隨享茶點禮盒','DG0103181-211','DG0103181','原味+原味,鳳梅酥,鳳梅酥','禮盒-隨享茶點【原味+原味】【鳳梅酥+鳳梅酥】','590','590','0','0','0','0','1','0.0','1','590','2024-05-21','2024-05-19 00:35:50','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232198',`firm_id` = '8',`ordernumber` = 'O24050073894', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-211',`product_sn` = 'DG0103181',`product_spec` = '原味+原味,鳳梅酥,鳳梅酥',`invoice_name` = '禮盒-隨享茶點【原味+原味】【鳳梅酥+鳳梅酥】',`listprice` = '590',`sellingprice` = '590',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '590',`etd` = '2024-05-21',`create_date` = '2024-05-19 00:35:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050073894' and product_code = 'DG0103181-211' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073894' and product_code = 'FL010309-01' 2024-05-19 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,'232198','8','O24050073894','一口酥24入家庭號禮盒','FL010309-01','12586','24入鳳梅酥','禮盒-24入家庭號【鳳梅酥】','585','585','0','0','0','0','1','0.0','1','585','2024-05-21','2024-05-19 00:35:50','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232198',`firm_id` = '8',`ordernumber` = 'O24050073894', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010309-01',`product_sn` = '12586',`product_spec` = '24入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梅酥】',`listprice` = '585',`sellingprice` = '585',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '585',`etd` = '2024-05-21',`create_date` = '2024-05-19 00:35:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050073894' and product_code = 'FL010309-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073894' and product_code = '13658' 2024-05-19 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,'232198','8','O24050073894','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-21','2024-05-19 00:35:50','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232198',`firm_id` = '8',`ordernumber` = 'O24050073894', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-21',`create_date` = '2024-05-19 00:35:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050073894' and product_code = '13658' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073894' and product_code = '13656' 2024-05-19 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,'232198','8','O24050073894','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-21','2024-05-19 00:35:50','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232198',`firm_id` = '8',`ordernumber` = 'O24050073894', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-21',`create_date` = '2024-05-19 00:35:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050073894' and product_code = '13656' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073894' and product_code = 'FL010103-01' 2024-05-19 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,'232198','8','O24050073894','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','2','370','2024-05-21','2024-05-19 00:35:50','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232198',`firm_id` = '8',`ordernumber` = 'O24050073894', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '370',`etd` = '2024-05-21',`create_date` = '2024-05-19 00:35:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050073894' and product_code = 'FL010103-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073948' and product_code = 'DG010597-01' 2024-05-19 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,'232199','8','O24050073948','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-21','2024-05-19 01:13:01','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232199',`firm_id` = '8',`ordernumber` = 'O24050073948', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-21',`create_date` = '2024-05-19 01:13:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050073948' and product_code = 'DG010597-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074079' and product_code = 'DG010312-05' 2024-05-19 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,'232200','8','O24050074079','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-21','2024-05-19 02:18:20','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232200',`firm_id` = '8',`ordernumber` = 'O24050074079', `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-05-21',`create_date` = '2024-05-19 02:18:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074079' and product_code = 'DG010312-05' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074129' and product_code = 'DG010527-01' 2024-05-19 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,'232201','8','O24050074129','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','6','1740','2024-05-31','2024-05-19 03:37:29','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232201',`firm_id` = '8',`ordernumber` = 'O24050074129', `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` = '6',`total_price` = '1740',`etd` = '2024-05-31',`create_date` = '2024-05-19 03:37:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074129' and product_code = 'DG010527-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074274' and product_code = 'DG010523-02' 2024-05-19 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,'232202','8','O24050074274','SNOOPY帶走心意-蛋捲三入組','DG010523-02','DG010523','原味+原味+芝麻','組合-32入(原味+原味+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-30','2024-05-19 07:34:25','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232202',`firm_id` = '8',`ordernumber` = 'O24050074274', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-02',`product_sn` = 'DG010523',`product_spec` = '原味+原味+芝麻',`invoice_name` = '組合-32入(原味+原味+芝麻)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-30',`create_date` = '2024-05-19 07:34:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074274' and product_code = 'DG010523-02' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074310' and product_code = 'DG0103165-01' 2024-05-19 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,'232203','8','O24050074310','金典8結黑松露堅果禮盒','DG0103165-01','12529','原味蛋捲,黑松露腰果','禮盒-金典(紅)【原味+腰果提盒】','1205','1205','0','0','0','0','1','0.0','1','1205','2024-05-21','2024-05-19 10:59:20','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232203',`firm_id` = '8',`ordernumber` = 'O24050074310', `product_name` = '金典8結黑松露堅果禮盒',`product_code` = 'DG0103165-01',`product_sn` = '12529',`product_spec` = '原味蛋捲,黑松露腰果',`invoice_name` = '禮盒-金典(紅)【原味+腰果提盒】',`listprice` = '1205',`sellingprice` = '1205',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1205',`etd` = '2024-05-21',`create_date` = '2024-05-19 10:59:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074310' and product_code = 'DG0103165-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074423' and product_code = '13656' 2024-05-19 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,'232204','8','O24050074423','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-31','2024-05-19 11:30:16','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232204',`firm_id` = '8',`ordernumber` = 'O24050074423', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-31',`create_date` = '2024-05-19 11:30:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074423' and product_code = '13656' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074545' and product_code = 'DG010597-01' 2024-05-19 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,'232205','8','O24050074545','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','4','4800','2024-05-21','2024-05-19 11:46:56','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232205',`firm_id` = '8',`ordernumber` = 'O24050074545', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '4800',`etd` = '2024-05-21',`create_date` = '2024-05-19 11:46:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074545' and product_code = 'DG010597-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074545' and product_code = 'TG010118-01' 2024-05-19 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,'232205','8','O24050074545','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','2','580','2024-05-21','2024-05-19 11:46:56','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232205',`firm_id` = '8',`ordernumber` = 'O24050074545', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-05-21',`create_date` = '2024-05-19 11:46:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074545' and product_code = 'TG010118-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074545' and product_code = 'LS010108-01' 2024-05-19 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,'232205','8','O24050074545','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','2','380','2024-05-21','2024-05-19 11:46:56','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232205',`firm_id` = '8',`ordernumber` = 'O24050074545', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '380',`etd` = '2024-05-21',`create_date` = '2024-05-19 11:46:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074545' and product_code = 'LS010108-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074690' and product_code = 'DG010523-21' 2024-05-19 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,'232206','8','O24050074690','SNOOPY帶走心意-蛋捲三入組','DG010523-21','DG010523','芝麻+咖啡+海苔','組合-32入(芝麻+咖啡+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-24','2024-05-19 12:16:21','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232206',`firm_id` = '8',`ordernumber` = 'O24050074690', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-21',`product_sn` = 'DG010523',`product_spec` = '芝麻+咖啡+海苔',`invoice_name` = '組合-32入(芝麻+咖啡+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-24',`create_date` = '2024-05-19 12:16:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074690' and product_code = 'DG010523-21' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074749' and product_code = 'LS010135-01' 2024-05-19 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,'232207','8','O24050074749','無籽梅肉','LS010135-01','LS010135','無籽梅肉','(盒)無籽梅肉','255','255','0','0','0','0','1','0.0','1','255','2024-05-21','2024-05-19 15:12:59','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232207',`firm_id` = '8',`ordernumber` = 'O24050074749', `product_name` = '無籽梅肉',`product_code` = 'LS010135-01',`product_sn` = 'LS010135',`product_spec` = '無籽梅肉',`invoice_name` = '(盒)無籽梅肉',`listprice` = '255',`sellingprice` = '255',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '255',`etd` = '2024-05-21',`create_date` = '2024-05-19 15:12:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074749' and product_code = 'LS010135-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074749' and product_code = 'LS010133-01' 2024-05-19 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,'232207','8','O24050074749','烏梅絲','LS010133-01','LS010133','烏梅絲','(盒)烏梅絲','255','255','0','0','0','0','1','0.0','1','255','2024-05-21','2024-05-19 15:12:59','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232207',`firm_id` = '8',`ordernumber` = 'O24050074749', `product_name` = '烏梅絲',`product_code` = 'LS010133-01',`product_sn` = 'LS010133',`product_spec` = '烏梅絲',`invoice_name` = '(盒)烏梅絲',`listprice` = '255',`sellingprice` = '255',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '255',`etd` = '2024-05-21',`create_date` = '2024-05-19 15:12:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074749' and product_code = 'LS010133-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074749' and product_code = 'GG010101-01' 2024-05-19 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,'232207','8','O24050074749','義式皇家黑松露腰果','GG010101-01','GG010101','一組','(盒)堅果【腰果】','190','190','0','0','0','0','1','0.0','2','380','2024-05-21','2024-05-19 15:12:59','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232207',`firm_id` = '8',`ordernumber` = 'O24050074749', `product_name` = '義式皇家黑松露腰果',`product_code` = 'GG010101-01',`product_sn` = 'GG010101',`product_spec` = '一組',`invoice_name` = '(盒)堅果【腰果】',`listprice` = '190',`sellingprice` = '190',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '380',`etd` = '2024-05-21',`create_date` = '2024-05-19 15:12:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074749' and product_code = 'GG010101-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074749' and product_code = 'GJ010502-01' 2024-05-19 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,'232207','8','O24050074749','心釀梅醋禮盒','GJ010502-01','GJ010502','紫蘇梅醋+紫蘇梅醋','禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】','750','750','0','0','0','0','1','0.0','1','750','2024-05-21','2024-05-19 15:12:59','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232207',`firm_id` = '8',`ordernumber` = 'O24050074749', `product_name` = '心釀梅醋禮盒',`product_code` = 'GJ010502-01',`product_sn` = 'GJ010502',`product_spec` = '紫蘇梅醋+紫蘇梅醋',`invoice_name` = '禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '750',`etd` = '2024-05-21',`create_date` = '2024-05-19 15:12:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074749' and product_code = 'GJ010502-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074879' and product_code = 'DG0103155-02' 2024-05-19 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,'232208','8','O24050074879','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','5','2500','2024-05-24','2024-05-19 16:05:41','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232208',`firm_id` = '8',`ordernumber` = 'O24050074879', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2500',`etd` = '2024-05-24',`create_date` = '2024-05-19 16:05:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074879' and product_code = 'DG0103155-02' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074879' and product_code = 'DG0103155-05' 2024-05-19 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,'232208','8','O24050074879','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-24','2024-05-19 16:05:41','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232208',`firm_id` = '8',`ordernumber` = 'O24050074879', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-24',`create_date` = '2024-05-19 16:05:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074879' and product_code = 'DG0103155-05' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074879' and product_code = '13656' 2024-05-19 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,'232208','8','O24050074879','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-24','2024-05-19 16:05:41','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232208',`firm_id` = '8',`ordernumber` = 'O24050074879', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-24',`create_date` = '2024-05-19 16:05:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074879' and product_code = '13656' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074879' and product_code = 'FL010104-01' 2024-05-19 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,'232208','8','O24050074879','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','5','775','2024-05-24','2024-05-19 16:05:41','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232208',`firm_id` = '8',`ordernumber` = 'O24050074879', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '5',`total_price` = '775',`etd` = '2024-05-24',`create_date` = '2024-05-19 16:05:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074879' and product_code = 'FL010104-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074994' and product_code = 'DG010327-02' 2024-05-19 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,'232209','8','O24050074994','【小王子聯名】仰望星空8結禮盒 ','DG010327-02','DG010327','原味,芝麻','禮盒-小王子(藍)【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-05-28','2024-05-19 16:07:52','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232209',`firm_id` = '8',`ordernumber` = 'O24050074994', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味,芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-28',`create_date` = '2024-05-19 16:07:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074994' and product_code = 'DG010327-02' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074994' and product_code = 'DG010203-02' 2024-05-19 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,'232209','8','O24050074994','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','3','900','2024-05-28','2024-05-19 16:07:52','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232209',`firm_id` = '8',`ordernumber` = 'O24050074994', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-05-28',`create_date` = '2024-05-19 16:07:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074994' and product_code = 'DG010203-02' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074994' and product_code = 'GG010104-01' 2024-05-19 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,'232209','8','O24050074994','[加購]加購-義式皇家黑松露腰果','GG010104-01','GG010104','-','加購-(盒)堅果【腰果】','180','180','1','1','180','0','0','0.0','1','180','2024-05-28','2024-05-19 16:07:52','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232209',`firm_id` = '8',`ordernumber` = 'O24050074994', `product_name` = '[加購]加購-義式皇家黑松露腰果',`product_code` = 'GG010104-01',`product_sn` = 'GG010104',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【腰果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-05-28',`create_date` = '2024-05-19 16:07:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074994' and product_code = 'GG010104-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074994' and product_code = 'GG010105-01' 2024-05-19 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,'232209','8','O24050074994','[加購]加購-義式皇家黑松露杏仁果','GG010105-01','GG010105','-','加購-(盒)堅果【杏仁果】','180','180','1','1','180','0','0','0.0','1','180','2024-05-28','2024-05-19 16:07:52','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232209',`firm_id` = '8',`ordernumber` = 'O24050074994', `product_name` = '[加購]加購-義式皇家黑松露杏仁果',`product_code` = 'GG010105-01',`product_sn` = 'GG010105',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【杏仁果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-05-28',`create_date` = '2024-05-19 16:07:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074994' and product_code = 'GG010105-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050074994' and product_code = 'GG010106-01' 2024-05-19 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,'232209','8','O24050074994','[加購]加購-義式皇家黑松露夏威夷果','GG010106-01','GG010106','-','加購-(盒)堅果【夏威夷果】','270','270','1','1','270','0','0','0.0','1','270','2024-05-28','2024-05-19 16:07:52','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232209',`firm_id` = '8',`ordernumber` = 'O24050074994', `product_name` = '[加購]加購-義式皇家黑松露夏威夷果',`product_code` = 'GG010106-01',`product_sn` = 'GG010106',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【夏威夷果】',`listprice` = '270',`sellingprice` = '270',`isadd` = '1',`isbaby` = '1',`addprice` = '270',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-05-28',`create_date` = '2024-05-19 16:07:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050074994' and product_code = 'GG010106-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075036' and product_code = 'DG010597-01' 2024-05-19 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,'232210','8','O24050075036','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-06-07','2024-05-19 16:09:21','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232210',`firm_id` = '8',`ordernumber` = 'O24050075036', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-06-07',`create_date` = '2024-05-19 16:09:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075036' and product_code = 'DG010597-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075111' and product_code = 'DG0103155-05' 2024-05-19 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,'232211','8','O24050075111','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-05-21','2024-05-19 16:13:30','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232211',`firm_id` = '8',`ordernumber` = 'O24050075111', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-21',`create_date` = '2024-05-19 16:13:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075111' and product_code = 'DG0103155-05' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075266' and product_code = 'DG010258-01' 2024-05-19 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,'232212','8','O24050075266','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','6','1770','2024-06-03','2024-05-19 16:24:42','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232212',`firm_id` = '8',`ordernumber` = 'O24050075266', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1770',`etd` = '2024-06-03',`create_date` = '2024-05-19 16:24:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075266' and product_code = 'DG010258-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075331' and product_code = 'DG0103148-01' 2024-05-19 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,'232213','8','O24050075331','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','7','3360','2024-05-21','2024-05-19 17:38:55','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232213',`firm_id` = '8',`ordernumber` = 'O24050075331', `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` = '7',`total_price` = '3360',`etd` = '2024-05-21',`create_date` = '2024-05-19 17:38:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075331' and product_code = 'DG0103148-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075331' and product_code = 'DG010404-01' 2024-05-19 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,'232213','8','O24050075331','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','10','100','2024-05-21','2024-05-19 17:38:55','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232213',`firm_id` = '8',`ordernumber` = 'O24050075331', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '100',`etd` = '2024-05-21',`create_date` = '2024-05-19 17:38:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075331' and product_code = 'DG010404-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075494' and product_code = 'DG010222-01' 2024-05-19 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,'232214','8','O24050075494','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','9','2700','2024-05-28','2024-05-19 17:56:45','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232214',`firm_id` = '8',`ordernumber` = 'O24050075494', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-05-28',`create_date` = '2024-05-19 17:56:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075494' and product_code = 'DG010222-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075494' and product_code = 'DG010222-05' 2024-05-19 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,'232214','8','O24050075494','【小王子聯名】夢想旅程8結提盒','DG010222-05','DG010222','40入巧克力蛋捲','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','9','2700','2024-05-28','2024-05-19 17:56:45','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232214',`firm_id` = '8',`ordernumber` = 'O24050075494', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-05-28',`create_date` = '2024-05-19 17:56:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075494' and product_code = 'DG010222-05' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075494' and product_code = 'DG0103181-1083' 2024-05-19 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,'232214','8','O24050075494','8結隨享茶點禮盒','DG0103181-1083','DG0103181','原味+咖啡,黑松露杏仁果,國寶茶','禮盒-隨享茶點【原味+咖啡】【黑松露杏仁果+國寶茶】','550','550','0','0','0','0','1','0.0','2','1100','2024-05-28','2024-05-19 17:56:45','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232214',`firm_id` = '8',`ordernumber` = 'O24050075494', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-1083',`product_sn` = 'DG0103181',`product_spec` = '原味+咖啡,黑松露杏仁果,國寶茶',`invoice_name` = '禮盒-隨享茶點【原味+咖啡】【黑松露杏仁果+國寶茶】',`listprice` = '550',`sellingprice` = '550',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1100',`etd` = '2024-05-28',`create_date` = '2024-05-19 17:56:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075494' and product_code = 'DG0103181-1083' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075512' and product_code = 'DG010101-01' 2024-05-19 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,'232215','8','O24050075512','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-21','2024-05-19 18:15:33','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232215',`firm_id` = '8',`ordernumber` = 'O24050075512', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-05-21',`create_date` = '2024-05-19 18:15:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075512' and product_code = 'DG010101-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075668' and product_code = 'DG0103155-03' 2024-05-19 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,'232216','8','O24050075668','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-21','2024-05-19 18:26:36','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232216',`firm_id` = '8',`ordernumber` = 'O24050075668', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-21',`create_date` = '2024-05-19 18:26:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075668' and product_code = 'DG0103155-03' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075799' and product_code = 'DG010597-01' 2024-05-19 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,'232217','8','O24050075799','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','6','7200','2024-05-22','2024-05-19 19:23:37','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232217',`firm_id` = '8',`ordernumber` = 'O24050075799', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '7200',`etd` = '2024-05-22',`create_date` = '2024-05-19 19:23:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075799' and product_code = 'DG010597-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075799' and product_code = 'DG010404-01' 2024-05-19 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,'232217','8','O24050075799','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','28','280','2024-05-22','2024-05-19 19:23:37','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232217',`firm_id` = '8',`ordernumber` = 'O24050075799', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '28',`total_price` = '280',`etd` = '2024-05-22',`create_date` = '2024-05-19 19:23:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075799' and product_code = 'DG010404-01' 2024-05-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075799' and product_code = 'BP010128-01' 2024-05-19 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,'232217','8','O24050075799','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','3','30','2024-05-22','2024-05-19 19:23:37','2024-05-19 23:59:06',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232217',`firm_id` = '8',`ordernumber` = 'O24050075799', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2024-05-22',`create_date` = '2024-05-19 19:23:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075799' and product_code = 'BP010128-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075885' and product_code = 'DG010312-05' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232218','8','O24050075885','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-21','2024-05-19 19:54:52','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232218',`firm_id` = '8',`ordernumber` = 'O24050075885', `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-05-21',`create_date` = '2024-05-19 19:54:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075885' and product_code = 'DG010312-05' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075885' and product_code = 'DG010312-02' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232218','8','O24050075885','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-21','2024-05-19 19:54:52','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232218',`firm_id` = '8',`ordernumber` = 'O24050075885', `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-05-21',`create_date` = '2024-05-19 19:54:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075885' and product_code = 'DG010312-02' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075885' and product_code = 'DG010312-03' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232218','8','O24050075885','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-05-21','2024-05-19 19:54:52','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232218',`firm_id` = '8',`ordernumber` = 'O24050075885', `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-05-21',`create_date` = '2024-05-19 19:54:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075885' and product_code = 'DG010312-03' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050075935' and product_code = 'DG010597-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232219','8','O24050075935','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','2','2400','2024-05-21','2024-05-19 20:08:57','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232219',`firm_id` = '8',`ordernumber` = 'O24050075935', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2400',`etd` = '2024-05-21',`create_date` = '2024-05-19 20:08:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050075935' and product_code = 'DG010597-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076042' and product_code = 'DG010597-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232220','8','O24050076042','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-21','2024-05-19 20:32:25','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232220',`firm_id` = '8',`ordernumber` = 'O24050076042', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-21',`create_date` = '2024-05-19 20:32:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076042' and product_code = 'DG010597-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076042' and product_code = 'DG010404-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232220','8','O24050076042','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','5','50','2024-05-21','2024-05-19 20:32:25','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232220',`firm_id` = '8',`ordernumber` = 'O24050076042', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '5',`total_price` = '50',`etd` = '2024-05-21',`create_date` = '2024-05-19 20:32:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076042' and product_code = 'DG010404-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076188' and product_code = 'DG0103155-02' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232221','8','O24050076188','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','16','8000','2024-05-31','2024-05-19 20:46:15','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232221',`firm_id` = '8',`ordernumber` = 'O24050076188', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '8000',`etd` = '2024-05-31',`create_date` = '2024-05-19 20:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076188' and product_code = 'DG0103155-02' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076188' and product_code = '14147' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232221','8','O24050076188','[加購]加購-羅勒乳酪絲家庭分享包','14147','14147','-','加購-(紅袋)乳酪絲【羅勒】','540','540','1','1','540','0','0','0.0','1','540','2024-05-31','2024-05-19 20:46:15','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232221',`firm_id` = '8',`ordernumber` = 'O24050076188', `product_name` = '[加購]加購-羅勒乳酪絲家庭分享包',`product_code` = '14147',`product_sn` = '14147',`product_spec` = '-',`invoice_name` = '加購-(紅袋)乳酪絲【羅勒】',`listprice` = '540',`sellingprice` = '540',`isadd` = '1',`isbaby` = '1',`addprice` = '540',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '540',`etd` = '2024-05-31',`create_date` = '2024-05-19 20:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076188' and product_code = '14147' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076188' and product_code = '03952' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232221','8','O24050076188','[加購]加購-夏威夷豆軟糖分享包(袋裝15入)','03952','03952','-','加購-(紅袋)夏威夷豆軟糖','290','290','1','1','290','0','0','0.0','3','870','2024-05-31','2024-05-19 20:46:15','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232221',`firm_id` = '8',`ordernumber` = 'O24050076188', `product_name` = '[加購]加購-夏威夷豆軟糖分享包(袋裝15入)',`product_code` = '03952',`product_sn` = '03952',`product_spec` = '-',`invoice_name` = '加購-(紅袋)夏威夷豆軟糖',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-05-31',`create_date` = '2024-05-19 20:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076188' and product_code = '03952' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076188' and product_code = '14146' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232221','8','O24050076188','[加購]加購-原味乳酪絲家庭分享包','14146','14146','-','加購-(紅袋)乳酪絲【原味】','540','540','1','1','540','0','0','0.0','1','540','2024-05-31','2024-05-19 20:46:15','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232221',`firm_id` = '8',`ordernumber` = 'O24050076188', `product_name` = '[加購]加購-原味乳酪絲家庭分享包',`product_code` = '14146',`product_sn` = '14146',`product_spec` = '-',`invoice_name` = '加購-(紅袋)乳酪絲【原味】',`listprice` = '540',`sellingprice` = '540',`isadd` = '1',`isbaby` = '1',`addprice` = '540',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '540',`etd` = '2024-05-31',`create_date` = '2024-05-19 20:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076188' and product_code = '14146' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076273' and product_code = 'DG010101-02' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232222','8','O24050076273','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-07-03','2024-05-19 21:21:57','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232222',`firm_id` = '8',`ordernumber` = 'O24050076273', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '4',`total_price` = '1120',`etd` = '2024-07-03',`create_date` = '2024-05-19 21:21:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076273' and product_code = 'DG010101-02' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076273' and product_code = 'DG010101-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232222','8','O24050076273','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-07-03','2024-05-19 21:21:57','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232222',`firm_id` = '8',`ordernumber` = 'O24050076273', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '4',`total_price` = '1120',`etd` = '2024-07-03',`create_date` = '2024-05-19 21:21:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076273' and product_code = 'DG010101-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076378' and product_code = 'LS010135-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232223','8','O24050076378','無籽梅肉','LS010135-01','LS010135','無籽梅肉','(盒)無籽梅肉','255','255','0','0','0','0','1','0.0','4','1020','2024-05-21','2024-05-19 22:06:00','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232223',`firm_id` = '8',`ordernumber` = 'O24050076378', `product_name` = '無籽梅肉',`product_code` = 'LS010135-01',`product_sn` = 'LS010135',`product_spec` = '無籽梅肉',`invoice_name` = '(盒)無籽梅肉',`listprice` = '255',`sellingprice` = '255',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1020',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:06:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076378' and product_code = 'LS010135-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076378' and product_code = 'LS010133-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232223','8','O24050076378','烏梅絲','LS010133-01','LS010133','烏梅絲','(盒)烏梅絲','255','255','0','0','0','0','1','0.0','1','255','2024-05-21','2024-05-19 22:06:00','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232223',`firm_id` = '8',`ordernumber` = 'O24050076378', `product_name` = '烏梅絲',`product_code` = 'LS010133-01',`product_sn` = 'LS010133',`product_spec` = '烏梅絲',`invoice_name` = '(盒)烏梅絲',`listprice` = '255',`sellingprice` = '255',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '255',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:06:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076378' and product_code = 'LS010133-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076378' and product_code = 'TE010107-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232223','8','O24050076378','蕎麥國寶茶','TE010107-01','TE010107','6入蕎麥國寶茶包','(盒)國寶茶','160','160','0','0','0','0','1','0.0','2','320','2024-05-21','2024-05-19 22:06:00','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232223',`firm_id` = '8',`ordernumber` = 'O24050076378', `product_name` = '蕎麥國寶茶',`product_code` = 'TE010107-01',`product_sn` = 'TE010107',`product_spec` = '6入蕎麥國寶茶包',`invoice_name` = '(盒)國寶茶',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '320',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:06:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076378' and product_code = 'TE010107-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076476' and product_code = 'DG010527-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232224','8','O24050076476','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-05-21','2024-05-19 22:29:08','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232224',`firm_id` = '8',`ordernumber` = 'O24050076476', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:29:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076476' and product_code = 'DG010527-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076476' and product_code = 'DG010527-02' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232224','8','O24050076476','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-05-21','2024-05-19 22:29:08','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232224',`firm_id` = '8',`ordernumber` = 'O24050076476', `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` = '2',`total_price` = '580',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:29:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076476' and product_code = 'DG010527-02' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076476' and product_code = 'DG010527-04' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232224','8','O24050076476','8結蛋捲【小禮袋裝】','DG010527-04','DG010527','40入海苔蛋捲','組合-40入海苔+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-05-21','2024-05-19 22:29:08','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232224',`firm_id` = '8',`ordernumber` = 'O24050076476', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-04',`product_sn` = 'DG010527',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:29:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076476' and product_code = 'DG010527-04' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076476' and product_code = 'LS010108-01' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232224','8','O24050076476','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','1','190','2024-05-21','2024-05-19 22:29:08','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232224',`firm_id` = '8',`ordernumber` = 'O24050076476', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-05-21',`create_date` = '2024-05-19 22:29:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076476' and product_code = 'LS010108-01' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076567' and product_code = 'DG010312-02' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232225','8','O24050076567','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-05-21','2024-05-19 23:53:45','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232225',`firm_id` = '8',`ordernumber` = 'O24050076567', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-21',`create_date` = '2024-05-19 23:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076567' and product_code = 'DG010312-02' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076567' and product_code = 'DG010312-03' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232225','8','O24050076567','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-05-21','2024-05-19 23:53:45','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232225',`firm_id` = '8',`ordernumber` = 'O24050076567', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-21',`create_date` = '2024-05-19 23:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076567' and product_code = 'DG010312-03' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076567' and product_code = 'DG010312-08' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232225','8','O24050076567','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-05-21','2024-05-19 23:53:45','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232225',`firm_id` = '8',`ordernumber` = 'O24050076567', `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-05-21',`create_date` = '2024-05-19 23:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076567' and product_code = 'DG010312-08' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076567' and product_code = 'LS010510-02' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232225','8','O24050076567','梅子零嘴任選二入組','LS010510-02','LS010510','(袋)烏梅絲+(袋)無籽梅肉','(袋)烏梅絲+(袋)無籽梅肉','170','170','0','0','0','0','1','0.0','1','170','2024-05-21','2024-05-19 23:53:45','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232225',`firm_id` = '8',`ordernumber` = 'O24050076567', `product_name` = '梅子零嘴任選二入組',`product_code` = 'LS010510-02',`product_sn` = 'LS010510',`product_spec` = '(袋)烏梅絲+(袋)無籽梅肉',`invoice_name` = '(袋)烏梅絲+(袋)無籽梅肉',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-05-21',`create_date` = '2024-05-19 23:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076567' and product_code = 'LS010510-02' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050076567' and product_code = 'LS010510-06' 2024-05-19 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232225','8','O24050076567','梅子零嘴任選二入組','LS010510-06','LS010510','(袋)梅片x2','(袋)梅片x2','170','170','0','0','0','0','1','0.0','1','170','2024-05-21','2024-05-19 23:53:45','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232225',`firm_id` = '8',`ordernumber` = 'O24050076567', `product_name` = '梅子零嘴任選二入組',`product_code` = 'LS010510-06',`product_sn` = 'LS010510',`product_spec` = '(袋)梅片x2',`invoice_name` = '(袋)梅片x2',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-05-21',`create_date` = '2024-05-19 23:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-12'where ordernumber = 'O24050076567' and product_code = 'LS010510-06' 2024-05-19 23:59:07 -- == sync_order_detail end == 2024-05-19 23:59:07 -- == sync_order start == 2024-05-19 23:59:07 -- start:2024-05-19,end:2024-05-19 2024-05-19 23:59:07 -- == 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-05-19%' OR l.modify_date like '2024-05-19%'; 2024-05-19 23:59:07 -- == sync omo_order_list == 2024-05-19 23:59:07 -- == 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 ('113916','390337',2,'','','B24050015313','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2400','811','高雄市','楠梓區','811','高雄市','楠梓區','2520','2024-05-19 16:48:14','2024-04-12') 2024-05-19 23:59:07 -- == sync_order end == 2024-05-19 23:59:07 -- == sync_order_detail start == 2024-05-19 23:59:07 -- start:2024-05-19,end:2024-05-19 2024-05-19 23:59:07 -- == sync omo_order_detail == 2024-05-19 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-19%' OR modify_date like '2024-05-19%' 2024-05-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015313' and product_code = 'DG010213-04' 2024-05-19 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,'31126','8','B24050015313','8結彌月提盒-香頌日光','DG010213-04','DG010213','海苔','提盒-彌月香頌日光-40入海苔','300','300','0','1','0','0','1','0.0','8','2400','2024-05-24','2024-05-19 16:48:14','2024-05-19 23:59:07',null,'1','2024-04-12') 2024-05-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31126',`firm_id` = '8',`ordernumber` = 'B24050015313', `product_name` = '8結彌月提盒-香頌日光',`product_code` = 'DG010213-04',`product_sn` = 'DG010213',`product_spec` = '海苔',`invoice_name` = '提盒-彌月香頌日光-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2400',`etd` = '2024-05-24',`create_date` = '2024-05-19 16:48:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015313' and product_code = 'DG010213-04', `lunar_date` = '2024-04-12' 2024-05-19 23:59:07 -- == sync_order_detail end == 2024-05-19 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-05-19' OR o.updated_at = '2024-05-19') and o.deleted_at is null 2024-05-19 23:59:07 -- == sync_order_detail start == 2024-05-19 23:59:07 -- start:2024-05-19,end:2024-05-19 2024-05-19 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-05-19 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-05-19 23:59:10 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-05-19%';