2024-03-03 23:59:02 -- == sync_order start == 2024-03-03 23:59:02 -- start:2024-03-03,end:2024-03-03 2024-03-03 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-03-03%' OR l.modify_date like '2024-03-03%'; 2024-03-03 23:59:03 -- == sync omo_order_list == 2024-03-03 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 ('327280','364248',1,'','','O24030006846','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1640','327','桃園市','新屋區','327','桃園市','新屋區','1790','2024-03-03 00:28:21','2024-01-23') 2024-03-03 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 ('343043','379818',1,'','','O24030006950','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','235','新北市','中和區','235','新北市','中和區','1080','2024-03-03 00:32:16','2024-01-23') 2024-03-03 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 ('343044','379819',1,'','','O24030007040','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1370','801','高雄市','前金區','801','高雄市','前金區','1490','2024-03-03 01:48:25','2024-01-23') 2024-03-03 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 ('343045','379820',1,'','','O24030007188','1','11','1','1','1','92015064','國防部','0','0000-00-00','0','0','0','','0','0','5900','112','台北市','北投區','112','台北市','北投區','5900','2024-03-03 03:48:33','2024-01-23') 2024-03-03 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 ('343050','379825',1,'','','O24030007228','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','740','701','台南市','東區','701','台南市','東區','860','2024-03-03 09:08:56','2024-01-23') 2024-03-03 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 ('343057','379832',1,'','','O24030007361','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1080','802','高雄市','苓雅區','802','高雄市','苓雅區','1200','2024-03-03 10:53:53','2024-01-23') 2024-03-03 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 ('341975','378762',1,'','','O24030007430','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1070','114','台北市','內湖區','114','台北市','內湖區','1190','2024-03-03 13:00:59','2024-01-23') 2024-03-03 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 ('279641','317196',1,'','','O24030007579','1','2','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5600','111','台北市','士林區','813','高雄市','左營區','5600','2024-03-03 13:34:08','2024-01-23') 2024-03-03 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 ('342905','379680',1,'','','O24030007646','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2190','320','桃園市','中壢區','320','桃園市','中壢區','2310','2024-03-03 13:42:10','2024-01-23') 2024-03-03 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 ('216171','226721',1,'','','O24030007720','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1515','358','苗栗縣','苑裡鎮','358','苗栗縣','苑裡鎮','1665','2024-03-03 14:09:34','2024-01-23') 2024-03-03 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 ('109653','79700',1,'','','O24030007860','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','390','407','台中市','西屯區','420','台中市','豐原區','540','2024-03-03 15:05:15','2024-01-23') 2024-03-03 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 ('343164','379939',1,'','','O24030007973','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','939','320','桃園市','中壢區','320','桃園市','中壢區','1059','2024-03-03 17:08:52','2024-01-23') 2024-03-03 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 ('343166','379941',1,'','','O24030008093','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1000','412','台中市','大里區','412','台中市','大里區','1120','2024-03-03 17:12:48','2024-01-23') 2024-03-03 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 ('343167','379942',1,'美村門市訂單','32','S24030008149','1','2','1','0','6','','','0','2024-03-05','0','0','0','','150','0','1000','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1150','2024-03-03 17:16:27','2024-01-23') 2024-03-03 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 ('343167','379942',1,'美村門市訂單','32','S24030008149RB','1','2','1','1','1','','','0','2024-03-05','0','0','0','','150','0','1000','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1150','2024-03-03 17:30:53','2024-01-23') 2024-03-03 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('342060','378847',1,'','','O24030008213','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','408','台中市','南屯區','408','台中市','南屯區','1110','2024-03-03 17:43:25','2024-01-23') 2024-03-03 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 ('177672','144375',1,'','','O24030008366','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2950','236','新北市','土城區','236','新北市','土城區','3100','2024-03-03 18:29:17','2024-01-23') 2024-03-03 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 ('177672','144375',1,'','','O24030008448','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','2950','236','新北市','土城區','236','新北市','土城區','3000','2024-03-03 18:42:58','2024-01-23') 2024-03-03 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 ('331554','368455',1,'','','O24030008515','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2400','320','桃園市','中壢區','320','桃園市','中壢區','2550','2024-03-03 19:30:14','2024-01-23') 2024-03-03 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343187','379962',1,'','','O24030008664','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1479','710','台南市','永康區','710','台南市','永康區','1599','2024-03-03 19:35:02','2024-01-23') 2024-03-03 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343192','379967',1,'','','O24030008759','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1500','435','台中市','梧棲區','435','台中市','梧棲區','1620','2024-03-03 20:06:17','2024-01-23') 2024-03-03 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343194','379969',1,'','','O24030008827','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3245','247','新北市','蘆洲區','247','新北市','蘆洲區','3365','2024-03-03 20:23:01','2024-01-23') 2024-03-03 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343194','379969',1,'','','O24030008986','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3540','247','新北市','蘆洲區','247','新北市','蘆洲區','3660','2024-03-03 20:27:19','2024-01-23') 2024-03-03 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343200','379974',1,'','','O24030009069','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2810','220','新北市','板橋區','251','新北市','淡水區','2930','2024-03-03 21:02:41','2024-01-23') 2024-03-03 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343204','379978',1,'','','O24030009147','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3840','540','南投縣','南投市','540','南投縣','南投市','3990','2024-03-03 23:21:58','2024-01-23') 2024-03-03 23:59:04 -- == sync_order end == 2024-03-03 23:59:04 -- == sync_order_detail start == 2024-03-03 23:59:04 -- start:2024-03-03,end:2024-03-03 2024-03-03 23:59:04 -- == sync omo_order_detail == 2024-03-03 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-03%' OR modify_date like '2024-03-03%' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006846' and product_code = 'DG010101-02' 2024-03-03 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,'229339','8','O24030006846','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-05','2024-03-03 00:28:21','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229339',`firm_id` = '8',`ordernumber` = 'O24030006846', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-05',`create_date` = '2024-03-03 00:28:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030006846' and product_code = 'DG010101-02' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006846' and product_code = 'DG010101-04' 2024-03-03 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,'229339','8','O24030006846','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-05','2024-03-03 00:28:21','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229339',`firm_id` = '8',`ordernumber` = 'O24030006846', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-05',`create_date` = '2024-03-03 00:28:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030006846' and product_code = 'DG010101-04' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006846' and product_code = 'DG010101-05' 2024-03-03 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,'229339','8','O24030006846','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-05','2024-03-03 00:28:21','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229339',`firm_id` = '8',`ordernumber` = 'O24030006846', `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-03-05',`create_date` = '2024-03-03 00:28:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030006846' and product_code = 'DG010101-05' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006846' and product_code = 'FL010102-01' 2024-03-03 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,'229339','8','O24030006846','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','4','520','2024-03-05','2024-03-03 00:28:21','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229339',`firm_id` = '8',`ordernumber` = 'O24030006846', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '4',`total_price` = '520',`etd` = '2024-03-05',`create_date` = '2024-03-03 00:28:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030006846' and product_code = 'FL010102-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006950' and product_code = 'DG010312-02' 2024-03-03 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,'229340','8','O24030006950','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-03-07','2024-03-03 00:32:16','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229340',`firm_id` = '8',`ordernumber` = 'O24030006950', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-03-07',`create_date` = '2024-03-03 00:32:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030006950' and product_code = 'DG010312-02' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007040' and product_code = 'DG010312-02' 2024-03-03 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,'229341','8','O24030007040','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-03-05','2024-03-03 01:48:25','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229341',`firm_id` = '8',`ordernumber` = 'O24030007040', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-03-05',`create_date` = '2024-03-03 01:48:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007040' and product_code = 'DG010312-02' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007040' and product_code = '04190' 2024-03-03 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,'229341','8','O24030007040','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','150','150','1','1','150','0','0','0.0','1','150','2024-03-05','2024-03-03 01:48:25','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229341',`firm_id` = '8',`ordernumber` = 'O24030007040', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-03-05',`create_date` = '2024-03-03 01:48:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007040' and product_code = '04190' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007040' and product_code = '13045' 2024-03-03 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,'229341','8','O24030007040','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','110','110','1','1','110','0','0','0.0','1','110','2024-03-05','2024-03-03 01:48:25','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229341',`firm_id` = '8',`ordernumber` = 'O24030007040', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '110',`sellingprice` = '110',`isadd` = '1',`isbaby` = '1',`addprice` = '110',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '110',`etd` = '2024-03-05',`create_date` = '2024-03-03 01:48:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007040' and product_code = '13045' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007040' and product_code = 'LS010108-02' 2024-03-03 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,'229341','8','O24030007040','[加購]加購-羅勒乳酪絲','LS010108-02','LS010108','-','加購-(藍袋)乳酪絲【羅勒】','150','150','1','1','150','0','0','0.0','1','150','2024-03-05','2024-03-03 01:48:25','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229341',`firm_id` = '8',`ordernumber` = 'O24030007040', `product_name` = '[加購]加購-羅勒乳酪絲',`product_code` = 'LS010108-02',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【羅勒】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-03-05',`create_date` = '2024-03-03 01:48:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007040' and product_code = 'LS010108-02' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007188' and product_code = 'DG010206-01' 2024-03-03 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,'229342','8','O24030007188','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-03-05','2024-03-03 03:48:33','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229342',`firm_id` = '8',`ordernumber` = 'O24030007188', `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` = '10',`total_price` = '2950',`etd` = '2024-03-05',`create_date` = '2024-03-03 03:48:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007188' and product_code = 'DG010206-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007188' and product_code = 'DG010206-03' 2024-03-03 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,'229342','8','O24030007188','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-03-05','2024-03-03 03:48:33','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229342',`firm_id` = '8',`ordernumber` = 'O24030007188', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`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` = '10',`total_price` = '2950',`etd` = '2024-03-05',`create_date` = '2024-03-03 03:48:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007188' and product_code = 'DG010206-03' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007228' and product_code = 'DG0103148-03' 2024-03-03 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,'229343','8','O24030007228','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-03-05','2024-03-03 09:08:56','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229343',`firm_id` = '8',`ordernumber` = 'O24030007228', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-03 09:08:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007228' and product_code = 'DG0103148-03' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007228' and product_code = 'FL010102-01' 2024-03-03 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,'229343','8','O24030007228','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','2','260','2024-03-05','2024-03-03 09:08:56','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229343',`firm_id` = '8',`ordernumber` = 'O24030007228', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '260',`etd` = '2024-03-05',`create_date` = '2024-03-03 09:08:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007228' and product_code = 'FL010102-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007361' and product_code = 'DG010101-05' 2024-03-03 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,'229344','8','O24030007361','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-11','2024-03-03 10:53:53','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229344',`firm_id` = '8',`ordernumber` = 'O24030007361', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-11',`create_date` = '2024-03-03 10:53:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007361' and product_code = 'DG010101-05' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007361' and product_code = 'DG010107-01' 2024-03-03 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,'229344','8','O24030007361','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','1','240','2024-03-11','2024-03-03 10:53:53','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229344',`firm_id` = '8',`ordernumber` = 'O24030007361', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-03-11',`create_date` = '2024-03-03 10:53:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007361' and product_code = 'DG010107-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007361' and product_code = 'DG010101-03' 2024-03-03 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,'229344','8','O24030007361','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-11','2024-03-03 10:53:53','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229344',`firm_id` = '8',`ordernumber` = 'O24030007361', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-11',`create_date` = '2024-03-03 10:53:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007361' and product_code = 'DG010101-03' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007430' and product_code = 'DG010107-01' 2024-03-03 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,'229345','8','O24030007430','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','2','480','2024-03-05','2024-03-03 13:00:59','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229345',`firm_id` = '8',`ordernumber` = 'O24030007430', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:00:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007430' and product_code = 'DG010107-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007430' and product_code = 'DG010258-05' 2024-03-03 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,'229345','8','O24030007430','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','2','590','2024-03-05','2024-03-03 13:00:59','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229345',`firm_id` = '8',`ordernumber` = 'O24030007430', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:00:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007430' and product_code = 'DG010258-05' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007579' and product_code = 'DG010101-02' 2024-03-03 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,'229346','8','O24030007579','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-03-05','2024-03-03 13:34:08','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229346',`firm_id` = '8',`ordernumber` = 'O24030007579', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '6',`total_price` = '1680',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:34:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007579' and product_code = 'DG010101-02' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007579' and product_code = 'DG010101-03' 2024-03-03 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,'229346','8','O24030007579','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','7','1960','2024-03-05','2024-03-03 13:34:08','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229346',`firm_id` = '8',`ordernumber` = 'O24030007579', `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` = '7',`total_price` = '1960',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:34:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007579' and product_code = 'DG010101-03' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007579' and product_code = 'DG010101-05' 2024-03-03 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,'229346','8','O24030007579','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','7','1960','2024-03-05','2024-03-03 13:34:08','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229346',`firm_id` = '8',`ordernumber` = 'O24030007579', `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` = '7',`total_price` = '1960',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:34:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007579' and product_code = 'DG010101-05' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007646' and product_code = 'DG010567-68' 2024-03-03 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,'229347','8','O24030007646','熱銷蛋捲六入組','DG010567-68','DG010567','原味+原味+芝麻+芝麻+海苔+阿薩姆紅茶','熱銷蛋捲六入組','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-05','2024-03-03 13:42:10','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229347',`firm_id` = '8',`ordernumber` = 'O24030007646', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-68',`product_sn` = 'DG010567',`product_spec` = '原味+原味+芝麻+芝麻+海苔+阿薩姆紅茶',`invoice_name` = '熱銷蛋捲六入組',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:42:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007646' and product_code = 'DG010567-68' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007646' and product_code = 'DG010101-01' 2024-03-03 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,'229347','8','O24030007646','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-05','2024-03-03 13:42:10','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229347',`firm_id` = '8',`ordernumber` = 'O24030007646', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:42:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007646' and product_code = 'DG010101-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007646' and product_code = 'DG010101-02' 2024-03-03 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,'229347','8','O24030007646','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-05','2024-03-03 13:42:10','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229347',`firm_id` = '8',`ordernumber` = 'O24030007646', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-05',`create_date` = '2024-03-03 13:42:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007646' and product_code = 'DG010101-02' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007720' and product_code = 'TG010107-01' 2024-03-03 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,'229348','8','O24030007720','分享包-夏威夷豆軟糖','TG010107-01','TG010107','15入夏威夷豆軟糖分享包','(紅袋)夏威夷豆軟糖','300','300','0','0','0','0','1','0.0','1','300','2024-03-05','2024-03-03 14:09:34','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229348',`firm_id` = '8',`ordernumber` = 'O24030007720', `product_name` = '分享包-夏威夷豆軟糖',`product_code` = 'TG010107-01',`product_sn` = 'TG010107',`product_spec` = '15入夏威夷豆軟糖分享包',`invoice_name` = '(紅袋)夏威夷豆軟糖',`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-03-05',`create_date` = '2024-03-03 14:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007720' and product_code = 'TG010107-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007720' and product_code = 'TG010117-01' 2024-03-03 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,'229348','8','O24030007720','分享包-南棗核桃糕','TG010117-01','TG010117','25入核棗糕分享包','(紅袋)南棗核桃糕','300','300','0','0','0','0','1','0.0','1','300','2024-03-05','2024-03-03 14:09:34','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229348',`firm_id` = '8',`ordernumber` = 'O24030007720', `product_name` = '分享包-南棗核桃糕',`product_code` = 'TG010117-01',`product_sn` = 'TG010117',`product_spec` = '25入核棗糕分享包',`invoice_name` = '(紅袋)南棗核桃糕',`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-03-05',`create_date` = '2024-03-03 14:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007720' and product_code = 'TG010117-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007720' and product_code = 'FL010310-01' 2024-03-03 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,'229348','8','O24030007720','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','1','435','2024-03-05','2024-03-03 14:09:34','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229348',`firm_id` = '8',`ordernumber` = 'O24030007720', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '435',`etd` = '2024-03-05',`create_date` = '2024-03-03 14:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007720' and product_code = 'FL010310-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007720' and product_code = 'DG010312-03' 2024-03-03 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,'229348','8','O24030007720','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-03 14:09:34','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229348',`firm_id` = '8',`ordernumber` = 'O24030007720', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-03 14:09:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007720' and product_code = 'DG010312-03' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007860' and product_code = 'FL010308-01' 2024-03-03 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,'229349','8','O24030007860','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','390','390','0','0','0','0','1','0.0','1','390','2024-03-05','2024-03-03 15:05:15','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229349',`firm_id` = '8',`ordernumber` = 'O24030007860', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-03-05',`create_date` = '2024-03-03 15:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007860' and product_code = 'FL010308-01' 2024-03-03 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007973' and product_code = 'DG010566-04' 2024-03-03 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,'229350','8','O24030007973','經典蛋捲三入組','DG010566-04','DG010566','原味+原味+海苔','經典蛋捲三入組','699','699','0','0','0','1','1','0.0','1','699','2024-03-05','2024-03-03 17:08:52','2024-03-03 23:59:05',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229350',`firm_id` = '8',`ordernumber` = 'O24030007973', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-04',`product_sn` = 'DG010566',`product_spec` = '原味+原味+海苔',`invoice_name` = '經典蛋捲三入組',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-05',`create_date` = '2024-03-03 17:08:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007973' and product_code = 'DG010566-04' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030007973' and product_code = 'DG010107-01' 2024-03-03 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,'229350','8','O24030007973','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','1','240','2024-03-05','2024-03-03 17:08:52','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229350',`firm_id` = '8',`ordernumber` = 'O24030007973', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-03-05',`create_date` = '2024-03-03 17:08:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030007973' and product_code = 'DG010107-01' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008093' and product_code = 'DG0103155-05' 2024-03-03 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,'229351','8','O24030008093','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-03-05','2024-03-03 17:12:48','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229351',`firm_id` = '8',`ordernumber` = 'O24030008093', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-05',`create_date` = '2024-03-03 17:12:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008093' and product_code = 'DG0103155-05' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008093' and product_code = 'DG0103155-02' 2024-03-03 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,'229351','8','O24030008093','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-03-05','2024-03-03 17:12:48','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229351',`firm_id` = '8',`ordernumber` = 'O24030008093', `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` = '2024-03-05',`create_date` = '2024-03-03 17:12:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008093' and product_code = 'DG0103155-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030008149' and product_code = 'DG0103155-05' 2024-03-03 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,'229352','8','S24030008149','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲.巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2024-03-05','2024-03-03 17:16:27','2024-03-03 23:59:06',0,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229352',`firm_id` = '8',`ordernumber` = 'S24030008149', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲.巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-03-05',`create_date` = '2024-03-03 17:16:27',`modify_date` = '2024-03-03 17:30:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'S24030008149' and product_code = 'DG0103155-05' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030008149RB' and product_code = 'DG0103155-05' 2024-03-03 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,'229353','8','S24030008149RB','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲.巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2024-03-05','2024-03-03 17:16:27','2024-03-03 23:59:06',0,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229353',`firm_id` = '8',`ordernumber` = 'S24030008149RB', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲.巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-03-05',`create_date` = '2024-03-03 17:16:27',`modify_date` = '2024-03-03 17:30:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'S24030008149RB' and product_code = 'DG0103155-05' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008213' and product_code = 'DG010312-05' 2024-03-03 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,'229354','8','O24030008213','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-03-05','2024-03-03 17:43:25','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229354',`firm_id` = '8',`ordernumber` = 'O24030008213', `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-03-05',`create_date` = '2024-03-03 17:43:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008213' and product_code = 'DG010312-05' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008366' and product_code = 'DG010206-02' 2024-03-03 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,'229355','8','O24030008366','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','8','2360','2024-03-05','2024-03-03 18:29:17','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229355',`firm_id` = '8',`ordernumber` = 'O24030008366', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2360',`etd` = '2024-03-05',`create_date` = '2024-03-03 18:29:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008366' and product_code = 'DG010206-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008366' and product_code = 'DG010206-01' 2024-03-03 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,'229355','8','O24030008366','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-03-05','2024-03-03 18:29:17','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229355',`firm_id` = '8',`ordernumber` = 'O24030008366', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-05',`create_date` = '2024-03-03 18:29:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008366' and product_code = 'DG010206-01' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008366' and product_code = 'DG010206-03' 2024-03-03 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,'229355','8','O24030008366','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-03-05','2024-03-03 18:29:17','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229355',`firm_id` = '8',`ordernumber` = 'O24030008366', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-05',`create_date` = '2024-03-03 18:29:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008366' and product_code = 'DG010206-03' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008448' and product_code = 'DG010206-02' 2024-03-03 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,'229356','8','O24030008448','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','8','2360','2024-03-05','2024-03-03 18:42:58','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229356',`firm_id` = '8',`ordernumber` = 'O24030008448', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2360',`etd` = '2024-03-05',`create_date` = '2024-03-03 18:42:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008448' and product_code = 'DG010206-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008448' and product_code = 'DG010206-01' 2024-03-03 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,'229356','8','O24030008448','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-03-05','2024-03-03 18:42:58','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229356',`firm_id` = '8',`ordernumber` = 'O24030008448', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-05',`create_date` = '2024-03-03 18:42:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008448' and product_code = 'DG010206-01' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008448' and product_code = 'DG010206-03' 2024-03-03 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,'229356','8','O24030008448','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-03-05','2024-03-03 18:42:58','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229356',`firm_id` = '8',`ordernumber` = 'O24030008448', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-05',`create_date` = '2024-03-03 18:42:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008448' and product_code = 'DG010206-03' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008515' and product_code = 'DG010312-02' 2024-03-03 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,'229357','8','O24030008515','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-03-06','2024-03-03 19:30:14','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229357',`firm_id` = '8',`ordernumber` = 'O24030008515', `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-03-06',`create_date` = '2024-03-03 19:30:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008515' and product_code = 'DG010312-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008515' and product_code = 'DG010312-04' 2024-03-03 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,'229357','8','O24030008515','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','2','960','2024-03-06','2024-03-03 19:30:14','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229357',`firm_id` = '8',`ordernumber` = 'O24030008515', `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` = '2',`total_price` = '960',`etd` = '2024-03-06',`create_date` = '2024-03-03 19:30:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008515' and product_code = 'DG010312-04' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008515' and product_code = 'DG010312-05' 2024-03-03 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,'229357','8','O24030008515','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-03-06','2024-03-03 19:30:14','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229357',`firm_id` = '8',`ordernumber` = 'O24030008515', `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-03-06',`create_date` = '2024-03-03 19:30:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008515' and product_code = 'DG010312-05' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008664' and product_code = 'DG010566-11' 2024-03-03 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,'229358','8','O24030008664','經典蛋捲三入組','DG010566-11','DG010566','原味+芝麻+阿薩姆紅茶','經典蛋捲三入組','699','699','0','0','0','1','1','0.0','1','699','2024-03-05','2024-03-03 19:35:02','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229358',`firm_id` = '8',`ordernumber` = 'O24030008664', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-11',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+阿薩姆紅茶',`invoice_name` = '經典蛋捲三入組',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-05',`create_date` = '2024-03-03 19:35:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008664' and product_code = 'DG010566-11' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008664' and product_code = 'ZS010201-02' 2024-03-03 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,'229358','8','O24030008664','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-03-05','2024-03-03 19:35:02','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229358',`firm_id` = '8',`ordernumber` = 'O24030008664', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-05',`create_date` = '2024-03-03 19:35:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008664' and product_code = 'ZS010201-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008664' and product_code = 'DG010312-09' 2024-03-03 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,'229358','8','O24030008664','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-03 19:35:02','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229358',`firm_id` = '8',`ordernumber` = 'O24030008664', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-03 19:35:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008664' and product_code = 'DG010312-09' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008759' and product_code = 'DG010261-01' 2024-03-03 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,'229359','8','O24030008759','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','3','900','2024-03-11','2024-03-03 20:06:17','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229359',`firm_id` = '8',`ordernumber` = 'O24030008759', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-03-11',`create_date` = '2024-03-03 20:06:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008759' and product_code = 'DG010261-01' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008759' and product_code = 'DG010261-05' 2024-03-03 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,'229359','8','O24030008759','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','2','600','2024-03-11','2024-03-03 20:06:17','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229359',`firm_id` = '8',`ordernumber` = 'O24030008759', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-03-11',`create_date` = '2024-03-03 20:06:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008759' and product_code = 'DG010261-05' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008827' and product_code = 'DG010206-02' 2024-03-03 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,'229360','8','O24030008827','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','11','3245','2024-03-05','2024-03-03 20:23:01','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229360',`firm_id` = '8',`ordernumber` = 'O24030008827', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3245',`etd` = '2024-03-05',`create_date` = '2024-03-03 20:23:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008827' and product_code = 'DG010206-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030008986' and product_code = 'DG010206-02' 2024-03-03 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,'229361','8','O24030008986','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','12','3540','2024-03-05','2024-03-03 20:27:19','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229361',`firm_id` = '8',`ordernumber` = 'O24030008986', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3540',`etd` = '2024-03-05',`create_date` = '2024-03-03 20:27:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030008986' and product_code = 'DG010206-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030009069' and product_code = 'DG010567-147' 2024-03-03 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,'229362','8','O24030009069','熱銷蛋捲六入組','DG010567-147','DG010567','原味+芝麻+芝麻+咖啡+海苔+巧克力','熱銷蛋捲六入組','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-05','2024-03-03 21:02:41','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229362',`firm_id` = '8',`ordernumber` = 'O24030009069', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-147',`product_sn` = 'DG010567',`product_spec` = '原味+芝麻+芝麻+咖啡+海苔+巧克力',`invoice_name` = '熱銷蛋捲六入組',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-05',`create_date` = '2024-03-03 21:02:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030009069' and product_code = 'DG010567-147' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030009069' and product_code = 'DG010567-148' 2024-03-03 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,'229362','8','O24030009069','熱銷蛋捲六入組','DG010567-148','DG010567','原味+芝麻+芝麻+咖啡+海苔+阿薩姆紅茶','熱銷蛋捲六入組','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-05','2024-03-03 21:02:41','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229362',`firm_id` = '8',`ordernumber` = 'O24030009069', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-148',`product_sn` = 'DG010567',`product_spec` = '原味+芝麻+芝麻+咖啡+海苔+阿薩姆紅茶',`invoice_name` = '熱銷蛋捲六入組',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-05',`create_date` = '2024-03-03 21:02:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030009069' and product_code = 'DG010567-148' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030009069' and product_code = '13045' 2024-03-03 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,'229362','8','O24030009069','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','110','110','1','1','110','0','0','0.0','1','110','2024-03-05','2024-03-03 21:02:41','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229362',`firm_id` = '8',`ordernumber` = 'O24030009069', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '110',`sellingprice` = '110',`isadd` = '1',`isbaby` = '1',`addprice` = '110',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '110',`etd` = '2024-03-05',`create_date` = '2024-03-03 21:02:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030009069' and product_code = '13045' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030009147' and product_code = 'DG010312-02' 2024-03-03 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,'229363','8','O24030009147','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','7','3360','2024-03-05','2024-03-03 23:21:58','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229363',`firm_id` = '8',`ordernumber` = 'O24030009147', `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` = '7',`total_price` = '3360',`etd` = '2024-03-05',`create_date` = '2024-03-03 23:21:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030009147' and product_code = 'DG010312-02' 2024-03-03 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030009147' and product_code = 'DG010312-15' 2024-03-03 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,'229363','8','O24030009147','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-03 23:21:58','2024-03-03 23:59:06',null,'1','2024-01-23') 2024-03-03 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229363',`firm_id` = '8',`ordernumber` = 'O24030009147', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`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-03-05',`create_date` = '2024-03-03 23:21:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-23'where ordernumber = 'O24030009147' and product_code = 'DG010312-15' 2024-03-03 23:59:06 -- == sync_order_detail end == 2024-03-03 23:59:06 -- == sync_order start == 2024-03-03 23:59:06 -- start:2024-03-03,end:2024-03-03 2024-03-03 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-03-03%' OR l.modify_date like '2024-03-03%'; 2024-03-03 23:59:06 -- == sync omo_order_list == 2024-03-03 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '378157', process_status = '3', pay_status = '1', totalprice_after = '12825', lunar_date = '2024-01-11', invoice_status = '1', category_name = '正式彌,LINE@訂單,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24020015658' 2024-03-03 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '379112', process_status = '3', pay_status = '8', totalprice_after = '400', lunar_date = '2024-01-18', invoice_status = '0', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24020022089' 2024-03-03 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '379482', process_status = '3', pay_status = '8', totalprice_after = '1000', lunar_date = '2024-01-20', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020023545' 2024-03-03 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 ('100345','376952',2,'','','B24030002070','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','105','台北市','松山區','302','新竹縣','竹北市','650','2024-03-03 02:32:00','2024-01-23') 2024-03-03 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 ('100345','376952',2,'','','B24030002169','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','105','台北市','松山區','244','新北市','林口區','650','2024-03-03 02:36:27','2024-01-23') 2024-03-03 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 ('96415','373060',2,'','','B24030002213','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3000','432','台中市','大肚區','432','台中市','大肚區','3150','2024-03-03 12:17:18','2024-01-23') 2024-03-03 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 ('94827','371487',2,'','','B24030002383','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','300','242','新北市','新莊區','807','高雄市','三民區','450','2024-03-03 15:18:34','2024-01-23') 2024-03-03 23:59:06 -- == sync_order end == 2024-03-03 23:59:06 -- == sync_order_detail start == 2024-03-03 23:59:06 -- start:2024-03-03,end:2024-03-03 2024-03-03 23:59:06 -- == sync omo_order_detail == 2024-03-03 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-03%' OR modify_date like '2024-03-03%' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020015658' and product_code = 'DG010202-02' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30315',`firm_id` = '8',`ordernumber` = 'M24020015658', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-02',`product_sn` = 'DG010202',`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` = '39',`total_price` = '11700',`etd` = '2024-03-03',`create_date` = '2024-02-20 13:09:58',`modify_date` = '2024-03-03 11:06:55',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020015658' and product_code = 'DG010202-02', `lunar_date` = '2024-01-11' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020015658' and product_code = 'DG010202-05' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30315',`firm_id` = '8',`ordernumber` = 'M24020015658', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-05',`product_sn` = 'DG010202',`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` = '6',`total_price` = '1800',`etd` = '2024-03-03',`create_date` = '2024-02-20 13:09:58',`modify_date` = '2024-03-03 11:06:55',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020015658' and product_code = 'DG010202-05', `lunar_date` = '2024-01-11' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020015658' and product_code = 'ZP010152-01' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30315',`firm_id` = '8',`ordernumber` = 'M24020015658', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`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-03-03',`create_date` = '2024-02-20 13:09:58',`modify_date` = '2024-03-03 11:06:55',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020015658' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-11' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020022089' and product_code = 'DG010253-01' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30386',`firm_id` = '11',`ordernumber` = 'M24020022089', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`product_spec` = '原味',`invoice_name` = '提盒-彌月小王子(紅)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-03',`create_date` = '2024-02-27 15:38:33',`modify_date` = '2024-03-03 19:49:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020022089' and product_code = 'DG010253-01', `lunar_date` = '2024-01-18' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020022089' and product_code = 'DG010244-02' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30386',`firm_id` = '11',`ordernumber` = 'M24020022089', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-03',`create_date` = '2024-02-27 15:38:33',`modify_date` = '2024-03-03 19:49:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020022089' and product_code = 'DG010244-02', `lunar_date` = '2024-01-18' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020023545' and product_code = 'DG010248-04' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30403',`firm_id` = '11',`ordernumber` = 'M24020023545', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-04',`product_sn` = 'DG010248',`product_spec` = '海苔',`invoice_name` = '提盒-彌月香頌日光-40入海苔(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-01',`create_date` = '2024-02-29 13:56:50',`modify_date` = '2024-03-03 17:01:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020023545' and product_code = 'DG010248-04', `lunar_date` = '2024-01-20' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020023545' and product_code = 'DG010244-01' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30403',`firm_id` = '11',`ordernumber` = 'M24020023545', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-01',`create_date` = '2024-02-29 13:56:50',`modify_date` = '2024-03-03 17:01:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020023545' and product_code = 'DG010244-01', `lunar_date` = '2024-01-20' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020023545' and product_code = 'DG010253-05' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30403',`firm_id` = '11',`ordernumber` = 'M24020023545', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月小王子(紅)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-01',`create_date` = '2024-02-29 13:56:50',`modify_date` = '2024-03-03 17:01:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020023545' and product_code = 'DG010253-05', `lunar_date` = '2024-01-20' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020023545' and product_code = 'DG0103157-07' 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30403',`firm_id` = '11',`ordernumber` = 'M24020023545', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-07',`product_sn` = 'DG0103157',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【芝麻+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-01',`create_date` = '2024-02-29 13:56:50',`modify_date` = '2024-03-03 17:01:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020023545' and product_code = 'DG0103157-07', `lunar_date` = '2024-01-20' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030002070' and product_code = 'DG010383-05' 2024-03-03 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,'30428','8','B24030002070','【小王子聯名】星光飛行8結彌月禮盒','DG010383-05','DG010383','原味+巧克力','禮盒-小王子(紅)【原味+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-03-08','2024-03-03 02:32:00','2024-03-03 23:59:07',null,'1','2024-01-23') 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30428',`firm_id` = '8',`ordernumber` = 'B24030002070', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-05',`product_sn` = 'DG010383',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(紅)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-08',`create_date` = '2024-03-03 02:32:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030002070' and product_code = 'DG010383-05', `lunar_date` = '2024-01-23' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030002169' and product_code = 'DG010383-05' 2024-03-03 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,'30429','8','B24030002169','【小王子聯名】星光飛行8結彌月禮盒','DG010383-05','DG010383','原味+巧克力','禮盒-小王子(紅)【原味+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-03-08','2024-03-03 02:36:27','2024-03-03 23:59:07',null,'1','2024-01-23') 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30429',`firm_id` = '8',`ordernumber` = 'B24030002169', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-05',`product_sn` = 'DG010383',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(紅)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-08',`create_date` = '2024-03-03 02:36:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030002169' and product_code = 'DG010383-05', `lunar_date` = '2024-01-23' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030002213' and product_code = 'DG010203-01' 2024-03-03 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,'30430','8','B24030002213','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','10','3000','2024-03-08','2024-03-03 12:17:18','2024-03-03 23:59:07',null,'1','2024-01-23') 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30430',`firm_id` = '8',`ordernumber` = 'B24030002213', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-03-08',`create_date` = '2024-03-03 12:17:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030002213' and product_code = 'DG010203-01', `lunar_date` = '2024-01-23' 2024-03-03 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030002383' and product_code = 'DG010263-01' 2024-03-03 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,'30431','8','B24030002383','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','1','300','2024-03-08','2024-03-03 15:18:34','2024-03-03 23:59:07',null,'1','2024-01-23') 2024-03-03 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30431',`firm_id` = '8',`ordernumber` = 'B24030002383', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-08',`create_date` = '2024-03-03 15:18:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030002383' and product_code = 'DG010263-01', `lunar_date` = '2024-01-23' 2024-03-03 23:59:07 -- == sync_order_detail end == 2024-03-03 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-03-03' OR o.updated_at = '2024-03-03') and o.deleted_at is null 2024-03-03 23:59:07 -- == sync_order_detail start == 2024-03-03 23:59:07 -- start:2024-03-03,end:2024-03-03 2024-03-03 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-03-03 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-03-03 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-03-03%';