2024-05-18 23:59:02 -- == sync_order start == 2024-05-18 23:59:02 -- start:2024-05-18,end:2024-05-18 2024-05-18 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-18%' OR l.modify_date like '2024-05-18%'; 2024-05-18 23:59:04 -- == sync omo_order_list == 2024-05-18 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '2550', lunar_date = '2024-04-10', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24050068943' 2024-05-18 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '6210', lunar_date = '2024-04-10', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24050069732' 2024-05-18 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '173023', process_status = '1', pay_status = '1', totalprice_after = '625', lunar_date = '2024-04-10', invoice_status = '0',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24050070141' 2024-05-18 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 ('353855','390523',1,'','','O24050071223','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1000','709','台南市','安南區','709','台南市','安南區','1050','2024-05-18 00:01:53','2024-04-11') 2024-05-18 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 ('334041','370918',1,'','','O24050071398','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2300','330','桃園市','桃園區','330','桃園市','桃園區','2450','2024-05-18 00:05:13','2024-04-11') 2024-05-18 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 ('316703','353800',1,'','','O24050071435','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','408','台中市','南屯區','300','新竹市','東區','1590','2024-05-18 00:30:01','2024-04-11') 2024-05-18 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 ('353860','390528',1,'','','O24050071598','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2280','802','高雄市','苓雅區','802','高雄市','苓雅區','2400','2024-05-18 01:38:16','2024-04-11') 2024-05-18 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 ('221330','238320',1,'','','O24050071640','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1680','824','高雄市','燕巢區','824','高雄市','燕巢區','1830','2024-05-18 05:21:51','2024-04-11') 2024-05-18 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 ('211687','214986',1,'','','O24050071787','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2660','614','嘉義縣','東石鄉','614','嘉義縣','東石鄉','2810','2024-05-18 08:51:07','2024-04-11') 2024-05-18 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 ('353883','390551',1,'','','O24050071816','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','106','台北市','大安區','111','台北市','士林區','1110','2024-05-18 12:37:06','2024-04-11') 2024-05-18 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 ('353903','390570',1,'','','O24050071997','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2000','334','桃園市','八德區','202','基隆市','中正區','2120','2024-05-18 13:08:40','2024-04-11') 2024-05-18 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 ('353908','390575',1,'','','O24050072064','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3600','300','新竹市','東區','613','嘉義縣','朴子市','3720','2024-05-18 13:14:53','2024-04-11') 2024-05-18 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 ('353911','390578',1,'','','O24050072142','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1240','513','彰化縣','埔心鄉','513','彰化縣','埔心鄉','1360','2024-05-18 13:16:34','2024-04-11') 2024-05-18 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 ('353916','390583',1,'','','O24050072251','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2630','709','台南市','安南區','709','台南市','安南區','2750','2024-05-18 13:24:35','2024-04-11') 2024-05-18 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 ('343283','380056',1,'','','O24050072338','1','1','1','1','1','03724606','臺北醫學大學','0','0000-00-00','472','0','0','','0','0','10440','110','台北市','信義區','110','台北市','信義區','9968','2024-05-18 13:26:28','2024-04-11') 2024-05-18 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 ('353949','390616',1,'迪化當日宅配','44','S24050072450','1','6','12','1','1','03700301','臺灣土地銀行','0','2024-06-03','0','1320','0','','0','0','26400','100','台北市','中正區','100','台北市','中正區','25080','2024-05-18 15:18:51','2024-04-11') 2024-05-18 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 ('353951','390618',1,'','','O24050072510','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3015','334','桃園市','八德區','334','桃園市','八德區','3135','2024-05-18 15:27:29','2024-04-11') 2024-05-18 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 ('353869','390537',1,'','','O24050072690','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1200','243','新北市','泰山區','718','台南市','關廟區','1320','2024-05-18 16:47:05','2024-04-11') 2024-05-18 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 ('354002','390669',1,'','','O24050072793','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','324','桃園市','平鎮區','324','桃園市','平鎮區','1560','2024-05-18 17:34:14','2024-04-11') 2024-05-18 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 ('353998','390665',1,'','','O24050072896','1','1','1','1','1','48980524','台北市私立涵鈺新天地幼兒園','0','0000-00-00','0','0','0','','150','30','4130','100','台北市','中正區','100','台北市','中正區','4250','2024-05-18 17:52:33','2024-04-11') 2024-05-18 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 ('19722','17225',1,'','','O24050072927','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3780','','None','None','300','新竹市','香山區','3930','2024-05-18 18:22:28','2024-04-11') 2024-05-18 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 ('353845','390514',1,'','','O24050073088','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1920','326','桃園市','楊梅區','326','桃園市','楊梅區','2040','2024-05-18 18:38:56','2024-04-11') 2024-05-18 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 ('354034','390701',1,'','','O24050073135','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','236','新北市','土城區','236','新北市','土城區','1560','2024-05-18 18:52:22','2024-04-11') 2024-05-18 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 ('354046','390713',1,'','','O24050073294','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1680','655','雲林縣','元長鄉','655','雲林縣','元長鄉','1800','2024-05-18 19:17:21','2024-04-11') 2024-05-18 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 ('353388','390058',1,'','','O24050073395','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2490','503','彰化縣','花壇鄉','500','彰化縣','彰化市','2610','2024-05-18 19:19:41','2024-04-11') 2024-05-18 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 ('354055','390722',1,'','','O24050073467','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3493','600','嘉義市','西區','600','嘉義市','西區','3613','2024-05-18 20:17:45','2024-04-11') 2024-05-18 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 ('335463','372326',1,'','','O24050073568','1','1','1','1','1','16176481','承弘工業股份有限公司','0','0000-00-00','0','0','0','','150','0','2300','338','桃園市','蘆竹區','338','桃園市','蘆竹區','2450','2024-05-18 22:31:06','2024-04-11') 2024-05-18 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 ('183831','150260',1,'','','O24050073690','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2520','302','新竹縣','竹北市','302','新竹縣','竹北市','2670','2024-05-18 22:47:20','2024-04-11') 2024-05-18 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 ('354064','390731',1,'','','O24050073752','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1130','512','彰化縣','永靖鄉','512','彰化縣','永靖鄉','1280','2024-05-18 23:28:28','2024-04-11') 2024-05-18 23:59:04 -- == sync_order end == 2024-05-18 23:59:04 -- == sync_order_detail start == 2024-05-18 23:59:04 -- start:2024-05-18,end:2024-05-18 2024-05-18 23:59:04 -- == sync omo_order_detail == 2024-05-18 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-18%' OR modify_date like '2024-05-18%' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050068943' and product_code = 'DG010312-02' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232149',`firm_id` = '8',`ordernumber` = 'S24050068943', `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-18',`create_date` = '2024-05-17 15:35:01',`modify_date` = '2024-05-18 13:46:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050068943' and product_code = 'DG010312-02' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050068943' and product_code = 'DG010312-04' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232149',`firm_id` = '8',`ordernumber` = 'S24050068943', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-18',`create_date` = '2024-05-17 15:35:01',`modify_date` = '2024-05-18 13:46:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050068943' and product_code = 'DG010312-04' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050068943' and product_code = 'DG010312-07' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232149',`firm_id` = '8',`ordernumber` = 'S24050068943', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`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-18',`create_date` = '2024-05-17 15:35:01',`modify_date` = '2024-05-18 13:46:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050068943' and product_code = 'DG010312-07' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050068943' and product_code = 'DG010312-09' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232149',`firm_id` = '8',`ordernumber` = 'S24050068943', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`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-18',`create_date` = '2024-05-17 15:35:01',`modify_date` = '2024-05-18 13:46:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050068943' and product_code = 'DG010312-09' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050068943' and product_code = 'DG010312-14' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232149',`firm_id` = '8',`ordernumber` = 'S24050068943', `product_name` = '【海苔+巧克力】金8結禮盒',`product_code` = 'DG010312-14',`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-18',`create_date` = '2024-05-17 15:35:01',`modify_date` = '2024-05-18 13:46:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050068943' and product_code = 'DG010312-14' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050069732' and product_code = 'DG010312-02' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232157',`firm_id` = '8',`ordernumber` = 'S24050069732', `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` = '4',`total_price` = '1920',`etd` = '2024-05-18',`create_date` = '2024-05-17 16:24:02',`modify_date` = '2024-05-18 13:47:35',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050069732' and product_code = 'DG010312-02' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050069732' and product_code = 'DG010312-12' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232157',`firm_id` = '8',`ordernumber` = 'S24050069732', `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` = '4',`total_price` = '1920',`etd` = '2024-05-18',`create_date` = '2024-05-17 16:24:02',`modify_date` = '2024-05-18 13:47:35',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050069732' and product_code = 'DG010312-12' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050069732' and product_code = 'DG010312-04' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232157',`firm_id` = '8',`ordernumber` = 'S24050069732', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '4',`total_price` = '1920',`etd` = '2024-05-18',`create_date` = '2024-05-17 16:24:02',`modify_date` = '2024-05-18 13:47:35',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050069732' and product_code = 'DG010312-04' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050070141' and product_code = 'DG0103156-05' 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232161',`firm_id` = '8',`ordernumber` = 'S24050070141', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【雙蛋捲】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-06-01',`create_date` = '2024-05-17 16:35:22',`modify_date` = '2024-05-18 11:36:42',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-10'where ordernumber = 'S24050070141' and product_code = 'DG0103156-05' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071223' and product_code = 'DG0103155-02' 2024-05-18 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,'232172','8','O24050071223','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-22','2024-05-18 00:01:53','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232172',`firm_id` = '8',`ordernumber` = 'O24050071223', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-22',`create_date` = '2024-05-18 00:01:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071223' and product_code = 'DG0103155-02' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071398' and product_code = 'DG010101-02' 2024-05-18 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,'232173','8','O24050071398','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-06-03','2024-05-18 00:05:13','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232173',`firm_id` = '8',`ordernumber` = 'O24050071398', `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` = '6',`total_price` = '1680',`etd` = '2024-06-03',`create_date` = '2024-05-18 00:05:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071398' and product_code = 'DG010101-02' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071398' and product_code = 'DG010101-05' 2024-05-18 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,'232173','8','O24050071398','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-06-03','2024-05-18 00:05:13','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232173',`firm_id` = '8',`ordernumber` = 'O24050071398', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-06-03',`create_date` = '2024-05-18 00:05:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071398' and product_code = 'DG010101-05' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071398' and product_code = 'DG010404-01' 2024-05-18 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,'232173','8','O24050071398','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','6','60','2024-06-03','2024-05-18 00:05:13','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232173',`firm_id` = '8',`ordernumber` = 'O24050071398', `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` = '6',`total_price` = '60',`etd` = '2024-06-03',`create_date` = '2024-05-18 00:05:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071398' and product_code = 'DG010404-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071435' and product_code = 'DG010312-02' 2024-05-18 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,'232174','8','O24050071435','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-05-20','2024-05-18 00:30:01','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232174',`firm_id` = '8',`ordernumber` = 'O24050071435', `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` = '3',`total_price` = '1440',`etd` = '2024-05-20',`create_date` = '2024-05-18 00:30:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071435' and product_code = 'DG010312-02' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071598' and product_code = 'DG0103155-05' 2024-05-18 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,'232175','8','O24050071598','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','4','2000','2024-05-20','2024-05-18 01:38:16','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232175',`firm_id` = '8',`ordernumber` = 'O24050071598', `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` = '4',`total_price` = '2000',`etd` = '2024-05-20',`create_date` = '2024-05-18 01:38:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071598' and product_code = 'DG0103155-05' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071598' and product_code = 'DG010101-01' 2024-05-18 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,'232175','8','O24050071598','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-20','2024-05-18 01:38:16','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232175',`firm_id` = '8',`ordernumber` = 'O24050071598', `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-20',`create_date` = '2024-05-18 01:38:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071598' and product_code = 'DG010101-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071640' and product_code = 'DG010101-01' 2024-05-18 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,'232176','8','O24050071640','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-05-20','2024-05-18 05:21:51','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232176',`firm_id` = '8',`ordernumber` = 'O24050071640', `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` = '6',`total_price` = '1680',`etd` = '2024-05-20',`create_date` = '2024-05-18 05:21:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071640' and product_code = 'DG010101-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071787' and product_code = 'GJ010502-01' 2024-05-18 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,'232177','8','O24050071787','心釀梅醋禮盒','GJ010502-01','GJ010502','紫蘇梅醋+紫蘇梅醋','禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】','750','750','0','0','0','0','1','0.0','2','1500','2024-05-28','2024-05-18 08:51:07','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232177',`firm_id` = '8',`ordernumber` = 'O24050071787', `product_name` = '心釀梅醋禮盒',`product_code` = 'GJ010502-01',`product_sn` = 'GJ010502',`product_spec` = '紫蘇梅醋+紫蘇梅醋',`invoice_name` = '禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1500',`etd` = '2024-05-28',`create_date` = '2024-05-18 08:51:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071787' and product_code = 'GJ010502-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071787' and product_code = '13657' 2024-05-18 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,'232177','8','O24050071787','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','4','1160','2024-05-28','2024-05-18 08:51:07','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232177',`firm_id` = '8',`ordernumber` = 'O24050071787', `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` = '4',`total_price` = '1160',`etd` = '2024-05-28',`create_date` = '2024-05-18 08:51:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071787' and product_code = '13657' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071816' and product_code = 'DG010523-08' 2024-05-18 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,'232178','8','O24050071816','SNOOPY帶走心意-蛋捲三入組','DG010523-08','DG010523','原味+芝麻+海苔','組合-32入(原味+芝麻+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-20','2024-05-18 12:37:06','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232178',`firm_id` = '8',`ordernumber` = 'O24050071816', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-08',`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-20',`create_date` = '2024-05-18 12:37:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071816' and product_code = 'DG010523-08' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050071997' and product_code = 'DG0103155-14' 2024-05-18 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,'232179','8','O24050071997','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-14','DG0103155','海苔蛋捲,巧克力蛋捲','禮盒-SNOOPY【海苔+巧克力】','500','500','0','0','0','0','1','0.0','4','2000','2024-05-27','2024-05-18 13:08:40','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232179',`firm_id` = '8',`ordernumber` = 'O24050071997', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-14',`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` = '4',`total_price` = '2000',`etd` = '2024-05-27',`create_date` = '2024-05-18 13:08:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050071997' and product_code = 'DG0103155-14' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072064' and product_code = 'DG010597-01' 2024-05-18 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,'232180','8','O24050072064','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','3','3600','2024-05-20','2024-05-18 13:14:53','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232180',`firm_id` = '8',`ordernumber` = 'O24050072064', `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` = '3',`total_price` = '3600',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:14:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072064' and product_code = 'DG010597-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072142' and product_code = 'DG010597-01' 2024-05-18 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,'232181','8','O24050072142','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-21','2024-05-18 13:16:34','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232181',`firm_id` = '8',`ordernumber` = 'O24050072142', `product_name` = '8結蛋捲五口味大方享用組(贈鳳梨酥)',`product_code` = 'DG010597-01',`product_sn` = 'DG010597',`product_spec` = '一組',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-05-21',`create_date` = '2024-05-18 13:16:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072142' and product_code = 'DG010597-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072142' and product_code = 'DG010404-01' 2024-05-18 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,'232181','8','O24050072142','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','4','40','2024-05-21','2024-05-18 13:16:34','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232181',`firm_id` = '8',`ordernumber` = 'O24050072142', `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` = '4',`total_price` = '40',`etd` = '2024-05-21',`create_date` = '2024-05-18 13:16:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072142' and product_code = 'DG010404-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072251' and product_code = 'DG010101-01' 2024-05-18 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,'232182','8','O24050072251','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-20','2024-05-18 13:24:35','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232182',`firm_id` = '8',`ordernumber` = 'O24050072251', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:24:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072251' and product_code = 'DG010101-01' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072251' and product_code = 'DG010101-03' 2024-05-18 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,'232182','8','O24050072251','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-20','2024-05-18 13:24:35','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232182',`firm_id` = '8',`ordernumber` = 'O24050072251', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:24:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072251' and product_code = 'DG010101-03' 2024-05-18 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072251' and product_code = 'DG0103148-07' 2024-05-18 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,'232182','8','O24050072251','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-05-20','2024-05-18 13:24:35','2024-05-18 23:59:06',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232182',`firm_id` = '8',`ordernumber` = 'O24050072251', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-07',`product_sn` = 'DG0103148',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-金典(紅)【芝麻+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:24:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072251' and product_code = 'DG0103148-07' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072251' and product_code = 'DG010101-05' 2024-05-18 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,'232182','8','O24050072251','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-20','2024-05-18 13:24:35','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232182',`firm_id` = '8',`ordernumber` = 'O24050072251', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:24:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072251' and product_code = 'DG010101-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072251' and product_code = 'LS010108-02' 2024-05-18 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,'232182','8','O24050072251','[加購]加購-羅勒乳酪絲','LS010108-02','LS010108','-','加購-(藍袋)乳酪絲【羅勒】','190','190','1','1','190','0','0','0.0','1','190','2024-05-20','2024-05-18 13:24:35','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232182',`firm_id` = '8',`ordernumber` = 'O24050072251', `product_name` = '[加購]加購-羅勒乳酪絲',`product_code` = 'LS010108-02',`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-20',`create_date` = '2024-05-18 13:24:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072251' and product_code = 'LS010108-02' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010394-05' 2024-05-18 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,'232183','8','O24050072338','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-05','DG010394','原味蛋捲,巧克力蛋捲','禮盒-故宮(文物款)【原味+巧克力】','500','500','0','0','0','0','1','0.0','5','2500','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-05',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2500',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010394-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010383-07' 2024-05-18 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,'232183','8','O24050072338','【小王子聯名】星光飛行8結禮盒','DG010383-07','DG010383','芝麻+咖啡','禮盒-小王子(紅)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-07',`product_sn` = 'DG010383',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-小王子(紅)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010383-07' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG0103148-09' 2024-05-18 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,'232183','8','O24050072338','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-09',`product_sn` = 'DG0103148',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-金典(紅)【芝麻+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG0103148-09' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG0103155-09' 2024-05-18 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,'232183','8','O24050072338','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-09','DG0103155','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`product_sn` = 'DG0103155',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG0103155-09' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010327-07' 2024-05-18 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,'232183','8','O24050072338','【小王子聯名】仰望星空8結禮盒 ','DG010327-07','DG010327','芝麻,咖啡','禮盒-小王子(藍)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-07',`product_sn` = 'DG010327',`product_spec` = '芝麻,咖啡',`invoice_name` = '禮盒-小王子(藍)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010327-07' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010225-02' 2024-05-18 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,'232183','8','O24050072338','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-02','DG010225','40入芝麻蛋捲','提盒-故宮(人物款)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-02',`product_sn` = 'DG010225',`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` = '2',`total_price` = '600',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010225-02' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010225-01' 2024-05-18 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,'232183','8','O24050072338','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-01','DG010225','40入原味蛋捲','提盒-故宮(人物款)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`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` = '2',`total_price` = '600',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010225-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010225-03' 2024-05-18 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,'232183','8','O24050072338','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-03','DG010225','40入咖啡蛋捲','提盒-故宮(人物款)-40入咖啡','300','300','0','0','0','0','1','0.0','2','600','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-03',`product_sn` = 'DG010225',`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` = '2',`total_price` = '600',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010225-03' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010225-05' 2024-05-18 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,'232183','8','O24050072338','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-05','DG010225','40入巧克力蛋捲','提盒-故宮(人物款)-40入巧克力','300','300','0','0','0','0','1','0.0','2','600','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-05',`product_sn` = 'DG010225',`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` = '2',`total_price` = '600',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010225-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010523-12' 2024-05-18 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,'232183','8','O24050072338','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+咖啡',`invoice_name` = '組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010523-12' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072338' and product_code = 'DG010258-03' 2024-05-18 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,'232183','8','O24050072338','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','2','590','2024-05-20','2024-05-18 13:26:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232183',`firm_id` = '8',`ordernumber` = 'O24050072338', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-05-20',`create_date` = '2024-05-18 13:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072338' and product_code = 'DG010258-03' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050072450' and product_code = 'DG0103150-02' 2024-05-18 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,'232184','8','S24050072450','金豐收8結禮盒 ','DG0103150-02','DG0103150','原味+芝麻','禮盒-金豐收(藍)【原味+芝麻】','480','480','0','0','0','0','1','0.0','55','26400','2024-06-03','2024-05-18 15:18:51','2024-05-18 23:59:07',0,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232184',`firm_id` = '8',`ordernumber` = 'S24050072450', `product_name` = '金豐收8結禮盒 ',`product_code` = 'DG0103150-02',`product_sn` = 'DG0103150',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金豐收(藍)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '55',`total_price` = '26400',`etd` = '2024-06-03',`create_date` = '2024-05-18 15:18:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'S24050072450' and product_code = 'DG0103150-02' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072510' and product_code = 'DG010347-01' 2024-05-18 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,'232185','8','O24050072510','六月初一&成真咖啡禮盒','DG010347-01','DG010347','原味蛋捲+6入咖啡','禮盒-ESG藍金【原味+成真咖啡】','495','495','0','0','0','0','1','0.0','3','1485','2024-05-20','2024-05-18 15:27:29','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232185',`firm_id` = '8',`ordernumber` = 'O24050072510', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-01',`product_sn` = 'DG010347',`product_spec` = '原味蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【原味+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1485',`etd` = '2024-05-20',`create_date` = '2024-05-18 15:27:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072510' and product_code = 'DG010347-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072510' and product_code = 'DG010312-02' 2024-05-18 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,'232185','8','O24050072510','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-05-20','2024-05-18 15:27:29','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232185',`firm_id` = '8',`ordernumber` = 'O24050072510', `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-20',`create_date` = '2024-05-18 15:27:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072510' and product_code = 'DG010312-02' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072510' and product_code = 'DG010527-01' 2024-05-18 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,'232185','8','O24050072510','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-20','2024-05-18 15:27:29','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232185',`firm_id` = '8',`ordernumber` = 'O24050072510', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-20',`create_date` = '2024-05-18 15:27:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072510' and product_code = 'DG010527-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072510' and product_code = 'DG010101-01' 2024-05-18 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,'232185','8','O24050072510','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-20','2024-05-18 15:27:29','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232185',`firm_id` = '8',`ordernumber` = 'O24050072510', `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-20',`create_date` = '2024-05-18 15:27:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072510' and product_code = 'DG010101-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072690' and product_code = 'DG010597-01' 2024-05-18 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,'232186','8','O24050072690','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','1','1200','2024-05-20','2024-05-18 16:47:05','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232186',`firm_id` = '8',`ordernumber` = 'O24050072690', `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-20',`create_date` = '2024-05-18 16:47:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072690' and product_code = 'DG010597-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072793' and product_code = 'DG010312-05' 2024-05-18 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,'232187','8','O24050072793','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-05-23','2024-05-18 17:34:14','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232187',`firm_id` = '8',`ordernumber` = 'O24050072793', `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` = '3',`total_price` = '1440',`etd` = '2024-05-23',`create_date` = '2024-05-18 17:34:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072793' and product_code = 'DG010312-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072896' and product_code = 'DG010206-01' 2024-05-18 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,'232188','8','O24050072896','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','7','2065','2024-05-20','2024-05-18 17:52:33','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232188',`firm_id` = '8',`ordernumber` = 'O24050072896', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '2065',`etd` = '2024-05-20',`create_date` = '2024-05-18 17:52:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072896' and product_code = 'DG010206-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072896' and product_code = 'DG0103161-04' 2024-05-18 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,'232188','8','O24050072896','友你相伴8結肉酥酥禮盒','DG0103161-04','DG0103161','芝麻蛋捲,原味肉酥酥','禮盒-SNOOPY【芝麻+原味肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-05-20','2024-05-18 17:52:33','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232188',`firm_id` = '8',`ordernumber` = 'O24050072896', `product_name` = '友你相伴8結肉酥酥禮盒',`product_code` = 'DG0103161-04',`product_sn` = 'DG0103161',`product_spec` = '芝麻蛋捲,原味肉酥酥',`invoice_name` = '禮盒-SNOOPY【芝麻+原味肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-05-20',`create_date` = '2024-05-18 17:52:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072896' and product_code = 'DG0103161-04' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072896' and product_code = 'FL010104-01' 2024-05-18 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,'232188','8','O24050072896','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','6','930','2024-05-20','2024-05-18 17:52:33','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232188',`firm_id` = '8',`ordernumber` = 'O24050072896', `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` = '6',`total_price` = '930',`etd` = '2024-05-20',`create_date` = '2024-05-18 17:52:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072896' and product_code = 'FL010104-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072896' and product_code = 'LS010108-03' 2024-05-18 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,'232188','8','O24050072896','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','190','190','1','1','190','0','0','0.0','1','190','2024-05-20','2024-05-18 17:52:33','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232188',`firm_id` = '8',`ordernumber` = 'O24050072896', `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-20',`create_date` = '2024-05-18 17:52:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072896' and product_code = 'LS010108-03' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072896' and product_code = 'FL010103-01' 2024-05-18 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,'232188','8','O24050072896','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','2','370','2024-05-20','2024-05-18 17:52:33','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232188',`firm_id` = '8',`ordernumber` = 'O24050072896', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '370',`etd` = '2024-05-20',`create_date` = '2024-05-18 17:52:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072896' and product_code = 'FL010103-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072927' and product_code = 'LS010135-01' 2024-05-18 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,'232189','8','O24050072927','無籽梅肉','LS010135-01','LS010135','無籽梅肉','(盒)無籽梅肉','255','255','0','0','0','0','1','0.0','6','1530','2024-05-24','2024-05-18 18:22:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232189',`firm_id` = '8',`ordernumber` = 'O24050072927', `product_name` = '無籽梅肉',`product_code` = 'LS010135-01',`product_sn` = 'LS010135',`product_spec` = '無籽梅肉',`invoice_name` = '(盒)無籽梅肉',`listprice` = '255',`sellingprice` = '255',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1530',`etd` = '2024-05-24',`create_date` = '2024-05-18 18:22:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072927' and product_code = 'LS010135-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050072927' and product_code = 'GJ010502-01' 2024-05-18 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,'232189','8','O24050072927','心釀梅醋禮盒','GJ010502-01','GJ010502','紫蘇梅醋+紫蘇梅醋','禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】','750','750','0','0','0','0','1','0.0','3','2250','2024-05-24','2024-05-18 18:22:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232189',`firm_id` = '8',`ordernumber` = 'O24050072927', `product_name` = '心釀梅醋禮盒',`product_code` = 'GJ010502-01',`product_sn` = 'GJ010502',`product_spec` = '紫蘇梅醋+紫蘇梅醋',`invoice_name` = '禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '2250',`etd` = '2024-05-24',`create_date` = '2024-05-18 18:22:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050072927' and product_code = 'GJ010502-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073088' and product_code = 'DG010312-05' 2024-05-18 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,'232190','8','O24050073088','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','4','1920','2024-05-20','2024-05-18 18:38:56','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232190',`firm_id` = '8',`ordernumber` = 'O24050073088', `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` = '4',`total_price` = '1920',`etd` = '2024-05-20',`create_date` = '2024-05-18 18:38:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073088' and product_code = 'DG010312-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073135' and product_code = 'DG010312-05' 2024-05-18 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,'232191','8','O24050073135','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-05-20','2024-05-18 18:52:22','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232191',`firm_id` = '8',`ordernumber` = 'O24050073135', `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` = '3',`total_price` = '1440',`etd` = '2024-05-20',`create_date` = '2024-05-18 18:52:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073135' and product_code = 'DG010312-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073294' and product_code = 'DG010101-01' 2024-05-18 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,'232192','8','O24050073294','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-20','2024-05-18 19:17:21','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232192',`firm_id` = '8',`ordernumber` = 'O24050073294', `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-20',`create_date` = '2024-05-18 19:17:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073294' and product_code = 'DG010101-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073294' and product_code = 'DG010101-05' 2024-05-18 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,'232192','8','O24050073294','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-20','2024-05-18 19:17:21','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232192',`firm_id` = '8',`ordernumber` = 'O24050073294', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-05-20',`create_date` = '2024-05-18 19:17:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073294' and product_code = 'DG010101-05' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073294' and product_code = 'DG010101-03' 2024-05-18 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,'232192','8','O24050073294','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-20','2024-05-18 19:17:21','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232192',`firm_id` = '8',`ordernumber` = 'O24050073294', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-20',`create_date` = '2024-05-18 19:17:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073294' and product_code = 'DG010101-03' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073294' and product_code = 'DG010101-04' 2024-05-18 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,'232192','8','O24050073294','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-20','2024-05-18 19:17:21','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232192',`firm_id` = '8',`ordernumber` = 'O24050073294', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-20',`create_date` = '2024-05-18 19:17:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073294' and product_code = 'DG010101-04' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073395' and product_code = 'DG010597-01' 2024-05-18 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,'232193','8','O24050073395','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','2','2400','2024-05-20','2024-05-18 19:19:41','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232193',`firm_id` = '8',`ordernumber` = 'O24050073395', `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-20',`create_date` = '2024-05-18 19:19:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073395' and product_code = 'DG010597-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073395' and product_code = 'DG010404-01' 2024-05-18 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,'232193','8','O24050073395','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','9','90','2024-05-20','2024-05-18 19:19:41','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232193',`firm_id` = '8',`ordernumber` = 'O24050073395', `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` = '9',`total_price` = '90',`etd` = '2024-05-20',`create_date` = '2024-05-18 19:19:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073395' and product_code = 'DG010404-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073467' and product_code = 'DG0103154-01' 2024-05-18 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,'232194','8','O24050073467','金8結乳酪絲禮盒','DG0103154-01','DG0103154','原味蛋捲,原味乳酪絲','禮盒-金8結【原味+乳酪絲(原味)】','655','655','0','0','0','0','1','0.0','1','655','2024-05-20','2024-05-18 20:17:45','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232194',`firm_id` = '8',`ordernumber` = 'O24050073467', `product_name` = '金8結乳酪絲禮盒',`product_code` = 'DG0103154-01',`product_sn` = 'DG0103154',`product_spec` = '原味蛋捲,原味乳酪絲',`invoice_name` = '禮盒-金8結【原味+乳酪絲(原味)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '655',`etd` = '2024-05-20',`create_date` = '2024-05-18 20:17:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073467' and product_code = 'DG0103154-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073467' and product_code = 'DG010527-01' 2024-05-18 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,'232194','8','O24050073467','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-20','2024-05-18 20:17:45','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232194',`firm_id` = '8',`ordernumber` = 'O24050073467', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-20',`create_date` = '2024-05-18 20:17:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073467' and product_code = 'DG010527-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073467' and product_code = 'BP010159-01' 2024-05-18 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,'232194','8','O24050073467','[加購]加購-SNOOPY提把水瓶','BP010159-01','BP010159','-','加購-SNOOPY提把水瓶','360','360','1','1','360','0','0','0.0','1','360','2024-05-20','2024-05-18 20:17:45','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232194',`firm_id` = '8',`ordernumber` = 'O24050073467', `product_name` = '[加購]加購-SNOOPY提把水瓶',`product_code` = 'BP010159-01',`product_sn` = 'BP010159',`product_spec` = '-',`invoice_name` = '加購-SNOOPY提把水瓶',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-05-20',`create_date` = '2024-05-18 20:17:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073467' and product_code = 'BP010159-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073467' and product_code = '13027' 2024-05-18 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,'232194','8','O24050073467','[加購]加購-小王子行李箱','13027','13027','-','加購-小王子行李箱','2188','2188','1','1','2188','0','0','0.0','1','2188','2024-05-20','2024-05-18 20:17:45','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232194',`firm_id` = '8',`ordernumber` = 'O24050073467', `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-20',`create_date` = '2024-05-18 20:17:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073467' and product_code = '13027' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073568' and product_code = 'DG010226-01' 2024-05-18 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,'232195','8','O24050073568','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-01','DG010226','40入原味蛋捲','提盒-故宮(文物款)-40入原味','300','300','0','0','0','0','1','0.0','4','1200','2024-05-20','2024-05-18 22:31:06','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232195',`firm_id` = '8',`ordernumber` = 'O24050073568', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-01',`product_sn` = 'DG010226',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2024-05-20',`create_date` = '2024-05-18 22:31:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073568' and product_code = 'DG010226-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073568' and product_code = 'DG0103174-01' 2024-05-18 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,'232195','8','O24050073568','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-01','DG0103174','原味','禮盒-故宮(文物大盒款)【原味+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','1','1100','2024-05-20','2024-05-18 22:31:06','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232195',`firm_id` = '8',`ordernumber` = 'O24050073568', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-01',`product_sn` = 'DG0103174',`product_spec` = '原味',`invoice_name` = '禮盒-故宮(文物大盒款)【原味+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1100',`etd` = '2024-05-20',`create_date` = '2024-05-18 22:31:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073568' and product_code = 'DG0103174-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073690' and product_code = 'DG010597-01' 2024-05-18 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,'232196','8','O24050073690','8結蛋捲五口味大方享用組(贈鳳梨酥)','DG010597-01','DG010597','一組','組合-32入(原味+芝麻+咖啡+海苔+巧克力)+鳳梨酥','1200','1200','0','0','0','1','1','0.0','2','2400','2024-05-28','2024-05-18 22:47:20','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232196',`firm_id` = '8',`ordernumber` = 'O24050073690', `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-18 22:47:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073690' and product_code = 'DG010597-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073690' and product_code = 'DG010404-01' 2024-05-18 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,'232196','8','O24050073690','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','12','120','2024-05-28','2024-05-18 22:47:20','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232196',`firm_id` = '8',`ordernumber` = 'O24050073690', `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` = '12',`total_price` = '120',`etd` = '2024-05-28',`create_date` = '2024-05-18 22:47:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073690' and product_code = 'DG010404-01' 2024-05-18 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050073752' and product_code = 'DG010314-01' 2024-05-18 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,'232197','8','O24050073752','金8結隨行醇蜜禮盒','DG010314-01','DG010314','原味蛋捲+隨行瓶','禮盒-金8結【原味+隨行醇蜜】','565','565','0','0','0','0','1','565.0','2','1130','2024-06-05','2024-05-18 23:28:28','2024-05-18 23:59:07',null,'1','2024-04-11') 2024-05-18 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '232197',`firm_id` = '8',`ordernumber` = 'O24050073752', `product_name` = '金8結隨行醇蜜禮盒',`product_code` = 'DG010314-01',`product_sn` = 'DG010314',`product_spec` = '原味蛋捲+隨行瓶',`invoice_name` = '禮盒-金8結【原味+隨行醇蜜】',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '565.0',`amount` = '2',`total_price` = '1130',`etd` = '2024-06-05',`create_date` = '2024-05-18 23:28:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-11'where ordernumber = 'O24050073752' and product_code = 'DG010314-01' 2024-05-18 23:59:07 -- == sync_order_detail end == 2024-05-18 23:59:07 -- == sync_order start == 2024-05-18 23:59:07 -- start:2024-05-18,end:2024-05-18 2024-05-18 23:59:07 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-05-18%' OR l.modify_date like '2024-05-18%'; 2024-05-18 23:59:08 -- == sync omo_order_list == 2024-05-18 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-07', invoice_status = '1', category_name = ',FB訂單,彌月試吃', category_id = ',10,2' where ordernumber = 'M24050011487' 2024-05-18 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 ('107030','383560',2,'','','B24050014998','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','7800','702','台南市','南區','702','台南市','南區','7800','2024-05-18 09:20:19','2024-04-11') 2024-05-18 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 ('114119','390535',2,'','','B24050015030','1','11','1','1','1','85518738','高雄市私立旗山心心幼兒園','0','0000-00-00','630','0','0','','0','30','12600','842','高雄市','旗山區','842','高雄市','旗山區','11940','2024-05-18 11:07:03','2024-04-11') 2024-05-18 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 ('114190','390605',2,'正式彌,美村門市訂單','1,21','M24050015118','1','6','1','1','1','','','1','2024-05-20','0','0','0','','0','0','6300','557','南投縣','竹山鎮','557','南投縣','竹山鎮','6300','2024-05-18 14:54:01','2024-04-11') 2024-05-18 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 ('114278','390692',2,'','','B24050015235','1','11','1','1','1','','','0','0000-00-00','1380','0','0','','0','30','27600','334','桃園市','八德區','334','桃園市','八德區','26190','2024-05-18 18:56:55','2024-04-11') 2024-05-18 23:59:08 -- == sync_order end == 2024-05-18 23:59:08 -- == sync_order_detail start == 2024-05-18 23:59:08 -- start:2024-05-18,end:2024-05-18 2024-05-18 23:59:08 -- == sync omo_order_detail == 2024-05-18 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-18%' OR modify_date like '2024-05-18%' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050011487' and product_code = 'DG010264-05' 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31085',`firm_id` = '11',`ordernumber` = 'M24050011487', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-05',`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-18',`create_date` = '2024-05-14 16:09:51',`modify_date` = '2024-05-18 19:00:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050011487' and product_code = 'DG010264-05', `lunar_date` = '2024-04-07' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050011487' and product_code = 'DG010253-01' 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31085',`firm_id` = '11',`ordernumber` = 'M24050011487', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`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-18',`create_date` = '2024-05-14 16:09:51',`modify_date` = '2024-05-18 19:00:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050011487' and product_code = 'DG010253-01', `lunar_date` = '2024-04-07' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050011487' and product_code = 'DG010248-03' 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31085',`firm_id` = '11',`ordernumber` = 'M24050011487', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-03',`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-18',`create_date` = '2024-05-14 16:09:51',`modify_date` = '2024-05-18 19:00:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050011487' and product_code = 'DG010248-03', `lunar_date` = '2024-04-07' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050011487' and product_code = 'DG010244-02' 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31085',`firm_id` = '11',`ordernumber` = 'M24050011487', `product_name` = '小王子彌月試吃提盒',`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-18',`create_date` = '2024-05-14 16:09:51',`modify_date` = '2024-05-18 19:00:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050011487' and product_code = 'DG010244-02', `lunar_date` = '2024-04-07' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050014998' and product_code = 'DG010222-01' 2024-05-18 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,'31122','8','B24050014998','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','1','0','0','1','0.0','13','3900','2024-05-31','2024-05-18 09:20:19','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31122',`firm_id` = '8',`ordernumber` = 'B24050014998', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`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` = '13',`total_price` = '3900',`etd` = '2024-05-31',`create_date` = '2024-05-18 09:20:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050014998' and product_code = 'DG010222-01', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050014998' and product_code = 'DG010263-02' 2024-05-18 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,'31122','8','B24050014998','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','13','3900','2024-05-31','2024-05-18 09:20:19','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31122',`firm_id` = '8',`ordernumber` = 'B24050014998', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3900',`etd` = '2024-05-31',`create_date` = '2024-05-18 09:20:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050014998' and product_code = 'DG010263-02', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050014998' and product_code = 'ZP010151-01' 2024-05-18 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,'31122','8','B24050014998','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-05-31','2024-05-18 09:20:19','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31122',`firm_id` = '8',`ordernumber` = 'B24050014998', `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-31',`create_date` = '2024-05-18 09:20:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050014998' and product_code = 'ZP010151-01', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015030' and product_code = 'DG010203-01' 2024-05-18 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,'31123','8','B24050015030','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','40','12000','2024-05-31','2024-05-18 11:07:03','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31123',`firm_id` = '8',`ordernumber` = 'B24050015030', `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` = '40',`total_price` = '12000',`etd` = '2024-05-31',`create_date` = '2024-05-18 11:07:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015030' and product_code = 'DG010203-01', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015030' and product_code = 'DG010203-02' 2024-05-18 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,'31123','8','B24050015030','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','1','0','0','1','0.0','1','300','2024-05-31','2024-05-18 11:07:03','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31123',`firm_id` = '8',`ordernumber` = 'B24050015030', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`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` = '1',`total_price` = '300',`etd` = '2024-05-31',`create_date` = '2024-05-18 11:07:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015030' and product_code = 'DG010203-02', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015030' and product_code = 'DG010203-05' 2024-05-18 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,'31123','8','B24050015030','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','1','300','2024-05-31','2024-05-18 11:07:03','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31123',`firm_id` = '8',`ordernumber` = 'B24050015030', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`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` = '1',`total_price` = '300',`etd` = '2024-05-31',`create_date` = '2024-05-18 11:07:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015030' and product_code = 'DG010203-05', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015030' and product_code = 'ZP0101119-01' 2024-05-18 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,'31123','8','B24050015030','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-05-31','2024-05-18 11:07:03','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31123',`firm_id` = '8',`ordernumber` = 'B24050015030', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-31',`create_date` = '2024-05-18 11:07:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015030' and product_code = 'ZP0101119-01', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050015118' and product_code = 'DG010264-02' 2024-05-18 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,'31124','11','M24050015118','SNOOPY(黃)提盒-彌月試吃【A5】','DG010264-02','DG010264','芝麻','提盒-彌月SNOOPY-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','21','6300','2024-05-20','2024-05-18 14:54:01','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31124',`firm_id` = '11',`ordernumber` = 'M24050015118', `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` = '21',`total_price` = '6300',`etd` = '2024-05-20',`create_date` = '2024-05-18 14:54:01',`modify_date` = '2024-05-18 14:54:57',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050015118' and product_code = 'DG010264-02', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015235' and product_code = 'DG010263-05' 2024-05-18 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,'31125','8','B24050015235','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-05','DG010263','巧克力','提盒-彌月SNOOPY-40入巧克力','300','300','0','1','0','0','1','0.0','22','6600','2024-05-23','2024-05-18 18:56:55','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31125',`firm_id` = '8',`ordernumber` = 'B24050015235', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '22',`total_price` = '6600',`etd` = '2024-05-23',`create_date` = '2024-05-18 18:56:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015235' and product_code = 'DG010263-05', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015235' and product_code = 'DG010263-02' 2024-05-18 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,'31125','8','B24050015235','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','70','21000','2024-05-23','2024-05-18 18:56:55','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31125',`firm_id` = '8',`ordernumber` = 'B24050015235', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '70',`total_price` = '21000',`etd` = '2024-05-23',`create_date` = '2024-05-18 18:56:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015235' and product_code = 'DG010263-02', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050015235' and product_code = 'ZP0101106-01' 2024-05-18 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,'31125','8','B24050015235','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-05-23','2024-05-18 18:56:55','2024-05-18 23:59:08',null,'1','2024-04-11') 2024-05-18 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31125',`firm_id` = '8',`ordernumber` = 'B24050015235', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-23',`create_date` = '2024-05-18 18:56:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050015235' and product_code = 'ZP0101106-01', `lunar_date` = '2024-04-11' 2024-05-18 23:59:08 -- == sync_order_detail end == 2024-05-18 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-18' OR o.updated_at = '2024-05-18') and o.deleted_at is null 2024-05-18 23:59:08 -- == sync_order_detail start == 2024-05-18 23:59:08 -- start:2024-05-18,end:2024-05-18 2024-05-18 23:59:09 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-05-18 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-05-18 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-18%';