2024-07-07 23:59:03 -- == sync_order start == 2024-07-07 23:59:03 -- start:2024-07-07,end:2024-07-07 2024-07-07 23:59:03 -- == 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-07-07%' OR l.modify_date like '2024-07-07%'; 2024-07-07 23:59:04 -- == sync omo_order_list == 2024-07-07 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 ('363536','400128',1,'','','O24070020652','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','580','251','新北市','淡水區','251','新北市','淡水區','700','2024-07-07 00:12:37','2024-06-02') 2024-07-07 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 ('362382','398984',1,'','','O24070020770','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','580','320','桃園市','中壢區','320','桃園市','中壢區','700','2024-07-07 00:50:30','2024-06-02') 2024-07-07 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 ('363538','400130',1,'','','O24070020883','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','875','324','桃園市','平鎮區','324','桃園市','平鎮區','995','2024-07-07 01:33:05','2024-06-02') 2024-07-07 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 ('360812','194771',1,'','','O24070020956','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3370','220','新北市','板橋區','220','新北市','板橋區','3520','2024-07-07 01:49:47','2024-06-02') 2024-07-07 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 ('362999','399595',1,'','','O24070021095','1','2','1','1','1','04129675','財團法人台灣郵政協會','0','0000-00-00','0','0','0','','0','0','6000','557','南投縣','竹山鎮','557','南投縣','竹山鎮','6000','2024-07-07 10:38:03','2024-06-02') 2024-07-07 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 ('360692','397306',1,'','','O24070021135','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1070','640','雲林縣','斗六市','640','雲林縣','斗六市','1120','2024-07-07 12:02:42','2024-06-02') 2024-07-07 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 ('116531','85834',1,'','','O24070021265','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2420','812','高雄市','小港區','812','高雄市','小港區','2570','2024-07-07 13:38:50','2024-06-02') 2024-07-07 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 ('363577','400169',1,'','','O24070021393','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','495','231','新北市','新店區','231','新北市','新店區','615','2024-07-07 13:43:35','2024-06-02') 2024-07-07 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 ('363587','400179',1,'','','O24070021431','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','306','新竹縣','關西鎮','306','新竹縣','關西鎮','1080','2024-07-07 14:15:56','2024-06-02') 2024-07-07 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 ('283090','320615',1,'','','O24070021519','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1160','330','桃園市','桃園區','330','桃園市','桃園區','1310','2024-07-07 14:59:28','2024-06-02') 2024-07-07 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 ('363617','400209',1,'','','O24070021624','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1695','115','台北市','南港區','235','新北市','中和區','1815','2024-07-07 15:56:27','2024-06-02') 2024-07-07 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 ('363633','400225',1,'','','O24070021714','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2900','110','台北市','信義區','110','台北市','信義區','3020','2024-07-07 16:20:21','2024-06-02') 2024-07-07 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 ('363634','400226',1,'','','O24070021880','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','248','新北市','五股區','248','新北市','五股區','1110','2024-07-07 16:23:49','2024-06-02') 2024-07-07 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 ('233222','262072',1,'','','O24070021943','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','845','338','桃園市','蘆竹區','338','桃園市','蘆竹區','995','2024-07-07 17:08:03','2024-06-02') 2024-07-07 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 ('258813','295631',1,'','','O24070022023','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5900','108','台北市','萬華區','105','台北市','松山區','5900','2024-07-07 17:14:15','2024-06-02') 2024-07-07 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 ('282048','319583',1,'','','O24070022182','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2745','407','台中市','西屯區','407','台中市','西屯區','2895','2024-07-07 19:31:57','2024-06-02') 2024-07-07 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 ('356383','393026',1,'','','O24070022243','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1300','238','新北市','樹林區','238','新北市','樹林區','1450','2024-07-07 20:25:25','2024-06-02') 2024-07-07 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 ('363535','400127',1,'','','O24070022314','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','100','5770','801','高雄市','前金區','801','高雄市','前金區','5670','2024-07-07 20:27:30','2024-06-02') 2024-07-07 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 ('356383','393026',1,'','','O24070022454','1','2','1','0','0','','','0','0000-00-00','0','0','0','','0','0','5615','238','新北市','樹林區','238','新北市','樹林區','5615','2024-07-07 20:29:23','2024-06-02') 2024-07-07 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 ('363640','400232',1,'','','O24070022512','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2790','640','雲林縣','斗六市','640','雲林縣','斗六市','2910','2024-07-07 21:45:03','2024-06-02') 2024-07-07 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 ('132590','101004',1,'','','O24070022662','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1610','807','高雄市','三民區','807','高雄市','三民區','1760','2024-07-07 22:11:40','2024-06-02') 2024-07-07 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 ('363710','400302',1,'','','O24070022766','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1710','314','新竹縣','北埔鄉','314','新竹縣','北埔鄉','1830','2024-07-07 23:15:16','2024-06-02') 2024-07-07 23:59:04 -- == sync_order end == 2024-07-07 23:59:04 -- == sync_order_detail start == 2024-07-07 23:59:04 -- start:2024-07-07,end:2024-07-07 2024-07-07 23:59:04 -- == sync omo_order_detail == 2024-07-07 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-07%' OR modify_date like '2024-07-07%' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020652' and product_code = 'DG010527-03' 2024-07-07 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,'234614','8','O24070020652','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-12','2024-07-07 00:12:37','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234614',`firm_id` = '8',`ordernumber` = 'O24070020652', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-12',`create_date` = '2024-07-07 00:12:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020652' and product_code = 'DG010527-03' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020770' and product_code = '13658' 2024-07-07 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,'234615','8','O24070020770','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-09','2024-07-07 00:50:30','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234615',`firm_id` = '8',`ordernumber` = 'O24070020770', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-09',`create_date` = '2024-07-07 00:50:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020770' and product_code = '13658' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020883' and product_code = 'DG010395-01' 2024-07-07 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,'234616','8','O24070020883','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010395-01','DG010394','原味蛋捲,原味肉酥酥','禮盒-故宮(文物款)【原味+原味肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-07-15','2024-07-07 01:33:05','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234616',`firm_id` = '8',`ordernumber` = 'O24070020883', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010395-01',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲,原味肉酥酥',`invoice_name` = '禮盒-故宮(文物款)【原味+原味肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-07-15',`create_date` = '2024-07-07 01:33:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020883' and product_code = 'DG010395-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020883' and product_code = 'ZS010201-02' 2024-07-07 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,'234616','8','O24070020883','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-07-15','2024-07-07 01:33:05','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234616',`firm_id` = '8',`ordernumber` = 'O24070020883', `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-07-15',`create_date` = '2024-07-07 01:33:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020883' and product_code = 'ZS010201-02' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020956' and product_code = 'DG010261-01' 2024-07-07 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,'234617','8','O24070020956','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','3','900','2024-07-09','2024-07-07 01:49:47','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234617',`firm_id` = '8',`ordernumber` = 'O24070020956', `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-07-09',`create_date` = '2024-07-07 01:49:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020956' and product_code = 'DG010261-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020956' and product_code = 'DG010203-02' 2024-07-07 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,'234617','8','O24070020956','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','3','900','2024-07-09','2024-07-07 01:49:47','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234617',`firm_id` = '8',`ordernumber` = 'O24070020956', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-07-09',`create_date` = '2024-07-07 01:49:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020956' and product_code = 'DG010203-02' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020956' and product_code = '13657' 2024-07-07 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,'234617','8','O24070020956','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-09','2024-07-07 01:49:47','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234617',`firm_id` = '8',`ordernumber` = 'O24070020956', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-09',`create_date` = '2024-07-07 01:49:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020956' and product_code = '13657' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020956' and product_code = 'FL010308-01' 2024-07-07 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,'234617','8','O24070020956','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','495','495','0','0','0','0','1','0.0','2','990','2024-07-09','2024-07-07 01:49:47','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234617',`firm_id` = '8',`ordernumber` = 'O24070020956', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '990',`etd` = '2024-07-09',`create_date` = '2024-07-07 01:49:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070020956' and product_code = 'FL010308-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021095' and product_code = 'DG010203-01' 2024-07-07 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,'234618','8','O24070021095','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','16','4800','2024-07-17','2024-07-07 10:38:03','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234618',`firm_id` = '8',`ordernumber` = 'O24070021095', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '4800',`etd` = '2024-07-17',`create_date` = '2024-07-07 10:38:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021095' and product_code = 'DG010203-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021095' and product_code = 'DG010203-02' 2024-07-07 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,'234618','8','O24070021095','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-07-17','2024-07-07 10:38:03','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234618',`firm_id` = '8',`ordernumber` = 'O24070021095', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-07-17',`create_date` = '2024-07-07 10:38:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021095' and product_code = 'DG010203-02' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021095' and product_code = 'DG010203-05' 2024-07-07 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,'234618','8','O24070021095','【小王子聯名】閃耀星空8結提盒','DG010203-05','DG010203','40入巧克力蛋捲','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-07-17','2024-07-07 10:38:03','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234618',`firm_id` = '8',`ordernumber` = 'O24070021095', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-17',`create_date` = '2024-07-07 10:38:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021095' and product_code = 'DG010203-05' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021095' and product_code = 'DG010203-03' 2024-07-07 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,'234618','8','O24070021095','【小王子聯名】閃耀星空8結提盒','DG010203-03','DG010203','40入咖啡蛋捲','提盒-小王子(藍)-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-07-17','2024-07-07 10:38:03','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234618',`firm_id` = '8',`ordernumber` = 'O24070021095', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-17',`create_date` = '2024-07-07 10:38:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021095' and product_code = 'DG010203-03' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021135' and product_code = 'DG0103132-01' 2024-07-07 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,'234619','8','O24070021135','8結肉酥酥【紅提袋裝】','DG0103132-01','DG0103132','原味+原原肉酥酥','組合-40入原味+原原肉酥酥+紅色提袋','590','590','0','0','0','0','1','0.0','1','590','2024-07-09','2024-07-07 12:02:42','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234619',`firm_id` = '8',`ordernumber` = 'O24070021135', `product_name` = '8結肉酥酥【紅提袋裝】',`product_code` = 'DG0103132-01',`product_sn` = 'DG0103132',`product_spec` = '原味+原原肉酥酥',`invoice_name` = '組合-40入原味+原原肉酥酥+紅色提袋',`listprice` = '590',`sellingprice` = '590',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '590',`etd` = '2024-07-09',`create_date` = '2024-07-07 12:02:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021135' and product_code = 'DG0103132-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021135' and product_code = 'DG0103148-08' 2024-07-07 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,'234619','8','O24070021135','金典8結禮盒','DG0103148-08','DG0103148','芝麻+海苔','禮盒-金典(紅)【芝麻+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-07-09','2024-07-07 12:02:42','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234619',`firm_id` = '8',`ordernumber` = 'O24070021135', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-08',`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-07-09',`create_date` = '2024-07-07 12:02:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021135' and product_code = 'DG0103148-08' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021265' and product_code = 'DG0103181-422' 2024-07-07 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,'234620','8','O24070021265','8結隨享茶點禮盒','DG0103181-422','DG0103181','原味+芝麻,南棗核桃糕,芝麻糕','禮盒-隨享茶點【原味+芝麻】【南棗核桃糕+芝麻糕】','530','530','0','0','0','0','1','0.0','1','530','2024-08-27','2024-07-07 13:38:50','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234620',`firm_id` = '8',`ordernumber` = 'O24070021265', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-422',`product_sn` = 'DG0103181',`product_spec` = '原味+芝麻,南棗核桃糕,芝麻糕',`invoice_name` = '禮盒-隨享茶點【原味+芝麻】【南棗核桃糕+芝麻糕】',`listprice` = '530',`sellingprice` = '530',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '530',`etd` = '2024-08-27',`create_date` = '2024-07-07 13:38:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021265' and product_code = 'DG0103181-422' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021265' and product_code = '13657' 2024-07-07 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,'234620','8','O24070021265','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','6','1740','2024-08-27','2024-07-07 13:38:50','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234620',`firm_id` = '8',`ordernumber` = 'O24070021265', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1740',`etd` = '2024-08-27',`create_date` = '2024-07-07 13:38:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021265' and product_code = '13657' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021265' and product_code = 'TG010102-01' 2024-07-07 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,'234620','8','O24070021265','黑曜芝麻糕(全素)','TG010102-01','TG010102','12入芝麻糕','(盒)芝麻糕','150','150','0','0','0','0','1','150.0','1','150','2024-08-27','2024-07-07 13:38:50','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234620',`firm_id` = '8',`ordernumber` = 'O24070021265', `product_name` = '黑曜芝麻糕(全素)',`product_code` = 'TG010102-01',`product_sn` = 'TG010102',`product_spec` = '12入芝麻糕',`invoice_name` = '(盒)芝麻糕',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '150.0',`amount` = '1',`total_price` = '150',`etd` = '2024-08-27',`create_date` = '2024-07-07 13:38:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021265' and product_code = 'TG010102-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021393' and product_code = 'FL010308-01' 2024-07-07 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,'234621','8','O24070021393','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','495','495','0','0','0','0','1','0.0','1','495','2024-07-09','2024-07-07 13:43:35','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234621',`firm_id` = '8',`ordernumber` = 'O24070021393', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-07-09',`create_date` = '2024-07-07 13:43:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021393' and product_code = 'FL010308-01' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021431' and product_code = 'DG010312-05' 2024-07-07 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,'234622','8','O24070021431','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-07-09','2024-07-07 14:15:56','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234622',`firm_id` = '8',`ordernumber` = 'O24070021431', `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-07-09',`create_date` = '2024-07-07 14:15:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021431' and product_code = 'DG010312-05' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021519' and product_code = 'DG010527-03' 2024-07-07 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,'234623','8','O24070021519','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-09','2024-07-07 14:59:28','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234623',`firm_id` = '8',`ordernumber` = 'O24070021519', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-09',`create_date` = '2024-07-07 14:59:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021519' and product_code = 'DG010527-03' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021519' and product_code = '13657' 2024-07-07 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,'234623','8','O24070021519','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-09','2024-07-07 14:59:28','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234623',`firm_id` = '8',`ordernumber` = 'O24070021519', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-09',`create_date` = '2024-07-07 14:59:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021519' and product_code = '13657' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021519' and product_code = '13659' 2024-07-07 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,'234623','8','O24070021519','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-09','2024-07-07 14:59:28','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234623',`firm_id` = '8',`ordernumber` = 'O24070021519', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`product_sn` = '13656',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-09',`create_date` = '2024-07-07 14:59:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021519' and product_code = '13659' 2024-07-07 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021624' and product_code = 'DG0105101-01' 2024-07-07 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,'234624','8','O24070021624','【期間限定】限定人氣伴手禮組','DG0105101-01','DG0105101','原味蛋捲+鳳梨酥+復古紅提袋','組合-32入原味+8入鳳梨酥+[復古]提袋','565','565','0','0','0','0','1','0.0','3','1695','2024-07-09','2024-07-07 15:56:27','2024-07-07 23:59:06',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234624',`firm_id` = '8',`ordernumber` = 'O24070021624', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-01',`product_sn` = 'DG0105101',`product_spec` = '原味蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入原味+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1695',`etd` = '2024-07-09',`create_date` = '2024-07-07 15:56:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021624' and product_code = 'DG0105101-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021714' and product_code = 'DG010527-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234625','8','O24070021714','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','8','2320','2024-07-09','2024-07-07 16:20:21','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234625',`firm_id` = '8',`ordernumber` = 'O24070021714', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2320',`etd` = '2024-07-09',`create_date` = '2024-07-07 16:20:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021714' and product_code = 'DG010527-05' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021714' and product_code = 'DG010527-01' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234625','8','O24070021714','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-09','2024-07-07 16:20:21','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234625',`firm_id` = '8',`ordernumber` = 'O24070021714', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-09',`create_date` = '2024-07-07 16:20:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021714' and product_code = 'DG010527-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021880' and product_code = 'DG010523-09' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234626','8','O24070021880','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-07-22','2024-07-07 16:23:49','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234626',`firm_id` = '8',`ordernumber` = 'O24070021880', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-07-22',`create_date` = '2024-07-07 16:23:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021880' and product_code = 'DG010523-09' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021943' and product_code = 'DG0103149-08' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234627','8','O24070021943','金典8結肉酥酥禮盒','DG0103149-08','02945','咖啡+原辣肉酥酥','禮盒-金典(紅)【咖啡+原辣肉酥酥】','555','555','0','0','0','0','1','0.0','1','555','2024-07-09','2024-07-07 17:08:03','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234627',`firm_id` = '8',`ordernumber` = 'O24070021943', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-08',`product_sn` = '02945',`product_spec` = '咖啡+原辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【咖啡+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '555',`etd` = '2024-07-09',`create_date` = '2024-07-07 17:08:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021943' and product_code = 'DG0103149-08' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021943' and product_code = '13660' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234627','8','O24070021943','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-09','2024-07-07 17:08:03','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234627',`firm_id` = '8',`ordernumber` = 'O24070021943', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-09',`create_date` = '2024-07-07 17:08:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021943' and product_code = '13660' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022023' and product_code = 'DG010258-01' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234628','8','O24070022023','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','20','5900','2024-09-03','2024-07-07 17:14:15','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234628',`firm_id` = '8',`ordernumber` = 'O24070022023', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '5900',`etd` = '2024-09-03',`create_date` = '2024-07-07 17:14:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022023' and product_code = 'DG010258-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022182' and product_code = 'DG010315-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234629','8','O24070022182','金8結肉酥酥禮盒','DG010315-05','DG010315','原辣肉酥酥【芝麻蛋捲】','禮盒-金8結【芝麻+原辣肉酥酥】','555','555','0','0','0','0','1','555.0','1','555','2024-07-09','2024-07-07 19:31:57','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234629',`firm_id` = '8',`ordernumber` = 'O24070022182', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-05',`product_sn` = 'DG010315',`product_spec` = '原辣肉酥酥【芝麻蛋捲】',`invoice_name` = '禮盒-金8結【芝麻+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '1',`total_price` = '555',`etd` = '2024-07-09',`create_date` = '2024-07-07 19:31:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022182' and product_code = 'DG010315-05' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022182' and product_code = 'DG010399-01' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234629','8','O24070022182','游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】','DG010399-01','DG010399','原味蛋捲,阿里山金萱','禮盒-故宮(文物款)【原味+阿里山金萱】','1350','1350','0','0','0','0','1','0.0','1','1350','2024-07-09','2024-07-07 19:31:57','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234629',`firm_id` = '8',`ordernumber` = 'O24070022182', `product_name` = '游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】',`product_code` = 'DG010399-01',`product_sn` = 'DG010399',`product_spec` = '原味蛋捲,阿里山金萱',`invoice_name` = '禮盒-故宮(文物款)【原味+阿里山金萱】',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-07-09',`create_date` = '2024-07-07 19:31:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022182' and product_code = 'DG010399-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022182' and product_code = '13045' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234629','8','O24070022182','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','6','840','2024-07-09','2024-07-07 19:31:57','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234629',`firm_id` = '8',`ordernumber` = 'O24070022182', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '6',`total_price` = '840',`etd` = '2024-07-09',`create_date` = '2024-07-07 19:31:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022182' and product_code = '13045' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022243' and product_code = 'DG010589-19' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234630','8','O24070022243','梅好心意隨享禮盒','DG010589-19','DG010589','8入鳳梅酥盒裝+芝麻+咖啡+無籽梅肉','禮盒-梅好心意【芝麻+咖啡】【鳳梅酥+無籽梅肉】','650','650','0','0','0','0','1','0.0','1','650','2024-07-22','2024-07-07 20:25:25','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234630',`firm_id` = '8',`ordernumber` = 'O24070022243', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-19',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+芝麻+咖啡+無籽梅肉',`invoice_name` = '禮盒-梅好心意【芝麻+咖啡】【鳳梅酥+無籽梅肉】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '650',`etd` = '2024-07-22',`create_date` = '2024-07-07 20:25:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022243' and product_code = 'DG010589-19' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022243' and product_code = 'DG010589-20' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234630','8','O24070022243','梅好心意隨享禮盒','DG010589-20','DG010589','8入鳳梅酥盒裝+芝麻+咖啡+台灣梅片','禮盒-梅好心意【芝麻+咖啡】【鳳梅酥+台灣梅片】','650','650','0','0','0','0','1','0.0','1','650','2024-07-22','2024-07-07 20:25:25','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234630',`firm_id` = '8',`ordernumber` = 'O24070022243', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-20',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+芝麻+咖啡+台灣梅片',`invoice_name` = '禮盒-梅好心意【芝麻+咖啡】【鳳梅酥+台灣梅片】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '650',`etd` = '2024-07-22',`create_date` = '2024-07-07 20:25:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022243' and product_code = 'DG010589-20' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022314' and product_code = '13660' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234631','8','O24070022314','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-08-13','2024-07-07 20:27:30','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234631',`firm_id` = '8',`ordernumber` = 'O24070022314', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-08-13',`create_date` = '2024-07-07 20:27:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022314' and product_code = '13660' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022314' and product_code = 'DG0103148-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234631','8','O24070022314','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','9','4320','2024-08-13','2024-07-07 20:27:30','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234631',`firm_id` = '8',`ordernumber` = 'O24070022314', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '4320',`etd` = '2024-08-13',`create_date` = '2024-07-07 20:27:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022314' and product_code = 'DG0103148-05' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022314' and product_code = 'DG010527-01' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234631','8','O24070022314','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','3','870','2024-08-13','2024-07-07 20:27:30','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234631',`firm_id` = '8',`ordernumber` = 'O24070022314', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-08-13',`create_date` = '2024-07-07 20:27:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022314' and product_code = 'DG010527-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022454' and product_code = 'DG0105101-03' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234632','8','O24070022454','【期間限定】限定人氣伴手禮組','DG0105101-03','DG0105101','咖啡蛋捲+鳳梨酥+復古紅提袋','組合-32入咖啡+8入鳳梨酥+[復古]提袋','565','565','0','0','0','0','1','0.0','3','1695','2024-07-22','2024-07-07 20:29:23','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234632',`firm_id` = '8',`ordernumber` = 'O24070022454', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-03',`product_sn` = 'DG0105101',`product_spec` = '咖啡蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入咖啡+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1695',`etd` = '2024-07-22',`create_date` = '2024-07-07 20:29:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022454' and product_code = 'DG0105101-03' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022454' and product_code = 'DG010312-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234632','8','O24070022454','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-07-22','2024-07-07 20:29:23','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234632',`firm_id` = '8',`ordernumber` = 'O24070022454', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-22',`create_date` = '2024-07-07 20:29:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022454' and product_code = 'DG010312-05' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022454' and product_code = 'DG010261-03' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234632','8','O24070022454','【SNOOPY聯名】美好食光-8結提盒','DG010261-03','DG010261','40入咖啡蛋捲','提盒-SNOOPY-40入咖啡','300','300','0','0','0','0','1','0.0','3','900','2024-07-22','2024-07-07 20:29:23','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234632',`firm_id` = '8',`ordernumber` = 'O24070022454', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-03',`product_sn` = 'DG010261',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-SNOOPY-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-07-22',`create_date` = '2024-07-07 20:29:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022454' and product_code = 'DG010261-03' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022454' and product_code = 'BP010161-01' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234632','8','O24070022454','[加購]加購-SNOOPY熱壓三明治機','BP010161-01','BP010161','-','加購-SNOOPY熱壓三明治機','1580','1580','1','1','1580','0','0','0.0','1','1580','2024-07-22','2024-07-07 20:29:23','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234632',`firm_id` = '8',`ordernumber` = 'O24070022454', `product_name` = '[加購]加購-SNOOPY熱壓三明治機',`product_code` = 'BP010161-01',`product_sn` = 'BP010161',`product_spec` = '-',`invoice_name` = '加購-SNOOPY熱壓三明治機',`listprice` = '1580',`sellingprice` = '1580',`isadd` = '1',`isbaby` = '1',`addprice` = '1580',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '1580',`etd` = '2024-07-22',`create_date` = '2024-07-07 20:29:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022454' and product_code = 'BP010161-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022512' and product_code = 'DG0103148-07' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234633','8','O24070022512','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','2','960','2024-07-09','2024-07-07 21:45:03','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234633',`firm_id` = '8',`ordernumber` = 'O24070022512', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-07',`product_sn` = 'DG0103148',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-金典(紅)【芝麻+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-07-09',`create_date` = '2024-07-07 21:45:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022512' and product_code = 'DG0103148-07' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022512' and product_code = 'DG0103148-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234633','8','O24070022512','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-07-09','2024-07-07 21:45:03','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234633',`firm_id` = '8',`ordernumber` = 'O24070022512', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-07-09',`create_date` = '2024-07-07 21:45:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022512' and product_code = 'DG0103148-05' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022512' and product_code = 'DG010527-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234633','8','O24070022512','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-09','2024-07-07 21:45:03','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234633',`firm_id` = '8',`ordernumber` = 'O24070022512', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-09',`create_date` = '2024-07-07 21:45:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022512' and product_code = 'DG010527-05' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022512' and product_code = 'DG010527-02' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234633','8','O24070022512','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-09','2024-07-07 21:45:03','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234633',`firm_id` = '8',`ordernumber` = 'O24070022512', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-09',`create_date` = '2024-07-07 21:45:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022512' and product_code = 'DG010527-02' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022662' and product_code = 'DG0103182-335' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234634','8','O24070022662','金巧8結禮盒','DG0103182-335','DG0103182','海苔,鳳梅酥,黑松露杏仁果','禮盒-金巧8結【(海苔)-鳳梅酥+黑松露杏仁果】','650','650','0','0','0','0','1','0.0','1','650','2024-07-09','2024-07-07 22:11:40','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234634',`firm_id` = '8',`ordernumber` = 'O24070022662', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-335',`product_sn` = 'DG0103182',`product_spec` = '海苔,鳳梅酥,黑松露杏仁果',`invoice_name` = '禮盒-金巧8結【(海苔)-鳳梅酥+黑松露杏仁果】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '650',`etd` = '2024-07-09',`create_date` = '2024-07-07 22:11:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022662' and product_code = 'DG0103182-335' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022662' and product_code = 'DG010312-14' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234634','8','O24070022662','【海苔+巧克力】金8結禮盒','DG010312-14','DG010312','金8結盒','禮盒-金8結【海苔+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-07-09','2024-07-07 22:11:40','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234634',`firm_id` = '8',`ordernumber` = 'O24070022662', `product_name` = '【海苔+巧克力】金8結禮盒',`product_code` = 'DG010312-14',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【海苔+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-09',`create_date` = '2024-07-07 22:11:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022662' and product_code = 'DG010312-14' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022662' and product_code = 'DG010312-03' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234634','8','O24070022662','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-07-09','2024-07-07 22:11:40','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234634',`firm_id` = '8',`ordernumber` = 'O24070022662', `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-07-09',`create_date` = '2024-07-07 22:11:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022662' and product_code = 'DG010312-03' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022766' and product_code = '13656' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234635','8','O24070022766','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-07-09','2024-07-07 23:15:16','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234635',`firm_id` = '8',`ordernumber` = 'O24070022766', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-07-09',`create_date` = '2024-07-07 23:15:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022766' and product_code = '13656' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022766' and product_code = 'DG010101-01' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234635','8','O24070022766','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-09','2024-07-07 23:15:16','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234635',`firm_id` = '8',`ordernumber` = 'O24070022766', `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-07-09',`create_date` = '2024-07-07 23:15:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022766' and product_code = 'DG010101-01' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022766' and product_code = 'DG010101-02' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234635','8','O24070022766','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-09','2024-07-07 23:15:16','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234635',`firm_id` = '8',`ordernumber` = 'O24070022766', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-09',`create_date` = '2024-07-07 23:15:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022766' and product_code = 'DG010101-02' 2024-07-07 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070022766' and product_code = 'DG010101-05' 2024-07-07 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234635','8','O24070022766','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-09','2024-07-07 23:15:16','2024-07-07 23:59:07',null,'1','2024-06-02') 2024-07-07 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234635',`firm_id` = '8',`ordernumber` = 'O24070022766', `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-07-09',`create_date` = '2024-07-07 23:15:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070022766' and product_code = 'DG010101-05' 2024-07-07 23:59:07 -- == sync_order_detail end == 2024-07-07 23:59:07 -- == sync_order start == 2024-07-07 23:59:07 -- start:2024-07-07,end:2024-07-07 2024-07-07 23:59:07 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-07-07%' OR l.modify_date like '2024-07-07%'; 2024-07-07 23:59:08 -- == sync omo_order_list == 2024-07-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '399226', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-05-26', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24070001260' 2024-07-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-05-28', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24070003442' 2024-07-07 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '202283', process_status = '3', pay_status = '8', totalprice_after = '1600', lunar_date = '2024-05-29', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24070004941' 2024-07-07 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('123267','0',2,'美村門市訂單,正式彌','21,1','M24070006961','1','1','1','1','1','','','0','2024-07-09','0','0','0','','0','0','6000','407','台中市','西屯區','508','彰化縣','和美鎮','6000','2024-07-07 15:24:31','2024-06-02') 2024-07-07 23:59:08 -- == sync_order end == 2024-07-07 23:59:08 -- == sync_order_detail start == 2024-07-07 23:59:08 -- start:2024-07-07,end:2024-07-07 2024-07-07 23:59:08 -- == sync omo_order_detail == 2024-07-07 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-07%' OR modify_date like '2024-07-07%' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070001260' and product_code = 'DG0103157-07' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31638',`firm_id` = '11',`ordernumber` = 'M24070001260', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`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-07-05',`create_date` = '2024-07-01 11:01:31',`modify_date` = '2024-07-07 14:02:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070001260' and product_code = 'DG0103157-07', `lunar_date` = '2024-05-26' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003442' and product_code = 'DG010253-05' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31662',`firm_id` = '11',`ordernumber` = 'M24070003442', `product_name` = '小王子(紅)提盒-彌月試吃【A4】',`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-07-05',`create_date` = '2024-07-03 10:39:52',`modify_date` = '2024-07-07 15:00:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003442' and product_code = 'DG010253-05', `lunar_date` = '2024-05-28' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003442' and product_code = 'DG010264-03' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31662',`firm_id` = '11',`ordernumber` = 'M24070003442', `product_name` = 'SNOOPY(黃)提盒-彌月試吃【A5】',`product_code` = 'DG010264-03',`product_sn` = 'DG010264',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-05',`create_date` = '2024-07-03 10:39:52',`modify_date` = '2024-07-07 15:00:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003442' and product_code = 'DG010264-03', `lunar_date` = '2024-05-28' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004941' and product_code = 'DG0103147-02' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31679',`firm_id` = '11',`ordernumber` = 'M24070004941', `product_name` = '都會LUCK禮盒彌月試吃【B1】',`product_code` = 'DG0103147-02',`product_sn` = 'DG0103147',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月都會LUCK【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-05',`create_date` = '2024-07-04 13:16:15',`modify_date` = '2024-07-07 16:27:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004941' and product_code = 'DG0103147-02', `lunar_date` = '2024-05-29' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004941' and product_code = 'DG0103137-02' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31679',`firm_id` = '11',`ordernumber` = 'M24070004941', `product_name` = '樂芙禮盒彌月試吃【B2】',`product_code` = 'DG0103137-02',`product_sn` = 'DG0103137',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-05',`create_date` = '2024-07-04 13:16:15',`modify_date` = '2024-07-07 16:27:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004941' and product_code = 'DG0103137-02', `lunar_date` = '2024-05-29' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004941' and product_code = 'DG0103138-02' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31679',`firm_id` = '11',`ordernumber` = 'M24070004941', `product_name` = '小王子禮盒彌月試吃【B3】',`product_code` = 'DG0103138-02',`product_sn` = 'DG0103138',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-05',`create_date` = '2024-07-04 13:16:15',`modify_date` = '2024-07-07 16:27:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004941' and product_code = 'DG0103138-02', `lunar_date` = '2024-05-29' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004941' and product_code = 'DG0103157-02' 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31679',`firm_id` = '11',`ordernumber` = 'M24070004941', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`product_code` = 'DG0103157-02',`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-07-05',`create_date` = '2024-07-04 13:43:41',`modify_date` = '2024-07-07 16:27:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004941' and product_code = 'DG0103157-02', `lunar_date` = '2024-05-29' 2024-07-07 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070006961' and product_code = 'DG0103156-05' 2024-07-07 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31700','8','M24070006961','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-05','DG0103156','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','12','6000','2024-07-09','2024-07-07 15:24:31','2024-07-07 23:59:08',null,'1','2024-06-02') 2024-07-07 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31700',`firm_id` = '8',`ordernumber` = 'M24070006961', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '6000',`etd` = '2024-07-09',`create_date` = '2024-07-07 15:24:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070006961' and product_code = 'DG0103156-05', `lunar_date` = '2024-06-02' 2024-07-07 23:59:08 -- == sync_order_detail end == 2024-07-07 23:59:08 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-07-07' OR o.updated_at = '2024-07-07') and o.deleted_at is null 2024-07-07 23:59:08 -- == sync_order_detail start == 2024-07-07 23:59:08 -- start:2024-07-07,end:2024-07-07 2024-07-07 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-07-07 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-07-07 23:59:13 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-07-07%';