2024-04-27 23:59:01 -- == sync_order start == 2024-04-27 23:59:01 -- start:2024-04-27,end:2024-04-27 2024-04-27 23:59:01 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-04-27%' OR l.modify_date like '2024-04-27%'; 2024-04-27 23:59:03 -- == sync omo_order_list == 2024-04-27 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '385881', process_status = '3', pay_status = '1', totalprice_after = '6696', lunar_date = '2024-03-09', invoice_status = '1',category_name = '美村當日宅配', category_id = '28' where ordernumber = 'S24040054386' 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350483','387179',1,'','','O24040086614','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','4188','220','新北市','板橋區','220','新北市','板橋區','4338','2024-04-27 09:16:23','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350484','387180',1,'','','O24040086765','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','6600','242','新北市','新莊區','220','新北市','板橋區','6570','2024-04-27 09:27:58','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344939','381697',1,'','','O24040086821','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','404','台中市','北區','234','新北市','永和區','1110','2024-04-27 09:28:26','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344939','381697',1,'','','O24040086912','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','404','台中市','北區','324','桃園市','平鎮區','1110','2024-04-27 09:35:58','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350486','387182',1,'','','O24040087040','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','990','302','新竹縣','竹北市','302','新竹縣','竹北市','1110','2024-04-27 10:11:04','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350488','387184',1,'','','O24040087191','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','408','台中市','南屯區','515','彰化縣','大村鄉','1110','2024-04-27 10:48:38','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350489','387185',1,'','','O24040087222','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1160','600','嘉義市','東區','600','嘉義市','東區','1280','2024-04-27 12:47:29','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('320637','357672',1,'','','O24040087339','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1000','806','高雄市','前鎮區','806','高雄市','前鎮區','1050','2024-04-27 13:06:19','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350433','387129',1,'','','O24040087419','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2060','231','新北市','新店區','231','新北市','新店區','2180','2024-04-27 13:57:50','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350519','387215',1,'','','O24040087532','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','221','新北市','汐止區','221','新北市','汐止區','1110','2024-04-27 14:17:34','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350314','228944',1,'','','O24040087682','1','1','1','1','1','','','0','0000-00-00','1968','0','0','','0','0','39360','718','台南市','關廟區','718','台南市','關廟區','37392','2024-04-27 14:47:29','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('335370','372234',1,'','','O24040087711','1','1','1','1','1','19343300','時代中醫診所','0','0000-00-00','0','0','0','','0','0','5760','234','新北市','永和區','923','屏東縣','萬巒鄉','5760','2024-04-27 16:50:30','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350117','386817',1,'','','O24040087837','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','920','屏東縣','潮州鎮','920','屏東縣','潮州鎮','1110','2024-04-27 16:58:51','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350571','387266',1,'','','O24040087979','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1905','710','台南市','永康區','710','台南市','永康區','2025','2024-04-27 17:52:02','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('63856','37235',1,'','','O24040088056','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1300','237','新北市','三峽區','237','新北市','三峽區','1450','2024-04-27 19:15:15','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('84019','56104',1,'','','O24040088190','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','252','新北市','三芝區','252','新北市','三芝區','1110','2024-04-27 19:50:46','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('320711','357745',1,'','','O24040088253','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1620','744','台南市','新市區','744','台南市','新市區','1770','2024-04-27 20:39:09','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350553','387248',1,'','','O24040088370','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2760','500','彰化縣','彰化市','500','彰化縣','彰化市','2910','2024-04-27 20:47:19','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('4547','3363',1,'','','O24040088427','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5805','820','高雄市','岡山區','820','高雄市','岡山區','5805','2024-04-27 21:15:57','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('256073','290796',1,'','','O24040088588','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','590','111','台北市','士林區','111','台北市','士林區','740','2024-04-27 21:29:10','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350592','387287',1,'','','O24040088647','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1170','710','台南市','永康區','710','台南市','永康區','1290','2024-04-27 21:32:42','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('256839','292126',1,'','','O24040088750','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3325','436','台中市','清水區','436','台中市','清水區','3475','2024-04-27 22:23:22','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344933','381691',1,'','','O24040088848','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1680','802','高雄市','苓雅區','802','高雄市','苓雅區','1830','2024-04-27 22:24:22','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350593','387288',1,'','','O24040088989','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','433','台中市','沙鹿區','433','台中市','沙鹿區','1110','2024-04-27 22:43:03','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('291759','329200',1,'','','O24040089018','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','990','234','新北市','永和區','234','新北市','永和區','1140','2024-04-27 22:53:22','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('349803','386509',1,'','','O24040089197','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1060','330','桃園市','桃園區','350','苗栗縣','竹南鎮','1180','2024-04-27 23:01:15','2024-03-19') 2024-04-27 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347532','384253',1,'','','O24040089243','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2950','244','新北市','林口區','367','苗栗縣','三義鄉','3100','2024-04-27 23:18:20','2024-03-19') 2024-04-27 23:59:03 -- == sync_order end == 2024-04-27 23:59:03 -- == sync_order_detail start == 2024-04-27 23:59:03 -- start:2024-04-27,end:2024-04-27 2024-04-27 23:59:03 -- == sync omo_order_detail == 2024-04-27 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-27%' OR modify_date like '2024-04-27%' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040054386' and product_code = 'DG010312-08' 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231007',`firm_id` = '8',`ordernumber` = 'S24040054386', `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` = '15',`total_price` = '7200',`etd` = '2024-04-27',`create_date` = '2024-04-17 18:13:34',`modify_date` = '2024-04-27 14:41:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-09'where ordernumber = 'S24040054386' and product_code = 'DG010312-08' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040054386' and product_code = 'ZP0101107-01' 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231007',`firm_id` = '8',`ordernumber` = 'S24040054386', `product_name` = '贈品-SNOOPY提把水瓶',`product_code` = 'ZP0101107-01',`product_sn` = 'ZP0101107',`product_spec` = '贈品-SNOOPY提把水瓶',`invoice_name` = '贈品-SNOOPY提把水瓶',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-27',`create_date` = '2024-04-17 18:13:34',`modify_date` = '2024-04-27 14:41:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-09'where ordernumber = 'S24040054386' and product_code = 'ZP0101107-01' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040086614' and product_code = '03958' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231330','8','O24040086614','小王子行李箱蛋捲10入組','03958','03956','芝麻x10','組合-32入芝麻x10+小王子行李箱','4188','4188','0','0','0','1','1','0.0','1','4188','2024-05-10','2024-04-27 09:16:23','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231330',`firm_id` = '8',`ordernumber` = 'O24040086614', `product_name` = '小王子行李箱蛋捲10入組',`product_code` = '03958',`product_sn` = '03956',`product_spec` = '芝麻x10',`invoice_name` = '組合-32入芝麻x10+小王子行李箱',`listprice` = '4188',`sellingprice` = '4188',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '4188',`etd` = '2024-05-10',`create_date` = '2024-04-27 09:16:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040086614' and product_code = '03958' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040086765' and product_code = 'DG010222-01' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231331','8','O24040086765','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','11','3300','2024-04-30','2024-04-27 09:27:58','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231331',`firm_id` = '8',`ordernumber` = 'O24040086765', `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` = '11',`total_price` = '3300',`etd` = '2024-04-30',`create_date` = '2024-04-27 09:27:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040086765' and product_code = 'DG010222-01' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040086765' and product_code = 'DG010222-03' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231331','8','O24040086765','【小王子聯名】夢想旅程8結提盒','DG010222-03','DG010222','40入咖啡蛋捲','提盒-小王子(紅)-40入咖啡','300','300','0','0','0','0','1','0.0','11','3300','2024-04-30','2024-04-27 09:27:58','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231331',`firm_id` = '8',`ordernumber` = 'O24040086765', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-03',`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` = '11',`total_price` = '3300',`etd` = '2024-04-30',`create_date` = '2024-04-27 09:27:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040086765' and product_code = 'DG010222-03' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040086765' and product_code = 'ZP0101107-01' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231331','8','O24040086765','贈品-SNOOPY提把水瓶','ZP0101107-01','ZP0101107','贈品-SNOOPY提把水瓶','贈品-SNOOPY提把水瓶','0','0','0','0','0','0','1','0.0','1','0','2024-04-30','2024-04-27 09:27:58','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231331',`firm_id` = '8',`ordernumber` = 'O24040086765', `product_name` = '贈品-SNOOPY提把水瓶',`product_code` = 'ZP0101107-01',`product_sn` = 'ZP0101107',`product_spec` = '贈品-SNOOPY提把水瓶',`invoice_name` = '贈品-SNOOPY提把水瓶',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-30',`create_date` = '2024-04-27 09:27:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040086765' and product_code = 'ZP0101107-01' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040086821' and product_code = 'DG0103148-02' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231332','8','O24040086821','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-05-01','2024-04-27 09:28:26','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231332',`firm_id` = '8',`ordernumber` = 'O24040086821', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-01',`create_date` = '2024-04-27 09:28:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040086821' and product_code = 'DG0103148-02' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040086912' and product_code = 'DG0103148-02' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231333','8','O24040086912','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-04-30','2024-04-27 09:35:58','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231333',`firm_id` = '8',`ordernumber` = 'O24040086912', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-04-30',`create_date` = '2024-04-27 09:35:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040086912' and product_code = 'DG0103148-02' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087040' and product_code = 'DG010523-02' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231334','8','O24040087040','SNOOPY帶走心意-蛋捲三入組','DG010523-02','DG010523','原味+原味+芝麻','組合-32入(原味+原味+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-02','2024-04-27 10:11:04','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231334',`firm_id` = '8',`ordernumber` = 'O24040087040', `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-02',`create_date` = '2024-04-27 10:11:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087040' and product_code = 'DG010523-02' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087191' and product_code = 'DG010523-24' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231335','8','O24040087191','SNOOPY帶走心意-蛋捲三入組','DG010523-24','DG010523','芝麻+巧克力+海苔','組合-32入(芝麻+海苔+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-07','2024-04-27 10:48:38','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231335',`firm_id` = '8',`ordernumber` = 'O24040087191', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-24',`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-07',`create_date` = '2024-04-27 10:48:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087191' and product_code = 'DG010523-24' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087222' and product_code = '13657' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231336','8','O24040087222','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-30','2024-04-27 12:47:29','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231336',`firm_id` = '8',`ordernumber` = 'O24040087222', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-30',`create_date` = '2024-04-27 12:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087222' and product_code = '13657' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087222' and product_code = '13658' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231336','8','O24040087222','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-30','2024-04-27 12:47:29','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231336',`firm_id` = '8',`ordernumber` = 'O24040087222', `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-04-30',`create_date` = '2024-04-27 12:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087222' and product_code = '13658' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087222' and product_code = '13659' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231336','8','O24040087222','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-30','2024-04-27 12:47:29','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231336',`firm_id` = '8',`ordernumber` = 'O24040087222', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`product_sn` = '13656',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-30',`create_date` = '2024-04-27 12:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087222' and product_code = '13659' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087222' and product_code = '13660' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231336','8','O24040087222','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-30','2024-04-27 12:47:29','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231336',`firm_id` = '8',`ordernumber` = 'O24040087222', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-30',`create_date` = '2024-04-27 12:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087222' and product_code = '13660' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087339' and product_code = 'DG0103155-02' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231337','8','O24040087339','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-06','2024-04-27 13:06:19','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231337',`firm_id` = '8',`ordernumber` = 'O24040087339', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-06',`create_date` = '2024-04-27 13:06:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087339' and product_code = 'DG0103155-02' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087419' and product_code = 'DG0103148-12' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231338','8','O24040087419','金典8結禮盒','DG0103148-12','DG0103148','巧克力+咖啡','禮盒-金典(紅)【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-04-30','2024-04-27 13:57:50','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231338',`firm_id` = '8',`ordernumber` = 'O24040087419', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-12',`product_sn` = 'DG0103148',`product_spec` = '巧克力+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-30',`create_date` = '2024-04-27 13:57:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087419' and product_code = 'DG0103148-12' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087419' and product_code = 'DG0103148-04' 2024-04-27 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231338','8','O24040087419','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-04-30','2024-04-27 13:57:50','2024-04-27 23:59:05',null,'1','2024-03-19') 2024-04-27 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231338',`firm_id` = '8',`ordernumber` = 'O24040087419', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`product_sn` = 'DG0103148',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-金典(紅)【原味+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-30',`create_date` = '2024-04-27 13:57:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087419' and product_code = 'DG0103148-04' 2024-04-27 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087419' and product_code = 'DG0103174-01' 2024-04-27 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,'231338','8','O24040087419','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-01','DG0103174','原味','禮盒-故宮(文物大盒款)【原味+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','1','1100','2024-04-30','2024-04-27 13:57:50','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231338',`firm_id` = '8',`ordernumber` = 'O24040087419', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-01',`product_sn` = 'DG0103174',`product_spec` = '原味',`invoice_name` = '禮盒-故宮(文物大盒款)【原味+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1100',`etd` = '2024-04-30',`create_date` = '2024-04-27 13:57:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087419' and product_code = 'DG0103174-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087532' and product_code = 'DG010523-09' 2024-04-27 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,'231339','8','O24040087532','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-30','2024-04-27 14:17:34','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231339',`firm_id` = '8',`ordernumber` = 'O24040087532', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`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-04-30',`create_date` = '2024-04-27 14:17:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087532' and product_code = 'DG010523-09' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087682' and product_code = 'DG010312-02' 2024-04-27 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,'231340','8','O24040087682','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','62','29760','2024-05-07','2024-04-27 14:47:29','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231340',`firm_id` = '8',`ordernumber` = 'O24040087682', `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` = '62',`total_price` = '29760',`etd` = '2024-05-07',`create_date` = '2024-04-27 14:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087682' and product_code = 'DG010312-02' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087682' and product_code = 'DG010312-05' 2024-04-27 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,'231340','8','O24040087682','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','20','9600','2024-05-07','2024-04-27 14:47:29','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231340',`firm_id` = '8',`ordernumber` = 'O24040087682', `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` = '20',`total_price` = '9600',`etd` = '2024-05-07',`create_date` = '2024-04-27 14:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087682' and product_code = 'DG010312-05' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087682' and product_code = 'BP010530-01' 2024-04-27 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,'231340','8','O24040087682','贈品-SNOOPY熱壓三明治機*1+SNOOPY提把水瓶*2','BP010530-01','BP010530','贈品-SNOOPY熱壓三明治機+贈品-SNOOPY提把水瓶+','贈品-SNOOPY熱壓三明治機*1+SNOOPY提把水瓶*2','0','0','0','0','0','0','1','0.0','1','0','2024-05-07','2024-04-27 14:47:29','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231340',`firm_id` = '8',`ordernumber` = 'O24040087682', `product_name` = '贈品-SNOOPY熱壓三明治機*1+SNOOPY提把水瓶*2',`product_code` = 'BP010530-01',`product_sn` = 'BP010530',`product_spec` = '贈品-SNOOPY熱壓三明治機+贈品-SNOOPY提把水瓶+',`invoice_name` = '贈品-SNOOPY熱壓三明治機*1+SNOOPY提把水瓶*2',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-07',`create_date` = '2024-04-27 14:47:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087682' and product_code = 'BP010530-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087711' and product_code = 'DG0103148-01' 2024-04-27 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,'231341','8','O24040087711','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','3','1440','2024-05-01','2024-04-27 16:50:30','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231341',`firm_id` = '8',`ordernumber` = 'O24040087711', `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` = '3',`total_price` = '1440',`etd` = '2024-05-01',`create_date` = '2024-04-27 16:50:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087711' and product_code = 'DG0103148-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087711' and product_code = 'DG0103148-02' 2024-04-27 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,'231341','8','O24040087711','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','5','2400','2024-05-01','2024-04-27 16:50:30','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231341',`firm_id` = '8',`ordernumber` = 'O24040087711', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2400',`etd` = '2024-05-01',`create_date` = '2024-04-27 16:50:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087711' and product_code = 'DG0103148-02' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087711' and product_code = 'DG0103148-03' 2024-04-27 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,'231341','8','O24040087711','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','3','1440','2024-05-01','2024-04-27 16:50:30','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231341',`firm_id` = '8',`ordernumber` = 'O24040087711', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-05-01',`create_date` = '2024-04-27 16:50:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087711' and product_code = 'DG0103148-03' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087711' and product_code = 'DG0103148-05' 2024-04-27 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,'231341','8','O24040087711','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-05-01','2024-04-27 16:50:30','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231341',`firm_id` = '8',`ordernumber` = 'O24040087711', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-01',`create_date` = '2024-04-27 16:50:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087711' and product_code = 'DG0103148-05' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087837' and product_code = 'DG010523-07' 2024-04-27 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,'231342','8','O24040087837','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-30','2024-04-27 16:58:51','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231342',`firm_id` = '8',`ordernumber` = 'O24040087837', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`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-04-30',`create_date` = '2024-04-27 16:58:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087837' and product_code = 'DG010523-07' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087979' and product_code = 'DG0103148-06' 2024-04-27 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,'231343','8','O24040087979','金典8結禮盒','DG0103148-06','DG0103148','芝麻+芝麻','禮盒-金典(紅)【芝麻+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-05-03','2024-04-27 17:52:02','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231343',`firm_id` = '8',`ordernumber` = 'O24040087979', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-06',`product_sn` = 'DG0103148',`product_spec` = '芝麻+芝麻',`invoice_name` = '禮盒-金典(紅)【芝麻+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-03',`create_date` = '2024-04-27 17:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087979' and product_code = 'DG0103148-06' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087979' and product_code = 'DG0103148-10' 2024-04-27 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,'231343','8','O24040087979','金典8結禮盒','DG0103148-10','DG0103148','咖啡+咖啡','禮盒-金典(紅)【咖啡+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-05-03','2024-04-27 17:52:02','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231343',`firm_id` = '8',`ordernumber` = 'O24040087979', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-10',`product_sn` = 'DG0103148',`product_spec` = '咖啡+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-03',`create_date` = '2024-04-27 17:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087979' and product_code = 'DG0103148-10' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087979' and product_code = 'DG0103148-15' 2024-04-27 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,'231343','8','O24040087979','金典8結禮盒','DG0103148-15','DG0103148','巧克力+巧克力','禮盒-金典(紅)【巧克力+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-05-03','2024-04-27 17:52:02','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231343',`firm_id` = '8',`ordernumber` = 'O24040087979', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-15',`product_sn` = 'DG0103148',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-金典(紅)【巧克力+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-03',`create_date` = '2024-04-27 17:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087979' and product_code = 'DG0103148-15' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040087979' and product_code = '04191' 2024-04-27 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,'231343','8','O24040087979','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','3','465','2024-05-03','2024-04-27 17:52:02','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231343',`firm_id` = '8',`ordernumber` = 'O24040087979', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '465',`etd` = '2024-05-03',`create_date` = '2024-04-27 17:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040087979' and product_code = '04191' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088056' and product_code = 'DG010258-03' 2024-04-27 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,'231344','8','O24040088056','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','2','590','2024-05-14','2024-04-27 19:15:15','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231344',`firm_id` = '8',`ordernumber` = 'O24040088056', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-05-14',`create_date` = '2024-04-27 19:15:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088056' and product_code = 'DG010258-03' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088056' and product_code = 'DG010101-03' 2024-04-27 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,'231344','8','O24040088056','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-14','2024-04-27 19:15:15','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231344',`firm_id` = '8',`ordernumber` = 'O24040088056', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-14',`create_date` = '2024-04-27 19:15:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088056' and product_code = 'DG010101-03' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088056' and product_code = '13044' 2024-04-27 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,'231344','8','O24040088056','[加購]加購-香酥醬燒海苔(純素)','13044','13044','-','加購-香酥醬燒海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-05-14','2024-04-27 19:15:15','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231344',`firm_id` = '8',`ordernumber` = 'O24040088056', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-05-14',`create_date` = '2024-04-27 19:15:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088056' and product_code = '13044' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088056' and product_code = '03951' 2024-04-27 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,'231344','8','O24040088056','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','1','290','2024-05-14','2024-04-27 19:15:15','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231344',`firm_id` = '8',`ordernumber` = 'O24040088056', `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-14',`create_date` = '2024-04-27 19:15:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088056' and product_code = '03951' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088190' and product_code = 'DG010312-04' 2024-04-27 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,'231345','8','O24040088190','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-04-30','2024-04-27 19:50:46','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231345',`firm_id` = '8',`ordernumber` = 'O24040088190', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-30',`create_date` = '2024-04-27 19:50:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088190' and product_code = 'DG010312-04' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088190' and product_code = 'DG010312-03' 2024-04-27 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,'231345','8','O24040088190','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-04-30','2024-04-27 19:50:46','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231345',`firm_id` = '8',`ordernumber` = 'O24040088190', `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-04-30',`create_date` = '2024-04-27 19:50:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088190' and product_code = 'DG010312-03' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088253' and product_code = 'FL010310-01' 2024-04-27 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,'231346','8','O24040088253','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','540','540','0','0','0','0','1','0.0','3','1620','2024-04-30','2024-04-27 20:39:09','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231346',`firm_id` = '8',`ordernumber` = 'O24040088253', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1620',`etd` = '2024-04-30',`create_date` = '2024-04-27 20:39:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088253' and product_code = 'FL010310-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088370' and product_code = 'DG010523-07' 2024-04-27 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,'231347','8','O24040088370','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-30','2024-04-27 20:47:19','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231347',`firm_id` = '8',`ordernumber` = 'O24040088370', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`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-04-30',`create_date` = '2024-04-27 20:47:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088370' and product_code = 'DG010523-07' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088370' and product_code = 'DG010523-26' 2024-04-27 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,'231347','8','O24040088370','SNOOPY帶走心意-蛋捲三入組','DG010523-26','DG010523','咖啡+咖啡+咖啡','組合-32入(咖啡+咖啡+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-30','2024-04-27 20:47:19','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231347',`firm_id` = '8',`ordernumber` = 'O24040088370', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-26',`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-04-30',`create_date` = '2024-04-27 20:47:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088370' and product_code = 'DG010523-26' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088370' and product_code = 'BP010157-01' 2024-04-27 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,'231347','8','O24040088370','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','2','780','2024-04-30','2024-04-27 20:47:19','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231347',`firm_id` = '8',`ordernumber` = 'O24040088370', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '780',`etd` = '2024-04-30',`create_date` = '2024-04-27 20:47:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088370' and product_code = 'BP010157-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088427' and product_code = 'LS010135-01' 2024-04-27 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,'231348','8','O24040088427','無籽梅肉','LS010135-01','LS010135','無籽梅肉','(盒)無籽梅肉','255','255','0','0','0','0','1','0.0','5','1275','2024-04-30','2024-04-27 21:15:57','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231348',`firm_id` = '8',`ordernumber` = 'O24040088427', `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` = '5',`total_price` = '1275',`etd` = '2024-04-30',`create_date` = '2024-04-27 21:15:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088427' and product_code = 'LS010135-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088427' and product_code = 'FL010102-01' 2024-04-27 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,'231348','8','O24040088427','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','10','1650','2024-04-30','2024-04-27 21:15:57','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231348',`firm_id` = '8',`ordernumber` = 'O24040088427', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '10',`total_price` = '1650',`etd` = '2024-04-30',`create_date` = '2024-04-27 21:15:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088427' and product_code = 'FL010102-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088427' and product_code = 'DG0103148-02' 2024-04-27 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,'231348','8','O24040088427','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','3','1440','2024-04-30','2024-04-27 21:15:57','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231348',`firm_id` = '8',`ordernumber` = 'O24040088427', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-04-30',`create_date` = '2024-04-27 21:15:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088427' and product_code = 'DG0103148-02' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088427' and product_code = 'DG0103148-09' 2024-04-27 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,'231348','8','O24040088427','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','3','1440','2024-04-30','2024-04-27 21:15:57','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231348',`firm_id` = '8',`ordernumber` = 'O24040088427', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-09',`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` = '3',`total_price` = '1440',`etd` = '2024-04-30',`create_date` = '2024-04-27 21:15:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088427' and product_code = 'DG0103148-09' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088588' and product_code = 'DG010226-01' 2024-04-27 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,'231349','8','O24040088588','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-01','DG010226','40入原味蛋捲','提盒-故宮(文物款)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-05-09','2024-04-27 21:29:10','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231349',`firm_id` = '8',`ordernumber` = 'O24040088588', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-01',`product_sn` = 'DG010226',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-09',`create_date` = '2024-04-27 21:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088588' and product_code = 'DG010226-01' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088588' and product_code = '13656' 2024-04-27 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,'231349','8','O24040088588','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-09','2024-04-27 21:29:10','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231349',`firm_id` = '8',`ordernumber` = 'O24040088588', `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-09',`create_date` = '2024-04-27 21:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088588' and product_code = '13656' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088647' and product_code = '13660' 2024-04-27 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,'231350','8','O24040088647','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-04-30','2024-04-27 21:32:42','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231350',`firm_id` = '8',`ordernumber` = 'O24040088647', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-04-30',`create_date` = '2024-04-27 21:32:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088647' and product_code = '13660' 2024-04-27 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088647' and product_code = '13658' 2024-04-27 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,'231350','8','O24040088647','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-30','2024-04-27 21:32:42','2024-04-27 23:59:06',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231350',`firm_id` = '8',`ordernumber` = 'O24040088647', `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-04-30',`create_date` = '2024-04-27 21:32:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088647' and product_code = '13658' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088647' and product_code = 'DG010203-05' 2024-04-27 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,'231350','8','O24040088647','【小王子聯名】閃耀星空8結提盒','DG010203-05','DG010203','40入巧克力蛋捲','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-04-30','2024-04-27 21:32:42','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231350',`firm_id` = '8',`ordernumber` = 'O24040088647', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-05',`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` = '1',`total_price` = '300',`etd` = '2024-04-30',`create_date` = '2024-04-27 21:32:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088647' and product_code = 'DG010203-05' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088750' and product_code = 'DG010312-08' 2024-04-27 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,'231351','8','O24040088750','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','5','2400','2024-05-29','2024-04-27 22:23:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231351',`firm_id` = '8',`ordernumber` = 'O24040088750', `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` = '5',`total_price` = '2400',`etd` = '2024-05-29',`create_date` = '2024-04-27 22:23:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088750' and product_code = 'DG010312-08' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088750' and product_code = '04190' 2024-04-27 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,'231351','8','O24040088750','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','5','925','2024-05-29','2024-04-27 22:23:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231351',`firm_id` = '8',`ordernumber` = 'O24040088750', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '5',`total_price` = '925',`etd` = '2024-05-29',`create_date` = '2024-04-27 22:23:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088750' and product_code = '04190' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088848' and product_code = 'DG010101-02' 2024-04-27 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,'231352','8','O24040088848','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-09','2024-04-27 22:24:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231352',`firm_id` = '8',`ordernumber` = 'O24040088848', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-09',`create_date` = '2024-04-27 22:24:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088848' and product_code = 'DG010101-02' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088848' and product_code = 'DG010101-03' 2024-04-27 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,'231352','8','O24040088848','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-09','2024-04-27 22:24:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231352',`firm_id` = '8',`ordernumber` = 'O24040088848', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-05-09',`create_date` = '2024-04-27 22:24:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088848' and product_code = 'DG010101-03' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088848' and product_code = 'DG010101-05' 2024-04-27 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,'231352','8','O24040088848','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-09','2024-04-27 22:24:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231352',`firm_id` = '8',`ordernumber` = 'O24040088848', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-09',`create_date` = '2024-04-27 22:24:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088848' and product_code = 'DG010101-05' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088848' and product_code = 'DG010101-01' 2024-04-27 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,'231352','8','O24040088848','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-09','2024-04-27 22:24:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231352',`firm_id` = '8',`ordernumber` = 'O24040088848', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-09',`create_date` = '2024-04-27 22:24:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088848' and product_code = 'DG010101-01' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088848' and product_code = '13045' 2024-04-27 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,'231352','8','O24040088848','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','2','280','2024-05-09','2024-04-27 22:24:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231352',`firm_id` = '8',`ordernumber` = 'O24040088848', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '280',`etd` = '2024-05-09',`create_date` = '2024-04-27 22:24:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088848' and product_code = '13045' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040088989' and product_code = 'DG010523-12' 2024-04-27 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,'231353','8','O24040088989','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-01','2024-04-27 22:43:03','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231353',`firm_id` = '8',`ordernumber` = 'O24040088989', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+咖啡',`invoice_name` = '組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-01',`create_date` = '2024-04-27 22:43:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040088989' and product_code = 'DG010523-12' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040089018' and product_code = 'DG010523-01' 2024-04-27 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,'231354','8','O24040089018','SNOOPY帶走心意-蛋捲三入組','DG010523-01','DG010523','原味+原味+原味','組合-32入(原味+原味+原味)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-30','2024-04-27 22:53:22','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231354',`firm_id` = '8',`ordernumber` = 'O24040089018', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-01',`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-04-30',`create_date` = '2024-04-27 22:53:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040089018' and product_code = 'DG010523-01' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040089197' and product_code = 'DG010101-03' 2024-04-27 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,'231355','8','O24040089197','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-02','2024-04-27 23:01:15','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231355',`firm_id` = '8',`ordernumber` = 'O24040089197', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-02',`create_date` = '2024-04-27 23:01:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040089197' and product_code = 'DG010101-03' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040089197' and product_code = 'DG0103155-03' 2024-04-27 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,'231355','8','O24040089197','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-05-02','2024-04-27 23:01:15','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231355',`firm_id` = '8',`ordernumber` = 'O24040089197', `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` = '1',`total_price` = '500',`etd` = '2024-05-02',`create_date` = '2024-04-27 23:01:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040089197' and product_code = 'DG0103155-03' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040089197' and product_code = 'DG010101-01' 2024-04-27 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,'231355','8','O24040089197','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-02','2024-04-27 23:01:15','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231355',`firm_id` = '8',`ordernumber` = 'O24040089197', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-02',`create_date` = '2024-04-27 23:01:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040089197' and product_code = 'DG010101-01' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040089243' and product_code = 'DG010206-02' 2024-04-27 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,'231356','8','O24040089243','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','3','885','2024-04-30','2024-04-27 23:18:20','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231356',`firm_id` = '8',`ordernumber` = 'O24040089243', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-04-30',`create_date` = '2024-04-27 23:18:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040089243' and product_code = 'DG010206-02' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040089243' and product_code = 'DG010206-01' 2024-04-27 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,'231356','8','O24040089243','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','7','2065','2024-04-30','2024-04-27 23:18:20','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231356',`firm_id` = '8',`ordernumber` = 'O24040089243', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '2065',`etd` = '2024-04-30',`create_date` = '2024-04-27 23:18:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-19'where ordernumber = 'O24040089243' and product_code = 'DG010206-01' 2024-04-27 23:59:07 -- == sync_order_detail end == 2024-04-27 23:59:07 -- == sync_order start == 2024-04-27 23:59:07 -- start:2024-04-27,end:2024-04-27 2024-04-27 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-04-27%' OR l.modify_date like '2024-04-27%'; 2024-04-27 23:59:07 -- == sync omo_order_list == 2024-04-27 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 ('110710','387172',2,'','','B24040021692','1','2','1','1','1','','','0','0000-00-00','900','0','0','','0','30','18000','702','台南市','南區','702','台南市','南區','17070','2024-04-27 01:04:03','2024-03-19') 2024-04-27 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 ('110719','387181',2,'','','B24040021764','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','990','338','桃園市','蘆竹區','338','桃園市','蘆竹區','960','2024-04-27 09:41:16','2024-03-19') 2024-04-27 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 ('109769','386247',2,'正式彌,永康門市訂單','1,22','M24040021886','1','1','6','1','1','','','0','2024-05-12','0','1147','0','','0','0','23400','106','台北市','大安區','106','台北市','大安區','22253','2024-04-27 13:46:33','2024-03-19') 2024-04-27 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 ('110827','387289',2,'','','B24040021983','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','990','428','台中市','大雅區','428','台中市','大雅區','960','2024-04-27 22:46:08','2024-03-19') 2024-04-27 23:59:07 -- == sync_order end == 2024-04-27 23:59:07 -- == sync_order_detail start == 2024-04-27 23:59:07 -- start:2024-04-27,end:2024-04-27 2024-04-27 23:59:07 -- == sync omo_order_detail == 2024-04-27 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-27%' OR modify_date like '2024-04-27%' 2024-04-27 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040021692' and product_code = 'DG010263-05' 2024-04-27 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,'30917','8','B24040021692','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-05','DG010263','巧克力','提盒-彌月SNOOPY-40入巧克力','300','300','0','1','0','0','1','0.0','30','9000','2024-05-02','2024-04-27 01:04:03','2024-04-27 23:59:07',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30917',`firm_id` = '8',`ordernumber` = 'B24040021692', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2024-05-02',`create_date` = '2024-04-27 01:04:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040021692' and product_code = 'DG010263-05', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040021692' and product_code = 'DG010263-01' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30917','8','B24040021692','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','30','9000','2024-05-02','2024-04-27 01:04:03','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30917',`firm_id` = '8',`ordernumber` = 'B24040021692', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2024-05-02',`create_date` = '2024-04-27 01:04:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040021692' and product_code = 'DG010263-01', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040021692' and product_code = 'ZP0101119-01' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30917','8','B24040021692','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-05-02','2024-04-27 01:04:03','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30917',`firm_id` = '8',`ordernumber` = 'B24040021692', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-02',`create_date` = '2024-04-27 01:04:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040021692' and product_code = 'ZP0101119-01', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040021764' and product_code = '05401' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30918','8','B24040021764','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2024-05-02','2024-04-27 09:41:16','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30918',`firm_id` = '8',`ordernumber` = 'B24040021764', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-02',`create_date` = '2024-04-27 09:41:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040021764' and product_code = '05401', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040021886' and product_code = 'DG010430-01' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30919','8','M24040021886','金典提盒包材','DG010430-01','DG010430','金典紅提盒包材','金典紅提盒包材','15','15','0','0','0','0','1','0.0','90','1350','2024-05-12','2024-04-27 13:46:33','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30919',`firm_id` = '8',`ordernumber` = 'M24040021886', `product_name` = '金典提盒包材',`product_code` = 'DG010430-01',`product_sn` = 'DG010430',`product_spec` = '金典紅提盒包材',`invoice_name` = '金典紅提盒包材',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '90',`total_price` = '1350',`etd` = '2024-05-12',`create_date` = '2024-04-27 13:46:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040021886' and product_code = 'DG010430-01', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040021886' and product_code = 'DG010107-01' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30919','8','M24040021886','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶蛋捲','240','240','0','0','0','0','1','0.0','90','21600','2024-05-12','2024-04-27 13:46:33','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30919',`firm_id` = '8',`ordernumber` = 'M24040021886', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶蛋捲',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '90',`total_price` = '21600',`etd` = '2024-05-12',`create_date` = '2024-04-27 13:46:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040021886' and product_code = 'DG010107-01', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040021886' and product_code = 'BP010147-01' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30919','8','M24040021886','彌月客製小卡','BP010147-01','BP010147','彌月客製小卡(10張/組)','彌月客製小卡10張/組','500','50','0','0','0','0','1','50.0','9','450','2024-05-12','2024-04-27 13:46:33','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30919',`firm_id` = '8',`ordernumber` = 'M24040021886', `product_name` = '彌月客製小卡',`product_code` = 'BP010147-01',`product_sn` = 'BP010147',`product_spec` = '彌月客製小卡(10張/組)',`invoice_name` = '彌月客製小卡10張/組',`listprice` = '500',`sellingprice` = '50',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '50.0',`amount` = '9',`total_price` = '450',`etd` = '2024-05-12',`create_date` = '2024-04-27 13:46:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040021886' and product_code = 'BP010147-01', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040021983' and product_code = '05401' 2024-04-27 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30920','8','B24040021983','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2024-05-02','2024-04-27 22:46:08','2024-04-27 23:59:08',null,'1','2024-03-19') 2024-04-27 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30920',`firm_id` = '8',`ordernumber` = 'B24040021983', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-02',`create_date` = '2024-04-27 22:46:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040021983' and product_code = '05401', `lunar_date` = '2024-03-19' 2024-04-27 23:59:08 -- == sync_order_detail end == 2024-04-27 23:59:08 -- == 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-04-27' OR o.updated_at = '2024-04-27') and o.deleted_at is null 2024-04-27 23:59:08 -- == sync_order_detail start == 2024-04-27 23:59:08 -- start:2024-04-27,end:2024-04-27 2024-04-27 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-04-27 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-04-27 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-04-27%';