2024-10-19 23:59:02 -- == sync_order start == 2024-10-19 23:59:02 -- start:2024-10-19,end:2024-10-19 2024-10-19 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-10-19%' OR l.modify_date like '2024-10-19%'; 2024-10-19 23:59:03 -- == sync omo_order_list == 2024-10-19 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '1260', lunar_date = '2024-09-13', invoice_status = '1',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24100050286' 2024-10-19 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 ('369106','405636',1,'','','O24100062845','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','850','640','雲林縣','斗六市','640','雲林縣','斗六市','1000','2024-10-19 01:57:25','2024-09-17') 2024-10-19 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 ('388412','424699',1,'','','O24100062986','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','335','桃園市','大溪區','335','桃園市','大溪區','1560','2024-10-19 09:43:19','2024-09-17') 2024-10-19 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 ('390297','426573',1,'','','O24100063074','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','622','嘉義縣','大林鎮','622','嘉義縣','大林鎮','1560','2024-10-19 10:44:01','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390306','426582',1,'','','O24100063141','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','305','新竹縣','新埔鎮','305','新竹縣','新埔鎮','600','2024-10-19 11:32:22','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390309','426585',1,'','','O24100063276','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','30','890','511','彰化縣','社頭鄉','511','彰化縣','社頭鄉','1010','2024-10-19 11:54:11','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390310','426586',1,'','','O24100063381','1','1','1','1','1','99712754','釜山行','0','0000-00-00','0','0','0','','150','30','2240','806','高雄市','前鎮區','806','高雄市','前鎮區','2360','2024-10-19 11:57:19','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390320','426596',1,'','','O24100063428','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','251','新北市','淡水區','251','新北市','淡水區','620','2024-10-19 12:21:30','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390334','426610',1,'','','O24100063561','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','295','402','台中市','南區','963','台東縣','太麻里鄉','415','2024-10-19 13:17:57','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390293','426569',1,'','','O24100063687','1','1','1','1','1','65567909','維思遊有限公司','0','0000-00-00','525','0','0','','0','30','10500','239','新北市','鶯歌區','407','台中市','西屯區','9945','2024-10-19 13:41:11','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390343','426619',1,'','','O24100063784','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1490','324','桃園市','平鎮區','324','桃園市','平鎮區','1610','2024-10-19 13:49:21','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390344','426620',1,'','','O24100063817','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','595','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','715','2024-10-19 13:58:12','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390379','426655',1,'','','O24100063949','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','972','花蓮縣','秀林鄉','972','花蓮縣','秀林鄉','1080','2024-10-19 15:37:22','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390138','426417',1,'','','O24100064055','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','795','833','高雄市','鳥松區','833','高雄市','鳥松區','915','2024-10-19 16:06:01','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('388366','424653',1,'','','O24100064152','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','900','710','台南市','永康區','710','台南市','永康區','1050','2024-10-19 16:27:26','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('25337','175886',1,'','','O24100064224','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3005','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','3155','2024-10-19 16:48:11','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('390405','426681',1,'','','O24100064368','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','600','238','新北市','樹林區','238','新北市','樹林區','720','2024-10-19 17:07:35','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('367009','403559',1,'','','O24100064483','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5760','114','台北市','內湖區','114','台北市','內湖區','5760','2024-10-19 18:40:55','2024-09-17') 2024-10-19 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('388970','425255',1,'','','O24100064591','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2360','913','屏東縣','萬丹鄉','913','屏東縣','萬丹鄉','2480','2024-10-19 21:56:04','2024-09-17') 2024-10-19 23:59:04 -- == sync_order end == 2024-10-19 23:59:04 -- == sync_order_detail start == 2024-10-19 23:59:04 -- start:2024-10-19,end:2024-10-19 2024-10-19 23:59:04 -- == sync omo_order_detail == 2024-10-19 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-19%' OR modify_date like '2024-10-19%' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100050286' and product_code = 'DG010312-01' 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249824',`firm_id` = '8',`ordernumber` = 'S24100050286', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-10-19',`create_date` = '2024-10-15 14:22:12',`modify_date` = '2024-10-19 13:19:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100050286' and product_code = 'DG010312-01' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100050286' and product_code = 'FL010104-01' 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249824',`firm_id` = '8',`ordernumber` = 'S24100050286', `product_name` = '加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '310',`etd` = '2024-10-19',`create_date` = '2024-10-15 14:22:12',`modify_date` = '2024-10-19 13:19:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100050286' and product_code = 'FL010104-01' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100050286' and product_code = 'BP010128-01' 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249824',`firm_id` = '8',`ordernumber` = 'S24100050286', `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` = '6',`total_price` = '60',`etd` = '2024-10-19',`create_date` = '2024-10-15 14:23:38',`modify_date` = '2024-10-19 13:19:48',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100050286' and product_code = 'BP010128-01' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100062845' and product_code = 'DG010265-02' 2024-10-19 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,'249954','8','O24100062845','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-02','DG010265','芝麻','提盒-SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-10-22','2024-10-19 01:57:25','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249954',`firm_id` = '8',`ordernumber` = 'O24100062845', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`product_spec` = '芝麻',`invoice_name` = '提盒-SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-22',`create_date` = '2024-10-19 01:57:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100062845' and product_code = 'DG010265-02' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100062845' and product_code = 'DG010265-04' 2024-10-19 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,'249954','8','O24100062845','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-04','DG010265','海苔','提盒-SNOOPY(粉)-40入海苔','300','300','0','0','0','0','1','0.0','1','300','2024-10-22','2024-10-19 01:57:25','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249954',`firm_id` = '8',`ordernumber` = 'O24100062845', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-04',`product_sn` = 'DG010265',`product_spec` = '海苔',`invoice_name` = '提盒-SNOOPY(粉)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-22',`create_date` = '2024-10-19 01:57:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100062845' and product_code = 'DG010265-04' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100062845' and product_code = 'BP010185-01' 2024-10-19 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,'249954','8','O24100062845','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-22','2024-10-19 01:57:25','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249954',`firm_id` = '8',`ordernumber` = 'O24100062845', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-22',`create_date` = '2024-10-19 01:57:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100062845' and product_code = 'BP010185-01' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100062986' and product_code = 'DG0103148-09' 2024-10-19 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,'249955','8','O24100062986','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','3','1440','2024-10-22','2024-10-19 09:43:19','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249955',`firm_id` = '8',`ordernumber` = 'O24100062986', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-09',`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` = '3',`total_price` = '1440',`etd` = '2024-10-22',`create_date` = '2024-10-19 09:43:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100062986' and product_code = 'DG0103148-09' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063074' and product_code = 'DG010312-05' 2024-10-19 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,'249956','8','O24100063074','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-22','2024-10-19 10:44:01','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249956',`firm_id` = '8',`ordernumber` = 'O24100063074', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-22',`create_date` = '2024-10-19 10:44:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063074' and product_code = 'DG010312-05' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063074' and product_code = 'DG010312-07' 2024-10-19 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,'249956','8','O24100063074','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-10-22','2024-10-19 10:44:01','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249956',`firm_id` = '8',`ordernumber` = 'O24100063074', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-10-22',`create_date` = '2024-10-19 10:44:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063074' and product_code = 'DG010312-07' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063141' and product_code = 'DG010312-11' 2024-10-19 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,'249957','8','O24100063141','【咖啡+海苔】金8結禮盒','DG010312-11','DG010312','金8結盒','禮盒-金8結【咖啡+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-10-22','2024-10-19 11:32:22','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249957',`firm_id` = '8',`ordernumber` = 'O24100063141', `product_name` = '【咖啡+海苔】金8結禮盒',`product_code` = 'DG010312-11',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-22',`create_date` = '2024-10-19 11:32:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063141' and product_code = 'DG010312-11' 2024-10-19 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063276' and product_code = 'DG0103188-12' 2024-10-19 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,'249958','8','O24100063276','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-12','DG0103188','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-11-08','2024-10-19 11:54:11','2024-10-19 23:59:05',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249958',`firm_id` = '8',`ordernumber` = 'O24100063276', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-12',`product_sn` = 'DG0103188',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-11-08',`create_date` = '2024-10-19 11:54:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063276' and product_code = 'DG0103188-12' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063276' and product_code = 'BP010179-01' 2024-10-19 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,'249958','8','O24100063276','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-11-08','2024-10-19 11:54:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249958',`firm_id` = '8',`ordernumber` = 'O24100063276', `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-11-08',`create_date` = '2024-10-19 11:54:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063276' and product_code = 'BP010179-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063381' and product_code = 'DG010101-01' 2024-10-19 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,'249959','8','O24100063381','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-10-22','2024-10-19 11:57:19','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249959',`firm_id` = '8',`ordernumber` = 'O24100063381', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '6',`total_price` = '1680',`etd` = '2024-10-22',`create_date` = '2024-10-19 11:57:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063381' and product_code = 'DG010101-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063381' and product_code = 'DG010101-02' 2024-10-19 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,'249959','8','O24100063381','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-22','2024-10-19 11:57:19','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249959',`firm_id` = '8',`ordernumber` = 'O24100063381', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-10-22',`create_date` = '2024-10-19 11:57:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063381' and product_code = 'DG010101-02' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063381' and product_code = 'DG010101-05' 2024-10-19 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,'249959','8','O24100063381','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-22','2024-10-19 11:57:19','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249959',`firm_id` = '8',`ordernumber` = 'O24100063381', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-10-22',`create_date` = '2024-10-19 11:57:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063381' and product_code = 'DG010101-05' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063428' and product_code = 'DG0103188-09' 2024-10-19 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,'249960','8','O24100063428','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-10-22','2024-10-19 12:21:30','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249960',`firm_id` = '8',`ordernumber` = 'O24100063428', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-22',`create_date` = '2024-10-19 12:21:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063428' and product_code = 'DG0103188-09' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063561' and product_code = 'DG010206-01' 2024-10-19 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,'249961','8','O24100063561','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-10-22','2024-10-19 13:17:57','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249961',`firm_id` = '8',`ordernumber` = 'O24100063561', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:17:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063561' and product_code = 'DG010206-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063687' and product_code = 'DG010268-01' 2024-10-19 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,'249962','8','O24100063687','【吳淡如聯名】築夢-8結提盒','DG010268-01','DG010268','原味','提盒-吳淡如-40入原味','300','300','0','0','0','0','1','0.0','10','3000','2024-10-22','2024-10-19 13:41:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249962',`firm_id` = '8',`ordernumber` = 'O24100063687', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-01',`product_sn` = 'DG010268',`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` = '10',`total_price` = '3000',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:41:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063687' and product_code = 'DG010268-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063687' and product_code = 'DG010268-02' 2024-10-19 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,'249962','8','O24100063687','【吳淡如聯名】築夢-8結提盒','DG010268-02','DG010268','芝麻','提盒-吳淡如-40入芝麻','300','300','0','0','0','0','1','0.0','10','3000','2024-10-22','2024-10-19 13:41:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249962',`firm_id` = '8',`ordernumber` = 'O24100063687', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-02',`product_sn` = 'DG010268',`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` = '10',`total_price` = '3000',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:41:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063687' and product_code = 'DG010268-02' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063687' and product_code = 'DG010268-03' 2024-10-19 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,'249962','8','O24100063687','【吳淡如聯名】築夢-8結提盒','DG010268-03','DG010268','咖啡','提盒-吳淡如-40入咖啡','300','300','0','0','0','0','1','0.0','10','3000','2024-10-22','2024-10-19 13:41:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249962',`firm_id` = '8',`ordernumber` = 'O24100063687', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-03',`product_sn` = 'DG010268',`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` = '10',`total_price` = '3000',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:41:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063687' and product_code = 'DG010268-03' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063687' and product_code = 'DG010268-05' 2024-10-19 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,'249962','8','O24100063687','【吳淡如聯名】築夢-8結提盒','DG010268-05','DG010268','巧克力','提盒-吳淡如-40入巧克力','300','300','0','0','0','0','1','0.0','5','1500','2024-10-22','2024-10-19 13:41:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249962',`firm_id` = '8',`ordernumber` = 'O24100063687', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-05',`product_sn` = 'DG010268',`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` = '5',`total_price` = '1500',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:41:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063687' and product_code = 'DG010268-05' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063687' and product_code = 'BP010189-01' 2024-10-19 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,'249962','8','O24100063687','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','3','0','2024-10-22','2024-10-19 13:41:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249962',`firm_id` = '8',`ordernumber` = 'O24100063687', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '0',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:41:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063687' and product_code = 'BP010189-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063784' and product_code = 'DG0103188-10' 2024-10-19 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,'249963','8','O24100063784','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-10','DG0103188','芝麻蛋捲,咖啡蛋捲','禮盒-SNOOPY(橘)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-10-22','2024-10-19 13:49:21','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249963',`firm_id` = '8',`ordernumber` = 'O24100063784', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-10',`product_sn` = 'DG0103188',`product_spec` = '芝麻蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:49:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063784' and product_code = 'DG0103188-10' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063784' and product_code = 'DG0105103-12' 2024-10-19 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,'249963','8','O24100063784','SNOOPY美好心意-蛋捲三入組','DG0105103-12','DG0105103','原味+咖啡+巧克力','組合-32入(原味+咖啡+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-22','2024-10-19 13:49:21','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249963',`firm_id` = '8',`ordernumber` = 'O24100063784', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-12',`product_sn` = 'DG0105103',`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-10-22',`create_date` = '2024-10-19 13:49:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063784' and product_code = 'DG0105103-12' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063817' and product_code = 'DG010258-05' 2024-10-19 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,'249964','8','O24100063817','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','1','295','2024-10-22','2024-10-19 13:58:12','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249964',`firm_id` = '8',`ordernumber` = 'O24100063817', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:58:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063817' and product_code = 'DG010258-05' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063817' and product_code = 'DG010265-05' 2024-10-19 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,'249964','8','O24100063817','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-05','DG010265','巧克力','提盒-SNOOPY(粉)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-10-22','2024-10-19 13:58:12','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249964',`firm_id` = '8',`ordernumber` = 'O24100063817', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-05',`product_sn` = 'DG010265',`product_spec` = '巧克力',`invoice_name` = '提盒-SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-22',`create_date` = '2024-10-19 13:58:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063817' and product_code = 'DG010265-05' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063949' and product_code = 'DG0105104-02' 2024-10-19 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,'249965','8','O24100063949','【都會LUCK】8結禮盒','DG0105104-02','DG0105104','原味+芝麻','禮盒-都會LUCK【原味+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-10-22','2024-10-19 15:37:22','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249965',`firm_id` = '8',`ordernumber` = 'O24100063949', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-02',`product_sn` = 'DG0105104',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-都會LUCK【原味+芝麻】',`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-10-22',`create_date` = '2024-10-19 15:37:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063949' and product_code = 'DG0105104-02' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100063949' and product_code = 'DG0105104-08' 2024-10-19 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,'249965','8','O24100063949','【都會LUCK】8結禮盒','DG0105104-08','DG0105104','芝麻+海苔','禮盒-都會LUCK【芝麻+海苔】','480','480','0','0','0','0','1','0.0','1','480','2024-10-22','2024-10-19 15:37:22','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249965',`firm_id` = '8',`ordernumber` = 'O24100063949', `product_name` = '【都會LUCK】8結禮盒',`product_code` = 'DG0105104-08',`product_sn` = 'DG0105104',`product_spec` = '芝麻+海苔',`invoice_name` = '禮盒-都會LUCK【芝麻+海苔】',`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-10-22',`create_date` = '2024-10-19 15:37:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100063949' and product_code = 'DG0105104-08' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064055' and product_code = 'DG0103188-11' 2024-10-19 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,'249966','8','O24100064055','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-11','DG0103188','芝麻蛋捲,海苔蛋捲','禮盒-SNOOPY(橘)【芝麻+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-10-24','2024-10-19 16:06:01','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249966',`firm_id` = '8',`ordernumber` = 'O24100064055', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-11',`product_sn` = 'DG0103188',`product_spec` = '芝麻蛋捲,海苔蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-24',`create_date` = '2024-10-19 16:06:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064055' and product_code = 'DG0103188-11' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064055' and product_code = 'DG010258-04' 2024-10-19 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,'249966','8','O24100064055','金豐收8結提盒','DG010258-04','DG010258','40入海苔蛋捲','提盒-金豐收(藍)-40入海苔','295','295','0','0','0','0','1','0.0','1','295','2024-10-24','2024-10-19 16:06:01','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249966',`firm_id` = '8',`ordernumber` = 'O24100064055', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-04',`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-10-24',`create_date` = '2024-10-19 16:06:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064055' and product_code = 'DG010258-04' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064152' and product_code = 'LS010510-02' 2024-10-19 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,'249967','8','O24100064152','梅子零嘴任選二入組','LS010510-02','LS010510','(袋)烏梅絲+(袋)無籽梅肉','(袋)烏梅絲+(袋)無籽梅肉','170','170','0','0','0','0','1','0.0','1','170','2024-10-22','2024-10-19 16:27:26','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249967',`firm_id` = '8',`ordernumber` = 'O24100064152', `product_name` = '梅子零嘴任選二入組',`product_code` = 'LS010510-02',`product_sn` = 'LS010510',`product_spec` = '(袋)烏梅絲+(袋)無籽梅肉',`invoice_name` = '(袋)烏梅絲+(袋)無籽梅肉',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:27:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064152' and product_code = 'LS010510-02' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064152' and product_code = 'LS010124-01' 2024-10-19 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,'249967','8','O24100064152','韓式梅子海苔(純素)','LS010124-01','LS010124','韓式梅子海苔','韓式梅子海苔','150','150','0','0','0','0','1','0.0','3','450','2024-10-22','2024-10-19 16:27:26','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249967',`firm_id` = '8',`ordernumber` = 'O24100064152', `product_name` = '韓式梅子海苔(純素)',`product_code` = 'LS010124-01',`product_sn` = 'LS010124',`product_spec` = '韓式梅子海苔',`invoice_name` = '韓式梅子海苔',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '450',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:27:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064152' and product_code = 'LS010124-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064152' and product_code = '13045' 2024-10-19 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,'249967','8','O24100064152','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','2','280','2024-10-22','2024-10-19 16:27:26','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249967',`firm_id` = '8',`ordernumber` = 'O24100064152', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '280',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:27:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064152' and product_code = '13045' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = '13656' 2024-10-19 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,'249968','8','O24100064224','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = '13656' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = 'DG010312-03' 2024-10-19 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,'249968','8','O24100064224','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = 'DG010312-03' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = 'DG010312-05' 2024-10-19 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,'249968','8','O24100064224','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = 'DG010312-05' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = 'DG010312-12' 2024-10-19 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,'249968','8','O24100064224','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = 'DG010312-12' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = 'TG010119-01' 2024-10-19 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,'249968','8','O24100064224','南棗核桃糕','TG010119-01','TG010119','12入核棗糕','(盒)南棗核桃糕','180','180','0','0','0','0','1','0.0','1','180','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '南棗核桃糕',`product_code` = 'TG010119-01',`product_sn` = 'TG010119',`product_spec` = '12入核棗糕',`invoice_name` = '(盒)南棗核桃糕',`listprice` = '180',`sellingprice` = '180',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = 'TG010119-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = 'TG010104-01' 2024-10-19 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,'249968','8','O24100064224','夏威夷豆軟糖','TG010104-01','TG010104','10入夏威夷豆軟糖','(盒)夏威夷豆軟糖','220','220','0','0','0','0','1','220.0','1','220','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '夏威夷豆軟糖',`product_code` = 'TG010104-01',`product_sn` = 'TG010104',`product_spec` = '10入夏威夷豆軟糖',`invoice_name` = '(盒)夏威夷豆軟糖',`listprice` = '220',`sellingprice` = '220',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '220.0',`amount` = '1',`total_price` = '220',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = 'TG010104-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = '13045' 2024-10-19 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,'249968','8','O24100064224','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = '13045' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064224' and product_code = 'FL010104-01' 2024-10-19 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,'249968','8','O24100064224','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-10-22','2024-10-19 16:48:11','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249968',`firm_id` = '8',`ordernumber` = 'O24100064224', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-10-22',`create_date` = '2024-10-19 16:48:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064224' and product_code = 'FL010104-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064368' and product_code = 'BP010184-01' 2024-10-19 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,'249969','8','O24100064368','SNOOPY盥洗收納包','BP010184-01','BP010184','SNOOPY盥洗收納包','SNOOPY盥洗收納包','300','300','0','0','0','0','1','0.0','1','300','2024-10-22','2024-10-19 17:07:35','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249969',`firm_id` = '8',`ordernumber` = 'O24100064368', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`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-10-22',`create_date` = '2024-10-19 17:07:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064368' and product_code = 'BP010184-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064368' and product_code = 'BP010187-01' 2024-10-19 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,'249969','8','O24100064368','SNOOPY面紙套','BP010187-01','BP010187','SNOOPY面紙套','SNOOPY面紙套','300','300','0','0','0','0','1','0.0','1','300','2024-10-22','2024-10-19 17:07:35','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249969',`firm_id` = '8',`ordernumber` = 'O24100064368', `product_name` = 'SNOOPY面紙套',`product_code` = 'BP010187-01',`product_sn` = 'BP010187',`product_spec` = 'SNOOPY面紙套',`invoice_name` = 'SNOOPY面紙套',`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-10-22',`create_date` = '2024-10-19 17:07:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064368' and product_code = 'BP010187-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064483' and product_code = 'DG010312-08' 2024-10-19 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,'249970','8','O24100064483','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','6','2880','2024-10-22','2024-10-19 18:40:55','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249970',`firm_id` = '8',`ordernumber` = 'O24100064483', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-10-22',`create_date` = '2024-10-19 18:40:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064483' and product_code = 'DG010312-08' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064483' and product_code = 'DG010312-03' 2024-10-19 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,'249970','8','O24100064483','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','6','2880','2024-10-22','2024-10-19 18:40:55','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249970',`firm_id` = '8',`ordernumber` = 'O24100064483', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-10-22',`create_date` = '2024-10-19 18:40:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064483' and product_code = 'DG010312-03' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064483' and product_code = 'BP010189-01' 2024-10-19 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,'249970','8','O24100064483','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','1','0','2024-10-22','2024-10-19 18:40:55','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249970',`firm_id` = '8',`ordernumber` = 'O24100064483', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-22',`create_date` = '2024-10-19 18:40:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064483' and product_code = 'BP010189-01' 2024-10-19 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100064591' and product_code = 'DG010206-02' 2024-10-19 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,'249971','8','O24100064591','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','8','2360','2024-10-22','2024-10-19 21:56:04','2024-10-19 23:59:06',null,'1','2024-09-17') 2024-10-19 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249971',`firm_id` = '8',`ordernumber` = 'O24100064591', `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` = '8',`total_price` = '2360',`etd` = '2024-10-22',`create_date` = '2024-10-19 21:56:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-17'where ordernumber = 'O24100064591' and product_code = 'DG010206-02' 2024-10-19 23:59:06 -- == sync_order_detail end == 2024-10-19 23:59:06 -- == sync_order start == 2024-10-19 23:59:06 -- start:2024-10-19,end:2024-10-19 2024-10-19 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-10-19%' OR l.modify_date like '2024-10-19%'; 2024-10-19 23:59:07 -- == sync omo_order_list == 2024-10-19 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '425991', process_status = '3', pay_status = '8', totalprice_after = '600', lunar_date = '2024-09-13', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24100012064' 2024-10-19 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '426152', process_status = '3', pay_status = '1', totalprice_after = '1115', lunar_date = '2024-09-14', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24100012898' 2024-10-19 23:59:07 -- == sync_order end == 2024-10-19 23:59:07 -- == sync_order_detail start == 2024-10-19 23:59:07 -- start:2024-10-19,end:2024-10-19 2024-10-19 23:59:07 -- == sync omo_order_detail == 2024-10-19 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-19%' OR modify_date like '2024-10-19%' 2024-10-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100012064' and product_code = 'DG010267-01' 2024-10-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33075',`firm_id` = '11',`ordernumber` = 'M24100012064', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-19',`create_date` = '2024-10-15 12:54:38',`modify_date` = '2024-10-19 15:23:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100012064' and product_code = 'DG010267-01', `lunar_date` = '2024-09-13' 2024-10-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100012064' and product_code = 'DG0103190-09' 2024-10-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33075',`firm_id` = '11',`ordernumber` = 'M24100012064', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-09',`product_sn` = 'DG0103190',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-19',`create_date` = '2024-10-15 12:54:38',`modify_date` = '2024-10-19 15:23:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100012064' and product_code = 'DG0103190-09', `lunar_date` = '2024-09-13' 2024-10-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100012898' and product_code = 'DG010267-01' 2024-10-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33085',`firm_id` = '11',`ordernumber` = 'M24100012898', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-19',`create_date` = '2024-10-16 16:28:26',`modify_date` = '2024-10-19 14:18:21',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100012898' and product_code = 'DG010267-01', `lunar_date` = '2024-09-14' 2024-10-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100012898' and product_code = 'DG0103190-09' 2024-10-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33085',`firm_id` = '11',`ordernumber` = 'M24100012898', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-09',`product_sn` = 'DG0103190',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-19',`create_date` = '2024-10-16 16:28:26',`modify_date` = '2024-10-19 14:18:21',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100012898' and product_code = 'DG0103190-09', `lunar_date` = '2024-09-14' 2024-10-19 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100012898' and product_code = 'DG0103206-1055' 2024-10-19 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33085',`firm_id` = '11',`ordernumber` = 'M24100012898', `product_name` = '新生彌月試吃禮盒【C1】',`product_code` = 'DG0103206-1055',`product_sn` = 'DG0103206',`product_spec` = '咖啡+海苔.鳳梨酥+夏威夷豆軟糖',`invoice_name` = '禮盒-彌月新生【咖啡+海苔】+鳳梨酥+夏威夷豆軟糖(試吃)',`listprice` = '615',`sellingprice` = '615',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '615',`etd` = '2024-10-19',`create_date` = '2024-10-16 16:28:26',`modify_date` = '2024-10-19 14:18:21',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100012898' and product_code = 'DG0103206-1055', `lunar_date` = '2024-09-14' 2024-10-19 23:59:07 -- == sync_order_detail end == 2024-10-19 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-10-19' OR o.updated_at = '2024-10-19') and o.deleted_at is null 2024-10-19 23:59:07 -- == sync_order_detail start == 2024-10-19 23:59:07 -- start:2024-10-19,end:2024-10-19 2024-10-19 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-10-19 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-10-19 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-10-19%';