2024-03-09 23:59:02 -- == sync_order start == 2024-03-09 23:59:02 -- start:2024-03-09,end:2024-03-09 2024-03-09 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-03-09%' OR l.modify_date like '2024-03-09%'; 2024-03-09 23:59:03 -- == sync omo_order_list == 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('342847','379622',1,'','','O24030029145','1','2','1','1','1','','','0','0000-00-00','0','0','0','','0','30','6100','111','台北市','士林區','111','台北市','士林區','6070','2024-03-09 01:32:58','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('80705','53017',1,'','','O24030029294','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','1110','2024-03-09 03:44:44','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343949','380720',1,'','','O24030029328','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1285','111','台北市','士林區','111','台北市','士林區','1405','2024-03-09 10:35:51','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('320616','357651',1,'','','O24030029440','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2950','408','台中市','南屯區','408','台中市','南屯區','3100','2024-03-09 11:11:24','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343960','380731',1,'','','O24030029527','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1350','807','高雄市','三民區','807','高雄市','三民區','1470','2024-03-09 12:07:44','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('343974','380745',1,'','','O24030029652','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1199','613','嘉義縣','朴子市','613','嘉義縣','朴子市','1319','2024-03-09 13:54:03','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('134196','102585',1,'','','O24030029716','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1350','420','台中市','豐原區','420','台中市','豐原區','1500','2024-03-09 16:07:23','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344043','380813',1,'','','O24030029859','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1620','411','台中市','太平區','411','台中市','太平區','1740','2024-03-09 16:47:28','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344041','380811',1,'','','O24030029933','1','1','1','1','1','','','0','0000-00-00','531','0','0','','0','30','10620','640','雲林縣','斗六市','640','雲林縣','斗六市','10059','2024-03-09 16:52:54','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341975','378762',1,'','','O24030030061','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1878','114','台北市','內湖區','114','台北市','內湖區','2028','2024-03-09 18:09:07','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344063','380833',1,'','','O24030030155','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','4345','814','高雄市','仁武區','814','高雄市','仁武區','4465','2024-03-09 18:21:41','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344066','380836',1,'','','O24030030239','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1560','241','新北市','三重區','241','新北市','三重區','1680','2024-03-09 19:50:47','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344090','283535',1,'','','O24030030316','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5880','220','新北市','板橋區','220','新北市','板橋區','5880','2024-03-09 22:25:57','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344091','240993',1,'','','O24030030478','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1720','830','高雄市','鳳山區','830','高雄市','鳳山區','1870','2024-03-09 22:37:32','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('76753','49274',1,'','','O24030030533','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','421','台中市','后里區','421','台中市','后里區','1110','2024-03-09 22:41:56','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('84019','56104',1,'','','O24030030660','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2400','252','新北市','三芝區','252','新北市','三芝區','2550','2024-03-09 23:21:11','2024-01-29') 2024-03-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('73171','45914',1,'','','O24030030762','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1400','510','彰化縣','員林市','510','彰化縣','員林市','1550','2024-03-09 23:30:31','2024-01-29') 2024-03-09 23:59:03 -- == sync_order end == 2024-03-09 23:59:03 -- == sync_order_detail start == 2024-03-09 23:59:03 -- start:2024-03-09,end:2024-03-09 2024-03-09 23:59:03 -- == sync omo_order_detail == 2024-03-09 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-09%' OR modify_date like '2024-03-09%' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029145' and product_code = 'DG0103155-02' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229569','8','O24030029145','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-03-11','2024-03-09 01:32:58','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229569',`firm_id` = '8',`ordernumber` = 'O24030029145', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-11',`create_date` = '2024-03-09 01:32:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029145' and product_code = 'DG0103155-02' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029145' and product_code = 'DG0103155-09' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229569','8','O24030029145','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-09','DG0103155','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','4','2000','2024-03-11','2024-03-09 01:32:58','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229569',`firm_id` = '8',`ordernumber` = 'O24030029145', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`product_sn` = 'DG0103155',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '2000',`etd` = '2024-03-11',`create_date` = '2024-03-09 01:32:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029145' and product_code = 'DG0103155-09' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029145' and product_code = 'DG010261-05' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229569','8','O24030029145','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','6','1800','2024-03-11','2024-03-09 01:32:58','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229569',`firm_id` = '8',`ordernumber` = 'O24030029145', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-03-11',`create_date` = '2024-03-09 01:32:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029145' and product_code = 'DG010261-05' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029145' and product_code = 'DG010261-02' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229569','8','O24030029145','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','6','1800','2024-03-11','2024-03-09 01:32:58','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229569',`firm_id` = '8',`ordernumber` = 'O24030029145', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`product_sn` = 'DG010261',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-03-11',`create_date` = '2024-03-09 01:32:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029145' and product_code = 'DG010261-02' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029294' and product_code = 'DG0103148-02' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229570','8','O24030029294','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-03-25','2024-03-09 03:44:44','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229570',`firm_id` = '8',`ordernumber` = 'O24030029294', `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` = '1',`total_price` = '480',`etd` = '2024-03-25',`create_date` = '2024-03-09 03:44:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029294' and product_code = 'DG0103148-02' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029294' and product_code = 'DG0103148-14' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229570','8','O24030029294','金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-03-25','2024-03-09 03:44:44','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229570',`firm_id` = '8',`ordernumber` = 'O24030029294', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-14',`product_sn` = 'DG0103148',`product_spec` = '巧克力+海苔',`invoice_name` = '禮盒-金典(紅)【海苔+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-25',`create_date` = '2024-03-09 03:44:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029294' and product_code = 'DG0103148-14' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029328' and product_code = 'DG010523-22' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229571','8','O24030029328','SNOOPY帶走心意-蛋捲三入組','DG010523-22','DG010523','芝麻+巧克力+咖啡','組合-32入(芝麻+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-12','2024-03-09 10:35:51','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229571',`firm_id` = '8',`ordernumber` = 'O24030029328', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-22',`product_sn` = 'DG010523',`product_spec` = '芝麻+巧克力+咖啡',`invoice_name` = '組合-32入(芝麻+咖啡+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-12',`create_date` = '2024-03-09 10:35:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029328' and product_code = 'DG010523-22' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029328' and product_code = 'DG010204-03' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229571','8','O24030029328','8結蛋捲【品牌提盒裝】','DG010204-03','DG010204','咖啡','提盒-品牌(橘)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-03-12','2024-03-09 10:35:51','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229571',`firm_id` = '8',`ordernumber` = 'O24030029328', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-03',`product_sn` = 'DG010204',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(橘)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-12',`create_date` = '2024-03-09 10:35:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029328' and product_code = 'DG010204-03' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029440' and product_code = 'DG010206-01' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229572','8','O24030029440','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-03-11','2024-03-09 11:11:24','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229572',`firm_id` = '8',`ordernumber` = 'O24030029440', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2950',`etd` = '2024-03-11',`create_date` = '2024-03-09 11:11:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029440' and product_code = 'DG010206-01' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029527' and product_code = 'DG010523-02' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229573','8','O24030029527','SNOOPY帶走心意-蛋捲三入組','DG010523-02','DG010523','原味+原味+芝麻','組合-32入(原味+原味+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-15','2024-03-09 12:07:44','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229573',`firm_id` = '8',`ordernumber` = 'O24030029527', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-02',`product_sn` = 'DG010523',`product_spec` = '原味+原味+芝麻',`invoice_name` = '組合-32入(原味+原味+芝麻)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-15',`create_date` = '2024-03-09 12:07:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029527' and product_code = 'DG010523-02' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029527' and product_code = 'BP010159-01' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229573','8','O24030029527','[加購]加購-SNOOPY提把水瓶','BP010159-01','BP010159','-','加購-SNOOPY提把水瓶','360','360','1','1','360','0','0','0.0','1','360','2024-03-15','2024-03-09 12:07:44','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229573',`firm_id` = '8',`ordernumber` = 'O24030029527', `product_name` = '[加購]加購-SNOOPY提把水瓶',`product_code` = 'BP010159-01',`product_sn` = 'BP010159',`product_spec` = '-',`invoice_name` = '加購-SNOOPY提把水瓶',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-03-15',`create_date` = '2024-03-09 12:07:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029527' and product_code = 'BP010159-01' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029652' and product_code = 'DG010566-11' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229574','8','O24030029652','經典蛋捲三入組','DG010566-11','DG010566','原味+芝麻+阿薩姆紅茶','組合-32入(原味+芝麻+阿薩姆紅茶)','699','699','0','0','0','1','1','0.0','1','699','2024-03-11','2024-03-09 13:54:03','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229574',`firm_id` = '8',`ordernumber` = 'O24030029652', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-11',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+芝麻+阿薩姆紅茶)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-11',`create_date` = '2024-03-09 13:54:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029652' and product_code = 'DG010566-11' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029652' and product_code = 'DG0103155-02' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229574','8','O24030029652','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-03-11','2024-03-09 13:54:03','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229574',`firm_id` = '8',`ordernumber` = 'O24030029652', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-11',`create_date` = '2024-03-09 13:54:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029652' and product_code = 'DG0103155-02' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029716' and product_code = 'DG010567-106' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229575','8','O24030029716','熱銷蛋捲六入組','DG010567-106','DG010567','原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶','組合-32入(原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-19','2024-03-09 16:07:23','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229575',`firm_id` = '8',`ordernumber` = 'O24030029716', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-106',`product_sn` = 'DG010567',`product_spec` = '原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-19',`create_date` = '2024-03-09 16:07:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029716' and product_code = 'DG010567-106' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029859' and product_code = 'DG010567-80' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229576','8','O24030029859','熱銷蛋捲六入組','DG010567-80','DG010567','原味+原味+芝麻+咖啡+巧克力+阿薩姆紅茶','組合-32入(原味+原味+芝麻+咖啡+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-13','2024-03-09 16:47:28','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229576',`firm_id` = '8',`ordernumber` = 'O24030029859', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-80',`product_sn` = 'DG010567',`product_spec` = '原味+原味+芝麻+咖啡+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+芝麻+咖啡+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-13',`create_date` = '2024-03-09 16:47:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029859' and product_code = 'DG010567-80' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029859' and product_code = '04190' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229576','8','O24030029859','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','150','150','1','1','150','0','0','0.0','1','150','2024-03-13','2024-03-09 16:47:28','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229576',`firm_id` = '8',`ordernumber` = 'O24030029859', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-03-13',`create_date` = '2024-03-09 16:47:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029859' and product_code = '04190' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029859' and product_code = '04191' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229576','8','O24030029859','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','120','120','1','1','120','0','0','0.0','1','120','2024-03-13','2024-03-09 16:47:28','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229576',`firm_id` = '8',`ordernumber` = 'O24030029859', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '120',`sellingprice` = '120',`isadd` = '1',`isbaby` = '1',`addprice` = '120',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '120',`etd` = '2024-03-13',`create_date` = '2024-03-09 16:47:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029859' and product_code = '04191' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030029933' and product_code = 'DG010206-02' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229577','8','O24030029933','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','36','10620','2024-03-12','2024-03-09 16:52:54','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229577',`firm_id` = '8',`ordernumber` = 'O24030029933', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '36',`total_price` = '10620',`etd` = '2024-03-12',`create_date` = '2024-03-09 16:52:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030029933' and product_code = 'DG010206-02' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030061' and product_code = 'DG010107-01' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229578','8','O24030030061','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','2','480','2024-03-11','2024-03-09 18:09:07','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229578',`firm_id` = '8',`ordernumber` = 'O24030030061', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '480',`etd` = '2024-03-11',`create_date` = '2024-03-09 18:09:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030061' and product_code = 'DG010107-01' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030061' and product_code = 'DG010566-08' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229578','8','O24030030061','經典蛋捲三入組','DG010566-08','DG010566','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)','699','699','0','0','0','1','1','0.0','2','1398','2024-03-11','2024-03-09 18:09:07','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229578',`firm_id` = '8',`ordernumber` = 'O24030030061', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-08',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1398',`etd` = '2024-03-11',`create_date` = '2024-03-09 18:09:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030061' and product_code = 'DG010566-08' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030155' and product_code = 'DG010101-05' 2024-03-09 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229579','8','O24030030155','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-03-14','2024-03-09 18:21:41','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229579',`firm_id` = '8',`ordernumber` = 'O24030030155', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-03-14',`create_date` = '2024-03-09 18:21:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030155' and product_code = 'DG010101-05' 2024-03-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030155' and product_code = 'DG010101-02' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229579','8','O24030030155','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-14','2024-03-09 18:21:41','2024-03-09 23:59:05',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229579',`firm_id` = '8',`ordernumber` = 'O24030030155', `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-03-14',`create_date` = '2024-03-09 18:21:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030155' and product_code = 'DG010101-02' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030155' and product_code = 'DG010101-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229579','8','O24030030155','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-14','2024-03-09 18:21:41','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229579',`firm_id` = '8',`ordernumber` = 'O24030030155', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-14',`create_date` = '2024-03-09 18:21:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030155' and product_code = 'DG010101-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030155' and product_code = 'DG010203-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229579','8','O24030030155','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-03-14','2024-03-09 18:21:41','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229579',`firm_id` = '8',`ordernumber` = 'O24030030155', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-03-14',`create_date` = '2024-03-09 18:21:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030155' and product_code = 'DG010203-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030155' and product_code = 'DG010204-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229579','8','O24030030155','8結蛋捲【品牌提盒裝】','DG010204-01','DG010204','原味','提盒-品牌(橘)-40入原味','295','295','0','0','0','0','1','0.0','6','1770','2024-03-14','2024-03-09 18:21:41','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229579',`firm_id` = '8',`ordernumber` = 'O24030030155', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`product_spec` = '原味',`invoice_name` = '提盒-品牌(橘)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1770',`etd` = '2024-03-14',`create_date` = '2024-03-09 18:21:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030155' and product_code = 'DG010204-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030155' and product_code = 'DG010206-05' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229579','8','O24030030155','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-03-14','2024-03-09 18:21:41','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229579',`firm_id` = '8',`ordernumber` = 'O24030030155', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-14',`create_date` = '2024-03-09 18:21:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030155' and product_code = 'DG010206-05' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030239' and product_code = 'FL010308-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229580','8','O24030030239','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','390','390','0','0','0','0','1','0.0','4','1560','2024-03-25','2024-03-09 19:50:47','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229580',`firm_id` = '8',`ordernumber` = 'O24030030239', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1560',`etd` = '2024-03-25',`create_date` = '2024-03-09 19:50:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030239' and product_code = 'FL010308-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030316' and product_code = 'DG010523-09' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229581','8','O24030030316','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','3','2970','2024-03-25','2024-03-09 22:25:57','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229581',`firm_id` = '8',`ordernumber` = 'O24030030316', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '2970',`etd` = '2024-03-25',`create_date` = '2024-03-09 22:25:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030316' and product_code = 'DG010523-09' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030316' and product_code = 'DG010523-07' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229581','8','O24030030316','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-25','2024-03-09 22:25:57','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229581',`firm_id` = '8',`ordernumber` = 'O24030030316', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-25',`create_date` = '2024-03-09 22:25:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030316' and product_code = 'DG010523-07' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030316' and product_code = 'DG010312-02' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229581','8','O24030030316','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-03-25','2024-03-09 22:25:57','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229581',`firm_id` = '8',`ordernumber` = 'O24030030316', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-03-25',`create_date` = '2024-03-09 22:25:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030316' and product_code = 'DG010312-02' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030316' and product_code = 'DG010312-12' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229581','8','O24030030316','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-03-25','2024-03-09 22:25:57','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229581',`firm_id` = '8',`ordernumber` = 'O24030030316', `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` = '2',`total_price` = '960',`etd` = '2024-03-25',`create_date` = '2024-03-09 22:25:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030316' and product_code = 'DG010312-12' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030478' and product_code = 'DG010222-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229582','8','O24030030478','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-03-19','2024-03-09 22:37:32','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229582',`firm_id` = '8',`ordernumber` = 'O24030030478', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-03-19',`create_date` = '2024-03-09 22:37:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030478' and product_code = 'DG010222-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030478' and product_code = 'DG010222-02' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229582','8','O24030030478','【小王子聯名】夢想旅程8結提盒','DG010222-02','DG010222','40入芝麻蛋捲','提盒-小王子(紅)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-03-19','2024-03-09 22:37:32','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229582',`firm_id` = '8',`ordernumber` = 'O24030030478', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-03-19',`create_date` = '2024-03-09 22:37:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030478' and product_code = 'DG010222-02' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030478' and product_code = 'DG010107-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229582','8','O24030030478','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','1','240','2024-03-19','2024-03-09 22:37:32','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229582',`firm_id` = '8',`ordernumber` = 'O24030030478', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-03-19',`create_date` = '2024-03-09 22:37:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030478' and product_code = 'DG010107-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030478' and product_code = 'DG010101-05' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229582','8','O24030030478','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-19','2024-03-09 22:37:32','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229582',`firm_id` = '8',`ordernumber` = 'O24030030478', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-19',`create_date` = '2024-03-09 22:37:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030478' and product_code = 'DG010101-05' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030533' and product_code = 'DG010312-05' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229583','8','O24030030533','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-03-29','2024-03-09 22:41:56','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229583',`firm_id` = '8',`ordernumber` = 'O24030030533', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-03-29',`create_date` = '2024-03-09 22:41:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030533' and product_code = 'DG010312-05' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030660' and product_code = 'DG010312-12' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229584','8','O24030030660','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-03-11','2024-03-09 23:21:11','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229584',`firm_id` = '8',`ordernumber` = 'O24030030660', `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` = '2',`total_price` = '960',`etd` = '2024-03-11',`create_date` = '2024-03-09 23:21:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030660' and product_code = 'DG010312-12' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030660' and product_code = 'DG010312-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229584','8','O24030030660','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-03-11','2024-03-09 23:21:11','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229584',`firm_id` = '8',`ordernumber` = 'O24030030660', `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-03-11',`create_date` = '2024-03-09 23:21:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030660' and product_code = 'DG010312-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030660' and product_code = 'DG010312-05' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229584','8','O24030030660','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-11','2024-03-09 23:21:11','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229584',`firm_id` = '8',`ordernumber` = 'O24030030660', `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-03-11',`create_date` = '2024-03-09 23:21:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030660' and product_code = 'DG010312-05' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030660' and product_code = 'DG010312-15' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229584','8','O24030030660','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-11','2024-03-09 23:21:11','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229584',`firm_id` = '8',`ordernumber` = 'O24030030660', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-11',`create_date` = '2024-03-09 23:21:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030660' and product_code = 'DG010312-15' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030762' and product_code = 'DG010101-01' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229585','8','O24030030762','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-12','2024-03-09 23:30:31','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229585',`firm_id` = '8',`ordernumber` = 'O24030030762', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-12',`create_date` = '2024-03-09 23:30:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030762' and product_code = 'DG010101-01' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030762' and product_code = 'DG010101-02' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229585','8','O24030030762','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-12','2024-03-09 23:30:31','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229585',`firm_id` = '8',`ordernumber` = 'O24030030762', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-12',`create_date` = '2024-03-09 23:30:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030762' and product_code = 'DG010101-02' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030030762' and product_code = 'DG010101-05' 2024-03-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229585','8','O24030030762','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-12','2024-03-09 23:30:31','2024-03-09 23:59:06',null,'1','2024-01-29') 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229585',`firm_id` = '8',`ordernumber` = 'O24030030762', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-12',`create_date` = '2024-03-09 23:30:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-29'where ordernumber = 'O24030030762' and product_code = 'DG010101-05' 2024-03-09 23:59:06 -- == sync_order_detail end == 2024-03-09 23:59:06 -- == sync_order start == 2024-03-09 23:59:06 -- start:2024-03-09,end:2024-03-09 2024-03-09 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-03-09%' OR l.modify_date like '2024-03-09%'; 2024-03-09 23:59:06 -- == sync omo_order_list == 2024-03-09 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '380299', process_status = '3', pay_status = '8', totalprice_after = '1000', lunar_date = '2024-01-26', invoice_status = '1', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24030006381' 2024-03-09 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '380500', process_status = '3', pay_status = '1', totalprice_after = '4095', lunar_date = '2024-01-27', invoice_status = '0', category_name = 'LINE@訂單,正式彌,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24030007621' 2024-03-09 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '380500', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-01-28', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24030008944' 2024-03-09 23:59:06 -- == sync_order end == 2024-03-09 23:59:06 -- == sync_order_detail start == 2024-03-09 23:59:06 -- start:2024-03-09,end:2024-03-09 2024-03-09 23:59:06 -- == sync omo_order_detail == 2024-03-09 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-09%' OR modify_date like '2024-03-09%' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030006381' and product_code = 'DG010253-02' 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30471',`firm_id` = '11',`ordernumber` = 'M24030006381', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-02',`product_sn` = 'DG010253',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月小王子(紅)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-09',`create_date` = '2024-03-06 10:22:22',`modify_date` = '2024-03-09 18:16:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030006381' and product_code = 'DG010253-02', `lunar_date` = '2024-01-26' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030006381' and product_code = 'DG010244-05' 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30471',`firm_id` = '11',`ordernumber` = 'M24030006381', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-05',`product_sn` = 'DG010244',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-09',`create_date` = '2024-03-06 10:22:22',`modify_date` = '2024-03-09 18:16:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030006381' and product_code = 'DG010244-05', `lunar_date` = '2024-01-26' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030006381' and product_code = 'DG0103138-12' 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30471',`firm_id` = '11',`ordernumber` = 'M24030006381', `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-12',`product_sn` = 'DG0103138',`product_spec` = '咖啡+巧克力',`invoice_name` = '禮盒-小王子(藍)【咖啡+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-09',`create_date` = '2024-03-06 10:22:22',`modify_date` = '2024-03-09 18:16:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030006381' and product_code = 'DG0103138-12', `lunar_date` = '2024-01-26' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030006381' and product_code = 'DG010243-01' 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30471',`firm_id` = '11',`ordernumber` = 'M24030006381', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-09',`create_date` = '2024-03-06 10:22:22',`modify_date` = '2024-03-09 18:16:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030006381' and product_code = 'DG010243-01', `lunar_date` = '2024-01-26' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030007621' and product_code = 'DG010222-02' 2024-03-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30488',`firm_id` = '8',`ordernumber` = 'M24030007621', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-03-09',`create_date` = '2024-03-07 17:37:33',`modify_date` = '2024-03-09 13:41:53',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030007621' and product_code = 'DG010222-02', `lunar_date` = '2024-01-27' 2024-03-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030007621' and product_code = 'DG010523-19' 2024-03-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30488',`firm_id` = '8',`ordernumber` = 'M24030007621', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-19',`product_sn` = 'DG010523',`product_spec` = '芝麻+芝麻+巧克力',`invoice_name` = '組合-32入(芝麻+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-09',`create_date` = '2024-03-07 17:37:33',`modify_date` = '2024-03-09 13:41:53',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030007621' and product_code = 'DG010523-19', `lunar_date` = '2024-01-27' 2024-03-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030008944' and product_code = 'DG010253-02' 2024-03-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30503',`firm_id` = '11',`ordernumber` = 'M24030008944', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-02',`product_sn` = 'DG010253',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月小王子(紅)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-09',`create_date` = '2024-03-08 16:10:06',`modify_date` = '2024-03-09 13:37:20',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030008944' and product_code = 'DG010253-02', `lunar_date` = '2024-01-28' 2024-03-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030008944' and product_code = 'DG010264-04' 2024-03-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30503',`firm_id` = '11',`ordernumber` = 'M24030008944', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-04',`product_sn` = 'DG010264',`product_spec` = '海苔',`invoice_name` = '提盒-彌月SNOOPY-40入海苔(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-09',`create_date` = '2024-03-08 16:10:06',`modify_date` = '2024-03-09 13:37:20',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030008944' and product_code = 'DG010264-04', `lunar_date` = '2024-01-28' 2024-03-09 23:59:07 -- == sync_order_detail end == 2024-03-09 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-03-09' OR o.updated_at = '2024-03-09') and o.deleted_at is null 2024-03-09 23:59:07 -- == sync_order_detail start == 2024-03-09 23:59:07 -- start:2024-03-09,end:2024-03-09 2024-03-09 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-03-09 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-03-09 23:59:09 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-03-09%';