2024-03-17 23:59:02 -- == sync_order start == 2024-03-17 23:59:02 -- start:2024-03-17,end:2024-03-17 2024-03-17 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-03-17%' OR l.modify_date like '2024-03-17%'; 2024-03-17 23:59:03 -- == sync omo_order_list == 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344644','381406',1,'','','O24030057371','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2139','521','彰化縣','北斗鎮','521','彰化縣','北斗鎮','2289','2024-03-17 02:34:59','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('332528','369422',1,'','','O24030057495','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','702','台南市','南區','700','台南市','中西區','1110','2024-03-17 09:01:29','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345140','381897',1,'','','O24030057540','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','116','台北市','文山區','116','台北市','文山區','1110','2024-03-17 10:15:10','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345141','381898',1,'','','O24030057622','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1830','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','1950','2024-03-17 10:52:02','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345137','381894',1,'','','O24030057713','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','885','411','台中市','太平區','411','台中市','太平區','1005','2024-03-17 11:09:09','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345144','381901',1,'','','O24030057849','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3495','832','高雄市','林園區','832','高雄市','林園區','3615','2024-03-17 11:25:18','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345144','381901',1,'','','O24030057921','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3495','832','高雄市','林園區','832','高雄市','林園區','3615','2024-03-17 11:30:39','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('313402','350558',1,'','','O24030058068','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6380','406','台中市','北屯區','300','新竹市','東區','6380','2024-03-17 12:39:28','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('335733','372592',1,'','','O24030058119','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1180','557','南投縣','竹山鎮','334','桃園市','八德區','1330','2024-03-17 13:10:15','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('332473','369367',1,'','','O24030058245','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1400','600','嘉義市','東區','600','嘉義市','東區','1550','2024-03-17 13:48:01','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345174','381930',1,'','','O24030058395','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1400','330','桃園市','桃園區','330','桃園市','桃園區','1520','2024-03-17 14:11:29','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345182','381938',1,'','','O24030058438','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2700','110','台北市','信義區','110','台北市','信義區','2820','2024-03-17 14:24:55','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345182','381938',1,'','','O24030058554','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3585','110','台北市','信義區','110','台北市','信義區','3735','2024-03-17 14:27:34','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345164','381921',1,'美村門市訂單','32','S24030058621','1','2','8','1','1','','','0','2024-03-18','0','768','0','','300','30','15370','880','澎湖縣','馬公市','880','澎湖縣','馬公市','14872','2024-03-17 16:50:28','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345235','381991',1,'','','O24030058779','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','699','300','新竹市','東區','300','新竹市','東區','819','2024-03-17 17:06:50','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345255','382011',1,'','','O24030058819','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1800','242','新北市','新莊區','242','新北市','新莊區','1920','2024-03-17 18:23:37','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344099','380867',1,'','','O24030058914','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1878','400','台中市','中區','400','台中市','中區','1998','2024-03-17 19:47:08','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345276','382032',1,'','','O24030059051','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','433','台中市','沙鹿區','433','台中市','沙鹿區','1110','2024-03-17 20:03:31','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345277','382033',1,'','','O24030059149','1','1','1','1','1','08153561','財團法人基礎天基聖堂','0','0000-00-00','0','0','0','','150','30','1440','503','彰化縣','花壇鄉','337','桃園市','大園區','1560','2024-03-17 20:17:17','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('330157','212503',1,'','','O24030059240','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','100','台北市','中正區','320','桃園市','中壢區','650','2024-03-17 21:28:00','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('335102','371968',1,'','','O24030059347','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','295','429','台中市','神岡區','429','台中市','神岡區','445','2024-03-17 21:31:23','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345279','382035',1,'','','O24030059479','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1475','735','台南市','下營區','735','台南市','下營區','1595','2024-03-17 21:45:33','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('100595','71519',1,'','','O24030059561','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','870','704','台南市','北區','704','台南市','北區','1020','2024-03-17 22:03:30','2024-02-08') 2024-03-17 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345172','381929',1,'','','O24030059650','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','699','702','台南市','南區','300','新竹市','東區','819','2024-03-17 23:41:46','2024-02-08') 2024-03-17 23:59:03 -- == sync_order end == 2024-03-17 23:59:03 -- == sync_order_detail start == 2024-03-17 23:59:03 -- start:2024-03-17,end:2024-03-17 2024-03-17 23:59:03 -- == sync omo_order_detail == 2024-03-17 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-17%' OR modify_date like '2024-03-17%' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057371' and product_code = 'DG010312-05' 2024-03-17 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,'229856','8','O24030057371','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-03-21','2024-03-17 02:34:59','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229856',`firm_id` = '8',`ordernumber` = 'O24030057371', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-03-21',`create_date` = '2024-03-17 02:34:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057371' and product_code = 'DG010312-05' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057371' and product_code = 'DG010566-56' 2024-03-17 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,'229856','8','O24030057371','經典蛋捲三入組','DG010566-56','DG010566','阿薩姆紅茶+阿薩姆紅茶+阿薩姆紅茶','組合-32入(阿薩姆紅茶+阿薩姆紅茶+阿薩姆紅茶)','699','699','0','0','0','1','1','0.0','1','699','2024-03-21','2024-03-17 02:34:59','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229856',`firm_id` = '8',`ordernumber` = 'O24030057371', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-56',`product_sn` = 'DG010566',`product_spec` = '阿薩姆紅茶+阿薩姆紅茶+阿薩姆紅茶',`invoice_name` = '組合-32入(阿薩姆紅茶+阿薩姆紅茶+阿薩姆紅茶)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-21',`create_date` = '2024-03-17 02:34:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057371' and product_code = 'DG010566-56' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057495' and product_code = 'DG0103148-12' 2024-03-17 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,'229857','8','O24030057495','金典8結禮盒','DG0103148-12','DG0103148','巧克力+咖啡','禮盒-金典(紅)【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-03-19','2024-03-17 09:01:29','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229857',`firm_id` = '8',`ordernumber` = 'O24030057495', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-12',`product_sn` = 'DG0103148',`product_spec` = '巧克力+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-03-19',`create_date` = '2024-03-17 09:01:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057495' and product_code = 'DG0103148-12' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057540' and product_code = 'DG010523-05' 2024-03-17 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,'229858','8','O24030057540','SNOOPY帶走心意-蛋捲三入組','DG010523-05','DG010523','原味+原味+巧克力','組合-32入(原味+原味+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-19','2024-03-17 10:15:10','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229858',`firm_id` = '8',`ordernumber` = 'O24030057540', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-05',`product_sn` = 'DG010523',`product_spec` = '原味+原味+巧克力',`invoice_name` = '組合-32入(原味+原味+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-19',`create_date` = '2024-03-17 10:15:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057540' and product_code = 'DG010523-05' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057622' and product_code = 'DG010523-04' 2024-03-17 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,'229859','8','O24030057622','SNOOPY帶走心意-蛋捲三入組','DG010523-04','DG010523','原味+原味+海苔','組合-32入(原味+原味+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-19','2024-03-17 10:52:02','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229859',`firm_id` = '8',`ordernumber` = 'O24030057622', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-04',`product_sn` = 'DG010523',`product_spec` = '原味+原味+海苔',`invoice_name` = '組合-32入(原味+原味+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-19',`create_date` = '2024-03-17 10:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057622' and product_code = 'DG010523-04' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057622' and product_code = 'DG010527-01' 2024-03-17 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,'229859','8','O24030057622','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-03-19','2024-03-17 10:52:02','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229859',`firm_id` = '8',`ordernumber` = 'O24030057622', `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-03-19',`create_date` = '2024-03-17 10:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057622' and product_code = 'DG010527-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057622' and product_code = 'DG010527-03' 2024-03-17 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,'229859','8','O24030057622','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-03-19','2024-03-17 10:52:02','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229859',`firm_id` = '8',`ordernumber` = 'O24030057622', `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-03-19',`create_date` = '2024-03-17 10:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057622' and product_code = 'DG010527-03' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057622' and product_code = '13045' 2024-03-17 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,'229859','8','O24030057622','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','110','110','1','1','110','0','0','0.0','1','110','2024-03-19','2024-03-17 10:52:02','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229859',`firm_id` = '8',`ordernumber` = 'O24030057622', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '110',`sellingprice` = '110',`isadd` = '1',`isbaby` = '1',`addprice` = '110',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '110',`etd` = '2024-03-19',`create_date` = '2024-03-17 10:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057622' and product_code = '13045' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057622' and product_code = 'LS010108-03' 2024-03-17 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,'229859','8','O24030057622','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','150','150','1','1','150','0','0','0.0','1','150','2024-03-19','2024-03-17 10:52:02','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229859',`firm_id` = '8',`ordernumber` = 'O24030057622', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-03-19',`create_date` = '2024-03-17 10:52:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057622' and product_code = 'LS010108-03' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057713' and product_code = 'DG010258-01' 2024-03-17 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,'229860','8','O24030057713','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','2','590','2024-03-22','2024-03-17 11:09:09','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229860',`firm_id` = '8',`ordernumber` = 'O24030057713', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-03-22',`create_date` = '2024-03-17 11:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057713' and product_code = 'DG010258-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057713' and product_code = 'DG010258-02' 2024-03-17 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,'229860','8','O24030057713','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-03-22','2024-03-17 11:09:09','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229860',`firm_id` = '8',`ordernumber` = 'O24030057713', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-22',`create_date` = '2024-03-17 11:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057713' and product_code = 'DG010258-02' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057849' and product_code = 'DG010566-01' 2024-03-17 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,'229861','8','O24030057849','經典蛋捲三入組','DG010566-01','DG010566','原味+原味+原味','組合-32入(原味+原味+原味)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:25:18','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229861',`firm_id` = '8',`ordernumber` = 'O24030057849', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-01',`product_sn` = 'DG010566',`product_spec` = '原味+原味+原味',`invoice_name` = '組合-32入(原味+原味+原味)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:25:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057849' and product_code = 'DG010566-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057849' and product_code = 'DG010566-02' 2024-03-17 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,'229861','8','O24030057849','經典蛋捲三入組','DG010566-02','DG010566','原味+原味+芝麻','組合-32入(原味+原味+芝麻)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:25:18','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229861',`firm_id` = '8',`ordernumber` = 'O24030057849', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-02',`product_sn` = 'DG010566',`product_spec` = '原味+原味+芝麻',`invoice_name` = '組合-32入(原味+原味+芝麻)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:25:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057849' and product_code = 'DG010566-02' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057849' and product_code = 'DG010566-08' 2024-03-17 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,'229861','8','O24030057849','經典蛋捲三入組','DG010566-08','DG010566','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:25:18','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229861',`firm_id` = '8',`ordernumber` = 'O24030057849', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-08',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:25:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057849' and product_code = 'DG010566-08' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057849' and product_code = 'DG010566-06' 2024-03-17 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,'229861','8','O24030057849','經典蛋捲三入組','DG010566-06','DG010566','原味+原味+阿薩姆紅茶','組合-32入(原味+原味+阿薩姆紅茶)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:25:18','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229861',`firm_id` = '8',`ordernumber` = 'O24030057849', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-06',`product_sn` = 'DG010566',`product_spec` = '原味+原味+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+阿薩姆紅茶)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:25:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057849' and product_code = 'DG010566-06' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057849' and product_code = 'DG010566-03' 2024-03-17 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,'229861','8','O24030057849','經典蛋捲三入組','DG010566-03','DG010566','原味+原味+咖啡','組合-32入(原味+原味+咖啡)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:25:18','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229861',`firm_id` = '8',`ordernumber` = 'O24030057849', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-03',`product_sn` = 'DG010566',`product_spec` = '原味+原味+咖啡',`invoice_name` = '組合-32入(原味+原味+咖啡)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:25:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057849' and product_code = 'DG010566-03' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057921' and product_code = 'DG010566-01' 2024-03-17 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,'229862','8','O24030057921','經典蛋捲三入組','DG010566-01','DG010566','原味+原味+原味','組合-32入(原味+原味+原味)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:30:39','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229862',`firm_id` = '8',`ordernumber` = 'O24030057921', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-01',`product_sn` = 'DG010566',`product_spec` = '原味+原味+原味',`invoice_name` = '組合-32入(原味+原味+原味)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:30:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057921' and product_code = 'DG010566-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057921' and product_code = 'DG010566-02' 2024-03-17 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,'229862','8','O24030057921','經典蛋捲三入組','DG010566-02','DG010566','原味+原味+芝麻','組合-32入(原味+原味+芝麻)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:30:39','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229862',`firm_id` = '8',`ordernumber` = 'O24030057921', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-02',`product_sn` = 'DG010566',`product_spec` = '原味+原味+芝麻',`invoice_name` = '組合-32入(原味+原味+芝麻)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:30:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057921' and product_code = 'DG010566-02' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057921' and product_code = 'DG010566-06' 2024-03-17 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,'229862','8','O24030057921','經典蛋捲三入組','DG010566-06','DG010566','原味+原味+阿薩姆紅茶','組合-32入(原味+原味+阿薩姆紅茶)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:30:39','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229862',`firm_id` = '8',`ordernumber` = 'O24030057921', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-06',`product_sn` = 'DG010566',`product_spec` = '原味+原味+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+阿薩姆紅茶)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:30:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057921' and product_code = 'DG010566-06' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057921' and product_code = 'DG010566-03' 2024-03-17 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,'229862','8','O24030057921','經典蛋捲三入組','DG010566-03','DG010566','原味+原味+咖啡','組合-32入(原味+原味+咖啡)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:30:39','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229862',`firm_id` = '8',`ordernumber` = 'O24030057921', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-03',`product_sn` = 'DG010566',`product_spec` = '原味+原味+咖啡',`invoice_name` = '組合-32入(原味+原味+咖啡)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:30:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057921' and product_code = 'DG010566-03' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030057921' and product_code = 'DG010566-08' 2024-03-17 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,'229862','8','O24030057921','經典蛋捲三入組','DG010566-08','DG010566','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 11:30:39','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229862',`firm_id` = '8',`ordernumber` = 'O24030057921', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-08',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 11:30:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030057921' and product_code = 'DG010566-08' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058068' and product_code = 'DG010527-01' 2024-03-17 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,'229863','8','O24030058068','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','22','6380','2024-03-19','2024-03-17 12:39:28','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229863',`firm_id` = '8',`ordernumber` = 'O24030058068', `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` = '22',`total_price` = '6380',`etd` = '2024-03-19',`create_date` = '2024-03-17 12:39:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058068' and product_code = 'DG010527-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058119' and product_code = 'DG010258-03' 2024-03-17 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,'229864','8','O24030058119','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-03-19','2024-03-17 13:10:15','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229864',`firm_id` = '8',`ordernumber` = 'O24030058119', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-19',`create_date` = '2024-03-17 13:10:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058119' and product_code = 'DG010258-03' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058119' and product_code = 'DG010258-02' 2024-03-17 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,'229864','8','O24030058119','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','3','885','2024-03-19','2024-03-17 13:10:15','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229864',`firm_id` = '8',`ordernumber` = 'O24030058119', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-03-19',`create_date` = '2024-03-17 13:10:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058119' and product_code = 'DG010258-02' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058245' and product_code = 'DG010567-176' 2024-03-17 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,'229865','8','O24030058245','熱銷蛋捲六入組','DG010567-176','DG010567','原味+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶','組合-32入(原味+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-19','2024-03-17 13:48:01','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229865',`firm_id` = '8',`ordernumber` = 'O24030058245', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-176',`product_sn` = 'DG010567',`product_spec` = '原味+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-19',`create_date` = '2024-03-17 13:48:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058245' and product_code = 'DG010567-176' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058245' and product_code = 'BP010128-01' 2024-03-17 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,'229865','8','O24030058245','[加購]8結小禮袋','BP010128-01','BP010128','-','8結小禮袋','10','10','1','0','10','0','0','0.0','5','50','2024-03-19','2024-03-17 13:48:01','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229865',`firm_id` = '8',`ordernumber` = 'O24030058245', `product_name` = '[加購]8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '-',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '5',`total_price` = '50',`etd` = '2024-03-19',`create_date` = '2024-03-17 13:48:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058245' and product_code = 'BP010128-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058395' and product_code = 'DG010567-302' 2024-03-17 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,'229866','8','O24030058395','熱銷蛋捲六入組','DG010567-302','DG010567','芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶','組合-32入(芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-25','2024-03-17 14:11:29','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229866',`firm_id` = '8',`ordernumber` = 'O24030058395', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-302',`product_sn` = 'DG010567',`product_spec` = '芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-25',`create_date` = '2024-03-17 14:11:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058395' and product_code = 'DG010567-302' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058395' and product_code = 'BP010128-01' 2024-03-17 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,'229866','8','O24030058395','[加購]8結小禮袋','BP010128-01','BP010128','-','8結小禮袋','10','10','1','0','10','0','0','0.0','5','50','2024-03-25','2024-03-17 14:11:29','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229866',`firm_id` = '8',`ordernumber` = 'O24030058395', `product_name` = '[加購]8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '-',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '5',`total_price` = '50',`etd` = '2024-03-25',`create_date` = '2024-03-17 14:11:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058395' and product_code = 'BP010128-01' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058438' and product_code = 'DG010567-106' 2024-03-17 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,'229867','8','O24030058438','熱銷蛋捲六入組','DG010567-106','DG010567','原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶','組合-32入(原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-19','2024-03-17 14:24:55','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229867',`firm_id` = '8',`ordernumber` = 'O24030058438', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-106',`product_sn` = 'DG010567',`product_spec` = '原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+咖啡+海苔+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-19',`create_date` = '2024-03-17 14:24:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058438' and product_code = 'DG010567-106' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058438' and product_code = 'DG010567-302' 2024-03-17 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,'229867','8','O24030058438','熱銷蛋捲六入組','DG010567-302','DG010567','芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶','組合-32入(芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-19','2024-03-17 14:24:55','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229867',`firm_id` = '8',`ordernumber` = 'O24030058438', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-302',`product_sn` = 'DG010567',`product_spec` = '芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(芝麻+芝麻+咖啡+海苔+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-19',`create_date` = '2024-03-17 14:24:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058438' and product_code = 'DG010567-302' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058554' and product_code = 'DG010567-86' 2024-03-17 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,'229868','8','O24030058554','熱銷蛋捲六入組','DG010567-86','DG010567','原味+原味+芝麻+海苔+巧克力+阿薩姆紅茶','組合-32入(原味+原味+芝麻+海苔+巧克力+阿薩姆紅茶)','1350','1350','0','0','0','1','1','0.0','2','2700','2024-03-19','2024-03-17 14:27:34','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229868',`firm_id` = '8',`ordernumber` = 'O24030058554', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-86',`product_sn` = 'DG010567',`product_spec` = '原味+原味+芝麻+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+芝麻+海苔+巧克力+阿薩姆紅茶)',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2700',`etd` = '2024-03-19',`create_date` = '2024-03-17 14:27:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058554' and product_code = 'DG010567-86' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058554' and product_code = 'DG010206-02' 2024-03-17 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,'229868','8','O24030058554','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','3','885','2024-03-19','2024-03-17 14:27:34','2024-03-17 23:59:05',null,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229868',`firm_id` = '8',`ordernumber` = 'O24030058554', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-03-19',`create_date` = '2024-03-17 14:27:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058554' and product_code = 'DG010206-02' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030058621' and product_code = 'DG010101-02' 2024-03-17 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,'229869','8','S24030058621','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','25','7000','2024-03-18','2024-03-17 16:50:28','2024-03-17 23:59:05',0,'1','2024-02-08') 2024-03-17 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229869',`firm_id` = '8',`ordernumber` = 'S24030058621', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '25',`total_price` = '7000',`etd` = '2024-03-18',`create_date` = '2024-03-17 16:50:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'S24030058621' and product_code = 'DG010101-02' 2024-03-17 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030058621' and product_code = 'DG010101-05' 2024-03-17 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,'229869','8','S24030058621','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','28','7840','2024-03-18','2024-03-17 16:50:28','2024-03-17 23:59:05',0,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229869',`firm_id` = '8',`ordernumber` = 'S24030058621', `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` = '28',`total_price` = '7840',`etd` = '2024-03-18',`create_date` = '2024-03-17 16:50:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'S24030058621' and product_code = 'DG010101-05' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030058621' and product_code = 'BP010128-01' 2024-03-17 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,'229869','8','S24030058621','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','53','530','2024-03-18','2024-03-17 16:50:28','2024-03-17 23:59:06',0,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229869',`firm_id` = '8',`ordernumber` = 'S24030058621', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '53',`total_price` = '530',`etd` = '2024-03-18',`create_date` = '2024-03-17 16:50:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'S24030058621' and product_code = 'BP010128-01' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058779' and product_code = 'DG010566-06' 2024-03-17 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,'229870','8','O24030058779','經典蛋捲三入組','DG010566-06','DG010566','原味+原味+阿薩姆紅茶','組合-32入(原味+原味+阿薩姆紅茶)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 17:06:50','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229870',`firm_id` = '8',`ordernumber` = 'O24030058779', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-06',`product_sn` = 'DG010566',`product_spec` = '原味+原味+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+原味+阿薩姆紅茶)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 17:06:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058779' and product_code = 'DG010566-06' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058819' and product_code = 'ZS010201-02' 2024-03-17 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,'229871','8','O24030058819','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','6','1800','2024-03-19','2024-03-17 18:23:37','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229871',`firm_id` = '8',`ordernumber` = 'O24030058819', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-03-19',`create_date` = '2024-03-17 18:23:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058819' and product_code = 'ZS010201-02' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058914' and product_code = 'DG010566-37' 2024-03-17 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,'229872','8','O24030058914','經典蛋捲三入組','DG010566-37','DG010566','咖啡+咖啡+咖啡','組合-32入(咖啡+咖啡+咖啡)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 19:47:08','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229872',`firm_id` = '8',`ordernumber` = 'O24030058914', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-37',`product_sn` = 'DG010566',`product_spec` = '咖啡+咖啡+咖啡',`invoice_name` = '組合-32入(咖啡+咖啡+咖啡)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 19:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058914' and product_code = 'DG010566-37' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058914' and product_code = 'DG010566-53' 2024-03-17 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,'229872','8','O24030058914','經典蛋捲三入組','DG010566-53','DG010566','巧克力+巧克力+巧克力','組合-32入(巧克力+巧克力+巧克力)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 19:47:08','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229872',`firm_id` = '8',`ordernumber` = 'O24030058914', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-53',`product_sn` = 'DG010566',`product_spec` = '巧克力+巧克力+巧克力',`invoice_name` = '組合-32入(巧克力+巧克力+巧克力)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 19:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058914' and product_code = 'DG010566-53' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030058914' and product_code = 'LS010113-03' 2024-03-17 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,'229872','8','O24030058914','家庭分享包-乳酪絲','LS010113-03','LS010113','黑松露','(紅袋)乳酪絲【黑松露】','480','480','0','0','0','0','1','0.0','1','480','2024-03-19','2024-03-17 19:47:08','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229872',`firm_id` = '8',`ordernumber` = 'O24030058914', `product_name` = '家庭分享包-乳酪絲',`product_code` = 'LS010113-03',`product_sn` = 'LS010113',`product_spec` = '黑松露',`invoice_name` = '(紅袋)乳酪絲【黑松露】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-19',`create_date` = '2024-03-17 19:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030058914' and product_code = 'LS010113-03' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059051' and product_code = 'DG010523-09' 2024-03-17 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,'229873','8','O24030059051','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-29','2024-03-17 20:03:31','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229873',`firm_id` = '8',`ordernumber` = 'O24030059051', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-29',`create_date` = '2024-03-17 20:03:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059051' and product_code = 'DG010523-09' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059149' and product_code = 'DG010312-02' 2024-03-17 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,'229874','8','O24030059149','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-03-19','2024-03-17 20:17:17','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229874',`firm_id` = '8',`ordernumber` = 'O24030059149', `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` = '3',`total_price` = '1440',`etd` = '2024-03-19',`create_date` = '2024-03-17 20:17:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059149' and product_code = 'DG010312-02' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059240' and product_code = 'DG010327-04' 2024-03-17 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,'229875','8','O24030059240','【小王子聯名】仰望星空8結禮盒 ','DG010327-04','DG010327','原味,海苔','禮盒-小王子(藍)【原味+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-03-19','2024-03-17 21:28:00','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229875',`firm_id` = '8',`ordernumber` = 'O24030059240', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-04',`product_sn` = 'DG010327',`product_spec` = '原味,海苔',`invoice_name` = '禮盒-小王子(藍)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-03-19',`create_date` = '2024-03-17 21:28:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059240' and product_code = 'DG010327-04' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059347' and product_code = 'DG010258-03' 2024-03-17 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,'229876','8','O24030059347','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-03-21','2024-03-17 21:31:23','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229876',`firm_id` = '8',`ordernumber` = 'O24030059347', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-21',`create_date` = '2024-03-17 21:31:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059347' and product_code = 'DG010258-03' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059479' and product_code = 'DG010258-02' 2024-03-17 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,'229877','8','O24030059479','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','5','1475','2024-03-21','2024-03-17 21:45:33','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229877',`firm_id` = '8',`ordernumber` = 'O24030059479', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1475',`etd` = '2024-03-21',`create_date` = '2024-03-17 21:45:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059479' and product_code = 'DG010258-02' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059561' and product_code = 'DG010527-01' 2024-03-17 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,'229878','8','O24030059561','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','3','870','2024-03-19','2024-03-17 22:03:30','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229878',`firm_id` = '8',`ordernumber` = 'O24030059561', `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` = '3',`total_price` = '870',`etd` = '2024-03-19',`create_date` = '2024-03-17 22:03:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059561' and product_code = 'DG010527-01' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030059650' and product_code = 'DG010566-11' 2024-03-17 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,'229879','8','O24030059650','經典蛋捲三入組','DG010566-11','DG010566','原味+芝麻+阿薩姆紅茶','組合-32入(原味+芝麻+阿薩姆紅茶)','699','699','0','0','0','1','1','0.0','1','699','2024-03-19','2024-03-17 23:41:46','2024-03-17 23:59:06',null,'1','2024-02-08') 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229879',`firm_id` = '8',`ordernumber` = 'O24030059650', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-11',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+阿薩姆紅茶',`invoice_name` = '組合-32入(原味+芝麻+阿薩姆紅茶)',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-19',`create_date` = '2024-03-17 23:41:46',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-08'where ordernumber = 'O24030059650' and product_code = 'DG010566-11' 2024-03-17 23:59:06 -- == sync_order_detail end == 2024-03-17 23:59:06 -- == sync_order start == 2024-03-17 23:59:06 -- start:2024-03-17,end:2024-03-17 2024-03-17 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-03-17%' OR l.modify_date like '2024-03-17%'; 2024-03-17 23:59:06 -- == sync omo_order_list == 2024-03-17 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '380500', process_status = '3', pay_status = '1', totalprice_after = '855', lunar_date = '2024-01-28', invoice_status = '0', category_name = '正式彌,LINE@訂單,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24030009192' 2024-03-17 23:59:06 -- == sync_order end == 2024-03-17 23:59:06 -- == sync_order_detail start == 2024-03-17 23:59:06 -- start:2024-03-17,end:2024-03-17 2024-03-17 23:59:06 -- == sync omo_order_detail == 2024-03-17 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-17%' OR modify_date like '2024-03-17%' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030009192' and product_code = 'DG010222-01' 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30507',`firm_id` = '8',`ordernumber` = 'M24030009192', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-03-13',`create_date` = '2024-03-08 17:16:32',`modify_date` = '2024-03-17 17:14:20',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030009192' and product_code = 'DG010222-01', `lunar_date` = '2024-01-28' 2024-03-17 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24030009192' and product_code = 'DG010222-04' 2024-03-17 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30507',`firm_id` = '8',`ordernumber` = 'M24030009192', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-04',`product_sn` = 'DG010222',`product_spec` = '海苔',`invoice_name` = '提盒-小王子(紅)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-13',`create_date` = '2024-03-08 17:16:32',`modify_date` = '2024-03-17 17:14:20',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24030009192' and product_code = 'DG010222-04', `lunar_date` = '2024-01-28' 2024-03-17 23:59:06 -- == sync_order_detail end == 2024-03-17 23:59:06 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-03-17' OR o.updated_at = '2024-03-17') and o.deleted_at is null 2024-03-17 23:59:06 -- == sync_order_detail start == 2024-03-17 23:59:06 -- start:2024-03-17,end:2024-03-17 2024-03-17 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-03-17 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-03-17 23:59:09 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-03-17%';