2023-11-27 09:34:35 -- == sync_order start == 2023-11-27 09:34:35 -- start:2023-11-27,end:2023-11-27 2023-11-27 09:34:35 -- == 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 '2023-11-27%' OR l.modify_date like '2023-11-27%'; 2023-11-27 09:34:36 -- == sync omo_order_list == 2023-11-27 09:34:36 -- == 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 ('311821','349000',1,'免運專區活動','27','O23110090923','1','2','1','1','2','','','0','2023-11-27','0','0','0','','0','0','1299','303','新竹縣','湖口鄉','303','新竹縣','湖口鄉','1299','2023-11-24 10:11:07','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311828','349007',1,'','','O23110091184','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','515','900','屏東縣','屏東市','900','屏東縣','屏東市','635','2023-11-24 10:58:15','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311823','349002',1,'免運專區活動','27','O23110091283','1','1','1','1','2','','','0','2023-11-27','0','0','0','','0','0','1299','500','彰化縣','彰化市','500','彰化縣','彰化市','1299','2023-11-24 12:14:26','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311826','349005',1,'免運專區活動','27','O23110091378','1','1','1','1','2','','','0','2023-11-27','0','0','0','','0','0','1299','363','苗栗縣','公館鄉','363','苗栗縣','公館鄉','1299','2023-11-24 12:14:43','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311843','349022',1,'','','O23110091450','1','11','1','1','2','','','0','0000-00-00','0','0','0','','0','30','5840','709','台南市','安南區','709','台南市','安南區','5810','2023-11-24 12:14:44','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311856','349035',1,'','','O23110091683','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','1540','104','台北市','中山區','104','台北市','中山區','1660','2023-11-24 12:55:06','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311817','348996',1,'免運專區活動','27','O23110091883','1','1','1','1','2','','','0','2023-11-27','0','0','0','','0','0','899','812','高雄市','小港區','812','高雄市','小港區','899','2023-11-24 14:09:50','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('165726','0',1,'公關訂單','6','S23110091985','1','8','1','7','2','','','2','2023-11-27','700','0','0','','0','0','700','403','台中市','西區','220','新北市','板橋區','0','2023-11-24 14:10:52','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311875','349054',1,'LINE@訂單','9','S23110092156','1','2','1','1','2','26307693','憲兵砲兵第二二八營 ','0','2023-11-27','0','0','0','','0','30','2950','111','台北市','士林區','111','台北市','士林區','2920','2023-11-24 14:15:56','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('165726','0',1,'公關訂單','6','S23110092245','1','8','1','7','2','','','2','2023-11-27','0','490','0','','0','0','490','403','台中市','西區','248','新北市','五股區','0','2023-11-24 14:17:00','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('165726','0',1,'line禮物','38','S23110092442','1','8','1','7','2','','','2','2023-11-27','0','0','0','','150','0','300','403','台中市','西區','220','新北市','板橋區','450','2023-11-24 14:50:26','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('165726','0',1,'line禮物','38','S23110092517','1','8','1','7','2','','','2','2023-11-27','0','0','0','','150','0','480','403','台中市','西區','304','新竹縣','新豐鄉','630','2023-11-24 14:52:44','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311887','349066',1,'','','O23110092625','1','1','1','1','2','24834093','柏星景觀有限公司','0','0000-00-00','0','0','0','','150','30','1770','407','台中市','西屯區','407','台中市','西屯區','1890','2023-11-24 14:58:55','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311891','349069',1,'免運專區活動','27','O23110092799','1','1','1','1','2','','','0','2023-11-27','0','0','0','','0','0','1299','635','雲林縣','東勢鄉','635','雲林縣','東勢鄉','1299','2023-11-24 15:32:14','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('165726','0',1,'公關訂單','6','S23110092960','1','8','1','7','2','','','0','2023-11-27','0','490','0','','0','0','490','403','台中市','西區','407','台中市','西屯區','0','2023-11-24 17:38:13','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311912','349090',1,'免運專區活動','27','O23110093045','1','2','1','1','2','','','0','2023-11-27','0','0','0','','0','0','1299','244','新北市','林口區','244','新北市','林口區','1299','2023-11-24 17:46:47','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311924','349102',1,'','','O23110093147','1','2','1','1','2','','','0','0000-00-00','0','0','0','','150','30','840','510','彰化縣','員林市','640','雲林縣','斗六市','960','2023-11-24 18:09:55','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311958','349136',1,'','','O23110093362','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','450','710','台南市','永康區','710','台南市','永康區','570','2023-11-24 20:14:18','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311963','349141',1,'','','O23110093469','1','1','1','1','2','','','0','0000-00-00','630','0','0','','0','100','12600','509','彰化縣','伸港鄉','505','彰化縣','鹿港鎮','11870','2023-11-24 21:15:33','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311966','349144',1,'','','O23110093588','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','480','420','台中市','豐原區','411','台中市','太平區','600','2023-11-24 22:47:15','2023-10-12') 2023-11-27 09:34:36 -- == 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 ('311972','349149',1,'','','O23110093642','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','0','480','231','新北市','新店區','231','新北市','新店區','630','2023-11-25 01:16:51','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('312021','349197',1,'','','O23110093715','1','1','1','1','2','11337775','長榮海運股份有限公司','0','0000-00-00','0','0','0','','150','100','2400','338','桃園市','蘆竹區','338','桃園市','蘆竹區','2450','2023-11-25 13:47:00','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('312054','349231',1,'','','O23110093871','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','1120','435','台中市','梧棲區','435','台中市','梧棲區','1240','2023-11-25 14:45:22','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('312058','349235',1,'','','O23110093939','1','2','1','1','2','','','0','0000-00-00','0','0','0','','150','0','1470','406','台中市','北屯區','406','台中市','北屯區','1620','2023-11-25 15:22:48','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('288212','325687',1,'','','O23110094199','1','2','1','1','2','','','0','0000-00-00','0','0','0','','150','0','860','632','雲林縣','虎尾鎮','632','雲林縣','虎尾鎮','1010','2023-11-25 16:38:37','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('311403','348588',1,'','','O23110094649','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','0','1000','804','高雄市','鼓山區','804','高雄市','鼓山區','1150','2023-11-25 20:50:39','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('210872','211014',1,'','','O23110094888','1','1','1','1','2','','','0','0000-00-00','528','0','0','','0','0','10570','702','台南市','南區','702','台南市','南區','10042','2023-11-25 21:28:40','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('265579','303234',1,'','','O23110094988','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','0','1815','104','台北市','中山區','963','台東縣','太麻里鄉','1965','2023-11-25 21:42:17','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('312176','349353',1,'','','O23110095041','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','1155','830','高雄市','鳳山區','830','高雄市','鳳山區','1275','2023-11-25 21:59:35','2023-10-13') 2023-11-27 09:34:36 -- == 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 ('312357','349533',1,'','','O23110097218','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1100','330','桃園市','桃園區','806','高雄市','前鎮區','1220','2023-11-27 00:35:40','2023-10-15') 2023-11-27 09:34:36 -- == 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 ('176456','143218',1,'','','O23110097339','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1340','616','嘉義縣','新港鄉','616','嘉義縣','新港鄉','1490','2023-11-27 00:52:44','2023-10-15') 2023-11-27 09:34:36 -- == 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 ('312362','349539',1,'','','O23110097417','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','260','235','新北市','中和區','235','新北市','中和區','380','2023-11-27 04:05:22','2023-10-15') 2023-11-27 09:34:36 -- == 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 ('149347','0',1,'境外訂單','18','S23110097524','1','7','5','0','1','52512919','樺朋國際股份有限公司','0','2023-12-14','0','54000','0','','0','0','270000','806','高雄市','前鎮區','805','高雄市','旗津區','216000','2023-11-27 08:32:33','2023-10-15') 2023-11-27 09:34:36 -- == 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 ('312365','349542',1,'','','O23110097655','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1080','220','新北市','板橋區','220','新北市','板橋區','1200','2023-11-27 09:02:00','2023-10-15') 2023-11-27 09:34:36 -- == sync_order end == 2023-11-27 09:34:36 -- == sync_order_detail start == 2023-11-27 09:34:36 -- start:2023-11-27,end:2023-11-27 2023-11-27 09:34:36 -- == sync omo_order_detail == 2023-11-27 09:34:36 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2023-11-27%' OR modify_date like '2023-11-27%' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110090923' and product_code = 'DG010533-01' 2023-11-27 09:34:38 -- == 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,'213630','12','O23110090923','台灣友好組','DG010533-01','DG010533','32入三星蔥蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-27','2023-11-24 10:11:07','2023-11-27 09:34:38',null,'1','2023-10-12') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213630',`firm_id` = '12',`ordernumber` = 'O23110090923', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-27',`create_date` = '2023-11-24 10:11:07',`modify_date` = '2023-11-27 08:16:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-12'where ordernumber = 'O23110090923' and product_code = 'DG010533-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097218' and product_code = 'DG010540-01' 2023-11-27 09:34:38 -- == 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,'213693','8','O23110097218','宜蘭三星蔥蛋捲x2入組','DG010540-01','DG010540','32入三星蔥蛋捲+32入三星蔥蛋捲','三星蔥蛋捲x2','480','480','0','0','0','0','1','0.0','1','480','2023-11-29','2023-11-27 00:35:40','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213693',`firm_id` = '8',`ordernumber` = 'O23110097218', `product_name` = '宜蘭三星蔥蛋捲x2入組',`product_code` = 'DG010540-01',`product_sn` = 'DG010540',`product_spec` = '32入三星蔥蛋捲+32入三星蔥蛋捲',`invoice_name` = '三星蔥蛋捲x2',`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` = '2023-11-29',`create_date` = '2023-11-27 00:35:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097218' and product_code = 'DG010540-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097218' and product_code = 'DG010129-01' 2023-11-27 09:34:38 -- == 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,'213693','8','O23110097218','【期間限定】皇家伯爵茶蛋捲','DG010129-01','DG010129','32入伯爵茶','32入伯爵茶','300','300','0','0','0','0','1','0.0','2','600','2023-11-29','2023-11-27 00:35:40','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213693',`firm_id` = '8',`ordernumber` = 'O23110097218', `product_name` = '【期間限定】皇家伯爵茶蛋捲',`product_code` = 'DG010129-01',`product_sn` = 'DG010129',`product_spec` = '32入伯爵茶',`invoice_name` = '32入伯爵茶',`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` = '2023-11-29',`create_date` = '2023-11-27 00:35:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097218' and product_code = 'DG010129-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097218' and product_code = 'DG010404-01' 2023-11-27 09:34:38 -- == 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,'213693','8','O23110097218','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','2','20','2023-11-29','2023-11-27 00:35:40','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213693',`firm_id` = '8',`ordernumber` = 'O23110097218', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2023-11-29',`create_date` = '2023-11-27 00:35:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097218' and product_code = 'DG010404-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097339' and product_code = 'DG0103155-05' 2023-11-27 09:34:38 -- == 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,'213694','8','O23110097339','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2023-11-29','2023-11-27 00:52:44','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213694',`firm_id` = '8',`ordernumber` = 'O23110097339', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`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` = '2023-11-29',`create_date` = '2023-11-27 00:52:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097339' and product_code = 'DG0103155-05' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097339' and product_code = 'DG010101-01' 2023-11-27 09:34:38 -- == 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,'213694','8','O23110097339','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2023-11-29','2023-11-27 00:52:44','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213694',`firm_id` = '8',`ordernumber` = 'O23110097339', `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` = '2023-11-29',`create_date` = '2023-11-27 00:52:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097339' and product_code = 'DG010101-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097339' and product_code = 'DG010101-05' 2023-11-27 09:34:38 -- == 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,'213694','8','O23110097339','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2023-11-29','2023-11-27 00:52:44','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213694',`firm_id` = '8',`ordernumber` = 'O23110097339', `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` = '2023-11-29',`create_date` = '2023-11-27 00:52:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097339' and product_code = 'DG010101-05' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097417' and product_code = 'FL010102-01' 2023-11-27 09:34:38 -- == 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,'213695','8','O23110097417','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','金巧鳳梨酥','130','130','0','0','0','0','1','130.0','2','260','2023-11-29','2023-11-27 04:05:22','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213695',`firm_id` = '8',`ordernumber` = 'O23110097417', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '金巧鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '260',`etd` = '2023-11-29',`create_date` = '2023-11-27 04:05:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097417' and product_code = 'FL010102-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-01' 2023-11-27 09:34:38 -- == 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,'213696','8','S23110097524','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','300','67500','2023-12-14','2023-11-27 08:32:33','2023-11-27 09:34:38',0,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '300',`total_price` = '67500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-02' 2023-11-27 09:34:38 -- == 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,'213696','8','S23110097524','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','300','67500','2023-12-14','2023-11-27 08:32:33','2023-11-27 09:34:38',0,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '300',`total_price` = '67500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-02' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-03' 2023-11-27 09:34:38 -- == 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,'213696','8','S23110097524','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','240','54000','2023-12-14','2023-11-27 08:32:33','2023-11-27 09:34:38',0,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '240',`total_price` = '54000',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-03' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-04' 2023-11-27 09:34:38 -- == 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,'213696','8','S23110097524','海苔小盒','DG010113-04','DG010113','海苔','32入海苔','225','225','0','0','0','0','1','0.0','180','40500','2023-12-14','2023-11-27 08:32:33','2023-11-27 09:34:38',0,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`product_sn` = 'DG010113',`product_spec` = '海苔',`invoice_name` = '32入海苔',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '180',`total_price` = '40500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-04' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-05' 2023-11-27 09:34:38 -- == 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,'213696','8','S23110097524','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','180','40500','2023-12-14','2023-11-27 08:32:33','2023-11-27 09:34:38',0,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '180',`total_price` = '40500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-05' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097655' and product_code = 'DG010129-01' 2023-11-27 09:34:38 -- == 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,'213697','8','O23110097655','【期間限定】皇家伯爵茶蛋捲','DG010129-01','DG010129','32入伯爵茶','32入伯爵茶','300','300','0','0','0','0','1','0.0','2','600','2023-11-29','2023-11-27 09:02:00','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213697',`firm_id` = '8',`ordernumber` = 'O23110097655', `product_name` = '【期間限定】皇家伯爵茶蛋捲',`product_code` = 'DG010129-01',`product_sn` = 'DG010129',`product_spec` = '32入伯爵茶',`invoice_name` = '32入伯爵茶',`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` = '2023-11-29',`create_date` = '2023-11-27 09:02:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097655' and product_code = 'DG010129-01' 2023-11-27 09:34:38 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097655' and product_code = 'DG010540-01' 2023-11-27 09:34:38 -- == 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,'213697','8','O23110097655','宜蘭三星蔥蛋捲x2入組','DG010540-01','DG010540','32入三星蔥蛋捲+32入三星蔥蛋捲','三星蔥蛋捲x2','480','480','0','0','0','0','1','0.0','1','480','2023-11-29','2023-11-27 09:02:00','2023-11-27 09:34:38',null,'1','2023-10-15') 2023-11-27 09:34:38 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213697',`firm_id` = '8',`ordernumber` = 'O23110097655', `product_name` = '宜蘭三星蔥蛋捲x2入組',`product_code` = 'DG010540-01',`product_sn` = 'DG010540',`product_spec` = '32入三星蔥蛋捲+32入三星蔥蛋捲',`invoice_name` = '三星蔥蛋捲x2',`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` = '2023-11-29',`create_date` = '2023-11-27 09:02:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097655' and product_code = 'DG010540-01' 2023-11-27 09:34:38 -- == sync_order_detail end == 2023-11-27 09:34:38 -- == sync_order start == 2023-11-27 09:34:38 -- start:2023-11-27,end:2023-11-27 2023-11-27 09:34:38 -- == 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 '2023-11-27%' OR l.modify_date like '2023-11-27%'; 2023-11-27 09:34:38 -- == sync omo_order_list == 2023-11-27 09:34:38 -- == update lake.omo_order_list == update omo_order_list set userId = '346860', process_status = '3', pay_status = '1', totalprice_after = '710', lunar_date = '2023-10-02', invoice_status = '1', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M23110017034' 2023-11-27 09:34:38 -- == 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 ('6553','198301',2,'彌月試吃,FB訂單','2,10','M23110031129','1','11','1','1','2','','','0','2023-11-27','0','0','0','','0','0','1000','420','台中市','豐原區','420','台中市','豐原區','1000','2023-11-24 18:15:27','2023-10-12') 2023-11-27 09:34:38 -- == 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 ('72149','0',2,'彌月試吃','2','B23110031431','1','11','1','1','1','','','0','2023-11-28','0','0','0','','0','0','500','741','台南市','善化區','741','台南市','善化區','500','2023-11-27 09:09:57','2023-10-15') 2023-11-27 09:34:38 -- == 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 ('72199','349111',2,'彌月試吃','2','B23110031554','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1000','300','新竹市','東區','300','新竹市','東區','1000','2023-11-27 09:10:35','2023-10-15') 2023-11-27 09:34:38 -- == 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 ('72605','0',2,'彌月試吃','2','B23110031613','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','300','115','台北市','南港區','115','台北市','南港區','300','2023-11-27 09:10:48','2023-10-15') 2023-11-27 09:34:38 -- == 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 ('72130','91191',2,'正式彌,LINE@訂單','1,9','M23110031781','1','1','1','0','0','','','0','2023-12-05','0','25','0','','80','0','500','237','新北市','三峽區','251','新北市','淡水區','555','2023-11-27 09:20:48','2023-10-15') 2023-11-27 09:34:38 -- == sync_order end == 2023-11-27 09:34:38 -- == sync_order_detail start == 2023-11-27 09:34:38 -- start:2023-11-27,end:2023-11-27 2023-11-27 09:34:38 -- == sync omo_order_detail == 2023-11-27 09:34:38 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2023-11-27%' OR modify_date like '2023-11-27%' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110017034' and product_code = '40009' 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29084',`firm_id` = '8',`ordernumber` = 'M23110017034', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '560',`etd` = '2023-11-24',`create_date` = '2023-11-14 12:18:31',`modify_date` = '2023-11-27 09:28:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110017034' and product_code = '40009', `lunar_date` = '2023-10-02' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110017034' and product_code = '40000' 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29084',`firm_id` = '8',`ordernumber` = 'M23110017034', `product_name` = '運費',`product_code` = '40000',`product_sn` = '40000',`product_spec` = '150運費',`invoice_name` = '150運費',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2023-11-24',`create_date` = '2023-11-14 12:18:31',`modify_date` = '2023-11-27 09:28:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110017034' and product_code = '40000', `lunar_date` = '2023-10-02' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031431' and product_code = 'DG0103145-05' 2023-11-27 09:34:39 -- == 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,'29241','11','B23110031431','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-05','DG0103145','原味+巧克力','禮盒-彌月小王子(紅)【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2023-11-28','2023-11-27 09:09:57','2023-11-27 09:34:39',null,'1','2023-10-15') 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29241',`firm_id` = '11',`ordernumber` = 'B23110031431', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-05',`product_sn` = 'DG0103145',`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` = '2023-11-28',`create_date` = '2023-11-27 09:09:57',`modify_date` = '2023-11-27 09:09:57',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031431' and product_code = 'DG0103145-05', `lunar_date` = '2023-10-15' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031554' and product_code = 'DG0103147-15' 2023-11-27 09:34:39 -- == 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,'29242','11','B23110031554','彌月試吃禮盒-都會LUCK','DG0103147-15','DG0103147','巧克力+巧克力','禮盒-彌月都會LUCK【巧克力+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2023-11-28','2023-11-27 09:10:35','2023-11-27 09:34:39',null,'1','2023-10-15') 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29242',`firm_id` = '11',`ordernumber` = 'B23110031554', `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-15',`product_sn` = 'DG0103147',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-彌月都會LUCK【巧克力+巧克力】(試吃)',`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` = '2023-11-28',`create_date` = '2023-11-27 09:10:35',`modify_date` = '2023-11-27 09:10:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031554' and product_code = 'DG0103147-15', `lunar_date` = '2023-10-15' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031554' and product_code = 'DG0103157-10' 2023-11-27 09:34:39 -- == 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,'29242','11','B23110031554','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-10','DG0103157','咖啡+咖啡','禮盒-彌月SNOOPY【咖啡+咖啡】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2023-11-28','2023-11-27 09:10:35','2023-11-27 09:34:39',null,'1','2023-10-15') 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29242',`firm_id` = '11',`ordernumber` = 'B23110031554', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-10',`product_sn` = 'DG0103157',`product_spec` = '咖啡+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【咖啡+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2023-11-28',`create_date` = '2023-11-27 09:10:35',`modify_date` = '2023-11-27 09:10:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031554' and product_code = 'DG0103157-10', `lunar_date` = '2023-10-15' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031613' and product_code = 'DG010243-02' 2023-11-27 09:34:39 -- == 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,'29243','11','B23110031613','彌月試吃提盒-年輪','DG010243-02','DG010243','芝麻','提盒-彌月年輪-40入芝麻(試吃)','300','300','0','1','0','0','1','300.0','1','300','2023-11-28','2023-11-27 09:10:48','2023-11-27 09:34:39',null,'1','2023-10-15') 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29243',`firm_id` = '11',`ordernumber` = 'B23110031613', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月年輪-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2023-11-28',`create_date` = '2023-11-27 09:10:48',`modify_date` = '2023-11-27 09:10:48',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031613' and product_code = 'DG010243-02', `lunar_date` = '2023-10-15' 2023-11-27 09:34:39 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110031781' and product_code = 'DG010383-09' 2023-11-27 09:34:39 -- == 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,'29244','8','M23110031781','【小王子聯名】星光飛行8結彌月禮盒','DG010383-09','DG010383','芝麻+巧克力','禮盒-小王子(紅)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2023-12-05','2023-11-27 09:20:48','2023-11-27 09:34:39',null,'1','2023-10-15') 2023-11-27 09:34:39 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29244',`firm_id` = '8',`ordernumber` = 'M23110031781', `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` = '2023-12-05',`create_date` = '2023-11-27 09:20:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110031781' and product_code = 'DG010383-09', `lunar_date` = '2023-10-15' 2023-11-27 09:34:39 -- == sync_order_detail end == 2023-11-27 09:34:39 -- == 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) = '2023-11-27' OR o.updated_at = '2023-11-27') and o.deleted_at is null 2023-11-27 09:34:39 -- == sync_order_detail start == 2023-11-27 09:34:39 -- start:2023-11-27,end:2023-11-27