2024-09-14 23:59:02 -- == sync_order start == 2024-09-14 23:59:02 -- start:2024-09-14,end:2024-09-14 2024-09-14 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-09-14%' OR l.modify_date like '2024-09-14%'; 2024-09-14 23:59:03 -- == sync omo_order_list == 2024-09-14 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '412425', process_status = '3', pay_status = '1', totalprice_after = '9139', lunar_date = '2024-07-20', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24080588216' 2024-09-14 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '414183', process_status = '3', pay_status = '1', totalprice_after = '4305', lunar_date = '2024-07-25', invoice_status = '0',category_name = ',電話訂單', category_id = ',12' where ordernumber = 'S24080810698' 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('371388','407896',1,'','','O24090233575','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','100','6960','820','高雄市','岡山區','820','高雄市','岡山區','6860','2024-09-14 01:07:12','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384742','421069',1,'','','O24090233647','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','4500','500','彰化縣','彰化市','500','彰化縣','彰化市','4620','2024-09-14 10:06:47','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384764','421090',1,'','','O24090233777','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','930','806','高雄市','前鎮區','806','高雄市','前鎮區','1050','2024-09-14 11:39:39','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('124256','92938',1,'','','O24090233811','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','150','2880','800','高雄市','新興區','800','高雄市','新興區','2880','2024-09-14 12:20:55','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384520','420851',1,'','','O24090233911','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3940','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','4060','2024-09-14 12:56:25','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384520','420851',1,'','','O24090234091','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2880','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','3000','2024-09-14 13:04:10','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('234424','263638',1,'','','O24090234139','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1240','913','屏東縣','萬丹鄉','913','屏東縣','萬丹鄉','1390','2024-09-14 15:38:48','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384832','421159',1,'','','O24090234272','1','2','1','0','0','','','0','0000-00-00','1450','0','0','','0','0','29000','710','台南市','永康區','710','台南市','永康區','27550','2024-09-14 15:44:16','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384874','421201',1,'','','O24090234310','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','295','403','台中市','西區','433','台中市','沙鹿區','445','2024-09-14 18:40:13','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384877','421204',1,'','','O24090234411','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','252','新北市','三芝區','252','新北市','三芝區','1080','2024-09-14 19:55:38','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384878','421205',1,'','','O24090234570','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5760','503','彰化縣','花壇鄉','503','彰化縣','花壇鄉','5730','2024-09-14 20:01:10','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('284620','322133',1,'','','O24090234653','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','427','台中市','潭子區','427','台中市','潭子區','1110','2024-09-14 20:44:14','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384881','421208',1,'','','O24090234763','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6135','802','高雄市','苓雅區','802','高雄市','苓雅區','6135','2024-09-14 20:51:02','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384882','421209',1,'','','O24090234860','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','560','320','桃園市','中壢區','320','桃園市','中壢區','680','2024-09-14 20:54:12','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('166384','133525',1,'','','O24090234936','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2320','242','新北市','新莊區','242','新北市','新莊區','2470','2024-09-14 22:51:27','2024-08-12') 2024-09-14 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('384880','421207',1,'','','O24090235019','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','542','南投縣','草屯鎮','204','基隆市','安樂區','620','2024-09-14 23:05:05','2024-08-12') 2024-09-14 23:59:03 -- == sync_order end == 2024-09-14 23:59:03 -- == sync_order_detail start == 2024-09-14 23:59:03 -- start:2024-09-14,end:2024-09-14 2024-09-14 23:59:03 -- == sync omo_order_detail == 2024-09-14 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-09-14%' OR modify_date like '2024-09-14%' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24080588216' and product_code = 'FL010102-01' 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '242487',`firm_id` = '8',`ordernumber` = 'S24080588216', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '165',`etd` = '2024-09-14',`create_date` = '2024-08-23 12:38:13',`modify_date` = '2024-09-14 12:54:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-20'where ordernumber = 'S24080588216' and product_code = 'FL010102-01' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24080588216' and product_code = 'FL010104-01' 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '242487',`firm_id` = '8',`ordernumber` = 'S24080588216', `product_name` = '加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '61',`total_price` = '9455',`etd` = '2024-09-14',`create_date` = '2024-08-23 12:38:13',`modify_date` = '2024-09-14 12:54:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-20'where ordernumber = 'S24080588216' and product_code = 'FL010104-01' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24080810698' and product_code = 'DG0103182-170' 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '244802',`firm_id` = '8',`ordernumber` = 'S24080810698', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-170',`product_sn` = 'DG0103182',`product_spec` = '芝麻.黑松露腰果.國寶茶',`invoice_name` = '禮盒-金巧8結【(芝麻)-黑松露腰果+國寶茶】',`listprice` = '615',`sellingprice` = '615',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '4305',`etd` = '2024-09-13',`create_date` = '2024-08-28 17:43:40',`modify_date` = '2024-09-14 10:44:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-07-25'where ordernumber = 'S24080810698' and product_code = 'DG0103182-170' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233575' and product_code = '13658' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248659','8','O24090233575','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','4','1160','2024-09-20','2024-09-14 01:07:12','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248659',`firm_id` = '8',`ordernumber` = 'O24090233575', `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` = '4',`total_price` = '1160',`etd` = '2024-09-20',`create_date` = '2024-09-14 01:07:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233575' and product_code = '13658' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233575' and product_code = '13657' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248659','8','O24090233575','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','9','2610','2024-09-20','2024-09-14 01:07:12','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248659',`firm_id` = '8',`ordernumber` = 'O24090233575', `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` = '9',`total_price` = '2610',`etd` = '2024-09-20',`create_date` = '2024-09-14 01:07:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233575' and product_code = '13657' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233575' and product_code = '13660' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248659','8','O24090233575','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','9','2610','2024-09-20','2024-09-14 01:07:12','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248659',`firm_id` = '8',`ordernumber` = 'O24090233575', `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` = '9',`total_price` = '2610',`etd` = '2024-09-20',`create_date` = '2024-09-14 01:07:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233575' and product_code = '13660' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233575' and product_code = 'TG010118-01' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248659','8','O24090233575','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','1','290','2024-09-20','2024-09-14 01:07:12','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248659',`firm_id` = '8',`ordernumber` = 'O24090233575', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-09-20',`create_date` = '2024-09-14 01:07:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233575' and product_code = 'TG010118-01' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233575' and product_code = '03951' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248659','8','O24090233575','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','1','290','2024-09-20','2024-09-14 01:07:12','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248659',`firm_id` = '8',`ordernumber` = 'O24090233575', `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-09-20',`create_date` = '2024-09-14 01:07:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233575' and product_code = '03951' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233647' and product_code = 'DG010265-01' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248660','8','O24090233647','【預購-9/19後出貨】SNOOPY獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','15','4500','2024-09-20','2024-09-14 10:06:47','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248660',`firm_id` = '8',`ordernumber` = 'O24090233647', `product_name` = '【預購-9/19後出貨】SNOOPY獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4500',`etd` = '2024-09-20',`create_date` = '2024-09-14 10:06:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233647' and product_code = 'DG010265-01' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233777' and product_code = 'DG010101-04' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248661','8','O24090233777','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-23','2024-09-14 11:39:39','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248661',`firm_id` = '8',`ordernumber` = 'O24090233777', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-09-23',`create_date` = '2024-09-14 11:39:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233777' and product_code = 'DG010101-04' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233777' and product_code = 'TE010101-01' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248661','8','O24090233777','棗香枸杞茶','TE010101-01','TE010101','6入紅棗枸杞茶包','(盒)枸杞茶','160','160','0','0','0','0','1','160.0','2','320','2024-09-23','2024-09-14 11:39:39','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248661',`firm_id` = '8',`ordernumber` = 'O24090233777', `product_name` = '棗香枸杞茶',`product_code` = 'TE010101-01',`product_sn` = 'TE010101',`product_spec` = '6入紅棗枸杞茶包',`invoice_name` = '(盒)枸杞茶',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '2',`total_price` = '320',`etd` = '2024-09-23',`create_date` = '2024-09-14 11:39:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233777' and product_code = 'TE010101-01' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233777' and product_code = 'LS010108-03' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248661','8','O24090233777','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','190','190','1','1','190','0','0','0.0','1','190','2024-09-23','2024-09-14 11:39:39','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248661',`firm_id` = '8',`ordernumber` = 'O24090233777', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-09-23',`create_date` = '2024-09-14 11:39:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233777' and product_code = 'LS010108-03' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233777' and product_code = '13045' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248661','8','O24090233777','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-09-23','2024-09-14 11:39:39','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248661',`firm_id` = '8',`ordernumber` = 'O24090233777', `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` = '1',`total_price` = '140',`etd` = '2024-09-23',`create_date` = '2024-09-14 11:39:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233777' and product_code = '13045' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233811' and product_code = 'DG0105104-09' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248662','8','O24090233811','【都會LUCK】8結禮盒','DG0105104-09','DG0105104','芝麻+巧克力','禮盒-都會LUCK【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','6','2880','2024-09-20','2024-09-14 12:20:55','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248662',`firm_id` = '8',`ordernumber` = 'O24090233811', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-09',`product_sn` = 'DG0105104',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-都會LUCK【芝麻+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-09-20',`create_date` = '2024-09-14 12:20:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233811' and product_code = 'DG0105104-09' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233911' and product_code = '13660' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248663','8','O24090233911','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-09-20','2024-09-14 12:56:25','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248663',`firm_id` = '8',`ordernumber` = 'O24090233911', `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` = '3',`total_price` = '870',`etd` = '2024-09-20',`create_date` = '2024-09-14 12:56:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233911' and product_code = '13660' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233911' and product_code = '13656' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248663','8','O24090233911','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-09-20','2024-09-14 12:56:25','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248663',`firm_id` = '8',`ordernumber` = 'O24090233911', `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` = '2',`total_price` = '580',`etd` = '2024-09-20',`create_date` = '2024-09-14 12:56:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233911' and product_code = '13656' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233911' and product_code = '13657' 2024-09-14 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'248663','8','O24090233911','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-09-20','2024-09-14 12:56:25','2024-09-14 23:59:05',null,'1','2024-08-12') 2024-09-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248663',`firm_id` = '8',`ordernumber` = 'O24090233911', `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-09-20',`create_date` = '2024-09-14 12:56:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233911' and product_code = '13657' 2024-09-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233911' and product_code = '13658' 2024-09-14 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,'248663','8','O24090233911','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-09-20','2024-09-14 12:56:25','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248663',`firm_id` = '8',`ordernumber` = 'O24090233911', `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` = '3',`total_price` = '870',`etd` = '2024-09-20',`create_date` = '2024-09-14 12:56:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233911' and product_code = '13658' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233911' and product_code = 'DG0105104-12' 2024-09-14 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,'248663','8','O24090233911','【都會LUCK】8結禮盒','DG0105104-12','DG0105104','巧克力+咖啡','禮盒-都會LUCK【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-09-20','2024-09-14 12:56:25','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248663',`firm_id` = '8',`ordernumber` = 'O24090233911', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-12',`product_sn` = 'DG0105104',`product_spec` = '巧克力+咖啡',`invoice_name` = '禮盒-都會LUCK【咖啡+巧克力】',`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-09-20',`create_date` = '2024-09-14 12:56:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233911' and product_code = 'DG0105104-12' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090233911' and product_code = 'DG010101-05' 2024-09-14 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,'248663','8','O24090233911','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-09-20','2024-09-14 12:56:25','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248663',`firm_id` = '8',`ordernumber` = 'O24090233911', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-09-20',`create_date` = '2024-09-14 12:56:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090233911' and product_code = 'DG010101-05' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234091' and product_code = 'DG010101-05' 2024-09-14 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,'248664','8','O24090234091','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-09-20','2024-09-14 13:04:10','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248664',`firm_id` = '8',`ordernumber` = 'O24090234091', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-09-20',`create_date` = '2024-09-14 13:04:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234091' and product_code = 'DG010101-05' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234091' and product_code = '13658' 2024-09-14 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,'248664','8','O24090234091','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-09-20','2024-09-14 13:04:10','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248664',`firm_id` = '8',`ordernumber` = 'O24090234091', `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-09-20',`create_date` = '2024-09-14 13:04:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234091' and product_code = '13658' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234091' and product_code = '13660' 2024-09-14 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,'248664','8','O24090234091','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-09-20','2024-09-14 13:04:10','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248664',`firm_id` = '8',`ordernumber` = 'O24090234091', `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` = '3',`total_price` = '870',`etd` = '2024-09-20',`create_date` = '2024-09-14 13:04:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234091' and product_code = '13660' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234091' and product_code = '13657' 2024-09-14 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,'248664','8','O24090234091','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-09-20','2024-09-14 13:04:10','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248664',`firm_id` = '8',`ordernumber` = 'O24090234091', `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-09-20',`create_date` = '2024-09-14 13:04:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234091' and product_code = '13657' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234091' and product_code = '13656' 2024-09-14 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,'248664','8','O24090234091','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-09-20','2024-09-14 13:04:10','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248664',`firm_id` = '8',`ordernumber` = 'O24090234091', `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` = '1',`total_price` = '290',`etd` = '2024-09-20',`create_date` = '2024-09-14 13:04:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234091' and product_code = '13656' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234139' and product_code = 'DG010206-01' 2024-09-14 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,'248665','8','O24090234139','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','2','590','2024-09-20','2024-09-14 15:38:48','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248665',`firm_id` = '8',`ordernumber` = 'O24090234139', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-09-20',`create_date` = '2024-09-14 15:38:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234139' and product_code = 'DG010206-01' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234139' and product_code = 'DG010101-01' 2024-09-14 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,'248665','8','O24090234139','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-20','2024-09-14 15:38:48','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248665',`firm_id` = '8',`ordernumber` = 'O24090234139', `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-09-20',`create_date` = '2024-09-14 15:38:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234139' and product_code = 'DG010101-01' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234139' and product_code = 'FL010103-01' 2024-09-14 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,'248665','8','O24090234139','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','2','370','2024-09-20','2024-09-14 15:38:48','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248665',`firm_id` = '8',`ordernumber` = 'O24090234139', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '370',`etd` = '2024-09-20',`create_date` = '2024-09-14 15:38:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234139' and product_code = 'FL010103-01' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234272' and product_code = '13656' 2024-09-14 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,'248666','8','O24090234272','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','100','29000','2024-09-20','2024-09-14 15:44:16','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248666',`firm_id` = '8',`ordernumber` = 'O24090234272', `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` = '100',`total_price` = '29000',`etd` = '2024-09-20',`create_date` = '2024-09-14 15:44:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234272' and product_code = '13656' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234310' and product_code = 'DG010258-03' 2024-09-14 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,'248667','8','O24090234310','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-09-20','2024-09-14 18:40:13','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248667',`firm_id` = '8',`ordernumber` = 'O24090234310', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-09-20',`create_date` = '2024-09-14 18:40:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234310' and product_code = 'DG010258-03' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234411' and product_code = 'DG010312-02' 2024-09-14 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,'248668','8','O24090234411','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-09-23','2024-09-14 19:55:38','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248668',`firm_id` = '8',`ordernumber` = 'O24090234411', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-23',`create_date` = '2024-09-14 19:55:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234411' and product_code = 'DG010312-02' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234411' and product_code = 'DG010312-03' 2024-09-14 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,'248668','8','O24090234411','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-09-23','2024-09-14 19:55:38','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248668',`firm_id` = '8',`ordernumber` = 'O24090234411', `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-09-23',`create_date` = '2024-09-14 19:55:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234411' and product_code = 'DG010312-03' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234570' and product_code = 'DG010312-02' 2024-09-14 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,'248669','8','O24090234570','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','12','5760','2024-09-20','2024-09-14 20:01:10','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248669',`firm_id` = '8',`ordernumber` = 'O24090234570', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '12',`total_price` = '5760',`etd` = '2024-09-20',`create_date` = '2024-09-14 20:01:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234570' and product_code = 'DG010312-02' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234653' and product_code = 'DG010312-02' 2024-09-14 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,'248670','8','O24090234653','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-09-20','2024-09-14 20:44:14','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248670',`firm_id` = '8',`ordernumber` = 'O24090234653', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-09-20',`create_date` = '2024-09-14 20:44:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234653' and product_code = 'DG010312-02' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234763' and product_code = '13656' 2024-09-14 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,'248671','8','O24090234763','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','15','4350','2024-09-20','2024-09-14 20:51:02','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248671',`firm_id` = '8',`ordernumber` = 'O24090234763', `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` = '15',`total_price` = '4350',`etd` = '2024-09-20',`create_date` = '2024-09-14 20:51:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234763' and product_code = '13656' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234763' and product_code = 'FL010102-01' 2024-09-14 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,'248671','8','O24090234763','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','5','825','2024-09-20','2024-09-14 20:51:02','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248671',`firm_id` = '8',`ordernumber` = 'O24090234763', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '5',`total_price` = '825',`etd` = '2024-09-20',`create_date` = '2024-09-14 20:51:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234763' and product_code = 'FL010102-01' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234763' and product_code = 'DG010312-05' 2024-09-14 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,'248671','8','O24090234763','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-09-20','2024-09-14 20:51:02','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248671',`firm_id` = '8',`ordernumber` = 'O24090234763', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-20',`create_date` = '2024-09-14 20:51:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234763' and product_code = 'DG010312-05' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234763' and product_code = 'DG010312-01' 2024-09-14 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,'248671','8','O24090234763','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-09-20','2024-09-14 20:51:02','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248671',`firm_id` = '8',`ordernumber` = 'O24090234763', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-20',`create_date` = '2024-09-14 20:51:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234763' and product_code = 'DG010312-01' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234860' and product_code = 'DG010101-05' 2024-09-14 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,'248672','8','O24090234860','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-20','2024-09-14 20:54:12','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248672',`firm_id` = '8',`ordernumber` = 'O24090234860', `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-09-20',`create_date` = '2024-09-14 20:54:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234860' and product_code = 'DG010101-05' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234860' and product_code = 'DG010101-01' 2024-09-14 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,'248672','8','O24090234860','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-20','2024-09-14 20:54:12','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248672',`firm_id` = '8',`ordernumber` = 'O24090234860', `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-09-20',`create_date` = '2024-09-14 20:54:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234860' and product_code = 'DG010101-01' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090234936' and product_code = '13656' 2024-09-14 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,'248673','8','O24090234936','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','8','2320','2024-09-20','2024-09-14 22:51:27','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248673',`firm_id` = '8',`ordernumber` = 'O24090234936', `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` = '8',`total_price` = '2320',`etd` = '2024-09-20',`create_date` = '2024-09-14 22:51:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090234936' and product_code = '13656' 2024-09-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24090235019' and product_code = 'DG0103188-15' 2024-09-14 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,'248674','8','O24090235019','【預購-9/19後出貨】SNOOPY美好探尋-8結禮盒','DG0103188-15','DG0103188','海苔蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【海苔+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-09-20','2024-09-14 23:05:05','2024-09-14 23:59:06',null,'1','2024-08-12') 2024-09-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '248674',`firm_id` = '8',`ordernumber` = 'O24090235019', `product_name` = '【預購-9/19後出貨】SNOOPY美好探尋-8結禮盒',`product_code` = 'DG0103188-15',`product_sn` = 'DG0103188',`product_spec` = '海苔蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【海苔+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-09-20',`create_date` = '2024-09-14 23:05:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-12'where ordernumber = 'O24090235019' and product_code = 'DG0103188-15' 2024-09-14 23:59:06 -- == sync_order_detail end == 2024-09-14 23:59:06 -- == sync_order start == 2024-09-14 23:59:06 -- start:2024-09-14,end:2024-09-14 2024-09-14 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-09-14%' OR l.modify_date like '2024-09-14%'; 2024-09-14 23:59:06 -- == sync omo_order_list == 2024-09-14 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '412617', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-07-23', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24080034425' 2024-09-14 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '250389', process_status = '3', pay_status = '1', totalprice_after = '5130', lunar_date = '2024-07-27', invoice_status = '0', category_name = 'LINE@訂單,正式彌,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24080043183' 2024-09-14 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('144651','420754',2,'','','B24090017714','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','402','台中市','南區','411','台中市','太平區','620','2024-09-14 00:50:50','2024-08-12') 2024-09-14 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('144651','420754',2,'','','B24090017836','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','300','402','台中市','南區','503','彰化縣','花壇鄉','450','2024-09-14 00:56:05','2024-08-12') 2024-09-14 23:59:06 -- == sync_order end == 2024-09-14 23:59:06 -- == sync_order_detail start == 2024-09-14 23:59:06 -- start:2024-09-14,end:2024-09-14 2024-09-14 23:59:06 -- == sync omo_order_detail == 2024-09-14 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-09-14%' OR modify_date like '2024-09-14%' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24080034425' and product_code = 'DG0103190-05' 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32429',`firm_id` = '11',`ordernumber` = 'M24080034425', `product_name` = 'SNOOPY(橘)禮盒-彌月試吃【B3】',`product_code` = 'DG0103190-05',`product_sn` = 'DG0103190',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-09-13',`create_date` = '2024-08-26 09:11:38',`modify_date` = '2024-09-14 16:41:25',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24080034425' and product_code = 'DG0103190-05', `lunar_date` = '2024-07-23' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24080043183' and product_code = 'DG010266-01' 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32521',`firm_id` = '8',`ordernumber` = 'M24080043183', `product_name` = '【SNOOPY聯名】獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-09-13',`create_date` = '2024-08-30 14:15:44',`modify_date` = '2024-09-14 12:38:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24080043183' and product_code = 'DG010266-01', `lunar_date` = '2024-07-27' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24080043183' and product_code = 'DG010266-05' 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32521',`firm_id` = '8',`ordernumber` = 'M24080043183', `product_name` = '【SNOOPY聯名】獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`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` = '8',`total_price` = '2400',`etd` = '2024-09-13',`create_date` = '2024-08-30 14:15:44',`modify_date` = '2024-09-14 12:38:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24080043183' and product_code = 'DG010266-05', `lunar_date` = '2024-07-27' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24080043183' and product_code = 'DG010266-03' 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32521',`firm_id` = '8',`ordernumber` = 'M24080043183', `product_name` = '【SNOOPY聯名】獨特心意-8結彌月提盒',`product_code` = 'DG010266-03',`product_sn` = 'DG010266',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-09-13',`create_date` = '2024-08-30 14:15:44',`modify_date` = '2024-09-14 12:38:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24080043183' and product_code = 'DG010266-03', `lunar_date` = '2024-07-27' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24080043183' and product_code = 'DG010266-02' 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32521',`firm_id` = '8',`ordernumber` = 'M24080043183', `product_name` = '【SNOOPY聯名】獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-09-13',`create_date` = '2024-08-30 14:15:44',`modify_date` = '2024-09-14 12:38:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24080043183' and product_code = 'DG010266-02', `lunar_date` = '2024-07-27' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24080043183' and product_code = 'ZP010519-01' 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32521',`firm_id` = '8',`ordernumber` = 'M24080043183', `product_name` = '贈品-SNOOPY心意組',`product_code` = 'ZP010519-01',`product_sn` = 'ZP010519',`product_spec` = '原味+SNOOPY心意提袋+SNOOPY提把水瓶',`invoice_name` = '組合-8入原味蛋捲+SNOOPY心意提袋+SNOOPY提把水瓶',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-09-13',`create_date` = '2024-08-30 14:15:44',`modify_date` = '2024-09-14 12:38:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24080043183' and product_code = 'ZP010519-01', `lunar_date` = '2024-07-27' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090017714' and product_code = 'DG0103189-05' 2024-09-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32741','8','B24090017714','【預購-9/19後出貨】SNOOPY美好探尋-8結彌月禮盒','DG0103189-05','DG0103189','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-09-20','2024-09-14 00:50:50','2024-09-14 23:59:07',null,'1','2024-08-12') 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32741',`firm_id` = '8',`ordernumber` = 'B24090017714', `product_name` = '【預購-9/19後出貨】SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-09-20',`create_date` = '2024-09-14 00:50:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090017714' and product_code = 'DG0103189-05', `lunar_date` = '2024-08-12' 2024-09-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24090017836' and product_code = 'DG010266-05' 2024-09-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32742','8','B24090017836','【預購-9/19後出貨】SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','1','0','0','1','0.0','1','300','2024-09-20','2024-09-14 00:56:05','2024-09-14 23:59:07',null,'1','2024-08-12') 2024-09-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32742',`firm_id` = '8',`ordernumber` = 'B24090017836', `product_name` = '【預購-9/19後出貨】SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-09-20',`create_date` = '2024-09-14 00:56:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24090017836' and product_code = 'DG010266-05', `lunar_date` = '2024-08-12' 2024-09-14 23:59:07 -- == sync_order_detail end == 2024-09-14 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-09-14' OR o.updated_at = '2024-09-14') and o.deleted_at is null 2024-09-14 23:59:07 -- == sync_order_detail start == 2024-09-14 23:59:07 -- start:2024-09-14,end:2024-09-14 2024-09-14 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-09-14 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-09-14 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-09-14%';