2024-05-25 23:59:02 -- == sync_order start == 2024-05-25 23:59:02 -- start:2024-05-25,end:2024-05-25 2024-05-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-05-25%' OR l.modify_date like '2024-05-25%'; 2024-05-25 23:59:03 -- == sync omo_order_list == 2024-05-25 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '391682', process_status = '3', pay_status = '1', totalprice_after = '21565', lunar_date = '2024-04-17', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24050107996' 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354762','391419',1,'','','O24050112315','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','207','新北市','萬里區','207','新北市','萬里區','420','2024-05-25 00:20:24','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355222','391877',1,'','','O24050112497','1','1','1','1','1','93801913','茂順工程行','0','0000-00-00','1224','0','0','','0','0','24480','338','桃園市','蘆竹區','338','桃園市','蘆竹區','23256','2024-05-25 08:40:19','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355221','391876',1,'','','O24050112525','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1500','429','台中市','神岡區','429','台中市','神岡區','1620','2024-05-25 09:49:27','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('154836','122362',1,'','','O24050112613','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','4350','330','桃園市','桃園區','330','桃園市','桃園區','4500','2024-05-25 10:09:37','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350746','387440',1,'','','O24050112741','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1680','521','彰化縣','北斗鎮','521','彰化縣','北斗鎮','1800','2024-05-25 10:13:53','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355231','391886',1,'','','O24050112817','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1760','302','新竹縣','竹北市','302','新竹縣','竹北市','1880','2024-05-25 10:52:23','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355223','391878',1,'','','O24050112954','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1835','333','桃園市','龜山區','333','桃園市','龜山區','1955','2024-05-25 11:43:06','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354902','391558',1,'','','O24050113088','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3225','427','台中市','潭子區','427','台中市','潭子區','3345','2024-05-25 13:04:41','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355275','391930',1,'','','O24050113189','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2400','204','基隆市','安樂區','111','台北市','士林區','2520','2024-05-25 13:23:17','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('350554','387249',1,'','','O24050113290','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1560','807','高雄市','三民區','830','高雄市','鳳山區','1680','2024-05-25 14:41:05','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('120511','89425',1,'','','O24050113332','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2240','500','彰化縣','彰化市','500','彰化縣','彰化市','2390','2024-05-25 15:20:52','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355328','391983',1,'','','O24050113461','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3148','406','台中市','北屯區','406','台中市','北屯區','3268','2024-05-25 15:20:55','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355318','391973',1,'','','O24050113584','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1200','526','彰化縣','二林鎮','526','彰化縣','二林鎮','1320','2024-05-25 15:28:59','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355343','391998',1,'美村門市訂單','32','S24050113688','1','2','1','1','1','','','0','2024-05-27','0','0','0','','0','0','6320','813','高雄市','左營區','813','高雄市','左營區','6320','2024-05-25 16:14:39','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('216713','227809',1,'','','O24050113715','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1920','330','桃園市','桃園區','330','桃園市','桃園區','2070','2024-05-25 16:52:53','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355373','392028',1,'','','O24050113886','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','813','高雄市','左營區','813','高雄市','左營區','1110','2024-05-25 17:29:36','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354803','391460',1,'','','O24050113916','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','526','彰化縣','二林鎮','427','台中市','潭子區','630','2024-05-25 17:45:08','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354803','391460',1,'','','O24050114061','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','526','彰化縣','二林鎮','351','苗栗縣','頭份市','630','2024-05-25 17:48:37','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355394','392049',1,'','','O24050114142','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1490','600','嘉義市','東區','234','新北市','永和區','1640','2024-05-25 17:53:45','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('354215','390881',1,'','','O24050114222','1','1','1','1','1','','','0','0000-00-00','610','0','0','','0','30','12845','540','南投縣','南投市','540','南投縣','南投市','12205','2024-05-25 17:58:55','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('18429','16059',1,'','','O24050114316','1','1','1','1','1','81322781','社團法人屏東縣聖佳照顧關懷協會 附設屏東縣私立聖佳居家長照機構','0','0000-00-00','3965','0','0','','0','30','74650','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','70655','2024-05-25 18:20:02','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('120437','89356',1,'','','O24050114492','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1740','730','台南市','新營區','540','南投縣','南投市','1890','2024-05-25 18:35:17','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355419','392074',1,'','','O24050114512','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1625','900','屏東縣','屏東市','900','屏東縣','屏東市','1745','2024-05-25 19:05:02','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355428','392083',1,'','','O24050114688','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3360','807','高雄市','三民區','807','高雄市','三民區','3480','2024-05-25 19:41:07','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355453','392108',1,'','','O24050114719','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','690','241','新北市','三重區','241','新北市','三重區','840','2024-05-25 21:18:13','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355459','392113',1,'','','O24050114875','1','11','1','1','1','93512370','主腳事業股份有限公司','0','0000-00-00','0','0','0','','150','30','2700','804','高雄市','鼓山區','804','高雄市','鼓山區','2820','2024-05-25 23:12:22','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355458','392112',1,'','','O24050114967','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5670','330','桃園市','桃園區','333','桃園市','龜山區','5640','2024-05-25 23:42:53','2024-04-18') 2024-05-25 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('355259','391914',1,'','','O24050115047','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','480','111','台北市','士林區','710','台南市','永康區','600','2024-05-25 23:56:34','2024-04-18') 2024-05-25 23:59:04 -- == sync_order end == 2024-05-25 23:59:04 -- == sync_order_detail start == 2024-05-25 23:59:04 -- start:2024-05-25,end:2024-05-25 2024-05-25 23:59:04 -- == sync omo_order_detail == 2024-05-25 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-25%' OR modify_date like '2024-05-25%' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050107996' and product_code = 'DG010101-01' 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232539',`firm_id` = '8',`ordernumber` = 'S24050107996', `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` = '40',`total_price` = '11200',`etd` = '2024-05-25',`create_date` = '2024-05-24 12:07:11',`modify_date` = '2024-05-25 10:36:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-17'where ordernumber = 'S24050107996' and product_code = 'DG010101-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050107996' and product_code = 'DG010431-01' 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232539',`firm_id` = '8',`ordernumber` = 'S24050107996', `product_name` = '金豐收提盒',`product_code` = 'DG010431-01',`product_sn` = 'DG010431',`product_spec` = '金豐收藍提盒包材',`invoice_name` = '金豐收藍提盒包材',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '600',`etd` = '2024-05-25',`create_date` = '2024-05-24 12:07:11',`modify_date` = '2024-05-25 10:36:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-17'where ordernumber = 'S24050107996' and product_code = 'DG010431-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050107996' and product_code = '12983' 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232539',`firm_id` = '8',`ordernumber` = 'S24050107996', `product_name` = '心意禮盒',`product_code` = '12983',`product_sn` = 'FL010301',`product_spec` = '【鳳梨酥+枸杞茶+黑松露杏仁果】',`invoice_name` = '禮盒-心意【鳳梨酥+枸杞茶+黑松露杏仁果】',`listprice` = '545',`sellingprice` = '545',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '10900',`etd` = '2024-05-25',`create_date` = '2024-05-24 12:07:11',`modify_date` = '2024-05-25 10:36:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-17'where ordernumber = 'S24050107996' and product_code = '12983' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112315' and product_code = 'DG010261-01' 2024-05-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,'232583','8','O24050112315','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-05-27','2024-05-25 00:20:24','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232583',`firm_id` = '8',`ordernumber` = 'O24050112315', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-27',`create_date` = '2024-05-25 00:20:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112315' and product_code = 'DG010261-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112497' and product_code = 'DG010312-02' 2024-05-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,'232584','8','O24050112497','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','51','24480','2024-05-30','2024-05-25 08:40:19','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232584',`firm_id` = '8',`ordernumber` = 'O24050112497', `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` = '51',`total_price` = '24480',`etd` = '2024-05-30',`create_date` = '2024-05-25 08:40:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112497' and product_code = 'DG010312-02' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112525' and product_code = 'DG010261-01' 2024-05-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,'232585','8','O24050112525','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','5','1500','2024-05-29','2024-05-25 09:49:27','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232585',`firm_id` = '8',`ordernumber` = 'O24050112525', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-05-29',`create_date` = '2024-05-25 09:49:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112525' and product_code = 'DG010261-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112613' and product_code = 'DG010527-01' 2024-05-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,'232586','8','O24050112613','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','15','4350','2024-05-27','2024-05-25 10:09:37','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232586',`firm_id` = '8',`ordernumber` = 'O24050112613', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4350',`etd` = '2024-05-27',`create_date` = '2024-05-25 10:09:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112613' and product_code = 'DG010527-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112741' and product_code = 'DG010597-01' 2024-05-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,'232587','8','O24050112741','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-31','2024-05-25 10:13:53','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232587',`firm_id` = '8',`ordernumber` = 'O24050112741', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-31',`create_date` = '2024-05-25 10:13:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112741' and product_code = 'DG010597-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112741' and product_code = 'DG010312-02' 2024-05-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,'232587','8','O24050112741','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-31','2024-05-25 10:13:53','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232587',`firm_id` = '8',`ordernumber` = 'O24050112741', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-31',`create_date` = '2024-05-25 10:13:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112741' and product_code = 'DG010312-02' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112817' and product_code = 'DG010597-01' 2024-05-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,'232588','8','O24050112817','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-27','2024-05-25 10:52:23','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232588',`firm_id` = '8',`ordernumber` = 'O24050112817', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-27',`create_date` = '2024-05-25 10:52:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112817' and product_code = 'DG010597-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112817' and product_code = 'DG010101-01' 2024-05-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,'232588','8','O24050112817','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-27','2024-05-25 10:52:23','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232588',`firm_id` = '8',`ordernumber` = 'O24050112817', `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-05-27',`create_date` = '2024-05-25 10:52:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112817' and product_code = 'DG010101-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112954' and product_code = 'DG010597-01' 2024-05-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,'232589','8','O24050112954','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-27','2024-05-25 11:43:06','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232589',`firm_id` = '8',`ordernumber` = 'O24050112954', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-27',`create_date` = '2024-05-25 11:43:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112954' and product_code = 'DG010597-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112954' and product_code = 'LS010510-05' 2024-05-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,'232589','8','O24050112954','梅子零嘴任選二入組','LS010510-05','LS010510','(袋)無籽梅肉+(袋)梅片','(袋)無籽梅肉+(袋)梅片','170','170','0','0','0','0','1','0.0','1','170','2024-05-27','2024-05-25 11:43:06','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232589',`firm_id` = '8',`ordernumber` = 'O24050112954', `product_name` = '梅子零嘴任選二入組',`product_code` = 'LS010510-05',`product_sn` = 'LS010510',`product_spec` = '(袋)無籽梅肉+(袋)梅片',`invoice_name` = '(袋)無籽梅肉+(袋)梅片',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-05-27',`create_date` = '2024-05-25 11:43:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112954' and product_code = 'LS010510-05' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050112954' and product_code = 'FL010104-01' 2024-05-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,'232589','8','O24050112954','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','3','465','2024-05-27','2024-05-25 11:43:06','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232589',`firm_id` = '8',`ordernumber` = 'O24050112954', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '465',`etd` = '2024-05-27',`create_date` = '2024-05-25 11:43:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050112954' and product_code = 'FL010104-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113088' and product_code = 'DG010312-02' 2024-05-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,'232590','8','O24050113088','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-05-31','2024-05-25 13:04:41','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232590',`firm_id` = '8',`ordernumber` = 'O24050113088', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-31',`create_date` = '2024-05-25 13:04:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113088' and product_code = 'DG010312-02' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113088' and product_code = 'DG010313-01' 2024-05-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,'232590','8','O24050113088','金8結雙蜜禮盒','DG010313-01','DG010313','原味蛋捲+醇蜜2瓶','禮盒-金8結【原味+雙蜜】','755','755','0','0','0','0','1','755.0','3','2265','2024-05-31','2024-05-25 13:04:41','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232590',`firm_id` = '8',`ordernumber` = 'O24050113088', `product_name` = '金8結雙蜜禮盒',`product_code` = 'DG010313-01',`product_sn` = 'DG010313',`product_spec` = '原味蛋捲+醇蜜2瓶',`invoice_name` = '禮盒-金8結【原味+雙蜜】',`listprice` = '755',`sellingprice` = '755',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '755.0',`amount` = '3',`total_price` = '2265',`etd` = '2024-05-31',`create_date` = '2024-05-25 13:04:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113088' and product_code = 'DG010313-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113189' and product_code = 'DG010597-01' 2024-05-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,'232591','8','O24050113189','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','2','2400','2024-05-28','2024-05-25 13:23:17','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232591',`firm_id` = '8',`ordernumber` = 'O24050113189', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2400',`etd` = '2024-05-28',`create_date` = '2024-05-25 13:23:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113189' and product_code = 'DG010597-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113290' and product_code = 'DG010596-01' 2024-05-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,'232592','8','O24050113290','台灣經典伴手禮分享組','DG010596-01','DG010596','原味+原味','組合-32入(原味+原味)+8入鳳梨酥x2+紅提袋x2','780','780','0','0','0','1','1','0.0','2','1560','2024-05-27','2024-05-25 14:41:05','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232592',`firm_id` = '8',`ordernumber` = 'O24050113290', `product_name` = '台灣經典伴手禮分享組',`product_code` = 'DG010596-01',`product_sn` = 'DG010596',`product_spec` = '原味+原味',`invoice_name` = '組合-32入(原味+原味)+8入鳳梨酥x2+紅提袋x2',`listprice` = '780',`sellingprice` = '780',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1560',`etd` = '2024-05-27',`create_date` = '2024-05-25 14:41:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113290' and product_code = 'DG010596-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113332' and product_code = 'DG010101-01' 2024-05-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,'232593','8','O24050113332','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-05-27','2024-05-25 15:20:52','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232593',`firm_id` = '8',`ordernumber` = 'O24050113332', `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-05-27',`create_date` = '2024-05-25 15:20:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113332' and product_code = 'DG010101-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113332' and product_code = 'DG010101-05' 2024-05-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,'232593','8','O24050113332','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-05-27','2024-05-25 15:20:52','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232593',`firm_id` = '8',`ordernumber` = 'O24050113332', `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` = '4',`total_price` = '1120',`etd` = '2024-05-27',`create_date` = '2024-05-25 15:20:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113332' and product_code = 'DG010101-05' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113461' and product_code = 'DG0103148-15' 2024-05-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,'232594','8','O24050113461','金典8結禮盒','DG0103148-15','DG0103148','巧克力+巧克力','禮盒-金典(紅)【巧克力+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-05-30','2024-05-25 15:20:55','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232594',`firm_id` = '8',`ordernumber` = 'O24050113461', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-15',`product_sn` = 'DG0103148',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-金典(紅)【巧克力+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-30',`create_date` = '2024-05-25 15:20:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113461' and product_code = 'DG0103148-15' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113461' and product_code = '13027' 2024-05-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,'232594','8','O24050113461','[加購]加購-小王子行李箱','13027','13027','-','加購-小王子行李箱','2188','2188','1','1','2188','0','0','0.0','1','2188','2024-05-30','2024-05-25 15:20:55','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232594',`firm_id` = '8',`ordernumber` = 'O24050113461', `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-05-30',`create_date` = '2024-05-25 15:20:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113461' and product_code = '13027' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113584' and product_code = 'DG010597-01' 2024-05-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,'232595','8','O24050113584','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-27','2024-05-25 15:28:59','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232595',`firm_id` = '8',`ordernumber` = 'O24050113584', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-27',`create_date` = '2024-05-25 15:28:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113584' and product_code = 'DG010597-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = 'DG010101-01' 2024-05-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,'232596','8','S24050113688','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = 'DG010101-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = 'DG010101-02' 2024-05-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,'232596','8','S24050113688','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = 'DG010101-02' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = 'DG010312-02' 2024-05-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,'232596','8','S24050113688','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','8','3840','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `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` = '8',`total_price` = '3840',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = 'DG010312-02' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = 'DG010312-03' 2024-05-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,'232596','8','S24050113688','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = 'DG010312-03' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = 'DG010312-05' 2024-05-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,'232596','8','S24050113688','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = 'DG010312-05' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = 'DG010312-01' 2024-05-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,'232596','8','S24050113688','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = 'DG010312-01' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050113688' and product_code = '03006' 2024-05-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,'232596','8','S24050113688','禮盒換提袋','03006','03006','單盒','禮盒換提袋','0','0','0','0','0','1','1','0.0','24','0','2024-05-27','2024-05-25 16:14:39','2024-05-25 23:59:06',0,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232596',`firm_id` = '8',`ordernumber` = 'S24050113688', `product_name` = '禮盒換提袋',`product_code` = '03006',`product_sn` = '03006',`product_spec` = '單盒',`invoice_name` = '禮盒換提袋',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '0',`etd` = '2024-05-27',`create_date` = '2024-05-25 16:14:39',`modify_date` = '2024-05-25 16:23:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'S24050113688' and product_code = '03006' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113715' and product_code = 'DG0103148-05' 2024-05-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,'232597','8','O24050113715','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-06-03','2024-05-25 16:52:53','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232597',`firm_id` = '8',`ordernumber` = 'O24050113715', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-06-03',`create_date` = '2024-05-25 16:52:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113715' and product_code = 'DG0103148-05' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113715' and product_code = 'DG0103148-03' 2024-05-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,'232597','8','O24050113715','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','2','960','2024-06-03','2024-05-25 16:52:53','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232597',`firm_id` = '8',`ordernumber` = 'O24050113715', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-06-03',`create_date` = '2024-05-25 16:52:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113715' and product_code = 'DG0103148-03' 2024-05-25 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113886' and product_code = 'DG010523-18' 2024-05-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, 1,'232598','8','O24050113886','SNOOPY帶走心意-蛋捲三入組','DG010523-18','DG010523','芝麻+芝麻+海苔','組合-32入(芝麻+芝麻+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-27','2024-05-25 17:29:36','2024-05-25 23:59:06',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232598',`firm_id` = '8',`ordernumber` = 'O24050113886', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-18',`product_sn` = 'DG010523',`product_spec` = '芝麻+芝麻+海苔',`invoice_name` = '組合-32入(芝麻+芝麻+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:29:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113886' and product_code = 'DG010523-18' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050113916' and product_code = 'DG010312-02' 2024-05-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, 1,'232599','8','O24050113916','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-27','2024-05-25 17:45:08','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232599',`firm_id` = '8',`ordernumber` = 'O24050113916', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:45:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050113916' and product_code = 'DG010312-02' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114061' and product_code = 'DG010312-02' 2024-05-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, 1,'232600','8','O24050114061','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-27','2024-05-25 17:48:37','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232600',`firm_id` = '8',`ordernumber` = 'O24050114061', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:48:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114061' and product_code = 'DG010312-02' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114142' and product_code = 'FL010101-01' 2024-05-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, 1,'232601','8','O24050114142','一口鳳梅酥','FL010101-01','FL010101','8入鳳梅酥','(盒)鳳梅酥','195','195','0','0','0','0','1','160.0','2','390','2024-05-27','2024-05-25 17:53:45','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232601',`firm_id` = '8',`ordernumber` = 'O24050114142', `product_name` = '一口鳳梅酥',`product_code` = 'FL010101-01',`product_sn` = 'FL010101',`product_spec` = '8入鳳梅酥',`invoice_name` = '(盒)鳳梅酥',`listprice` = '195',`sellingprice` = '195',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '2',`total_price` = '390',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114142' and product_code = 'FL010101-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114142' and product_code = 'TG010119-01' 2024-05-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, 1,'232601','8','O24050114142','南棗核桃糕','TG010119-01','TG010119','12入核棗糕','(盒)南棗核桃糕','180','180','0','0','0','0','1','0.0','2','360','2024-05-27','2024-05-25 17:53:45','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232601',`firm_id` = '8',`ordernumber` = 'O24050114142', `product_name` = '南棗核桃糕',`product_code` = 'TG010119-01',`product_sn` = 'TG010119',`product_spec` = '12入核棗糕',`invoice_name` = '(盒)南棗核桃糕',`listprice` = '180',`sellingprice` = '180',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '360',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114142' and product_code = 'TG010119-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114142' and product_code = 'TG010102-01' 2024-05-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, 1,'232601','8','O24050114142','黑曜芝麻糕(全素)','TG010102-01','TG010102','12入芝麻糕','(盒)芝麻糕','150','150','0','0','0','0','1','150.0','2','300','2024-05-27','2024-05-25 17:53:45','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232601',`firm_id` = '8',`ordernumber` = 'O24050114142', `product_name` = '黑曜芝麻糕(全素)',`product_code` = 'TG010102-01',`product_sn` = 'TG010102',`product_spec` = '12入芝麻糕',`invoice_name` = '(盒)芝麻糕',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '150.0',`amount` = '2',`total_price` = '300',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114142' and product_code = 'TG010102-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114142' and product_code = 'TG010104-01' 2024-05-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, 1,'232601','8','O24050114142','夏威夷豆軟糖','TG010104-01','TG010104','10入夏威夷豆軟糖','(盒)夏威夷豆軟糖','220','220','0','0','0','0','1','220.0','2','440','2024-05-27','2024-05-25 17:53:45','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232601',`firm_id` = '8',`ordernumber` = 'O24050114142', `product_name` = '夏威夷豆軟糖',`product_code` = 'TG010104-01',`product_sn` = 'TG010104',`product_spec` = '10入夏威夷豆軟糖',`invoice_name` = '(盒)夏威夷豆軟糖',`listprice` = '220',`sellingprice` = '220',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '220.0',`amount` = '2',`total_price` = '440',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:53:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114142' and product_code = 'TG010104-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = 'DG010258-02' 2024-05-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, 1,'232602','8','O24050114222','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','18','5310','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `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` = '18',`total_price` = '5310',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = 'DG010258-02' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = '13657' 2024-05-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, 1,'232602','8','O24050114222','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','10','2900','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2900',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = '13657' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = 'DG010101-02' 2024-05-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, 1,'232602','8','O24050114222','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','9','2520','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `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` = '9',`total_price` = '2520',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = 'DG010101-02' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = 'DG0103182-126' 2024-05-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, 1,'232602','8','O24050114222','金巧8結禮盒','DG0103182-126','DG0103182','芝麻,鳳梅酥,黑松露夏威夷果','禮盒-金巧8結【(芝麻)-鳳梅酥+黑松露夏威夷果】','740','740','0','0','0','0','1','0.0','2','1480','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-126',`product_sn` = 'DG0103182',`product_spec` = '芝麻,鳳梅酥,黑松露夏威夷果',`invoice_name` = '禮盒-金巧8結【(芝麻)-鳳梅酥+黑松露夏威夷果】',`listprice` = '740',`sellingprice` = '740',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1480',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = 'DG0103182-126' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = 'FL010103-01' 2024-05-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, 1,'232602','8','O24050114222','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = 'FL010103-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = 'GG010105-01' 2024-05-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, 1,'232602','8','O24050114222','[加購]加購-義式皇家黑松露杏仁果','GG010105-01','GG010105','-','加購-(盒)堅果【杏仁果】','180','180','1','1','180','0','0','0.0','1','180','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `product_name` = '[加購]加購-義式皇家黑松露杏仁果',`product_code` = 'GG010105-01',`product_sn` = 'GG010105',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【杏仁果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = 'GG010105-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114222' and product_code = 'GG010106-01' 2024-05-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, 1,'232602','8','O24050114222','[加購]加購-義式皇家黑松露夏威夷果','GG010106-01','GG010106','-','加購-(盒)堅果【夏威夷果】','270','270','1','1','270','0','0','0.0','1','270','2024-05-27','2024-05-25 17:58:55','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232602',`firm_id` = '8',`ordernumber` = 'O24050114222', `product_name` = '[加購]加購-義式皇家黑松露夏威夷果',`product_code` = 'GG010106-01',`product_sn` = 'GG010106',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【夏威夷果】',`listprice` = '270',`sellingprice` = '270',`isadd` = '1',`isbaby` = '1',`addprice` = '270',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-05-27',`create_date` = '2024-05-25 17:58:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114222' and product_code = 'GG010106-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = 'DG010597-01' 2024-05-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, 1,'232603','8','O24050114316','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','15','18000','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '18000',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = 'DG010597-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = 'DG010312-12' 2024-05-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, 1,'232603','8','O24050114316','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','20','9600','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '20',`total_price` = '9600',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = 'DG010312-12' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = 'DG010312-04' 2024-05-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, 1,'232603','8','O24050114316','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','14','6720','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '14',`total_price` = '6720',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = 'DG010312-04' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = '13657' 2024-05-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, 1,'232603','8','O24050114316','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','40','11600','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '11600',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = '13657' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = '13658' 2024-05-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, 1,'232603','8','O24050114316','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','37','10730','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '37',`total_price` = '10730',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = '13658' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = '13659' 2024-05-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, 1,'232603','8','O24050114316','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','20','5800','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`product_sn` = '13656',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '5800',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = '13659' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = '13660' 2024-05-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, 1,'232603','8','O24050114316','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','40','11600','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '11600',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = '13660' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114316' and product_code = 'DG010404-01' 2024-05-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, 1,'232603','8','O24050114316','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','60','600','2024-05-28','2024-05-25 18:20:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232603',`firm_id` = '8',`ordernumber` = 'O24050114316', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '60',`total_price` = '600',`etd` = '2024-05-28',`create_date` = '2024-05-25 18:20:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114316' and product_code = 'DG010404-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114492' and product_code = 'DG010527-01' 2024-05-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, 1,'232604','8','O24050114492','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','3','870','2024-05-27','2024-05-25 18:35:17','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232604',`firm_id` = '8',`ordernumber` = 'O24050114492', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-05-27',`create_date` = '2024-05-25 18:35:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114492' and product_code = 'DG010527-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114492' and product_code = 'DG010527-05' 2024-05-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, 1,'232604','8','O24050114492','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','3','870','2024-05-27','2024-05-25 18:35:17','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232604',`firm_id` = '8',`ordernumber` = 'O24050114492', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-05-27',`create_date` = '2024-05-25 18:35:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114492' and product_code = 'DG010527-05' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114512' and product_code = 'FL010316-23' 2024-05-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, 1,'232605','8','O24050114512','剛好一口酥禮盒','FL010316-23','FL010316','鳳梅酥,國寶茶','禮盒-剛好一口酥【鳳梅酥+國寶茶】','385','385','0','0','0','0','1','0.0','1','385','2024-05-29','2024-05-25 19:05:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232605',`firm_id` = '8',`ordernumber` = 'O24050114512', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-23',`product_sn` = 'FL010316',`product_spec` = '鳳梅酥,國寶茶',`invoice_name` = '禮盒-剛好一口酥【鳳梅酥+國寶茶】',`listprice` = '385',`sellingprice` = '385',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '385',`etd` = '2024-05-29',`create_date` = '2024-05-25 19:05:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114512' and product_code = 'FL010316-23' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114512' and product_code = 'FL010316-24' 2024-05-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, 1,'232605','8','O24050114512','剛好一口酥禮盒','FL010316-24','FL010316','鳳梅酥,成真咖啡','禮盒-剛好一口酥【鳳梅酥+成真咖啡】','465','465','0','0','0','0','1','0.0','1','465','2024-05-29','2024-05-25 19:05:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232605',`firm_id` = '8',`ordernumber` = 'O24050114512', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-24',`product_sn` = 'FL010316',`product_spec` = '鳳梅酥,成真咖啡',`invoice_name` = '禮盒-剛好一口酥【鳳梅酥+成真咖啡】',`listprice` = '465',`sellingprice` = '465',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '465',`etd` = '2024-05-29',`create_date` = '2024-05-25 19:05:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114512' and product_code = 'FL010316-24' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114512' and product_code = 'FL010316-22' 2024-05-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, 1,'232605','8','O24050114512','剛好一口酥禮盒','FL010316-22','FL010316','鳳梅酥,枸杞茶','禮盒-剛好一口酥【鳳梅酥+枸杞茶】','385','385','0','0','0','0','1','0.0','1','385','2024-05-29','2024-05-25 19:05:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232605',`firm_id` = '8',`ordernumber` = 'O24050114512', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-22',`product_sn` = 'FL010316',`product_spec` = '鳳梅酥,枸杞茶',`invoice_name` = '禮盒-剛好一口酥【鳳梅酥+枸杞茶】',`listprice` = '385',`sellingprice` = '385',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '385',`etd` = '2024-05-29',`create_date` = '2024-05-25 19:05:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114512' and product_code = 'FL010316-22' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114512' and product_code = 'FL010316-02' 2024-05-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, 1,'232605','8','O24050114512','剛好一口酥禮盒','FL010316-02','FL010316','鳳梨酥,鳳梅酥','禮盒-剛好一口酥【鳳梨酥+鳳梅酥】','390','390','0','0','0','0','1','0.0','1','390','2024-05-29','2024-05-25 19:05:02','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232605',`firm_id` = '8',`ordernumber` = 'O24050114512', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-02',`product_sn` = 'FL010316',`product_spec` = '鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-剛好一口酥【鳳梨酥+鳳梅酥】',`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-05-29',`create_date` = '2024-05-25 19:05:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114512' and product_code = 'FL010316-02' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114688' and product_code = '13657' 2024-05-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, 1,'232606','8','O24050114688','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-27','2024-05-25 19:41:07','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232606',`firm_id` = '8',`ordernumber` = 'O24050114688', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-27',`create_date` = '2024-05-25 19:41:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114688' and product_code = '13657' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114688' and product_code = '13658' 2024-05-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, 1,'232606','8','O24050114688','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-27','2024-05-25 19:41:07','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232606',`firm_id` = '8',`ordernumber` = 'O24050114688', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-27',`create_date` = '2024-05-25 19:41:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114688' and product_code = '13658' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114688' and product_code = 'DG010597-01' 2024-05-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, 1,'232606','8','O24050114688','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','2','2400','2024-05-27','2024-05-25 19:41:07','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232606',`firm_id` = '8',`ordernumber` = 'O24050114688', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2400',`etd` = '2024-05-27',`create_date` = '2024-05-25 19:41:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114688' and product_code = 'DG010597-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114688' and product_code = 'LS010108-03' 2024-05-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, 1,'232606','8','O24050114688','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','190','190','1','1','190','0','0','0.0','1','190','2024-05-27','2024-05-25 19:41:07','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232606',`firm_id` = '8',`ordernumber` = 'O24050114688', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-05-27',`create_date` = '2024-05-25 19:41:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114688' and product_code = 'LS010108-03' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114688' and product_code = 'LS010108-01' 2024-05-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, 1,'232606','8','O24050114688','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','1','190','2024-05-27','2024-05-25 19:41:07','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232606',`firm_id` = '8',`ordernumber` = 'O24050114688', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-05-27',`create_date` = '2024-05-25 19:41:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114688' and product_code = 'LS010108-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114719' and product_code = 'DG010261-01' 2024-05-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, 1,'232607','8','O24050114719','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-05-30','2024-05-25 21:18:13','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232607',`firm_id` = '8',`ordernumber` = 'O24050114719', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-30',`create_date` = '2024-05-25 21:18:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114719' and product_code = 'DG010261-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114719' and product_code = 'BP010157-01' 2024-05-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, 1,'232607','8','O24050114719','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','1','390','2024-05-30','2024-05-25 21:18:13','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232607',`firm_id` = '8',`ordernumber` = 'O24050114719', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-05-30',`create_date` = '2024-05-25 21:18:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114719' and product_code = 'BP010157-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114875' and product_code = 'DG010203-01' 2024-05-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, 1,'232608','8','O24050114875','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','8','2400','2024-06-03','2024-05-25 23:12:22','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232608',`firm_id` = '8',`ordernumber` = 'O24050114875', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2400',`etd` = '2024-06-03',`create_date` = '2024-05-25 23:12:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114875' and product_code = 'DG010203-01' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114875' and product_code = 'DG010203-05' 2024-05-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, 1,'232608','8','O24050114875','【小王子聯名】閃耀星空8結提盒','DG010203-05','DG010203','40入巧克力蛋捲','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-06-03','2024-05-25 23:12:22','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232608',`firm_id` = '8',`ordernumber` = 'O24050114875', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-06-03',`create_date` = '2024-05-25 23:12:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114875' and product_code = 'DG010203-05' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114967' and product_code = 'DG0103155-05' 2024-05-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, 1,'232609','8','O24050114967','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','3','1500','2024-05-30','2024-05-25 23:42:53','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232609',`firm_id` = '8',`ordernumber` = 'O24050114967', `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` = '3',`total_price` = '1500',`etd` = '2024-05-30',`create_date` = '2024-05-25 23:42:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114967' and product_code = 'DG0103155-05' 2024-05-25 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114967' and product_code = 'DG010261-01' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232609','8','O24050114967','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-05-30','2024-05-25 23:42:53','2024-05-25 23:59:07',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232609',`firm_id` = '8',`ordernumber` = 'O24050114967', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-05-30',`create_date` = '2024-05-25 23:42:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114967' and product_code = 'DG010261-01' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114967' and product_code = 'DG010261-05' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232609','8','O24050114967','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','2','600','2024-05-30','2024-05-25 23:42:53','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232609',`firm_id` = '8',`ordernumber` = 'O24050114967', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-05-30',`create_date` = '2024-05-25 23:42:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114967' and product_code = 'DG010261-05' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114967' and product_code = 'DG010523-09' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232609','8','O24050114967','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-30','2024-05-25 23:42:53','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232609',`firm_id` = '8',`ordernumber` = 'O24050114967', `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-05-30',`create_date` = '2024-05-25 23:42:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114967' and product_code = 'DG010523-09' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050114967' and product_code = 'DG010523-12' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232609','8','O24050114967','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','2','1980','2024-05-30','2024-05-25 23:42:53','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232609',`firm_id` = '8',`ordernumber` = 'O24050114967', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+咖啡',`invoice_name` = '組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-05-30',`create_date` = '2024-05-25 23:42:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050114967' and product_code = 'DG010523-12' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050115047' and product_code = 'DG010261-03' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232610','8','O24050115047','【SNOOPY聯名】美好食光-8結提盒','DG010261-03','DG010261','40入咖啡蛋捲','提盒-SNOOPY-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-05-27','2024-05-25 23:56:34','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232610',`firm_id` = '8',`ordernumber` = 'O24050115047', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-03',`product_sn` = 'DG010261',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-27',`create_date` = '2024-05-25 23:56:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050115047' and product_code = 'DG010261-03' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050115047' and product_code = 'GG010104-01' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'232610','8','O24050115047','[加購]加購-義式皇家黑松露腰果','GG010104-01','GG010104','-','加購-(盒)堅果【腰果】','180','180','1','1','180','0','0','0.0','1','180','2024-05-27','2024-05-25 23:56:34','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232610',`firm_id` = '8',`ordernumber` = 'O24050115047', `product_name` = '[加購]加購-義式皇家黑松露腰果',`product_code` = 'GG010104-01',`product_sn` = 'GG010104',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【腰果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-05-27',`create_date` = '2024-05-25 23:56:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-18'where ordernumber = 'O24050115047' and product_code = 'GG010104-01' 2024-05-25 23:59:08 -- == sync_order_detail end == 2024-05-25 23:59:08 -- == sync_order start == 2024-05-25 23:59:08 -- start:2024-05-25,end:2024-05-25 2024-05-25 23:59:08 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-05-25%' OR l.modify_date like '2024-05-25%'; 2024-05-25 23:59:08 -- == sync omo_order_list == 2024-05-25 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '390907', process_status = '3', pay_status = '8', totalprice_after = '400', lunar_date = '2024-04-13', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24050016081' 2024-05-25 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '800', lunar_date = '2024-04-14', invoice_status = '1', category_name = 'FB訂單,彌月試吃', category_id = '2,10' where ordernumber = 'M24050018312' 2024-05-25 23:59:08 -- == 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 ('115479','391883',2,'','','B24050021965','1','2','1','1','1','','','0','0000-00-00','795','0','0','','0','30','15900','268','宜蘭縣','五結鄉','268','宜蘭縣','五結鄉','15075','2024-05-25 10:50:33','2024-04-18') 2024-05-25 23:59:08 -- == 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 ('115480','391884',2,'','','B24050022076','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','6000','241','新北市','三重區','241','新北市','三重區','5970','2024-05-25 11:07:20','2024-04-18') 2024-05-25 23:59:08 -- == sync_order end == 2024-05-25 23:59:08 -- == sync_order_detail start == 2024-05-25 23:59:08 -- start:2024-05-25,end:2024-05-25 2024-05-25 23:59:08 -- == sync omo_order_detail == 2024-05-25 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-25%' OR modify_date like '2024-05-25%' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050016081' and product_code = 'DG0103138-09' 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31133',`firm_id` = '11',`ordernumber` = 'M24050016081', `product_name` = '小王子禮盒彌月試吃【B3】',`product_code` = 'DG0103138-09',`product_sn` = 'DG0103138',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(藍)【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-24',`create_date` = '2024-05-20 10:19:30',`modify_date` = '2024-05-25 16:33:36',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050016081' and product_code = 'DG0103138-09', `lunar_date` = '2024-04-13' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050018312' and product_code = 'DG010243-01' 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31157',`firm_id` = '11',`ordernumber` = 'M24050018312', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-25',`create_date` = '2024-05-21 17:59:37',`modify_date` = '2024-05-25 14:01:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050018312' and product_code = 'DG010243-01', `lunar_date` = '2024-04-14' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050018312' and product_code = 'DG010248-01' 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31157',`firm_id` = '11',`ordernumber` = 'M24050018312', `product_name` = '香頌日光提盒彌月試吃【A2】',`product_code` = 'DG010248-01',`product_sn` = 'DG010248',`product_spec` = '原味',`invoice_name` = '提盒-彌月香頌日光-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-25',`create_date` = '2024-05-21 17:59:37',`modify_date` = '2024-05-25 14:01:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050018312' and product_code = 'DG010248-01', `lunar_date` = '2024-04-14' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050018312' and product_code = 'DG010244-02' 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31157',`firm_id` = '11',`ordernumber` = 'M24050018312', `product_name` = '小王子提盒彌月試吃【A3】',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-25',`create_date` = '2024-05-21 17:59:37',`modify_date` = '2024-05-25 14:01:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050018312' and product_code = 'DG010244-02', `lunar_date` = '2024-04-14' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050018312' and product_code = 'DG010264-02' 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31157',`firm_id` = '11',`ordernumber` = 'M24050018312', `product_name` = 'SNOOPY(黃)提盒-彌月試吃【A5】',`product_code` = 'DG010264-02',`product_sn` = 'DG010264',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-25',`create_date` = '2024-05-21 17:59:37',`modify_date` = '2024-05-25 14:01:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050018312' and product_code = 'DG010264-02', `lunar_date` = '2024-04-14' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050021965' and product_code = 'DG010213-01' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31196','8','B24050021965','8結彌月提盒-香頌日光','DG010213-01','DG010213','原味','提盒-彌月香頌日光-40入原味','300','300','0','1','0','0','1','0.0','53','15900','2024-06-07','2024-05-25 10:50:33','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31196',`firm_id` = '8',`ordernumber` = 'B24050021965', `product_name` = '8結彌月提盒-香頌日光',`product_code` = 'DG010213-01',`product_sn` = 'DG010213',`product_spec` = '原味',`invoice_name` = '提盒-彌月香頌日光-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '53',`total_price` = '15900',`etd` = '2024-06-07',`create_date` = '2024-05-25 10:50:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050021965' and product_code = 'DG010213-01', `lunar_date` = '2024-04-18' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050021965' and product_code = 'ZP0101119-01' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31196','8','B24050021965','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-06-07','2024-05-25 10:50:33','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31196',`firm_id` = '8',`ordernumber` = 'B24050021965', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-06-07',`create_date` = '2024-05-25 10:50:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050021965' and product_code = 'ZP0101119-01', `lunar_date` = '2024-04-18' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050022076' and product_code = 'DG010203-01' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31197','8','B24050022076','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','20','6000','2024-05-30','2024-05-25 11:07:20','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31197',`firm_id` = '8',`ordernumber` = 'B24050022076', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-05-30',`create_date` = '2024-05-25 11:07:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050022076' and product_code = 'DG010203-01', `lunar_date` = '2024-04-18' 2024-05-25 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050022076' and product_code = 'ZP010151-01' 2024-05-25 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31197','8','B24050022076','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-05-30','2024-05-25 11:07:20','2024-05-25 23:59:08',null,'1','2024-04-18') 2024-05-25 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31197',`firm_id` = '8',`ordernumber` = 'B24050022076', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-30',`create_date` = '2024-05-25 11:07:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050022076' and product_code = 'ZP010151-01', `lunar_date` = '2024-04-18' 2024-05-25 23:59:08 -- == sync_order_detail end == 2024-05-25 23:59:08 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-05-25' OR o.updated_at = '2024-05-25') and o.deleted_at is null 2024-05-25 23:59:08 -- == sync_order_detail start == 2024-05-25 23:59:08 -- start:2024-05-25,end:2024-05-25 2024-05-25 23:59:09 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-05-25 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-05-25 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-05-25%';