2024-10-27 23:59:02 -- == sync_order start == 2024-10-27 23:59:02 -- start:2024-10-27,end:2024-10-27 2024-10-27 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-10-27%' OR l.modify_date like '2024-10-27%'; 2024-10-27 23:59:03 -- == sync omo_order_list == 2024-10-27 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '45428', lunar_date = '2024-09-19', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24100065761RB' 2024-10-27 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 ('391543','427815',1,'','','O24100083212','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','302','新竹縣','竹北市','302','新竹縣','竹北市','1560','2024-10-27 00:11:11','2024-09-25') 2024-10-27 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 ('349487','386194',1,'','','O24100083317','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','302','新竹縣','竹北市','302','新竹縣','竹北市','630','2024-10-27 00:42:01','2024-09-25') 2024-10-27 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 ('383096','419444',1,'','','O24100083486','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2880','811','高雄市','楠梓區','811','高雄市','楠梓區','3030','2024-10-27 04:03:15','2024-09-25') 2024-10-27 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 ('391552','427824',1,'','','O24100083535','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1845','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','1995','2024-10-27 08:20:00','2024-09-25') 2024-10-27 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 ('391557','427829',1,'','','O24100083675','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1880','406','台中市','北屯區','406','台中市','北屯區','2030','2024-10-27 11:33:57','2024-09-25') 2024-10-27 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 ('383151','419498',1,'','','O24100083750','1','1','1','1','1','41292847','宸鈺企業行','0','0000-00-00','0','0','0','','150','0','960','814','高雄市','仁武區','814','高雄市','仁武區','1110','2024-10-27 11:44:39','2024-09-25') 2024-10-27 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 ('391535','427807',1,'','','O24100083824','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1450','104','台北市','中山區','104','台北市','中山區','1570','2024-10-27 12:32:02','2024-09-25') 2024-10-27 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 ('391587','427859',1,'','','O24100083922','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','221','新北市','汐止區','221','新北市','汐止區','420','2024-10-27 13:08:12','2024-09-25') 2024-10-27 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 ('391584','427856',1,'','','O24100084025','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','503','彰化縣','花壇鄉','912','屏東縣','內埔鄉','1110','2024-10-27 13:13:04','2024-09-25') 2024-10-27 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 ('391605','427877',1,'','','O24100084118','1','1','1','1','1','29062124','安克華科技有限公司','0','0000-00-00','0','0','0','','150','0','1520','114','台北市','內湖區','114','台北市','內湖區','1670','2024-10-27 14:40:56','2024-09-25') 2024-10-27 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 ('391652','427924',1,'','','O24100084219','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1680','701','台南市','東區','701','台南市','東區','1800','2024-10-27 16:26:27','2024-09-25') 2024-10-27 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 ('108352','78541',1,'','','O24100084357','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','300','新竹市','北區','300','新竹市','北區','630','2024-10-27 18:11:57','2024-09-25') 2024-10-27 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 ('391689','427961',1,'','','O24100084451','1','11','1','1','1','69115908','國立成功大學','0','0000-00-00','0','0','0','','0','30','5760','830','高雄市','鳳山區','830','高雄市','鳳山區','5730','2024-10-27 18:58:35','2024-09-25') 2024-10-27 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 ('391701','427973',1,'','','O24100084515','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','290','427','台中市','潭子區','427','台中市','潭子區','410','2024-10-27 20:03:00','2024-09-25') 2024-10-27 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 ('391170','427444',1,'','','O24100084658','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','801','高雄市','前金區','612','嘉義縣','太保市','600','2024-10-27 21:15:21','2024-09-25') 2024-10-27 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 ('47990','22616',1,'','','O24100084739','1','11','1','1','1','83135530','唯安投資有限公司','0','0000-00-00','0','0','0','','150','0','2230','407','台中市','西屯區','407','台中市','西屯區','2380','2024-10-27 21:35:15','2024-09-25') 2024-10-27 23:59:07 -- == 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 ('246306','279489',1,'','','O24100084875','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1770','237','新北市','三峽區','237','新北市','三峽區','1920','2024-10-27 22:24:09','2024-09-25') 2024-10-27 23:59:07 -- == 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 ('391715','427987',1,'','','O24100084956','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1080','811','高雄市','楠梓區','710','台南市','永康區','1200','2024-10-27 23:05:47','2024-09-25') 2024-10-27 23:59:07 -- == 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 ('391513','427785',1,'','','O24100085070','1','11','1','1','1','10815335','社團法人台南市南瀛社會福利推展協會','0','0000-00-00','0','0','0','','0','0','6090','730','台南市','新營區','730','台南市','新營區','6090','2024-10-27 23:12:14','2024-09-25') 2024-10-27 23:59:07 -- == sync_order end == 2024-10-27 23:59:07 -- == sync_order_detail start == 2024-10-27 23:59:07 -- start:2024-10-27,end:2024-10-27 2024-10-27 23:59:07 -- == sync omo_order_detail == 2024-10-27 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-27%' OR modify_date like '2024-10-27%' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100065761RB' and product_code = '13656' 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250017',`firm_id` = '8',`ordernumber` = 'S24100065761RB', `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` = '165',`total_price` = '47850',`etd` = '2024-11-02',`create_date` = '2024-10-20 16:12:27',`modify_date` = '2024-10-27 16:45:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-18'where ordernumber = 'S24100065761RB' and product_code = '13656' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100065761RB' and product_code = 'BP010189-01' 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250017',`firm_id` = '8',`ordernumber` = 'S24100065761RB', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '0',`etd` = '2024-11-02',`create_date` = '2024-10-20 16:12:27',`modify_date` = '2024-10-27 16:45:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-18'where ordernumber = 'S24100065761RB' and product_code = 'BP010189-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100065761RB' and product_code = 'BP010183-01' 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250017',`firm_id` = '8',`ordernumber` = 'S24100065761RB', `product_name` = '贈品-SNOOPY飲料提袋',`product_code` = 'BP010183-01',`product_sn` = 'BP010183',`product_spec` = '贈品-SNOOPY飲料提袋',`invoice_name` = '贈品-SNOOPY飲料提袋',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '0',`etd` = '2024-11-02',`create_date` = '2024-10-20 16:12:27',`modify_date` = '2024-10-27 16:45:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-18'where ordernumber = 'S24100065761RB' and product_code = 'BP010183-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083212' and product_code = 'DG010312-02' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250161','8','O24100083212','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-10-29','2024-10-27 00:11:11','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250161',`firm_id` = '8',`ordernumber` = 'O24100083212', `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-10-29',`create_date` = '2024-10-27 00:11:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083212' and product_code = 'DG010312-02' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083212' and product_code = 'DG010312-12' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250161','8','O24100083212','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 00:11:11','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250161',`firm_id` = '8',`ordernumber` = 'O24100083212', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-29',`create_date` = '2024-10-27 00:11:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083212' and product_code = 'DG010312-12' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083317' and product_code = 'DG010312-03' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250162','8','O24100083317','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 00:42:01','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250162',`firm_id` = '8',`ordernumber` = 'O24100083317', `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-10-29',`create_date` = '2024-10-27 00:42:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083317' and product_code = 'DG010312-03' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083486' and product_code = 'DG010312-05' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250163','8','O24100083486','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-10-29','2024-10-27 04:03:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250163',`firm_id` = '8',`ordernumber` = 'O24100083486', `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-10-29',`create_date` = '2024-10-27 04:03:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083486' and product_code = 'DG010312-05' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083486' and product_code = 'DG010312-04' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250163','8','O24100083486','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','2','960','2024-10-29','2024-10-27 04:03:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250163',`firm_id` = '8',`ordernumber` = 'O24100083486', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-10-29',`create_date` = '2024-10-27 04:03:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083486' and product_code = 'DG010312-04' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083486' and product_code = 'DG010312-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250163','8','O24100083486','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 04:03:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250163',`firm_id` = '8',`ordernumber` = 'O24100083486', `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-10-29',`create_date` = '2024-10-27 04:03:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083486' and product_code = 'DG010312-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083486' and product_code = 'DG010312-02' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250163','8','O24100083486','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 04:03:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250163',`firm_id` = '8',`ordernumber` = 'O24100083486', `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-10-29',`create_date` = '2024-10-27 04:03:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083486' and product_code = 'DG010312-02' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'FL010102-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250164','8','O24100083535','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','1','165','2024-11-01','2024-10-27 08:20:00','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `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-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'FL010102-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'DG010101-02' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250164','8','O24100083535','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-01','2024-10-27 08:20:00','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'DG010101-02' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'DG010101-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250164','8','O24100083535','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-11-01','2024-10-27 08:20:00','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `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` = '4',`total_price` = '1120',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'DG010101-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'DG010101-03' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250164','8','O24100083535','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-01','2024-10-27 08:20:00','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'DG010101-03' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083675' and product_code = 'DG0105103-30' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250165','8','O24100083675','SNOOPY美好心意-蛋捲三入組','DG0105103-30','DG0105103','咖啡+海苔+巧克力','組合-32入(咖啡+海苔+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-29','2024-10-27 11:33:57','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250165',`firm_id` = '8',`ordernumber` = 'O24100083675', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-30',`product_sn` = 'DG0105103',`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-10-29',`create_date` = '2024-10-27 11:33:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083675' and product_code = 'DG0105103-30' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083675' and product_code = 'BP010179-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250165','8','O24100083675','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-10-29','2024-10-27 11:33:57','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250165',`firm_id` = '8',`ordernumber` = 'O24100083675', `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-10-29',`create_date` = '2024-10-27 11:33:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083675' and product_code = 'BP010179-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083675' and product_code = 'BP010185-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250165','8','O24100083675','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-29','2024-10-27 11:33:57','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250165',`firm_id` = '8',`ordernumber` = 'O24100083675', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-29',`create_date` = '2024-10-27 11:33:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083675' and product_code = 'BP010185-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083675' and product_code = 'BP010188-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250165','8','O24100083675','[加購]加購-SNOOPY面紙套','BP010188-01','BP010188','-','加購-SNOOPY面紙套','250','250','1','1','250','0','0','0.0','1','250','2024-10-29','2024-10-27 11:33:57','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250165',`firm_id` = '8',`ordernumber` = 'O24100083675', `product_name` = '[加購]加購-SNOOPY面紙套',`product_code` = 'BP010188-01',`product_sn` = 'BP010188',`product_spec` = '-',`invoice_name` = '加購-SNOOPY面紙套',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-29',`create_date` = '2024-10-27 11:33:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083675' and product_code = 'BP010188-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083750' and product_code = 'DG010312-03' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250166','8','O24100083750','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 11:44:39','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250166',`firm_id` = '8',`ordernumber` = 'O24100083750', `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-10-29',`create_date` = '2024-10-27 11:44:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083750' and product_code = 'DG010312-03' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083750' and product_code = 'DG010312-09' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250166','8','O24100083750','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 11:44:39','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250166',`firm_id` = '8',`ordernumber` = 'O24100083750', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-29',`create_date` = '2024-10-27 11:44:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083750' and product_code = 'DG010312-09' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083824' and product_code = 'DG010527-02' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250167','8','O24100083824','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-10-29','2024-10-27 12:32:02','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250167',`firm_id` = '8',`ordernumber` = 'O24100083824', `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` = '5',`total_price` = '1450',`etd` = '2024-10-29',`create_date` = '2024-10-27 12:32:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083824' and product_code = 'DG010527-02' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083922' and product_code = 'BP010184-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250168','8','O24100083922','SNOOPY盥洗收納包','BP010184-01','BP010184','SNOOPY盥洗收納包','SNOOPY盥洗收納包','300','300','0','0','0','0','1','0.0','1','300','2024-10-29','2024-10-27 13:08:12','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250168',`firm_id` = '8',`ordernumber` = 'O24100083922', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`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-10-29',`create_date` = '2024-10-27 13:08:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083922' and product_code = 'BP010184-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084025' and product_code = 'DG0105103-09' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250169','8','O24100084025','SNOOPY美好心意-蛋捲三入組','DG0105103-09','DG0105103','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-29','2024-10-27 13:13:04','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250169',`firm_id` = '8',`ordernumber` = 'O24100084025', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-09',`product_sn` = 'DG0105103',`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-10-29',`create_date` = '2024-10-27 13:13:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084025' and product_code = 'DG0105103-09' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084118' and product_code = 'DG010101-03' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250170','8','O24100084118','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-01','2024-10-27 14:40:56','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250170',`firm_id` = '8',`ordernumber` = 'O24100084118', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-11-01',`create_date` = '2024-10-27 14:40:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084118' and product_code = 'DG010101-03' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084118' and product_code = 'DG010101-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250170','8','O24100084118','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-11-01','2024-10-27 14:40:56','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250170',`firm_id` = '8',`ordernumber` = 'O24100084118', `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-11-01',`create_date` = '2024-10-27 14:40:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084118' and product_code = 'DG010101-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084118' and product_code = 'DG0103132-04' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250170','8','O24100084118','8結肉酥酥【紅提袋裝】','DG0103132-04','DG0103132','芝麻+原原肉酥酥','組合-40入芝麻+原原肉酥酥+紅色提袋','590','590','0','0','0','0','1','0.0','1','590','2024-11-01','2024-10-27 14:40:56','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250170',`firm_id` = '8',`ordernumber` = 'O24100084118', `product_name` = '8結肉酥酥【紅提袋裝】',`product_code` = 'DG0103132-04',`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-11-01',`create_date` = '2024-10-27 14:40:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084118' and product_code = 'DG0103132-04' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084118' and product_code = 'FL010103-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250170','8','O24100084118','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','2','370','2024-11-01','2024-10-27 14:40:56','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250170',`firm_id` = '8',`ordernumber` = 'O24100084118', `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-11-01',`create_date` = '2024-10-27 14:40:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084118' and product_code = 'FL010103-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084219' and product_code = 'DG010101-03' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250171','8','O24100084219','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-10-31','2024-10-27 16:26:27','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250171',`firm_id` = '8',`ordernumber` = 'O24100084219', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-10-31',`create_date` = '2024-10-27 16:26:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084219' and product_code = 'DG010101-03' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084219' and product_code = 'DG010101-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250171','8','O24100084219','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-10-31','2024-10-27 16:26:27','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250171',`firm_id` = '8',`ordernumber` = 'O24100084219', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-10-31',`create_date` = '2024-10-27 16:26:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084219' and product_code = 'DG010101-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084357' and product_code = 'DG010312-04' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250172','8','O24100084357','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 18:11:57','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250172',`firm_id` = '8',`ordernumber` = 'O24100084357', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-29',`create_date` = '2024-10-27 18:11:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084357' and product_code = 'DG010312-04' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084451' and product_code = 'DG0103148-02' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250173','8','O24100084451','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','6','2880','2024-10-29','2024-10-27 18:58:35','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250173',`firm_id` = '8',`ordernumber` = 'O24100084451', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-10-29',`create_date` = '2024-10-27 18:58:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084451' and product_code = 'DG0103148-02' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084451' and product_code = 'DG010312-14' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250173','8','O24100084451','【海苔+巧克力】金8結禮盒','DG010312-14','DG010312','金8結盒','禮盒-金8結【海苔+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2024-10-29','2024-10-27 18:58:35','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250173',`firm_id` = '8',`ordernumber` = 'O24100084451', `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` = '6',`total_price` = '2880',`etd` = '2024-10-29',`create_date` = '2024-10-27 18:58:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084451' and product_code = 'DG010312-14' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084451' and product_code = 'BP010189-01' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250173','8','O24100084451','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','1','0','2024-10-29','2024-10-27 18:58:35','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250173',`firm_id` = '8',`ordernumber` = 'O24100084451', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-29',`create_date` = '2024-10-27 18:58:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084451' and product_code = 'BP010189-01' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084515' and product_code = 'DG010527-05' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250174','8','O24100084515','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-29','2024-10-27 20:03:00','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250174',`firm_id` = '8',`ordernumber` = 'O24100084515', `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` = '1',`total_price` = '290',`etd` = '2024-10-29',`create_date` = '2024-10-27 20:03:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084515' and product_code = 'DG010527-05' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084658' and product_code = 'DG010312-03' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250175','8','O24100084658','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 21:15:21','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250175',`firm_id` = '8',`ordernumber` = 'O24100084658', `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-10-29',`create_date` = '2024-10-27 21:15:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084658' and product_code = 'DG010312-03' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084739' and product_code = 'DG0103148-07' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250176','8','O24100084739','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','2','960','2024-10-29','2024-10-27 21:35:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250176',`firm_id` = '8',`ordernumber` = 'O24100084739', `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-10-29',`create_date` = '2024-10-27 21:35:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084739' and product_code = 'DG0103148-07' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084739' and product_code = 'DG0103148-09' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250176','8','O24100084739','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-10-29','2024-10-27 21:35:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250176',`firm_id` = '8',`ordernumber` = 'O24100084739', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-09',`product_sn` = 'DG0103148',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-金典(紅)【芝麻+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-29',`create_date` = '2024-10-27 21:35:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084739' and product_code = 'DG0103148-09' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084739' and product_code = 'DG010527-02' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250176','8','O24100084739','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-29','2024-10-27 21:35:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250176',`firm_id` = '8',`ordernumber` = 'O24100084739', `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-10-29',`create_date` = '2024-10-27 21:35:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084739' and product_code = 'DG010527-02' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084739' and product_code = 'DG0103188-12' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250176','8','O24100084739','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-12','DG0103188','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-10-29','2024-10-27 21:35:15','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250176',`firm_id` = '8',`ordernumber` = 'O24100084739', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-12',`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-10-29',`create_date` = '2024-10-27 21:35:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084739' and product_code = 'DG0103188-12' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084875' and product_code = 'DG0103182-56' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250177','8','O24100084875','金巧8結禮盒','DG0103182-56','DG0103182','原味,夏威夷豆軟糖,國寶茶','禮盒-金巧8結【(原味)-夏威夷豆軟糖+國寶茶】','645','645','0','0','0','0','1','0.0','2','1290','2024-10-29','2024-10-27 22:24:09','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250177',`firm_id` = '8',`ordernumber` = 'O24100084875', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-56',`product_sn` = 'DG0103182',`product_spec` = '原味,夏威夷豆軟糖,國寶茶',`invoice_name` = '禮盒-金巧8結【(原味)-夏威夷豆軟糖+國寶茶】',`listprice` = '645',`sellingprice` = '645',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1290',`etd` = '2024-10-29',`create_date` = '2024-10-27 22:24:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084875' and product_code = 'DG0103182-56' 2024-10-27 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084875' and product_code = 'DG010312-05' 2024-10-27 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250177','8','O24100084875','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-29','2024-10-27 22:24:09','2024-10-27 23:59:09',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250177',`firm_id` = '8',`ordernumber` = 'O24100084875', `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-10-29',`create_date` = '2024-10-27 22:24:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084875' and product_code = 'DG010312-05' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084956' and product_code = 'BP010184-01' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250178','8','O24100084956','SNOOPY盥洗收納包','BP010184-01','BP010184','SNOOPY盥洗收納包','SNOOPY盥洗收納包','300','300','0','0','0','0','1','0.0','1','300','2024-10-29','2024-10-27 23:05:47','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250178',`firm_id` = '8',`ordernumber` = 'O24100084956', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`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-10-29',`create_date` = '2024-10-27 23:05:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084956' and product_code = 'BP010184-01' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084956' and product_code = 'BP010179-01' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250178','8','O24100084956','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','2','780','2024-10-29','2024-10-27 23:05:47','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250178',`firm_id` = '8',`ordernumber` = 'O24100084956', `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '780',`etd` = '2024-10-29',`create_date` = '2024-10-27 23:05:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084956' and product_code = 'BP010179-01' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100085070' and product_code = 'DG010527-02' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250179','8','O24100085070','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','6','1740','2024-10-29','2024-10-27 23:12:14','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250179',`firm_id` = '8',`ordernumber` = 'O24100085070', `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` = '6',`total_price` = '1740',`etd` = '2024-10-29',`create_date` = '2024-10-27 23:12:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100085070' and product_code = 'DG010527-02' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100085070' and product_code = 'DG010527-03' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250179','8','O24100085070','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-10-29','2024-10-27 23:12:14','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250179',`firm_id` = '8',`ordernumber` = 'O24100085070', `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-10-29',`create_date` = '2024-10-27 23:12:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100085070' and product_code = 'DG010527-03' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100085070' and product_code = 'DG010527-01' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250179','8','O24100085070','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','13','3770','2024-10-29','2024-10-27 23:12:14','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250179',`firm_id` = '8',`ordernumber` = 'O24100085070', `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` = '13',`total_price` = '3770',`etd` = '2024-10-29',`create_date` = '2024-10-27 23:12:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100085070' and product_code = 'DG010527-01' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100085070' and product_code = 'BP010189-01' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250179','8','O24100085070','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','1','0','2024-10-29','2024-10-27 23:12:14','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250179',`firm_id` = '8',`ordernumber` = 'O24100085070', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-29',`create_date` = '2024-10-27 23:12:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100085070' and product_code = 'BP010189-01' 2024-10-27 23:59:10 -- == sync_order_detail end == 2024-10-27 23:59:10 -- == sync_order start == 2024-10-27 23:59:10 -- start:2024-10-27,end:2024-10-27 2024-10-27 23:59:10 -- == 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-10-27%' OR l.modify_date like '2024-10-27%'; 2024-10-27 23:59:10 -- == sync omo_order_list == 2024-10-27 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '427173', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-09-21', invoice_status = '0', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24100018283' 2024-10-27 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '427119', process_status = '3', pay_status = '1', totalprice_after = '2700', lunar_date = '2024-09-21', invoice_status = '0', category_name = '正式彌,LINE@訂單,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24100018760' 2024-10-27 23:59:10 -- == 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 ('30462','0',2,'正式彌,永康門市訂單','1,22','M24100022643','1','6','7','1','1','','','1','2024-11-06','0','1110','0','','0','0','18000','235','新北市','中和區','235','新北市','中和區','16890','2024-10-27 15:56:15','2024-09-25') 2024-10-27 23:59:10 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '3090', lunar_date = '2024-09-25', invoice_status = '1', category_name = '正式彌,永康門市訂單', category_id = '1,22' where ordernumber = 'M24100022643' 2024-10-27 23:59:10 -- == sync_order end == 2024-10-27 23:59:10 -- == sync_order_detail start == 2024-10-27 23:59:10 -- start:2024-10-27,end:2024-10-27 2024-10-27 23:59:10 -- == sync omo_order_detail == 2024-10-27 23:59:10 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-27%' OR modify_date like '2024-10-27%' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100018283' and product_code = 'DG0103190-08' 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33142',`firm_id` = '11',`ordernumber` = 'M24100018283', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-08',`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-10-27',`create_date` = '2024-10-23 09:37:41',`modify_date` = '2024-10-27 17:43:20',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100018283' and product_code = 'DG0103190-08', `lunar_date` = '2024-09-21' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100018760' and product_code = 'DG010266-01' 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33147',`firm_id` = '8',`ordernumber` = 'M24100018760', `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` = '9',`total_price` = '2700',`etd` = '2024-10-25',`create_date` = '2024-10-23 13:09:30',`modify_date` = '2024-10-27 15:55:02',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100018760' and product_code = 'DG010266-01', `lunar_date` = '2024-09-21' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010267-01' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33186','11','M24100022643','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-01','DG010267','原味','提盒-彌月SNOOPY(粉)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','12','3600','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33186',`firm_id` = '11',`ordernumber` = 'M24100022643', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3600',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010267-01', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010267-02' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33186','11','M24100022643','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-02','DG010267','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','12','3600','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33186',`firm_id` = '11',`ordernumber` = 'M24100022643', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-02',`product_sn` = 'DG010267',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3600',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010267-02', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010267-03' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33186','11','M24100022643','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-03','DG010267','咖啡','提盒-彌月SNOOPY(粉)-40入咖啡(試吃)','300','300','0','0','0','0','1','0.0','12','3600','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33186',`firm_id` = '11',`ordernumber` = 'M24100022643', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-03',`product_sn` = 'DG010267',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3600',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010267-03', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010267-04' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33186','11','M24100022643','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-04','DG010267','海苔','提盒-彌月SNOOPY(粉)-40入海苔(試吃)','300','300','0','0','0','0','1','0.0','12','3600','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33186',`firm_id` = '11',`ordernumber` = 'M24100022643', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-04',`product_sn` = 'DG010267',`product_spec` = '海苔',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入海苔(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3600',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010267-04', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010267-05' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33186','11','M24100022643','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-05','DG010267','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','12','3600','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33186',`firm_id` = '11',`ordernumber` = 'M24100022643', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-05',`product_sn` = 'DG010267',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3600',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010267-05', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010101-01' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33187','8','M24100022643','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','280','280','0','0','0','0','1','0.0','3','840','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33187',`firm_id` = '8',`ordernumber` = 'M24100022643', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '840',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010101-01', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010101-02' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33187','8','M24100022643','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','280','280','0','0','0','0','1','0.0','3','840','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33187',`firm_id` = '8',`ordernumber` = 'M24100022643', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '840',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010101-02', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010101-03' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33187','8','M24100022643','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','280','280','0','0','0','0','1','0.0','3','840','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33187',`firm_id` = '8',`ordernumber` = 'M24100022643', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '840',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010101-03', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010101-04' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33187','8','M24100022643','日式海苔蛋捲','DG010101-04','DG010101','海苔','40入海苔蛋捲','280','280','0','0','0','0','1','0.0','3','840','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33187',`firm_id` = '8',`ordernumber` = 'M24100022643', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '海苔',`invoice_name` = '40入海苔蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '840',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010101-04', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022643' and product_code = 'DG010101-05' 2024-10-27 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'33187','8','M24100022643','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','280','280','0','0','0','0','1','0.0','3','840','2024-11-06','2024-10-27 15:56:15','2024-10-27 23:59:10',null,'1','2024-09-25') 2024-10-27 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33187',`firm_id` = '8',`ordernumber` = 'M24100022643', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '840',`etd` = '2024-11-06',`create_date` = '2024-10-27 15:56:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022643' and product_code = 'DG010101-05', `lunar_date` = '2024-09-25' 2024-10-27 23:59:10 -- == sync_order_detail end == 2024-10-27 23:59:10 -- == 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-10-27' OR o.updated_at = '2024-10-27') and o.deleted_at is null 2024-10-27 23:59:10 -- == sync_order_detail start == 2024-10-27 23:59:10 -- start:2024-10-27,end:2024-10-27 2024-10-27 23:59:11 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-10-27 23:59:12 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-10-27 23:59:18 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-10-27%';