2024-04-06 23:59:02 -- == sync_order start == 2024-04-06 23:59:02 -- start:2024-04-06,end:2024-04-06 2024-04-06 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-04-06%' OR l.modify_date like '2024-04-06%'; 2024-04-06 23:59:04 -- == sync omo_order_list == 2024-04-06 23:59:04 -- == 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 ('347852','384571',1,'','','O24040013122','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','110','台北市','信義區','510','彰化縣','員林市','1110','2024-04-06 00:27:09','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347855','384574',1,'','','O24040013249','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','324','桃園市','平鎮區','324','桃園市','平鎮區','1110','2024-04-06 07:19:38','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347856','384575',1,'','','O24040013397','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1350','500','彰化縣','彰化市','500','彰化縣','彰化市','1470','2024-04-06 08:08:28','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347857','384576',1,'','','O24040013452','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1145','302','新竹縣','竹北市','302','新竹縣','竹北市','1295','2024-04-06 10:28:45','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347895','384614',1,'','','O24040013562','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','600','2024-04-06 13:51:40','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('222048','241357',1,'','','O24040013675','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','702','台南市','南區','702','台南市','南區','1590','2024-04-06 15:03:35','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('173814','140698',1,'','','O24040013733','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1160','300','新竹市','香山區','300','新竹市','香山區','1310','2024-04-06 15:30:23','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347919','384638',1,'','','O24040013851','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3265','269','宜蘭縣','冬山鄉','269','宜蘭縣','冬山鄉','3415','2024-04-06 15:36:38','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347923','384642',1,'','','O24040013965','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','990','820','高雄市','岡山區','820','高雄市','岡山區','1140','2024-04-06 15:49:13','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347923','384642',1,'','','O24040014046','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','990','820','高雄市','岡山區','820','高雄市','岡山區','1140','2024-04-06 15:52:37','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('139979','108102',1,'','','O24040014155','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1360','412','台中市','大里區','412','台中市','大里區','1510','2024-04-06 16:17:25','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('259042','296036',1,'','','O24040014257','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2410','807','高雄市','三民區','807','高雄市','三民區','2560','2024-04-06 16:43:29','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347945','384664',1,'','','O24040014352','1','11','1','1','1','','','0','0000-00-00','720','0','0','','0','30','14400','510','彰化縣','員林市','530','彰化縣','二水鄉','13650','2024-04-06 16:47:57','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('207767','173529',1,'','','O24040014431','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2480','811','高雄市','楠梓區','811','高雄市','楠梓區','2630','2024-04-06 17:31:47','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347973','384692',1,'','','O24040014574','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','540','830','高雄市','鳳山區','830','高雄市','鳳山區','660','2024-04-06 19:54:02','2024-02-28') 2024-04-06 23:59:04 -- == 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 ('347980','384699',1,'','','O24040014633','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1380','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','1500','2024-04-06 22:03:55','2024-02-28') 2024-04-06 23:59:04 -- == sync_order end == 2024-04-06 23:59:04 -- == sync_order_detail start == 2024-04-06 23:59:04 -- start:2024-04-06,end:2024-04-06 2024-04-06 23:59:04 -- == sync omo_order_detail == 2024-04-06 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-06%' OR modify_date like '2024-04-06%' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013122' and product_code = 'DG010523-12' 2024-04-06 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,'230597','8','O24040013122','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-09','2024-04-06 00:27:09','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230597',`firm_id` = '8',`ordernumber` = 'O24040013122', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+咖啡',`invoice_name` = '組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-09',`create_date` = '2024-04-06 00:27:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013122' and product_code = 'DG010523-12' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013249' and product_code = 'DG010523-19' 2024-04-06 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,'230598','8','O24040013249','SNOOPY帶走心意-蛋捲三入組','DG010523-19','DG010523','芝麻+芝麻+巧克力','組合-32入(芝麻+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-09','2024-04-06 07:19:38','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230598',`firm_id` = '8',`ordernumber` = 'O24040013249', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-19',`product_sn` = 'DG010523',`product_spec` = '芝麻+芝麻+巧克力',`invoice_name` = '組合-32入(芝麻+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-09',`create_date` = '2024-04-06 07:19:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013249' and product_code = 'DG010523-19' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013397' and product_code = 'LS010101-01' 2024-04-06 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,'230599','8','O24040013397','分享包-無糖芒果乾','LS010101-01','LS010101','180g芒果乾分享包','(紅袋)芒果乾','360','360','0','0','0','0','1','0.0','1','360','2024-04-09','2024-04-06 08:08:28','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230599',`firm_id` = '8',`ordernumber` = 'O24040013397', `product_name` = '分享包-無糖芒果乾',`product_code` = 'LS010101-01',`product_sn` = 'LS010101',`product_spec` = '180g芒果乾分享包',`invoice_name` = '(紅袋)芒果乾',`listprice` = '360',`sellingprice` = '360',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-04-09',`create_date` = '2024-04-06 08:08:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013397' and product_code = 'LS010101-01' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013397' and product_code = 'DG010523-17' 2024-04-06 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,'230599','8','O24040013397','SNOOPY帶走心意-蛋捲三入組','DG010523-17','DG010523','芝麻+芝麻+咖啡','組合-32入(芝麻+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-09','2024-04-06 08:08:28','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230599',`firm_id` = '8',`ordernumber` = 'O24040013397', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-17',`product_sn` = 'DG010523',`product_spec` = '芝麻+芝麻+咖啡',`invoice_name` = '組合-32入(芝麻+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-09',`create_date` = '2024-04-06 08:08:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013397' and product_code = 'DG010523-17' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013452' and product_code = 'DG010523-02' 2024-04-06 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,'230600','8','O24040013452','SNOOPY帶走心意-蛋捲三入組','DG010523-02','DG010523','原味+原味+芝麻','組合-32入(原味+原味+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-09','2024-04-06 10:28:45','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230600',`firm_id` = '8',`ordernumber` = 'O24040013452', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-02',`product_sn` = 'DG010523',`product_spec` = '原味+原味+芝麻',`invoice_name` = '組合-32入(原味+原味+芝麻)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-09',`create_date` = '2024-04-06 10:28:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013452' and product_code = 'DG010523-02' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013452' and product_code = '04191' 2024-04-06 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,'230600','8','O24040013452','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-04-09','2024-04-06 10:28:45','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230600',`firm_id` = '8',`ordernumber` = 'O24040013452', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-04-09',`create_date` = '2024-04-06 10:28:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013452' and product_code = '04191' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013562' and product_code = 'DG010312-02' 2024-04-06 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,'230601','8','O24040013562','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-09','2024-04-06 13:51:40','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230601',`firm_id` = '8',`ordernumber` = 'O24040013562', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-09',`create_date` = '2024-04-06 13:51:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013562' and product_code = 'DG010312-02' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013675' and product_code = 'DG010312-02' 2024-04-06 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,'230602','8','O24040013675','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-11','2024-04-06 15:03:35','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230602',`firm_id` = '8',`ordernumber` = 'O24040013675', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-11',`create_date` = '2024-04-06 15:03:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013675' and product_code = 'DG010312-02' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013675' and product_code = 'DG010312-10' 2024-04-06 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,'230602','8','O24040013675','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-04-11','2024-04-06 15:03:35','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230602',`firm_id` = '8',`ordernumber` = 'O24040013675', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`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-04-11',`create_date` = '2024-04-06 15:03:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013675' and product_code = 'DG010312-10' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013675' and product_code = 'DG010312-15' 2024-04-06 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,'230602','8','O24040013675','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-11','2024-04-06 15:03:35','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230602',`firm_id` = '8',`ordernumber` = 'O24040013675', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-11',`create_date` = '2024-04-06 15:03:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013675' and product_code = 'DG010312-15' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013733' and product_code = 'DG010527-01' 2024-04-06 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,'230603','8','O24040013733','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-09','2024-04-06 15:30:23','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230603',`firm_id` = '8',`ordernumber` = 'O24040013733', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013733' and product_code = 'DG010527-01' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013733' and product_code = 'DG010527-03' 2024-04-06 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,'230603','8','O24040013733','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-09','2024-04-06 15:30:23','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230603',`firm_id` = '8',`ordernumber` = 'O24040013733', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013733' and product_code = 'DG010527-03' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013733' and product_code = 'DG010527-05' 2024-04-06 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,'230603','8','O24040013733','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-09','2024-04-06 15:30:23','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230603',`firm_id` = '8',`ordernumber` = 'O24040013733', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013733' and product_code = 'DG010527-05' 2024-04-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013733' and product_code = 'DG010527-04' 2024-04-06 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,'230603','8','O24040013733','8結蛋捲【小禮袋裝】','DG010527-04','DG010527','40入海苔蛋捲','組合-40入海苔+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-04-09','2024-04-06 15:30:23','2024-04-06 23:59:05',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230603',`firm_id` = '8',`ordernumber` = 'O24040013733', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-04',`product_sn` = 'DG010527',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013733' and product_code = 'DG010527-04' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013851' and product_code = '12505' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230604','8','O24040013851','剛好一口酥禮盒','12505','12505','鳳梨酥,鳳梅酥','禮盒-剛好一口酥【鳳梨酥+鳳梅酥】','390','390','0','0','0','0','1','0.0','1','390','2024-04-09','2024-04-06 15:36:38','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230604',`firm_id` = '8',`ordernumber` = 'O24040013851', `product_name` = '剛好一口酥禮盒',`product_code` = '12505',`product_sn` = '12505',`product_spec` = '鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-剛好一口酥【鳳梨酥+鳳梅酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:36:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013851' and product_code = '12505' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013851' and product_code = 'LS010103-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230604','8','O24040013851','厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','150','150','0','0','0','0','1','0.0','2','300','2024-04-09','2024-04-06 15:36:38','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230604',`firm_id` = '8',`ordernumber` = 'O24040013851', `product_name` = '厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '300',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:36:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013851' and product_code = 'LS010103-01' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013851' and product_code = 'DG0103155-03' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230604','8','O24040013851','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-04-09','2024-04-06 15:36:38','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230604',`firm_id` = '8',`ordernumber` = 'O24040013851', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`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` = '2',`total_price` = '1000',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:36:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013851' and product_code = 'DG0103155-03' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013851' and product_code = 'DG0103155-11' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230604','8','O24040013851','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-11','DG0103155','咖啡蛋捲,海苔蛋捲','禮盒-SNOOPY【咖啡+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-04-09','2024-04-06 15:36:38','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230604',`firm_id` = '8',`ordernumber` = 'O24040013851', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-11',`product_sn` = 'DG0103155',`product_spec` = '咖啡蛋捲,海苔蛋捲',`invoice_name` = '禮盒-SNOOPY【咖啡+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:36:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013851' and product_code = 'DG0103155-11' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013851' and product_code = 'DG0103155-04' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230604','8','O24040013851','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-04','DG0103155','原味蛋捲,海苔蛋捲','禮盒-SNOOPY【原味+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-04-09','2024-04-06 15:36:38','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230604',`firm_id` = '8',`ordernumber` = 'O24040013851', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-04',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,海苔蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:36:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013851' and product_code = 'DG0103155-04' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013851' and product_code = 'DG0103161-07' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230604','8','O24040013851','友你相伴8結肉酥酥禮盒','DG0103161-07','DG0103161','咖啡蛋捲,原味肉酥酥','禮盒-SNOOPY【咖啡+原味肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-04-09','2024-04-06 15:36:38','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230604',`firm_id` = '8',`ordernumber` = 'O24040013851', `product_name` = '友你相伴8結肉酥酥禮盒',`product_code` = 'DG0103161-07',`product_sn` = 'DG0103161',`product_spec` = '咖啡蛋捲,原味肉酥酥',`invoice_name` = '禮盒-SNOOPY【咖啡+原味肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-04-09',`create_date` = '2024-04-06 15:36:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013851' and product_code = 'DG0103161-07' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040013965' and product_code = 'DG010523-07' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230605','8','O24040013965','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-12','2024-04-06 15:49:13','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230605',`firm_id` = '8',`ordernumber` = 'O24040013965', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-12',`create_date` = '2024-04-06 15:49:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040013965' and product_code = 'DG010523-07' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014046' and product_code = 'DG010523-07' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230606','8','O24040014046','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-10','2024-04-06 15:52:37','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230606',`firm_id` = '8',`ordernumber` = 'O24040014046', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-10',`create_date` = '2024-04-06 15:52:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014046' and product_code = 'DG010523-07' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014155' and product_code = 'FL010308-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230607','8','O24040014155','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','495','495','0','0','0','0','1','0.0','2','990','2024-04-11','2024-04-06 16:17:25','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230607',`firm_id` = '8',`ordernumber` = 'O24040014155', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '990',`etd` = '2024-04-11',`create_date` = '2024-04-06 16:17:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014155' and product_code = 'FL010308-01' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014155' and product_code = '04190' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230607','8','O24040014155','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','2','370','2024-04-11','2024-04-06 16:17:25','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230607',`firm_id` = '8',`ordernumber` = 'O24040014155', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '370',`etd` = '2024-04-11',`create_date` = '2024-04-06 16:17:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014155' and product_code = '04190' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014257' and product_code = 'GG010101-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230608','8','O24040014257','義式皇家黑松露腰果','GG010101-01','GG010101','一組','(盒)堅果【腰果】','190','190','0','0','0','0','1','0.0','1','190','2024-04-09','2024-04-06 16:43:29','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230608',`firm_id` = '8',`ordernumber` = 'O24040014257', `product_name` = '義式皇家黑松露腰果',`product_code` = 'GG010101-01',`product_sn` = 'GG010101',`product_spec` = '一組',`invoice_name` = '(盒)堅果【腰果】',`listprice` = '190',`sellingprice` = '190',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-04-09',`create_date` = '2024-04-06 16:43:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014257' and product_code = 'GG010101-01' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014257' and product_code = '13044' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230608','8','O24040014257','[加購]加購-香酥醬燒海苔(純素)','13044','13044','-','加購-香酥醬燒海苔(純素)','140','140','1','1','140','0','0','0.0','3','420','2024-04-09','2024-04-06 16:43:29','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230608',`firm_id` = '8',`ordernumber` = 'O24040014257', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '420',`etd` = '2024-04-09',`create_date` = '2024-04-06 16:43:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014257' and product_code = '13044' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014257' and product_code = 'GG010104-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230608','8','O24040014257','[加購]加購-義式皇家黑松露腰果','GG010104-01','GG010104','-','加購-(盒)堅果【腰果】','180','180','1','1','180','0','0','0.0','10','1800','2024-04-09','2024-04-06 16:43:29','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230608',`firm_id` = '8',`ordernumber` = 'O24040014257', `product_name` = '[加購]加購-義式皇家黑松露腰果',`product_code` = 'GG010104-01',`product_sn` = 'GG010104',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【腰果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '10',`total_price` = '1800',`etd` = '2024-04-09',`create_date` = '2024-04-06 16:43:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014257' and product_code = 'GG010104-01' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014352' and product_code = 'DG010312-02' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230609','8','O24040014352','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','30','14400','2024-04-09','2024-04-06 16:47:57','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230609',`firm_id` = '8',`ordernumber` = 'O24040014352', `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` = '30',`total_price` = '14400',`etd` = '2024-04-09',`create_date` = '2024-04-06 16:47:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014352' and product_code = 'DG010312-02' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014431' and product_code = 'DG010312-09' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230610','8','O24040014431','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-19','2024-04-06 17:31:47','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230610',`firm_id` = '8',`ordernumber` = 'O24040014431', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-19',`create_date` = '2024-04-06 17:31:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014431' and product_code = 'DG010312-09' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014431' and product_code = 'DG010383-15' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230610','8','O24040014431','【小王子聯名】星光飛行8結禮盒','DG010383-15','DG010383','巧克力+巧克力','禮盒-小王子(紅)【巧克力+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2024-04-19','2024-04-06 17:31:47','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230610',`firm_id` = '8',`ordernumber` = 'O24040014431', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-15',`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` = '2',`total_price` = '1000',`etd` = '2024-04-19',`create_date` = '2024-04-06 17:31:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014431' and product_code = 'DG010383-15' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014431' and product_code = 'DG010383-12' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230610','8','O24040014431','【小王子聯名】星光飛行8結禮盒','DG010383-12','DG010383','巧克力+咖啡','禮盒-小王子(紅)【巧克力+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-04-19','2024-04-06 17:31:47','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230610',`firm_id` = '8',`ordernumber` = 'O24040014431', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-12',`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` = '2',`total_price` = '1000',`etd` = '2024-04-19',`create_date` = '2024-04-06 17:31:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014431' and product_code = 'DG010383-12' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014574' and product_code = 'FL010102-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230611','8','O24040014574','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','1','165','2024-04-09','2024-04-06 19:54:02','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230611',`firm_id` = '8',`ordernumber` = 'O24040014574', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '165',`etd` = '2024-04-09',`create_date` = '2024-04-06 19:54:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014574' and product_code = 'FL010102-01' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014574' and product_code = '04190' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230611','8','O24040014574','[加購]加購-一口鳳梅酥','04190','04190','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-04-09','2024-04-06 19:54:02','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230611',`firm_id` = '8',`ordernumber` = 'O24040014574', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = '04190',`product_sn` = '04190',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-04-09',`create_date` = '2024-04-06 19:54:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014574' and product_code = '04190' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014574' and product_code = 'LS010108-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230611','8','O24040014574','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','1','190','2024-04-09','2024-04-06 19:54:02','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230611',`firm_id` = '8',`ordernumber` = 'O24040014574', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-04-09',`create_date` = '2024-04-06 19:54:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014574' and product_code = 'LS010108-01' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014633' and product_code = 'DG010523-10' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230612','8','O24040014633','SNOOPY帶走心意-蛋捲三入組','DG010523-10','DG010523','原味+咖啡+咖啡','組合-32入(原味+咖啡+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-09','2024-04-06 22:03:55','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230612',`firm_id` = '8',`ordernumber` = 'O24040014633', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-10',`product_sn` = 'DG010523',`product_spec` = '原味+咖啡+咖啡',`invoice_name` = '組合-32入(原味+咖啡+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-09',`create_date` = '2024-04-06 22:03:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014633' and product_code = 'DG010523-10' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040014633' and product_code = 'BP010157-01' 2024-04-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230612','8','O24040014633','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','1','390','2024-04-09','2024-04-06 22:03:55','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230612',`firm_id` = '8',`ordernumber` = 'O24040014633', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-04-09',`create_date` = '2024-04-06 22:03:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-28'where ordernumber = 'O24040014633' and product_code = 'BP010157-01' 2024-04-06 23:59:06 -- == sync_order_detail end == 2024-04-06 23:59:06 -- == sync_order start == 2024-04-06 23:59:06 -- start:2024-04-06,end:2024-04-06 2024-04-06 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-04-06%' OR l.modify_date like '2024-04-06%'; 2024-04-06 23:59:06 -- == sync omo_order_list == 2024-04-06 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '384241', process_status = '3', pay_status = '1', totalprice_after = '200', lunar_date = '2024-02-25', invoice_status = '1', category_name = 'LINE@訂單,彌月試吃', category_id = '9,2' where ordernumber = 'M24040002679' 2024-04-06 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('16160','251030',2,'','','B24040002857','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','8000','364','苗栗縣','大湖鄉','358','苗栗縣','苑裡鎮','8000','2024-04-06 20:59:45','2024-02-28') 2024-04-06 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('107582','384102',2,'','','B24040002925','1','11','1','1','1','','','0','0000-00-00','1125','0','0','','0','30','22500','320','桃園市','中壢區','320','桃園市','中壢區','21345','2024-04-06 23:13:20','2024-02-28') 2024-04-06 23:59:06 -- == sync_order end == 2024-04-06 23:59:06 -- == sync_order_detail start == 2024-04-06 23:59:06 -- start:2024-04-06,end:2024-04-06 2024-04-06 23:59:06 -- == sync omo_order_detail == 2024-04-06 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-06%' OR modify_date like '2024-04-06%' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040002679' and product_code = 'DG010264-01' 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30715',`firm_id` = '11',`ordernumber` = 'M24040002679', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-01',`product_sn` = 'DG010264',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-06',`create_date` = '2024-04-03 13:36:48',`modify_date` = '2024-04-06 13:15:36',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040002679' and product_code = 'DG010264-01', `lunar_date` = '2024-02-25' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040002857' and product_code = 'DG010316-02' 2024-04-06 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,'30717','8','B24040002857','8結彌月禮盒-樂芙','DG010316-02','DG010316','原味+芝麻','禮盒-彌月樂芙【原味+芝麻】','500','500','0','1','0','0','1','500.0','16','8000','2024-04-24','2024-04-06 20:59:45','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30717',`firm_id` = '8',`ordernumber` = 'B24040002857', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-02',`product_sn` = 'DG010316',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '16',`total_price` = '8000',`etd` = '2024-04-24',`create_date` = '2024-04-06 20:59:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040002857' and product_code = 'DG010316-02', `lunar_date` = '2024-02-28' 2024-04-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040002857' and product_code = 'ZP010151-01' 2024-04-06 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,'30717','8','B24040002857','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-04-24','2024-04-06 20:59:45','2024-04-06 23:59:06',null,'1','2024-02-28') 2024-04-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30717',`firm_id` = '8',`ordernumber` = 'B24040002857', `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-04-24',`create_date` = '2024-04-06 20:59:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040002857' and product_code = 'ZP010151-01', `lunar_date` = '2024-02-28' 2024-04-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040002925' and product_code = 'DG010263-01' 2024-04-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30718','8','B24040002925','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','70','21000','2024-04-15','2024-04-06 23:13:20','2024-04-06 23:59:07',null,'1','2024-02-28') 2024-04-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30718',`firm_id` = '8',`ordernumber` = 'B24040002925', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '70',`total_price` = '21000',`etd` = '2024-04-15',`create_date` = '2024-04-06 23:13:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040002925' and product_code = 'DG010263-01', `lunar_date` = '2024-02-28' 2024-04-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040002925' and product_code = 'DG010263-02' 2024-04-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30718','8','B24040002925','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','1','0','0','1','0.0','5','1500','2024-04-15','2024-04-06 23:13:20','2024-04-06 23:59:07',null,'1','2024-02-28') 2024-04-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30718',`firm_id` = '8',`ordernumber` = 'B24040002925', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`product_sn` = 'DG010263',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-04-15',`create_date` = '2024-04-06 23:13:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040002925' and product_code = 'DG010263-02', `lunar_date` = '2024-02-28' 2024-04-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040002925' and product_code = 'ZP0101106-01' 2024-04-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30718','8','B24040002925','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-04-15','2024-04-06 23:13:20','2024-04-06 23:59:07',null,'1','2024-02-28') 2024-04-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30718',`firm_id` = '8',`ordernumber` = 'B24040002925', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-15',`create_date` = '2024-04-06 23:13:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040002925' and product_code = 'ZP0101106-01', `lunar_date` = '2024-02-28' 2024-04-06 23:59:07 -- == sync_order_detail end == 2024-04-06 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-04-06' OR o.updated_at = '2024-04-06') and o.deleted_at is null 2024-04-06 23:59:07 -- == sync_order_detail start == 2024-04-06 23:59:07 -- start:2024-04-06,end:2024-04-06 2024-04-06 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-04-06 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-04-06 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-04-06%';