2024-02-12 23:59:01 -- == sync_order start == 2024-02-12 23:59:01 -- start:2024-02-12,end:2024-02-12 2024-02-12 23:59:01 -- == 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-02-12%' OR l.modify_date like '2024-02-12%'; 2024-02-12 23:59:02 -- == sync omo_order_list == 2024-02-12 23:59:02 -- == 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 ('340239','377037',1,'','','O24020019084','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1395','701','台南市','東區','701','台南市','東區','1515','2024-02-12 10:08:28','2024-01-03') 2024-02-12 23:59:02 -- == 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 ('340086','376884',1,'','','O24020019188','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','357','苗栗縣','通霄鎮','357','苗栗縣','通霄鎮','1560','2024-02-12 10:45:45','2024-01-03') 2024-02-12 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 ('87374','59268',1,'','','O24020019214','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1150','710','台南市','永康區','710','台南市','永康區','1300','2024-02-12 15:21:23','2024-01-03') 2024-02-12 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 ('189149','155415',1,'','','O24020019386','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','406','台中市','北屯區','338','桃園市','蘆竹區','1110','2024-02-12 16:25:15','2024-01-03') 2024-02-12 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 ('340281','377079',1,'','','O24020019423','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2360','251','新北市','淡水區','251','新北市','淡水區','2480','2024-02-12 16:26:46','2024-01-03') 2024-02-12 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 ('329585','366523',1,'','','O24020019529','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5700','236','新北市','土城區','236','新北市','土城區','5670','2024-02-12 19:50:42','2024-01-03') 2024-02-12 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 ('327106','364078',1,'','','O24020019675','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','710','台南市','永康區','710','台南市','永康區','1590','2024-02-12 20:17:43','2024-01-03') 2024-02-12 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 ('174788','141622',1,'','','O24020019727','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2130','920','屏東縣','潮州鎮','920','屏東縣','潮州鎮','2280','2024-02-12 20:55:26','2024-01-03') 2024-02-12 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 ('340327','377125',1,'','','O24020019878','1','1','1','1','1','91101098','紅熊曉熙國際有限公司','0','0000-00-00','0','0','0','','150','30','5140','630','雲林縣','斗南鎮','630','雲林縣','斗南鎮','5260','2024-02-12 21:30:22','2024-01-03') 2024-02-12 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 ('340319','377117',1,'','','O24020019958','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5800','350','苗栗縣','竹南鎮','350','苗栗縣','竹南鎮','5770','2024-02-12 21:38:06','2024-01-03') 2024-02-12 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 ('340328','377126',1,'','','O24020020075','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3600','300','新竹市','東區','300','新竹市','東區','3720','2024-02-12 21:56:59','2024-01-03') 2024-02-12 23:59:03 -- == sync_order end == 2024-02-12 23:59:03 -- == sync_order_detail start == 2024-02-12 23:59:03 -- start:2024-02-12,end:2024-02-12 2024-02-12 23:59:03 -- == sync omo_order_detail == 2024-02-12 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-12%' OR modify_date like '2024-02-12%' 2024-02-12 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019084' and product_code = 'DG010312-04' 2024-02-12 23:59:04 -- == 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,'228525','8','O24020019084','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-02-26','2024-02-12 10:08:28','2024-02-12 23:59:04',null,'1','2024-01-03') 2024-02-12 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228525',`firm_id` = '8',`ordernumber` = 'O24020019084', `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-02-26',`create_date` = '2024-02-12 10:08:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019084' and product_code = 'DG010312-04' 2024-02-12 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019084' and product_code = 'DG010312-07' 2024-02-12 23:59:04 -- == 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,'228525','8','O24020019084','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-02-26','2024-02-12 10:08:28','2024-02-12 23:59:04',null,'1','2024-01-03') 2024-02-12 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228525',`firm_id` = '8',`ordernumber` = 'O24020019084', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`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-02-26',`create_date` = '2024-02-12 10:08:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019084' and product_code = 'DG010312-07' 2024-02-12 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019084' and product_code = 'FL010310-01' 2024-02-12 23:59:04 -- == 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,'228525','8','O24020019084','【預購品,2/26後出貨】一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','1','435','2024-02-26','2024-02-12 10:08:28','2024-02-12 23:59:04',null,'1','2024-01-03') 2024-02-12 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228525',`firm_id` = '8',`ordernumber` = 'O24020019084', `product_name` = '【預購品,2/26後出貨】一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '435',`etd` = '2024-02-26',`create_date` = '2024-02-12 10:08:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019084' and product_code = 'FL010310-01' 2024-02-12 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019188' and product_code = 'DG010312-05' 2024-02-12 23:59:04 -- == 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,'228526','8','O24020019188','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-02-15','2024-02-12 10:45:45','2024-02-12 23:59:04',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228526',`firm_id` = '8',`ordernumber` = 'O24020019188', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-02-15',`create_date` = '2024-02-12 10:45:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019188' and product_code = 'DG010312-05' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019214' and product_code = 'GG010201-01' 2024-02-12 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,'228527','8','O24020019214','【預購品,2/26後出貨】皇家黑松露堅果提盒','GG010201-01','01305','10入黑松露腰果','提盒-黑松露腰果10入','830','830','0','0','0','0','1','0.0','1','830','2024-02-29','2024-02-12 15:21:23','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228527',`firm_id` = '8',`ordernumber` = 'O24020019214', `product_name` = '【預購品,2/26後出貨】皇家黑松露堅果提盒',`product_code` = 'GG010201-01',`product_sn` = '01305',`product_spec` = '10入黑松露腰果',`invoice_name` = '提盒-黑松露腰果10入',`listprice` = '830',`sellingprice` = '830',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '830',`etd` = '2024-02-29',`create_date` = '2024-02-12 15:21:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019214' and product_code = 'GG010201-01' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019214' and product_code = 'LS010201-01' 2024-02-12 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,'228527','8','O24020019214','【預購品,2/20後出貨】乳酪絲提盒','LS010201-01','LS010201','原味乳酪絲','提盒-乳酪絲【原味】','320','320','0','0','0','0','1','0.0','1','320','2024-02-29','2024-02-12 15:21:23','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228527',`firm_id` = '8',`ordernumber` = 'O24020019214', `product_name` = '【預購品,2/20後出貨】乳酪絲提盒',`product_code` = 'LS010201-01',`product_sn` = 'LS010201',`product_spec` = '原味乳酪絲',`invoice_name` = '提盒-乳酪絲【原味】',`listprice` = '320',`sellingprice` = '320',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '320',`etd` = '2024-02-29',`create_date` = '2024-02-12 15:21:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019214' and product_code = 'LS010201-01' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019386' and product_code = 'DG010312-02' 2024-02-12 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,'228528','8','O24020019386','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-02-15','2024-02-12 16:25:15','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228528',`firm_id` = '8',`ordernumber` = 'O24020019386', `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-02-15',`create_date` = '2024-02-12 16:25:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019386' and product_code = 'DG010312-02' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019423' and product_code = 'DG010258-01' 2024-02-12 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,'228529','8','O24020019423','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','2','590','2024-02-15','2024-02-12 16:26:46','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228529',`firm_id` = '8',`ordernumber` = 'O24020019423', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-02-15',`create_date` = '2024-02-12 16:26:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019423' and product_code = 'DG010258-01' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019423' and product_code = 'DG010258-05' 2024-02-12 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,'228529','8','O24020019423','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','4','1180','2024-02-15','2024-02-12 16:26:46','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228529',`firm_id` = '8',`ordernumber` = 'O24020019423', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1180',`etd` = '2024-02-15',`create_date` = '2024-02-12 16:26:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019423' and product_code = 'DG010258-05' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019423' and product_code = 'DG010258-03' 2024-02-12 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,'228529','8','O24020019423','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','2','590','2024-02-15','2024-02-12 16:26:46','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228529',`firm_id` = '8',`ordernumber` = 'O24020019423', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-02-15',`create_date` = '2024-02-12 16:26:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019423' and product_code = 'DG010258-03' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019529' and product_code = 'DG010261-01' 2024-02-12 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,'228530','8','O24020019529','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','19','5700','2024-02-15','2024-02-12 19:50:42','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228530',`firm_id` = '8',`ordernumber` = 'O24020019529', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '5700',`etd` = '2024-02-15',`create_date` = '2024-02-12 19:50:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019529' and product_code = 'DG010261-01' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019675' and product_code = 'DG010312-07' 2024-02-12 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,'228531','8','O24020019675','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-02-15','2024-02-12 20:17:43','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228531',`firm_id` = '8',`ordernumber` = 'O24020019675', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`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-02-15',`create_date` = '2024-02-12 20:17:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019675' and product_code = 'DG010312-07' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019675' and product_code = 'DG010312-05' 2024-02-12 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,'228531','8','O24020019675','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-15','2024-02-12 20:17:43','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228531',`firm_id` = '8',`ordernumber` = 'O24020019675', `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-02-15',`create_date` = '2024-02-12 20:17:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019675' and product_code = 'DG010312-05' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019727' and product_code = 'FL010310-01' 2024-02-12 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,'228532','8','O24020019727','【預購品,2/26後出貨】一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','2','870','2024-03-01','2024-02-12 20:55:26','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228532',`firm_id` = '8',`ordernumber` = 'O24020019727', `product_name` = '【預購品,2/26後出貨】一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '870',`etd` = '2024-03-01',`create_date` = '2024-02-12 20:55:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019727' and product_code = 'FL010310-01' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019727' and product_code = 'FL010309-01' 2024-02-12 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,'228532','8','O24020019727','【預購品,2/26後出貨】一口酥24入家庭號禮盒','FL010309-01','12586','24入鳳梅酥','禮盒-24入家庭號【鳳梅酥】','480','480','0','0','0','0','1','0.0','2','960','2024-03-01','2024-02-12 20:55:26','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228532',`firm_id` = '8',`ordernumber` = 'O24020019727', `product_name` = '【預購品,2/26後出貨】一口酥24入家庭號禮盒',`product_code` = 'FL010309-01',`product_sn` = '12586',`product_spec` = '24入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梅酥】',`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-03-01',`create_date` = '2024-02-12 20:55:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019727' and product_code = 'FL010309-01' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019727' and product_code = 'ZS010201-02' 2024-02-12 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,'228532','8','O24020019727','【預購品,3/1後出貨】提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-03-01','2024-02-12 20:55:26','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228532',`firm_id` = '8',`ordernumber` = 'O24020019727', `product_name` = '【預購品,3/1後出貨】提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-01',`create_date` = '2024-02-12 20:55:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019727' and product_code = 'ZS010201-02' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019878' and product_code = 'DG0103168-09' 2024-02-12 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,'228533','8','O24020019878','隨享唐寧茶禮盒','DG0103168-09','DG0103168','芝麻+巧克力','禮盒-隨享唐寧茶【芝麻+巧克力】+唐寧早餐茶+茶葉匙','880','880','0','0','0','0','1','0.0','2','1760','2024-02-15','2024-02-12 21:30:22','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228533',`firm_id` = '8',`ordernumber` = 'O24020019878', `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-09',`product_sn` = 'DG0103168',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-隨享唐寧茶【芝麻+巧克力】+唐寧早餐茶+茶葉匙',`listprice` = '880',`sellingprice` = '880',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1760',`etd` = '2024-02-15',`create_date` = '2024-02-12 21:30:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019878' and product_code = 'DG0103168-09' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019878' and product_code = 'DG010383-09' 2024-02-12 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,'228533','8','O24020019878','【小王子聯名】星光飛行8結禮盒','DG010383-09','DG010383','芝麻+巧克力','禮盒-小王子(紅)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-02-15','2024-02-12 21:30:22','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228533',`firm_id` = '8',`ordernumber` = 'O24020019878', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-09',`product_sn` = 'DG010383',`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-02-15',`create_date` = '2024-02-12 21:30:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019878' and product_code = 'DG010383-09' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019878' and product_code = 'DG010312-05' 2024-02-12 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,'228533','8','O24020019878','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2024-02-15','2024-02-12 21:30:22','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228533',`firm_id` = '8',`ordernumber` = 'O24020019878', `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` = '6',`total_price` = '2880',`etd` = '2024-02-15',`create_date` = '2024-02-12 21:30:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019878' and product_code = 'DG010312-05' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019958' and product_code = '13656' 2024-02-12 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,'228534','8','O24020019958','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-02-26','2024-02-12 21:38:06','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228534',`firm_id` = '8',`ordernumber` = 'O24020019958', `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` = '5',`total_price` = '1450',`etd` = '2024-02-26',`create_date` = '2024-02-12 21:38:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019958' and product_code = '13656' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019958' and product_code = '13657' 2024-02-12 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,'228534','8','O24020019958','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-02-26','2024-02-12 21:38:06','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228534',`firm_id` = '8',`ordernumber` = 'O24020019958', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-02-26',`create_date` = '2024-02-12 21:38:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019958' and product_code = '13657' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019958' and product_code = '13658' 2024-02-12 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,'228534','8','O24020019958','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-02-26','2024-02-12 21:38:06','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228534',`firm_id` = '8',`ordernumber` = 'O24020019958', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-02-26',`create_date` = '2024-02-12 21:38:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019958' and product_code = '13658' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019958' and product_code = '13659' 2024-02-12 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,'228534','8','O24020019958','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-02-26','2024-02-12 21:38:06','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228534',`firm_id` = '8',`ordernumber` = 'O24020019958', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`product_sn` = '13656',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-02-26',`create_date` = '2024-02-12 21:38:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019958' and product_code = '13659' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020019958' and product_code = '13660' 2024-02-12 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,'228534','8','O24020019958','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-02-26','2024-02-12 21:38:06','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228534',`firm_id` = '8',`ordernumber` = 'O24020019958', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-02-26',`create_date` = '2024-02-12 21:38:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020019958' and product_code = '13660' 2024-02-12 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020020075' and product_code = 'DG010203-01' 2024-02-12 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,'228535','8','O24020020075','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','12','3600','2024-02-15','2024-02-12 21:56:59','2024-02-12 23:59:05',null,'1','2024-01-03') 2024-02-12 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228535',`firm_id` = '8',`ordernumber` = 'O24020020075', `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` = '12',`total_price` = '3600',`etd` = '2024-02-15',`create_date` = '2024-02-12 21:56:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-03'where ordernumber = 'O24020020075' and product_code = 'DG010203-01' 2024-02-12 23:59:05 -- == sync_order_detail end == 2024-02-12 23:59:05 -- == sync_order start == 2024-02-12 23:59:05 -- start:2024-02-12,end:2024-02-12 2024-02-12 23:59:05 -- == 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-02-12%' OR l.modify_date like '2024-02-12%'; 2024-02-12 23:59:05 -- == sync omo_order_list == 2024-02-12 23:59:05 -- == 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 ('12274','170841',2,'','','B24020006411','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3000','928','屏東縣','東港鎮','235','新北市','中和區','3150','2024-02-12 15:15:11','2024-01-03') 2024-02-12 23:59:05 -- == 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 ('12274','170841',2,'','','B24020006525','1','2','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6000','928','屏東縣','東港鎮','928','屏東縣','東港鎮','6000','2024-02-12 15:18:03','2024-01-03') 2024-02-12 23:59:05 -- == 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 ('96991','373632',2,'','','B24020006689','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','326','桃園市','楊梅區','320','桃園市','中壢區','650','2024-02-12 15:56:44','2024-01-03') 2024-02-12 23:59:05 -- == sync_order end == 2024-02-12 23:59:05 -- == sync_order_detail start == 2024-02-12 23:59:05 -- start:2024-02-12,end:2024-02-12 2024-02-12 23:59:05 -- == sync omo_order_detail == 2024-02-12 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-12%' OR modify_date like '2024-02-12%' 2024-02-12 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020006411' and product_code = 'DG010222-03' 2024-02-12 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, 2,'30213','8','B24020006411','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','1','0','0','1','0.0','10','3000','2024-02-17','2024-02-12 15:15:11','2024-02-12 23:59:06',null,'1','2024-01-03') 2024-02-12 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30213',`firm_id` = '8',`ordernumber` = 'B24020006411', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-17',`create_date` = '2024-02-12 15:15:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020006411' and product_code = 'DG010222-03', `lunar_date` = '2024-01-03' 2024-02-12 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020006525' and product_code = 'DG010222-04' 2024-02-12 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, 2,'30214','8','B24020006525','【小王子聯名】夢想旅程8結彌月提盒','DG010222-04','DG010222','海苔','提盒-小王子(紅)-40入海苔','300','300','0','1','0','0','1','0.0','10','3000','2024-02-17','2024-02-12 15:18:03','2024-02-12 23:59:06',null,'1','2024-01-03') 2024-02-12 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30214',`firm_id` = '8',`ordernumber` = 'B24020006525', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-04',`product_sn` = 'DG010222',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(紅)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-17',`create_date` = '2024-02-12 15:18:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020006525' and product_code = 'DG010222-04', `lunar_date` = '2024-01-03' 2024-02-12 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020006525' and product_code = 'DG010222-05' 2024-02-12 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, 2,'30214','8','B24020006525','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','1','0','0','1','0.0','10','3000','2024-02-17','2024-02-12 15:18:03','2024-02-12 23:59:06',null,'1','2024-01-03') 2024-02-12 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30214',`firm_id` = '8',`ordernumber` = 'B24020006525', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-17',`create_date` = '2024-02-12 15:18:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020006525' and product_code = 'DG010222-05', `lunar_date` = '2024-01-03' 2024-02-12 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020006525' and product_code = 'ZP010151-01' 2024-02-12 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, 2,'30214','8','B24020006525','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-17','2024-02-12 15:18:03','2024-02-12 23:59:06',null,'1','2024-01-03') 2024-02-12 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30214',`firm_id` = '8',`ordernumber` = 'B24020006525', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`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-02-17',`create_date` = '2024-02-12 15:18:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020006525' and product_code = 'ZP010151-01', `lunar_date` = '2024-01-03' 2024-02-12 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020006689' and product_code = 'DG010383-09' 2024-02-12 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, 2,'30215','8','B24020006689','【小王子聯名】星光飛行8結彌月禮盒','DG010383-09','DG010383','芝麻+巧克力','禮盒-小王子(紅)【芝麻+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-02-22','2024-02-12 15:56:44','2024-02-12 23:59:06',null,'1','2024-01-03') 2024-02-12 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30215',`firm_id` = '8',`ordernumber` = 'B24020006689', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-09',`product_sn` = 'DG010383',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(紅)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-12 15:56:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020006689' and product_code = 'DG010383-09', `lunar_date` = '2024-01-03' 2024-02-12 23:59:06 -- == sync_order_detail end == 2024-02-12 23:59:06 -- == 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-02-12' OR o.updated_at = '2024-02-12') and o.deleted_at is null 2024-02-12 23:59:06 -- == sync_order_detail start == 2024-02-12 23:59:06 -- start:2024-02-12,end:2024-02-12 2024-02-12 23:59:06 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-02-12 23:59:06 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-02-12 23:59:08 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-02-12%';