2024-02-25 23:59:02 -- == sync_order start == 2024-02-25 23:59:02 -- start:2024-02-25,end:2024-02-25 2024-02-25 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-25%' OR l.modify_date like '2024-02-25%'; 2024-02-25 23:59:03 -- == sync omo_order_list == 2024-02-25 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '4560', lunar_date = '2024-01-07', invoice_status = '0',category_name = '插單群訂單,永康當日宅配', category_id = '14,19' where ordernumber = 'S24020027927RB' 2024-02-25 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 ('335829','372688',1,'','','O24020071211','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1475','324','桃園市','平鎮區','324','桃園市','平鎮區','1595','2024-02-25 00:13:16','2024-01-16') 2024-02-25 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 ('342028','378815',1,'','','O24020071315','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1400','900','屏東縣','屏東市','900','屏東縣','屏東市','1550','2024-02-25 00:59:30','2024-01-16') 2024-02-25 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 ('342031','378818',1,'','','O24020071439','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1980','326','桃園市','楊梅區','326','桃園市','楊梅區','2100','2024-02-25 06:49:12','2024-01-16') 2024-02-25 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 ('342033','378820',1,'','','O24020071565','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1140','242','新北市','新莊區','242','新北市','新莊區','1260','2024-02-25 08:14:21','2024-01-16') 2024-02-25 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 ('342032','378819',1,'','','O24020071673','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1350','926','屏東縣','南州鄉','926','屏東縣','南州鄉','1500','2024-02-25 08:14:39','2024-01-16') 2024-02-25 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 ('342036','378823',1,'','','O24020071710','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','248','新北市','五股區','248','新北市','五股區','600','2024-02-25 08:44:08','2024-01-16') 2024-02-25 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 ('265234','302893',1,'','','O24020071834','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1680','944','屏東縣','車城鄉','944','屏東縣','車城鄉','1830','2024-02-25 10:59:17','2024-01-16') 2024-02-25 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 ('8854','7264',1,'','','O24020071964','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5900','221','新北市','汐止區','221','新北市','汐止區','5900','2024-02-25 11:16:18','2024-01-16') 2024-02-25 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 ('342048','378835',1,'','','O24020072093','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1475','269','宜蘭縣','冬山鄉','269','宜蘭縣','冬山鄉','1525','2024-02-25 12:37:14','2024-01-16') 2024-02-25 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 ('341828','378615',1,'','','O24020072161','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1590','635','雲林縣','東勢鄉','635','雲林縣','東勢鄉','1710','2024-02-25 12:58:52','2024-01-16') 2024-02-25 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 ('342054','378841',1,'','','O24020072260','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','710','台南市','永康區','710','台南市','永康區','1110','2024-02-25 13:26:53','2024-01-16') 2024-02-25 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 ('342050','378837',1,'','','O24020072388','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2778','242','新北市','新莊區','242','新北市','新莊區','2898','2024-02-25 13:30:25','2024-01-16') 2024-02-25 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 ('342060','378847',1,'','','O24020072424','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','30','960','408','台中市','南屯區','408','台中市','南屯區','1080','2024-02-25 14:00:24','2024-01-16') 2024-02-25 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 ('337248','374092',1,'','','O24020072581','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','940','722','台南市','佳里區','115','台北市','南港區','1060','2024-02-25 14:31:15','2024-01-16') 2024-02-25 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 ('342065','378852',1,'','','O24020072643','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','551','南投縣','名間鄉','551','南投縣','名間鄉','1080','2024-02-25 14:49:09','2024-01-16') 2024-02-25 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 ('333053','369938',1,'','','O24020072789','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','924','屏東縣','崁頂鄉','924','屏東縣','崁頂鄉','630','2024-02-25 15:32:38','2024-01-16') 2024-02-25 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 ('342071','378858',1,'','','O24020072855','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1180','427','台中市','潭子區','950','台東縣','台東市','1300','2024-02-25 15:48:05','2024-01-16') 2024-02-25 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 ('331844','368743',1,'','','O24020072933','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','800','514','彰化縣','溪湖鎮','514','彰化縣','溪湖鎮','950','2024-02-25 16:05:22','2024-01-16') 2024-02-25 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 ('342087','378874',1,'','','O24020073062','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','5000','268','宜蘭縣','五結鄉','268','宜蘭縣','五結鄉','5120','2024-02-25 16:57:02','2024-01-16') 2024-02-25 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 ('318456','355527',1,'','','O24020073152','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1505','300','新竹市','北區','300','新竹市','北區','1655','2024-02-25 16:58:24','2024-01-16') 2024-02-25 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 ('342090','378877',1,'','','O24020073299','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1100','804','高雄市','鼓山區','804','高雄市','鼓山區','1220','2024-02-25 17:19:39','2024-01-16') 2024-02-25 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 ('342090','378877',1,'','','O24020073333','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1100','804','高雄市','鼓山區','804','高雄市','鼓山區','1220','2024-02-25 17:37:57','2024-01-16') 2024-02-25 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 ('342117','378903',1,'','','O24020073475','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1200','220','新北市','板橋區','224','新北市','瑞芳區','1320','2024-02-25 19:54:44','2024-01-16') 2024-02-25 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 ('342083','378870',1,'','','O24020073547','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','116','台北市','文山區','116','台北市','文山區','1080','2024-02-25 19:57:29','2024-01-16') 2024-02-25 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 ('342122','378908',1,'','','O24020073659','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','745','台南市','安定區','220','新北市','板橋區','600','2024-02-25 22:13:11','2024-01-16') 2024-02-25 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 ('342128','378914',1,'','','O24020073716','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1040','600','嘉義市','東區','600','嘉義市','東區','1190','2024-02-25 23:06:26','2024-01-16') 2024-02-25 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 ('342111','378898',1,'','','O24020073868','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1680','831','高雄市','大寮區','831','高雄市','大寮區','1800','2024-02-25 23:18:35','2024-01-16') 2024-02-25 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 ('342129','378915',1,'','','O24020073942','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1180','239','新北市','鶯歌區','239','新北市','鶯歌區','1300','2024-02-25 23:53:05','2024-01-16') 2024-02-25 23:59:03 -- == sync_order end == 2024-02-25 23:59:03 -- == sync_order_detail start == 2024-02-25 23:59:03 -- start:2024-02-25,end:2024-02-25 2024-02-25 23:59:03 -- == sync omo_order_detail == 2024-02-25 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-25%' OR modify_date like '2024-02-25%' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020027927RB' and product_code = 'DG010312-05' 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228624',`firm_id` = '8',`ordernumber` = 'S24020027927RB', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '10',`total_price` = '4800',`etd` = '2024-02-25',`create_date` = '2024-02-16 09:19:57',`modify_date` = '2024-02-25 12:36:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-07'where ordernumber = 'S24020027927RB' and product_code = 'DG010312-05' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071211' and product_code = 'DG010258-01' 2024-02-25 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,'229067','8','O24020071211','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','5','1475','2024-02-27','2024-02-25 00:13:16','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229067',`firm_id` = '8',`ordernumber` = 'O24020071211', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1475',`etd` = '2024-02-27',`create_date` = '2024-02-25 00:13:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071211' and product_code = 'DG010258-01' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071315' and product_code = 'DG010101-01' 2024-02-25 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,'229068','8','O24020071315','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','5','1400','2024-02-27','2024-02-25 00:59:30','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229068',`firm_id` = '8',`ordernumber` = 'O24020071315', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '5',`total_price` = '1400',`etd` = '2024-02-27',`create_date` = '2024-02-25 00:59:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071315' and product_code = 'DG010101-01' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071439' and product_code = 'DG010523-15' 2024-02-25 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,'229069','8','O24020071439','SNOOPY帶走心意-蛋捲三入組','DG010523-15','DG010523','原味+巧克力+巧克力','組合-32入(原味+巧克力+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','2','1980','2024-03-07','2024-02-25 06:49:12','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229069',`firm_id` = '8',`ordernumber` = 'O24020071439', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-15',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+巧克力',`invoice_name` = '組合-32入(原味+巧克力+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-03-07',`create_date` = '2024-02-25 06:49:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071439' and product_code = 'DG010523-15' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071565' and product_code = 'DG010523-12' 2024-02-25 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,'229070','8','O24020071565','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-25 08:14:21','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229070',`firm_id` = '8',`ordernumber` = 'O24020071565', `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-02-27',`create_date` = '2024-02-25 08:14:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071565' and product_code = 'DG010523-12' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071565' and product_code = 'LS010108-03' 2024-02-25 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,'229070','8','O24020071565','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','150','150','1','1','150','0','0','0.0','1','150','2024-02-27','2024-02-25 08:14:21','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229070',`firm_id` = '8',`ordernumber` = 'O24020071565', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-02-27',`create_date` = '2024-02-25 08:14:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071565' and product_code = 'LS010108-03' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071673' and product_code = 'FL010308-01' 2024-02-25 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,'229071','8','O24020071673','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','390','390','0','0','0','0','1','0.0','1','390','2024-02-27','2024-02-25 08:14:39','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229071',`firm_id` = '8',`ordernumber` = 'O24020071673', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-02-27',`create_date` = '2024-02-25 08:14:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071673' and product_code = 'FL010308-01' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071673' and product_code = 'DG010312-05' 2024-02-25 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,'229071','8','O24020071673','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-02-27','2024-02-25 08:14:39','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229071',`firm_id` = '8',`ordernumber` = 'O24020071673', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-25 08:14:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071673' and product_code = 'DG010312-05' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071710' and product_code = 'DG010312-03' 2024-02-25 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,'229072','8','O24020071710','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-25 08:44:08','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229072',`firm_id` = '8',`ordernumber` = 'O24020071710', `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-02-27',`create_date` = '2024-02-25 08:44:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071710' and product_code = 'DG010312-03' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071834' and product_code = 'DG010101-03' 2024-02-25 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,'229073','8','O24020071834','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-27','2024-02-25 10:59:17','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229073',`firm_id` = '8',`ordernumber` = 'O24020071834', `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-02-27',`create_date` = '2024-02-25 10:59:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071834' and product_code = 'DG010101-03' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071834' and product_code = 'DG010101-04' 2024-02-25 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,'229073','8','O24020071834','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-27','2024-02-25 10:59:17','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229073',`firm_id` = '8',`ordernumber` = 'O24020071834', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-27',`create_date` = '2024-02-25 10:59:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071834' and product_code = 'DG010101-04' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071834' and product_code = 'DG010101-01' 2024-02-25 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,'229073','8','O24020071834','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-27','2024-02-25 10:59:17','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229073',`firm_id` = '8',`ordernumber` = 'O24020071834', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-27',`create_date` = '2024-02-25 10:59:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071834' and product_code = 'DG010101-01' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071964' and product_code = 'DG010258-02' 2024-02-25 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,'229074','8','O24020071964','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','20','5900','2024-02-29','2024-02-25 11:16:18','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229074',`firm_id` = '8',`ordernumber` = 'O24020071964', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '5900',`etd` = '2024-02-29',`create_date` = '2024-02-25 11:16:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020071964' and product_code = 'DG010258-02' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072093' and product_code = 'DG010206-01' 2024-02-25 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,'229075','8','O24020072093','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','5','1475','2024-02-27','2024-02-25 12:37:14','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229075',`firm_id` = '8',`ordernumber` = 'O24020072093', `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` = '5',`total_price` = '1475',`etd` = '2024-02-27',`create_date` = '2024-02-25 12:37:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072093' and product_code = 'DG010206-01' 2024-02-25 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072161' and product_code = 'FL010310-01' 2024-02-25 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,'229076','8','O24020072161','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','2','870','2024-02-29','2024-02-25 12:58:52','2024-02-25 23:59:05',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229076',`firm_id` = '8',`ordernumber` = 'O24020072161', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '870',`etd` = '2024-02-29',`create_date` = '2024-02-25 12:58:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072161' and product_code = 'FL010310-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072161' and product_code = 'LS010108-01' 2024-02-25 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,'229076','8','O24020072161','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','150','150','1','1','150','0','0','0.0','1','150','2024-02-29','2024-02-25 12:58:52','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229076',`firm_id` = '8',`ordernumber` = 'O24020072161', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-02-29',`create_date` = '2024-02-25 12:58:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072161' and product_code = 'LS010108-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072161' and product_code = '03952' 2024-02-25 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,'229076','8','O24020072161','[加購]加購-夏威夷豆軟糖分享包(袋裝15入)','03952','03952','-','加購-(紅袋)夏威夷豆軟糖','285','285','1','1','285','0','0','0.0','1','285','2024-02-29','2024-02-25 12:58:52','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229076',`firm_id` = '8',`ordernumber` = 'O24020072161', `product_name` = '[加購]加購-夏威夷豆軟糖分享包(袋裝15入)',`product_code` = '03952',`product_sn` = '03952',`product_spec` = '-',`invoice_name` = '加購-(紅袋)夏威夷豆軟糖',`listprice` = '285',`sellingprice` = '285',`isadd` = '1',`isbaby` = '1',`addprice` = '285',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '285',`etd` = '2024-02-29',`create_date` = '2024-02-25 12:58:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072161' and product_code = '03952' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072161' and product_code = 'TG010118-01' 2024-02-25 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,'229076','8','O24020072161','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','285','285','1','1','285','0','0','0.0','1','285','2024-02-29','2024-02-25 12:58:52','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229076',`firm_id` = '8',`ordernumber` = 'O24020072161', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '285',`sellingprice` = '285',`isadd` = '1',`isbaby` = '1',`addprice` = '285',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '285',`etd` = '2024-02-29',`create_date` = '2024-02-25 12:58:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072161' and product_code = 'TG010118-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072260' and product_code = 'DG010523-09' 2024-02-25 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,'229077','8','O24020072260','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-25 13:26:53','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229077',`firm_id` = '8',`ordernumber` = 'O24020072260', `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-02-27',`create_date` = '2024-02-25 13:26:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072260' and product_code = 'DG010523-09' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072388' and product_code = 'DG010258-05' 2024-02-25 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,'229078','8','O24020072388','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-25 13:30:25','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229078',`firm_id` = '8',`ordernumber` = 'O24020072388', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-25 13:30:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072388' and product_code = 'DG010258-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072388' and product_code = 'DG010206-01' 2024-02-25 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,'229078','8','O24020072388','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-25 13:30:25','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229078',`firm_id` = '8',`ordernumber` = 'O24020072388', `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` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-25 13:30:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072388' and product_code = 'DG010206-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072388' and product_code = '13027' 2024-02-25 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,'229078','8','O24020072388','[加購]加購-小王子行李箱','13027','13027','-','加購-小王子行李箱','2188','2188','1','1','2188','0','0','0.0','1','2188','2024-02-27','2024-02-25 13:30:25','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229078',`firm_id` = '8',`ordernumber` = 'O24020072388', `product_name` = '[加購]加購-小王子行李箱',`product_code` = '13027',`product_sn` = '13027',`product_spec` = '-',`invoice_name` = '加購-小王子行李箱',`listprice` = '2188',`sellingprice` = '2188',`isadd` = '1',`isbaby` = '1',`addprice` = '2188',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '2188',`etd` = '2024-02-27',`create_date` = '2024-02-25 13:30:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072388' and product_code = '13027' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072424' and product_code = 'DG010312-05' 2024-02-25 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,'229079','8','O24020072424','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-02-29','2024-02-25 14:00:24','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229079',`firm_id` = '8',`ordernumber` = 'O24020072424', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-29',`create_date` = '2024-02-25 14:00:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072424' and product_code = 'DG010312-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072581' and product_code = 'DG010312-05' 2024-02-25 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,'229080','8','O24020072581','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-25 14:31:15','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229080',`firm_id` = '8',`ordernumber` = 'O24020072581', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-25 14:31:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072581' and product_code = 'DG010312-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072581' and product_code = '14146' 2024-02-25 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,'229080','8','O24020072581','[加購]加購-原味乳酪絲家庭分享包','14146','14146','-','加購-(紅袋)乳酪絲【原味】','460','460','1','1','460','0','0','0.0','1','460','2024-02-27','2024-02-25 14:31:15','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229080',`firm_id` = '8',`ordernumber` = 'O24020072581', `product_name` = '[加購]加購-原味乳酪絲家庭分享包',`product_code` = '14146',`product_sn` = '14146',`product_spec` = '-',`invoice_name` = '加購-(紅袋)乳酪絲【原味】',`listprice` = '460',`sellingprice` = '460',`isadd` = '1',`isbaby` = '1',`addprice` = '460',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '460',`etd` = '2024-02-27',`create_date` = '2024-02-25 14:31:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072581' and product_code = '14146' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072643' and product_code = 'DG0103148-14' 2024-02-25 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,'229081','8','O24020072643','【預購品,3/1後出貨】金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-03-01','2024-02-25 14:49:09','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229081',`firm_id` = '8',`ordernumber` = 'O24020072643', `product_name` = '【預購品,3/1後出貨】金典8結禮盒',`product_code` = 'DG0103148-14',`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-03-01',`create_date` = '2024-02-25 14:49:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072643' and product_code = 'DG0103148-14' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072789' and product_code = 'DG010312-05' 2024-02-25 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,'229082','8','O24020072789','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-29','2024-02-25 15:32:38','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229082',`firm_id` = '8',`ordernumber` = 'O24020072789', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-29',`create_date` = '2024-02-25 15:32:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072789' and product_code = 'DG010312-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072855' and product_code = 'DG010206-02' 2024-02-25 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,'229083','8','O24020072855','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','4','1180','2024-03-06','2024-02-25 15:48:05','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229083',`firm_id` = '8',`ordernumber` = 'O24020072855', `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` = '4',`total_price` = '1180',`etd` = '2024-03-06',`create_date` = '2024-02-25 15:48:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072855' and product_code = 'DG010206-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072933' and product_code = 'DG0103155-05' 2024-02-25 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,'229084','8','O24020072933','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-03-01','2024-02-25 16:05:22','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229084',`firm_id` = '8',`ordernumber` = 'O24020072933', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-01',`create_date` = '2024-02-25 16:05:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072933' and product_code = 'DG0103155-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020072933' and product_code = 'ZS010201-02' 2024-02-25 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,'229084','8','O24020072933','【預購品,3/1後出貨】提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-03-01','2024-02-25 16:05:22','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229084',`firm_id` = '8',`ordernumber` = 'O24020072933', `product_name` = '【預購品,3/1後出貨】提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-01',`create_date` = '2024-02-25 16:05:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020072933' and product_code = 'ZS010201-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073062' and product_code = 'DG0103155-09' 2024-02-25 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,'229085','8','O24020073062','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-09','DG0103155','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','10','5000','2024-03-07','2024-02-25 16:57:02','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229085',`firm_id` = '8',`ordernumber` = 'O24020073062', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`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` = '10',`total_price` = '5000',`etd` = '2024-03-07',`create_date` = '2024-02-25 16:57:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073062' and product_code = 'DG0103155-09' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073152' and product_code = 'DG010523-12' 2024-02-25 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,'229086','8','O24020073152','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-25 16:58:24','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229086',`firm_id` = '8',`ordernumber` = 'O24020073152', `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-02-27',`create_date` = '2024-02-25 16:58:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073152' and product_code = 'DG010523-12' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073152' and product_code = 'DG010222-01' 2024-02-25 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,'229086','8','O24020073152','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-02-27','2024-02-25 16:58:24','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229086',`firm_id` = '8',`ordernumber` = 'O24020073152', `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` = '1',`total_price` = '300',`etd` = '2024-02-27',`create_date` = '2024-02-25 16:58:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073152' and product_code = 'DG010222-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073152' and product_code = 'BP010108-01' 2024-02-25 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,'229086','8','O24020073152','[加購]加購-幾米幸運玻璃杯組','BP010108-01','BP010108','-','加購-幾米玻璃杯組','215','215','1','1','215','0','0','0.0','1','215','2024-02-27','2024-02-25 16:58:24','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229086',`firm_id` = '8',`ordernumber` = 'O24020073152', `product_name` = '[加購]加購-幾米幸運玻璃杯組',`product_code` = 'BP010108-01',`product_sn` = 'BP010108',`product_spec` = '-',`invoice_name` = '加購-幾米玻璃杯組',`listprice` = '215',`sellingprice` = '215',`isadd` = '1',`isbaby` = '1',`addprice` = '215',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '215',`etd` = '2024-02-27',`create_date` = '2024-02-25 16:58:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073152' and product_code = 'BP010108-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073299' and product_code = 'DG0103174-02' 2024-02-25 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,'229087','8','O24020073299','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-02','DG0103174','芝麻','禮盒-故宮(文物大盒款)【芝麻+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','1','1100','2024-02-27','2024-02-25 17:19:39','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229087',`firm_id` = '8',`ordernumber` = 'O24020073299', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-02',`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-02-27',`create_date` = '2024-02-25 17:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073299' and product_code = 'DG0103174-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073333' and product_code = 'DG0103174-02' 2024-02-25 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,'229088','8','O24020073333','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-02','DG0103174','芝麻','禮盒-故宮(文物大盒款)【芝麻+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','1','1100','2024-02-27','2024-02-25 17:37:57','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229088',`firm_id` = '8',`ordernumber` = 'O24020073333', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-02',`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-02-27',`create_date` = '2024-02-25 17:37:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073333' and product_code = 'DG0103174-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073475' and product_code = 'DG010312-05' 2024-02-25 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,'229089','8','O24020073475','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-02-27','2024-02-25 19:54:44','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229089',`firm_id` = '8',`ordernumber` = 'O24020073475', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-25 19:54:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073475' and product_code = 'DG010312-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073475' and product_code = '04191' 2024-02-25 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,'229089','8','O24020073475','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','120','120','1','1','120','0','0','0.0','2','240','2024-02-27','2024-02-25 19:54:44','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229089',`firm_id` = '8',`ordernumber` = 'O24020073475', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '120',`sellingprice` = '120',`isadd` = '1',`isbaby` = '1',`addprice` = '120',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '240',`etd` = '2024-02-27',`create_date` = '2024-02-25 19:54:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073475' and product_code = '04191' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073547' and product_code = 'DG010312-03' 2024-02-25 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,'229090','8','O24020073547','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-02-27','2024-02-25 19:57:29','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229090',`firm_id` = '8',`ordernumber` = 'O24020073547', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-25 19:57:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073547' and product_code = 'DG010312-03' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073659' and product_code = 'DG010312-05' 2024-02-25 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,'229091','8','O24020073659','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-25 22:13:11','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229091',`firm_id` = '8',`ordernumber` = 'O24020073659', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-25 22:13:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073659' and product_code = 'DG010312-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073716' and product_code = 'DG010101-02' 2024-02-25 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,'229092','8','O24020073716','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-25 23:06:26','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229092',`firm_id` = '8',`ordernumber` = 'O24020073716', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:06:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073716' and product_code = 'DG010101-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073716' and product_code = 'DG010101-05' 2024-02-25 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,'229092','8','O24020073716','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-25 23:06:26','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229092',`firm_id` = '8',`ordernumber` = 'O24020073716', `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-02-27',`create_date` = '2024-02-25 23:06:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073716' and product_code = 'DG010101-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073716' and product_code = 'DG010312-02' 2024-02-25 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,'229092','8','O24020073716','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-25 23:06:26','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229092',`firm_id` = '8',`ordernumber` = 'O24020073716', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:06:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073716' and product_code = 'DG010312-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073868' and product_code = 'DG010101-01' 2024-02-25 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,'229093','8','O24020073868','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-25 23:18:35','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229093',`firm_id` = '8',`ordernumber` = 'O24020073868', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:18:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073868' and product_code = 'DG010101-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073868' and product_code = 'DG010101-02' 2024-02-25 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,'229093','8','O24020073868','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-27','2024-02-25 23:18:35','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229093',`firm_id` = '8',`ordernumber` = 'O24020073868', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:18:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073868' and product_code = 'DG010101-02' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073868' and product_code = 'DG010101-03' 2024-02-25 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,'229093','8','O24020073868','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-25 23:18:35','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229093',`firm_id` = '8',`ordernumber` = 'O24020073868', `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-02-27',`create_date` = '2024-02-25 23:18:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073868' and product_code = 'DG010101-03' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073868' and product_code = 'DG010101-05' 2024-02-25 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,'229093','8','O24020073868','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-27','2024-02-25 23:18:35','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229093',`firm_id` = '8',`ordernumber` = 'O24020073868', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:18:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073868' and product_code = 'DG010101-05' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073942' and product_code = 'DG010101-01' 2024-02-25 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,'229094','8','O24020073942','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-02-27','2024-02-25 23:53:05','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229094',`firm_id` = '8',`ordernumber` = 'O24020073942', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '4',`total_price` = '1120',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:53:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073942' and product_code = 'DG010101-01' 2024-02-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020073942' and product_code = 'DG010405-01' 2024-02-25 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,'229094','8','O24020073942','單入紅提盒','DG010405-01','DG010405','單入紅提盒包材','單入紅提盒','15','15','0','0','0','0','1','0.0','4','60','2024-02-27','2024-02-25 23:53:05','2024-02-25 23:59:06',null,'1','2024-01-16') 2024-02-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229094',`firm_id` = '8',`ordernumber` = 'O24020073942', `product_name` = '單入紅提盒',`product_code` = 'DG010405-01',`product_sn` = 'DG010405',`product_spec` = '單入紅提盒包材',`invoice_name` = '單入紅提盒',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '60',`etd` = '2024-02-27',`create_date` = '2024-02-25 23:53:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-16'where ordernumber = 'O24020073942' and product_code = 'DG010405-01' 2024-02-25 23:59:06 -- == sync_order_detail end == 2024-02-25 23:59:06 -- == sync_order start == 2024-02-25 23:59:06 -- start:2024-02-25,end:2024-02-25 2024-02-25 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-25%' OR l.modify_date like '2024-02-25%'; 2024-02-25 23:59:07 -- == sync omo_order_list == 2024-02-25 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '378206', process_status = '3', pay_status = '8', totalprice_after = '400', lunar_date = '2024-01-11', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020015922' 2024-02-25 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '157438', process_status = '3', pay_status = '8', totalprice_after = '800', lunar_date = '2024-01-13', invoice_status = '1', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24020017680' 2024-02-25 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 ('102320','12147',2,'','','B24020019436','1','11','1','1','1','53095526','攪味國際有限公司','0','0000-00-00','0','0','0','','0','0','990','242','新北市','新莊區','242','新北市','新莊區','990','2024-02-25 20:07:15','2024-01-16') 2024-02-25 23:59:07 -- == sync_order end == 2024-02-25 23:59:07 -- == sync_order_detail start == 2024-02-25 23:59:07 -- start:2024-02-25,end:2024-02-25 2024-02-25 23:59:07 -- == sync omo_order_detail == 2024-02-25 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-25%' OR modify_date like '2024-02-25%' 2024-02-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020015922' and product_code = 'DG0103157-05' 2024-02-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30318',`firm_id` = '11',`ordernumber` = 'M24020015922', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-05',`product_sn` = 'DG0103157',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-23',`create_date` = '2024-02-20 15:49:57',`modify_date` = '2024-02-25 15:11:14',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020015922' and product_code = 'DG0103157-05', `lunar_date` = '2024-01-11' 2024-02-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020017680' and product_code = 'DG0103157-07' 2024-02-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30339',`firm_id` = '11',`ordernumber` = 'M24020017680', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-07',`product_sn` = 'DG0103157',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【芝麻+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-25',`create_date` = '2024-02-22 09:13:11',`modify_date` = '2024-02-25 12:12:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020017680' and product_code = 'DG0103157-07', `lunar_date` = '2024-01-13' 2024-02-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020017680' and product_code = 'DG0103145-02' 2024-02-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30339',`firm_id` = '11',`ordernumber` = 'M24020017680', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-02',`product_sn` = 'DG0103145',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月小王子(紅)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-25',`create_date` = '2024-02-22 09:13:11',`modify_date` = '2024-02-25 12:12:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020017680' and product_code = 'DG0103145-02', `lunar_date` = '2024-01-13' 2024-02-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019436' and product_code = '05401' 2024-02-25 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,'30357','8','B24020019436','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2024-03-01','2024-02-25 20:07:15','2024-02-25 23:59:07',null,'1','2024-01-16') 2024-02-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30357',`firm_id` = '8',`ordernumber` = 'B24020019436', `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-03-01',`create_date` = '2024-02-25 20:07:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019436' and product_code = '05401', `lunar_date` = '2024-01-16' 2024-02-25 23:59:07 -- == sync_order_detail end == 2024-02-25 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-02-25' OR o.updated_at = '2024-02-25') and o.deleted_at is null 2024-02-25 23:59:07 -- == sync_order_detail start == 2024-02-25 23:59:07 -- start:2024-02-25,end:2024-02-25 2024-02-25 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-02-25 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-02-25 23:59:09 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-02-25%';