2024-11-23 23:59:02 -- == sync_order start == 2024-11-23 23:59:02 -- start:2024-11-23,end:2024-11-23 2024-11-23 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-11-23%' OR l.modify_date like '2024-11-23%'; 2024-11-23 23:59:03 -- == sync omo_order_list == 2024-11-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427553', process_status = '3', pay_status = '1', totalprice_after = '19122', lunar_date = '2024-10-16', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24110048553' 2024-11-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '237805', process_status = '3', pay_status = '1', totalprice_after = '3150', lunar_date = '2024-10-22', invoice_status = '0',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24110076483' 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395149','431384',1,'','','O24110078350','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1485','320','桃園市','中壢區','831','高雄市','大寮區','1605','2024-11-23 07:55:26','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395150','431385',1,'','','O24110078491','1','1','1','1','1','','','0','0000-00-00','450','0','0','','0','30','9000','831','高雄市','大寮區','831','高雄市','大寮區','8520','2024-11-23 08:48:54','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('189638','155892',1,'','','O24110078592','1','1','1','1','1','36156580','信興鑿井工程有限公司','0','0000-00-00','576','0','0','','0','0','11520','241','新北市','三重區','241','新北市','三重區','10944','2024-11-23 10:00:19','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('275174','215064',1,'','','O24110078640','1','1','1','1','1','24443722','亞邑室內裝修工程有限公司','0','0000-00-00','0','0','0','','150','150','3200','100','台北市','中正區','100','台北市','中正區','3200','2024-11-23 11:10:01','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395158','431393',1,'永康門市訂單','31','S24110078761','1','1','1','1','1','','','0','2024-11-25','0','0','0','','150','0','2800','702','台南市','南區','702','台南市','南區','2950','2024-11-23 11:22:57','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('20809','18199',1,'','','O24110078881','1','11','1','1','1','02447301','亞控企業社','0','0000-00-00','0','0','0','','0','0','7200','238','新北市','樹林區','238','新北市','樹林區','7200','2024-11-23 13:24:38','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('387056','423366',1,'','','O24110078986','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1460','320','桃園市','中壢區','320','桃園市','中壢區','1610','2024-11-23 13:33:18','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395184','431419',1,'','','O24110079095','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','4425','320','桃園市','中壢區','320','桃園市','中壢區','4545','2024-11-23 13:35:00','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395202','431437',1,'','','O24110079110','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','910','104','台北市','中山區','104','台北市','中山區','1030','2024-11-23 14:55:09','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('342958','379733',1,'','','O24110079295','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','960','946','屏東縣','恆春鎮','946','屏東縣','恆春鎮','1110','2024-11-23 17:15:28','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('342958','379733',1,'','','O24110079311','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1920','946','屏東縣','恆春鎮','946','屏東縣','恆春鎮','2070','2024-11-23 17:17:35','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395251','262484',1,'','','O24110079455','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6720','402','台中市','南區','608','嘉義縣','水上鄉','6720','2024-11-23 17:33:28','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395048','431285',1,'','','O24110079580','1','2','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5880','406','台中市','北屯區','427','台中市','潭子區','5850','2024-11-23 17:47:46','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('393756','430002',1,'永康門市訂單','31','S24110079697','1','1','1','0','0','','','0','2024-11-25','0','580','0','','0','0','11600','111','台北市','士林區','111','台北市','士林區','11020','2024-11-23 18:06:57','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395171','431406',1,'','','O24110079734','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3500','830','高雄市','鳳山區','830','高雄市','鳳山區','3620','2024-11-23 18:55:23','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395108','431345',1,'','','O24110079858','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3810','326','桃園市','楊梅區','326','桃園市','楊梅區','3930','2024-11-23 19:03:48','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395274','431508',1,'','','O24110079992','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1230','812','高雄市','小港區','812','高雄市','小港區','1350','2024-11-23 19:09:27','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('373833','410313',1,'','','O24110080031','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2880','709','台南市','安南區','643','雲林縣','林內鄉','3030','2024-11-23 21:41:00','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('373833','410313',1,'','','O24110080129','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','4840','709','台南市','安南區','709','台南市','安南區','4990','2024-11-23 21:53:51','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395296','431530',1,'','','O24110080242','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1500','104','台北市','中山區','104','台北市','中山區','1620','2024-11-23 22:07:31','2024-10-23') 2024-11-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('395301','431535',1,'','','O24110080352','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','708','台南市','安平區','708','台南市','安平區','960','2024-11-23 23:45:14','2024-10-23') 2024-11-23 23:59:03 -- == sync_order end == 2024-11-23 23:59:03 -- == sync_order_detail start == 2024-11-23 23:59:03 -- start:2024-11-23,end:2024-11-23 2024-11-23 23:59:03 -- == sync omo_order_detail == 2024-11-23 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-11-23%' OR modify_date like '2024-11-23%' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110048553' and product_code = 'DG010312-02' 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250775',`firm_id` = '8',`ordernumber` = 'S24110048553', `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` = '40',`total_price` = '19200',`etd` = '2024-11-23',`create_date` = '2024-11-16 14:14:31',`modify_date` = '2024-11-23 16:58:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-16'where ordernumber = 'S24110048553' and product_code = 'DG010312-02' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110048553' and product_code = 'DG010312-05' 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250775',`firm_id` = '8',`ordernumber` = 'S24110048553', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-11-23',`create_date` = '2024-11-16 14:14:31',`modify_date` = '2024-11-23 16:58:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-16'where ordernumber = 'S24110048553' and product_code = 'DG010312-05' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110076483' and product_code = 'DG0103188-09' 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251066',`firm_id` = '8',`ordernumber` = 'S24110076483', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`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` = '6',`total_price` = '3000',`etd` = '2024-11-23',`create_date` = '2024-11-22 17:11:30',`modify_date` = '2024-11-23 13:53:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-22'where ordernumber = 'S24110076483' and product_code = 'DG0103188-09' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078350' and product_code = 'DG010347-02' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251085','8','O24110078350','六月初一&成真咖啡禮盒','DG010347-02','DG010347','芝麻蛋捲+6入咖啡','禮盒-ESG藍金【芝麻+成真咖啡】','495','495','0','0','0','0','1','0.0','3','1485','2024-11-25','2024-11-23 07:55:26','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251085',`firm_id` = '8',`ordernumber` = 'O24110078350', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-02',`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-11-25',`create_date` = '2024-11-23 07:55:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078350' and product_code = 'DG010347-02' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078491' and product_code = 'DG010265-01' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251086','8','O24110078491','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','15','4500','2024-12-03','2024-11-23 08:48:54','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251086',`firm_id` = '8',`ordernumber` = 'O24110078491', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`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` = '15',`total_price` = '4500',`etd` = '2024-12-03',`create_date` = '2024-11-23 08:48:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078491' and product_code = 'DG010265-01' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078491' and product_code = 'DG010265-05' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251086','8','O24110078491','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-05','DG010265','巧克力','提盒-SNOOPY(粉)-40入巧克力','300','300','0','0','0','0','1','0.0','15','4500','2024-12-03','2024-11-23 08:48:54','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251086',`firm_id` = '8',`ordernumber` = 'O24110078491', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-05',`product_sn` = 'DG010265',`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` = '15',`total_price` = '4500',`etd` = '2024-12-03',`create_date` = '2024-11-23 08:48:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078491' and product_code = 'DG010265-05' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078592' and product_code = 'DG010312-02' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251087','8','O24110078592','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','12','5760','2024-12-28','2024-11-23 10:00:19','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251087',`firm_id` = '8',`ordernumber` = 'O24110078592', `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` = '12',`total_price` = '5760',`etd` = '2024-12-28',`create_date` = '2024-11-23 10:00:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078592' and product_code = 'DG010312-02' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078592' and product_code = 'DG010312-01' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251087','8','O24110078592','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','6','2880','2024-12-28','2024-11-23 10:00:19','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251087',`firm_id` = '8',`ordernumber` = 'O24110078592', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-12-28',`create_date` = '2024-11-23 10:00:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078592' and product_code = 'DG010312-01' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078592' and product_code = 'DG010312-05' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251087','8','O24110078592','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2024-12-28','2024-11-23 10:00:19','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251087',`firm_id` = '8',`ordernumber` = 'O24110078592', `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` = '6',`total_price` = '2880',`etd` = '2024-12-28',`create_date` = '2024-11-23 10:00:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078592' and product_code = 'DG010312-05' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078640' and product_code = 'DG0103188-10' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251088','8','O24110078640','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-10','DG0103188','芝麻蛋捲,咖啡蛋捲','禮盒-SNOOPY(橘)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','4','2000','2025-01-06','2024-11-23 11:10:01','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251088',`firm_id` = '8',`ordernumber` = 'O24110078640', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-10',`product_sn` = 'DG0103188',`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` = '2025-01-06',`create_date` = '2024-11-23 11:10:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078640' and product_code = 'DG0103188-10' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078640' and product_code = 'DG010265-03' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251088','8','O24110078640','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-03','DG010265','咖啡','提盒-SNOOPY(粉)-40入咖啡','300','300','0','0','0','0','1','0.0','2','600','2025-01-06','2024-11-23 11:10:01','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251088',`firm_id` = '8',`ordernumber` = 'O24110078640', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-03',`product_sn` = 'DG010265',`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` = '2',`total_price` = '600',`etd` = '2025-01-06',`create_date` = '2024-11-23 11:10:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078640' and product_code = 'DG010265-03' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078640' and product_code = 'DG010265-02' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251088','8','O24110078640','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-02','DG010265','芝麻','提盒-SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2025-01-06','2024-11-23 11:10:01','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251088',`firm_id` = '8',`ordernumber` = 'O24110078640', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`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` = '2',`total_price` = '600',`etd` = '2025-01-06',`create_date` = '2024-11-23 11:10:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078640' and product_code = 'DG010265-02' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110078761' and product_code = 'DG010101-03' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251089','8','S24110078761','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-11-25','2024-11-23 11:22:57','2024-11-23 23:59:05',0,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251089',`firm_id` = '8',`ordernumber` = 'S24110078761', `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` = '6',`total_price` = '1680',`etd` = '2024-11-25',`create_date` = '2024-11-23 11:22:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'S24110078761' and product_code = 'DG010101-03' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110078761' and product_code = 'DG010101-05' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251089','8','S24110078761','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-11-25','2024-11-23 11:22:57','2024-11-23 23:59:05',0,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251089',`firm_id` = '8',`ordernumber` = 'S24110078761', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '4',`total_price` = '1120',`etd` = '2024-11-25',`create_date` = '2024-11-23 11:22:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'S24110078761' and product_code = 'DG010101-05' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078881' and product_code = 'DG010312-02' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251090','8','O24110078881','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','12','5760','2024-12-28','2024-11-23 13:24:38','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251090',`firm_id` = '8',`ordernumber` = 'O24110078881', `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` = '12',`total_price` = '5760',`etd` = '2024-12-28',`create_date` = '2024-11-23 13:24:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078881' and product_code = 'DG010312-02' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078881' and product_code = 'DG0103148-10' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251090','8','O24110078881','金典8結禮盒','DG0103148-10','DG0103148','咖啡+咖啡','禮盒-金典(紅)【咖啡+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-12-28','2024-11-23 13:24:38','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251090',`firm_id` = '8',`ordernumber` = 'O24110078881', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-10',`product_sn` = 'DG0103148',`product_spec` = '咖啡+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-12-28',`create_date` = '2024-11-23 13:24:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078881' and product_code = 'DG0103148-10' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078881' and product_code = 'DG0103148-15' 2024-11-23 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'251090','8','O24110078881','金典8結禮盒','DG0103148-15','DG0103148','巧克力+巧克力','禮盒-金典(紅)【巧克力+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-12-28','2024-11-23 13:24:38','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251090',`firm_id` = '8',`ordernumber` = 'O24110078881', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-15',`product_sn` = 'DG0103148',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-金典(紅)【巧克力+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-12-28',`create_date` = '2024-11-23 13:24:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078881' and product_code = 'DG0103148-15' 2024-11-23 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078881' and product_code = 'DG0103148-13' 2024-11-23 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,'251090','8','O24110078881','金典8結禮盒','DG0103148-13','DG0103148','海苔+海苔','禮盒-金典(紅)【海苔+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-12-28','2024-11-23 13:24:38','2024-11-23 23:59:05',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251090',`firm_id` = '8',`ordernumber` = 'O24110078881', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-13',`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-12-28',`create_date` = '2024-11-23 13:24:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078881' and product_code = 'DG0103148-13' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078986' and product_code = 'LS010143-01' 2024-11-23 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,'251091','8','O24110078986','香酥岩烤海苔(純素)','LS010143-01','LS010143','一組','香酥岩烤海苔','150','150','0','0','0','0','1','0.0','6','900','2024-11-26','2024-11-23 13:33:18','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251091',`firm_id` = '8',`ordernumber` = 'O24110078986', `product_name` = '香酥岩烤海苔(純素)',`product_code` = 'LS010143-01',`product_sn` = 'LS010143',`product_spec` = '一組',`invoice_name` = '香酥岩烤海苔',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '900',`etd` = '2024-11-26',`create_date` = '2024-11-23 13:33:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078986' and product_code = 'LS010143-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078986' and product_code = 'DG010101-05' 2024-11-23 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,'251091','8','O24110078986','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-26','2024-11-23 13:33:18','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251091',`firm_id` = '8',`ordernumber` = 'O24110078986', `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-11-26',`create_date` = '2024-11-23 13:33:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078986' and product_code = 'DG010101-05' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110078986' and product_code = 'DG010101-02' 2024-11-23 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,'251091','8','O24110078986','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-26','2024-11-23 13:33:18','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251091',`firm_id` = '8',`ordernumber` = 'O24110078986', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-11-26',`create_date` = '2024-11-23 13:33:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110078986' and product_code = 'DG010101-02' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079095' and product_code = 'DG010206-01' 2024-11-23 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,'251092','8','O24110079095','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','8','2360','2025-01-06','2024-11-23 13:35:00','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251092',`firm_id` = '8',`ordernumber` = 'O24110079095', `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` = '8',`total_price` = '2360',`etd` = '2025-01-06',`create_date` = '2024-11-23 13:35:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079095' and product_code = 'DG010206-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079095' and product_code = 'DG010206-04' 2024-11-23 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,'251092','8','O24110079095','8結蛋捲【紅提盒裝】','DG010206-04','DG010206','海苔','提盒-品牌(紅)-40入海苔蛋捲','295','295','0','0','0','0','1','0.0','7','2065','2025-01-06','2024-11-23 13:35:00','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251092',`firm_id` = '8',`ordernumber` = 'O24110079095', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-04',`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` = '2025-01-06',`create_date` = '2024-11-23 13:35:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079095' and product_code = 'DG010206-04' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079110' and product_code = 'DG010312-02' 2024-11-23 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,'251093','8','O24110079110','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-11-25','2024-11-23 14:55:09','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251093',`firm_id` = '8',`ordernumber` = 'O24110079110', `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-11-25',`create_date` = '2024-11-23 14:55:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079110' and product_code = 'DG010312-02' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079110' and product_code = 'TG010115-01' 2024-11-23 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,'251093','8','O24110079110','[加購]加購-黑曜芝麻糕(盒裝12入)','TG010115-01','TG010115','-','加購-(盒)芝麻糕','140','140','1','1','140','0','0','0.0','1','140','2024-11-25','2024-11-23 14:55:09','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251093',`firm_id` = '8',`ordernumber` = 'O24110079110', `product_name` = '[加購]加購-黑曜芝麻糕(盒裝12入)',`product_code` = 'TG010115-01',`product_sn` = 'TG010115',`product_spec` = '-',`invoice_name` = '加購-(盒)芝麻糕',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-11-25',`create_date` = '2024-11-23 14:55:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079110' and product_code = 'TG010115-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079110' and product_code = 'TG010118-01' 2024-11-23 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,'251093','8','O24110079110','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','1','290','2024-11-25','2024-11-23 14:55:09','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251093',`firm_id` = '8',`ordernumber` = 'O24110079110', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-11-25',`create_date` = '2024-11-23 14:55:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079110' and product_code = 'TG010118-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079295' and product_code = 'DG0103148-09' 2024-11-23 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,'251094','8','O24110079295','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-11-25','2024-11-23 17:15:28','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251094',`firm_id` = '8',`ordernumber` = 'O24110079295', `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` = '1',`total_price` = '480',`etd` = '2024-11-25',`create_date` = '2024-11-23 17:15:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079295' and product_code = 'DG0103148-09' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079295' and product_code = 'DG0103148-04' 2024-11-23 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,'251094','8','O24110079295','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-11-25','2024-11-23 17:15:28','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251094',`firm_id` = '8',`ordernumber` = 'O24110079295', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`product_sn` = 'DG0103148',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-金典(紅)【原味+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-11-25',`create_date` = '2024-11-23 17:15:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079295' and product_code = 'DG0103148-04' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079311' and product_code = 'DG0103148-04' 2024-11-23 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,'251095','8','O24110079311','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','2','960','2024-11-25','2024-11-23 17:17:35','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251095',`firm_id` = '8',`ordernumber` = 'O24110079311', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`product_sn` = 'DG0103148',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-金典(紅)【原味+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-11-25',`create_date` = '2024-11-23 17:17:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079311' and product_code = 'DG0103148-04' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079311' and product_code = 'DG0103148-12' 2024-11-23 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,'251095','8','O24110079311','金典8結禮盒','DG0103148-12','DG0103148','巧克力+咖啡','禮盒-金典(紅)【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-11-25','2024-11-23 17:17:35','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251095',`firm_id` = '8',`ordernumber` = 'O24110079311', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-12',`product_sn` = 'DG0103148',`product_spec` = '巧克力+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-11-25',`create_date` = '2024-11-23 17:17:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079311' and product_code = 'DG0103148-12' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079455' and product_code = 'DG010312-05' 2024-11-23 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,'251096','8','O24110079455','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','14','6720','2024-12-28','2024-11-23 17:33:28','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251096',`firm_id` = '8',`ordernumber` = 'O24110079455', `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` = '14',`total_price` = '6720',`etd` = '2024-12-28',`create_date` = '2024-11-23 17:33:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079455' and product_code = 'DG010312-05' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079580' and product_code = 'DG010265-01' 2024-11-23 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,'251097','8','O24110079580','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','6','1800','2025-01-06','2024-11-23 17:47:46','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251097',`firm_id` = '8',`ordernumber` = 'O24110079580', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`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` = '6',`total_price` = '1800',`etd` = '2025-01-06',`create_date` = '2024-11-23 17:47:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079580' and product_code = 'DG010265-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079580' and product_code = 'DG010265-02' 2024-11-23 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,'251097','8','O24110079580','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-02','DG010265','芝麻','提盒-SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2025-01-06','2024-11-23 17:47:46','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251097',`firm_id` = '8',`ordernumber` = 'O24110079580', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`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` = '2025-01-06',`create_date` = '2024-11-23 17:47:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079580' and product_code = 'DG010265-02' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079580' and product_code = 'DG010265-05' 2024-11-23 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,'251097','8','O24110079580','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-05','DG010265','巧克力','提盒-SNOOPY(粉)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2025-01-06','2024-11-23 17:47:46','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251097',`firm_id` = '8',`ordernumber` = 'O24110079580', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-05',`product_sn` = 'DG010265',`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` = '2025-01-06',`create_date` = '2024-11-23 17:47:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079580' and product_code = 'DG010265-05' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079580' and product_code = 'DG010265-04' 2024-11-23 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,'251097','8','O24110079580','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-04','DG010265','海苔','提盒-SNOOPY(粉)-40入海苔','300','300','0','0','0','0','1','0.0','4','1200','2025-01-06','2024-11-23 17:47:46','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251097',`firm_id` = '8',`ordernumber` = 'O24110079580', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-04',`product_sn` = 'DG010265',`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` = '4',`total_price` = '1200',`etd` = '2025-01-06',`create_date` = '2024-11-23 17:47:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079580' and product_code = 'DG010265-04' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079580' and product_code = 'DG0103188-06' 2024-11-23 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,'251097','8','O24110079580','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-06','DG0103188','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY(橘)【原味+芝麻】','500','500','0','0','0','0','1','0.0','4','2000','2025-01-06','2024-11-23 17:47:46','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251097',`firm_id` = '8',`ordernumber` = 'O24110079580', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-06',`product_sn` = 'DG0103188',`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` = '2025-01-06',`create_date` = '2024-11-23 17:47:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079580' and product_code = 'DG0103188-06' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079580' and product_code = 'DG010101-01' 2024-11-23 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,'251097','8','O24110079580','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-01-06','2024-11-23 17:47:46','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251097',`firm_id` = '8',`ordernumber` = 'O24110079580', `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` = '2025-01-06',`create_date` = '2024-11-23 17:47:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079580' and product_code = 'DG010101-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110079697' and product_code = 'DG010101-01' 2024-11-23 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,'251098','8','S24110079697','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','40','11200','2024-11-25','2024-11-23 18:06:57','2024-11-23 23:59:06',0,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251098',`firm_id` = '8',`ordernumber` = 'S24110079697', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '40',`total_price` = '11200',`etd` = '2024-11-25',`create_date` = '2024-11-23 18:06:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'S24110079697' and product_code = 'DG010101-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110079697' and product_code = 'DG010404-01' 2024-11-23 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,'251098','8','S24110079697','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','40','400','2024-11-25','2024-11-23 18:06:57','2024-11-23 23:59:06',0,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251098',`firm_id` = '8',`ordernumber` = 'S24110079697', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '400',`etd` = '2024-11-25',`create_date` = '2024-11-23 18:06:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'S24110079697' and product_code = 'DG010404-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079734' and product_code = 'FL010102-01' 2024-11-23 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,'251099','8','O24110079734','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','20','3300','2025-01-06','2024-11-23 18:55:23','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251099',`firm_id` = '8',`ordernumber` = 'O24110079734', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '20',`total_price` = '3300',`etd` = '2025-01-06',`create_date` = '2024-11-23 18:55:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079734' and product_code = 'FL010102-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079734' and product_code = 'DG010404-01' 2024-11-23 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,'251099','8','O24110079734','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','20','200','2025-01-06','2024-11-23 18:55:23','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251099',`firm_id` = '8',`ordernumber` = 'O24110079734', `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` = '20',`total_price` = '200',`etd` = '2025-01-06',`create_date` = '2024-11-23 18:55:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079734' and product_code = 'DG010404-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079858' and product_code = 'DG0103182-31' 2024-11-23 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,'251100','8','O24110079858','金巧8結禮盒','DG0103182-31','DG0103182','原味,南棗核桃糕,黑松露腰果','禮盒-金巧8結【(原味)-南棗核桃糕+黑松露腰果】','635','635','0','0','0','0','1','0.0','6','3810','2025-01-06','2024-11-23 19:03:48','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251100',`firm_id` = '8',`ordernumber` = 'O24110079858', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-31',`product_sn` = 'DG0103182',`product_spec` = '原味,南棗核桃糕,黑松露腰果',`invoice_name` = '禮盒-金巧8結【(原味)-南棗核桃糕+黑松露腰果】',`listprice` = '635',`sellingprice` = '635',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '3810',`etd` = '2025-01-06',`create_date` = '2024-11-23 19:03:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079858' and product_code = 'DG0103182-31' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079992' and product_code = 'DG0103148-12' 2024-11-23 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,'251101','8','O24110079992','金典8結禮盒','DG0103148-12','DG0103148','巧克力+咖啡','禮盒-金典(紅)【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-11-25','2024-11-23 19:09:27','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251101',`firm_id` = '8',`ordernumber` = 'O24110079992', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-12',`product_sn` = 'DG0103148',`product_spec` = '巧克力+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-11-25',`create_date` = '2024-11-23 19:09:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079992' and product_code = 'DG0103148-12' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079992' and product_code = 'DG0103148-10' 2024-11-23 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,'251101','8','O24110079992','金典8結禮盒','DG0103148-10','DG0103148','咖啡+咖啡','禮盒-金典(紅)【咖啡+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-11-25','2024-11-23 19:09:27','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251101',`firm_id` = '8',`ordernumber` = 'O24110079992', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-10',`product_sn` = 'DG0103148',`product_spec` = '咖啡+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-11-25',`create_date` = '2024-11-23 19:09:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079992' and product_code = 'DG0103148-10' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110079992' and product_code = 'GG010106-01' 2024-11-23 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,'251101','8','O24110079992','[加購]加購-義式皇家黑松露夏威夷果','GG010106-01','GG010106','-','加購-(盒)堅果【夏威夷果】','270','270','1','1','270','0','0','0.0','1','270','2024-11-25','2024-11-23 19:09:27','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251101',`firm_id` = '8',`ordernumber` = 'O24110079992', `product_name` = '[加購]加購-義式皇家黑松露夏威夷果',`product_code` = 'GG010106-01',`product_sn` = 'GG010106',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【夏威夷果】',`listprice` = '270',`sellingprice` = '270',`isadd` = '1',`isbaby` = '1',`addprice` = '270',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-11-25',`create_date` = '2024-11-23 19:09:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110079992' and product_code = 'GG010106-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080031' and product_code = 'DG010312-02' 2024-11-23 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,'251102','8','O24110080031','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2025-01-06','2024-11-23 21:41:00','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251102',`firm_id` = '8',`ordernumber` = 'O24110080031', `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` = '6',`total_price` = '2880',`etd` = '2025-01-06',`create_date` = '2024-11-23 21:41:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080031' and product_code = 'DG010312-02' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080129' and product_code = 'DG010312-04' 2024-11-23 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,'251103','8','O24110080129','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','5','2400','2025-01-06','2024-11-23 21:53:51','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251103',`firm_id` = '8',`ordernumber` = 'O24110080129', `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` = '5',`total_price` = '2400',`etd` = '2025-01-06',`create_date` = '2024-11-23 21:53:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080129' and product_code = 'DG010312-04' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080129' and product_code = 'DG0103148-02' 2024-11-23 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,'251103','8','O24110080129','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','3','1440','2025-01-06','2024-11-23 21:53:51','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251103',`firm_id` = '8',`ordernumber` = 'O24110080129', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1440',`etd` = '2025-01-06',`create_date` = '2024-11-23 21:53:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080129' and product_code = 'DG0103148-02' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080129' and product_code = 'DG0103188-15' 2024-11-23 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,'251103','8','O24110080129','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-15','DG0103188','海苔蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【海苔+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2025-01-06','2024-11-23 21:53:51','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251103',`firm_id` = '8',`ordernumber` = 'O24110080129', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-15',`product_sn` = 'DG0103188',`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` = '2025-01-06',`create_date` = '2024-11-23 21:53:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080129' and product_code = 'DG0103188-15' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080129' and product_code = 'DG0103155-02' 2024-11-23 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,'251103','8','O24110080129','官網限定【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2025-01-06','2024-11-23 21:53:51','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251103',`firm_id` = '8',`ordernumber` = 'O24110080129', `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` = '1',`total_price` = '500',`etd` = '2025-01-06',`create_date` = '2024-11-23 21:53:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080129' and product_code = 'DG0103155-02' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080242' and product_code = 'DG0103188-09' 2024-11-23 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,'251104','8','O24110080242','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','3','1500','2024-12-20','2024-11-23 22:07:31','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251104',`firm_id` = '8',`ordernumber` = 'O24110080242', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-12-20',`create_date` = '2024-11-23 22:07:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080242' and product_code = 'DG0103188-09' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080352' and product_code = 'DG010101-01' 2024-11-23 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,'251105','8','O24110080352','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-11-25','2024-11-23 23:45:14','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251105',`firm_id` = '8',`ordernumber` = 'O24110080352', `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-11-25',`create_date` = '2024-11-23 23:45:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080352' and product_code = 'DG010101-01' 2024-11-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110080352' and product_code = 'DG010101-05' 2024-11-23 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,'251105','8','O24110080352','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-25','2024-11-23 23:45:14','2024-11-23 23:59:06',null,'1','2024-10-23') 2024-11-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251105',`firm_id` = '8',`ordernumber` = 'O24110080352', `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-11-25',`create_date` = '2024-11-23 23:45:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-23'where ordernumber = 'O24110080352' and product_code = 'DG010101-05' 2024-11-23 23:59:06 -- == sync_order_detail end == 2024-11-23 23:59:06 -- == sync_order start == 2024-11-23 23:59:06 -- start:2024-11-23,end:2024-11-23 2024-11-23 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-11-23%' OR l.modify_date like '2024-11-23%'; 2024-11-23 23:59:06 -- == sync omo_order_list == 2024-11-23 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '429819', process_status = '3', pay_status = '8', totalprice_after = '1050', lunar_date = '2024-10-11', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24110008580' 2024-11-23 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '430782', process_status = '3', pay_status = '7', totalprice_after = '600', lunar_date = '2024-10-18', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24110016022' 2024-11-23 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '430983', process_status = '3', pay_status = '7', totalprice_after = '400', lunar_date = '2024-10-20', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24110018379' 2024-11-23 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '431040', process_status = '3', pay_status = '7', totalprice_after = '600', lunar_date = '2024-10-20', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24110018887' 2024-11-23 23:59:06 -- == 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 ('155261','431243',2,'','','B24110021277','1','11','1','1','1','82182886','富里飲料店','0','0000-00-00','0','0','0','','0','30','6800','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','6770','2024-11-23 14:23:20','2024-10-23') 2024-11-23 23:59:06 -- == sync_order end == 2024-11-23 23:59:06 -- == sync_order_detail start == 2024-11-23 23:59:06 -- start:2024-11-23,end:2024-11-23 2024-11-23 23:59:06 -- == sync omo_order_detail == 2024-11-23 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-11-23%' OR modify_date like '2024-11-23%' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110008580' and product_code = 'DG010243-02' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33325',`firm_id` = '11',`ordernumber` = 'M24110008580', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月年輪-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-23',`create_date` = '2024-11-11 13:30:09',`modify_date` = '2024-11-23 11:38:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110008580' and product_code = 'DG010243-02', `lunar_date` = '2024-10-11' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110008580' and product_code = 'DG0103190-05' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33325',`firm_id` = '11',`ordernumber` = 'M24110008580', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-05',`product_sn` = 'DG0103190',`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-11-23',`create_date` = '2024-11-11 13:30:09',`modify_date` = '2024-11-23 11:38:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110008580' and product_code = 'DG0103190-05', `lunar_date` = '2024-10-11' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110008580' and product_code = 'FL010318-212' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33325',`firm_id` = '11',`ordernumber` = 'M24110008580', `product_name` = '金巧力量彌月試吃禮盒【C3】',`product_code` = 'FL010318-212',`product_sn` = 'FL010318',`product_spec` = '南棗核桃糕+芝麻糕+黑松露杏仁果',`invoice_name` = '禮盒-彌月金巧力量【南棗核桃糕+芝麻糕+黑松露杏仁果】(試吃)',`listprice` = '550',`sellingprice` = '550',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '550',`etd` = '2024-11-23',`create_date` = '2024-11-13 09:58:27',`modify_date` = '2024-11-23 11:38:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110008580' and product_code = 'FL010318-212', `lunar_date` = '2024-10-13' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110016022' and product_code = 'DG010267-01' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33410',`firm_id` = '11',`ordernumber` = 'M24110016022', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`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-11-23',`create_date` = '2024-11-18 16:13:06',`modify_date` = '2024-11-23 14:10:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110016022' and product_code = 'DG010267-01', `lunar_date` = '2024-10-18' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110016022' and product_code = 'DG0103190-05' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33410',`firm_id` = '11',`ordernumber` = 'M24110016022', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-05',`product_sn` = 'DG0103190',`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-11-23',`create_date` = '2024-11-18 16:13:06',`modify_date` = '2024-11-23 14:10:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110016022' and product_code = 'DG0103190-05', `lunar_date` = '2024-10-18' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110018379' and product_code = 'DG010243-05' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33436',`firm_id` = '11',`ordernumber` = 'M24110018379', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-05',`product_sn` = 'DG010243',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月年輪-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-23',`create_date` = '2024-11-20 10:01:19',`modify_date` = '2024-11-23 15:40:12',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110018379' and product_code = 'DG010243-05', `lunar_date` = '2024-10-20' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110018379' and product_code = 'DG010270-02' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33436',`firm_id` = '11',`ordernumber` = 'M24110018379', `product_name` = '吳淡如提盒-彌月試吃【A3】',`product_code` = 'DG010270-02',`product_sn` = 'DG010270',`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-11-23',`create_date` = '2024-11-20 10:01:19',`modify_date` = '2024-11-23 15:40:12',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110018379' and product_code = 'DG010270-02', `lunar_date` = '2024-10-20' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110018887' and product_code = 'DG010243-01' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33441',`firm_id` = '11',`ordernumber` = 'M24110018887', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-23',`create_date` = '2024-11-20 14:31:59',`modify_date` = '2024-11-23 14:04:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110018887' and product_code = 'DG010243-01', `lunar_date` = '2024-10-20' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24110018887' and product_code = 'DG0103190-03' 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33441',`firm_id` = '11',`ordernumber` = 'M24110018887', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-03',`product_sn` = 'DG0103190',`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-11-23',`create_date` = '2024-11-20 14:31:59',`modify_date` = '2024-11-23 14:04:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24110018887' and product_code = 'DG0103190-03', `lunar_date` = '2024-10-20' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24110021277' and product_code = 'DG0103189-05' 2024-11-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33466','8','B24110021277','SNOOPY美好探尋-8結彌月禮盒','DG0103189-05','DG0103189','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】','500','500','0','1','0','0','1','0.0','7','3500','2024-12-04','2024-11-23 14:23:20','2024-11-23 23:59:07',null,'1','2024-10-23') 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33466',`firm_id` = '8',`ordernumber` = 'B24110021277', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '3500',`etd` = '2024-12-04',`create_date` = '2024-11-23 14:23:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24110021277' and product_code = 'DG0103189-05', `lunar_date` = '2024-10-23' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24110021277' and product_code = 'DG010266-01' 2024-11-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33466','8','B24110021277','【預購-11/27起出貨】SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','1','0','0','1','0.0','11','3300','2024-12-04','2024-11-23 14:23:20','2024-11-23 23:59:07',null,'1','2024-10-23') 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33466',`firm_id` = '8',`ordernumber` = 'B24110021277', `product_name` = '【預購-11/27起出貨】SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`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` = '11',`total_price` = '3300',`etd` = '2024-12-04',`create_date` = '2024-11-23 14:23:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24110021277' and product_code = 'DG010266-01', `lunar_date` = '2024-10-23' 2024-11-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24110021277' and product_code = 'ZP010151-01' 2024-11-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33466','8','B24110021277','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-12-04','2024-11-23 14:23:20','2024-11-23 23:59:07',null,'1','2024-10-23') 2024-11-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33466',`firm_id` = '8',`ordernumber` = 'B24110021277', `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-12-04',`create_date` = '2024-11-23 14:23:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24110021277' and product_code = 'ZP010151-01', `lunar_date` = '2024-10-23' 2024-11-23 23:59:07 -- == sync_order_detail end == 2024-11-23 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-11-23' OR o.updated_at = '2024-11-23') and o.deleted_at is null 2024-11-23 23:59:07 -- == sync_order_detail start == 2024-11-23 23:59:07 -- start:2024-11-23,end:2024-11-23 2024-11-23 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-11-23 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-11-23 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-11-23%';