2024-04-20 23:59:01 -- == sync_order start == 2024-04-20 23:59:01 -- start:2024-04-20,end:2024-04-20 2024-04-20 23:59:01 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-04-20%' OR l.modify_date like '2024-04-20%'; 2024-04-20 23:59:03 -- == sync omo_order_list == 2024-04-20 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '385937', process_status = '1', pay_status = '1', totalprice_after = '12027', lunar_date = '2024-03-11', invoice_status = '1',category_name = '迪化當日宅配', category_id = '44' where ordernumber = 'S24040056583' 2024-04-20 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 ('349483','386190',1,'','','O24040061258','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1560','247','新北市','蘆洲區','247','新北市','蘆洲區','1680','2024-04-20 00:30:23','2024-03-12') 2024-04-20 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 ('305163','342418',1,'','','O24040061325','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','825','高雄市','橋頭區','708','台南市','安平區','650','2024-04-20 07:56:19','2024-03-12') 2024-04-20 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 ('93447','64909',1,'','','O24040061410','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','770','330','桃園市','桃園區','330','桃園市','桃園區','890','2024-04-20 08:52:57','2024-03-12') 2024-04-20 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 ('100189','71144',1,'','','O24040061559','1','11','1','1','1','42798083','晨光廚具有限公司','0','0000-00-00','1000','0','0','','0','0','20000','806','高雄市','前鎮區','806','高雄市','前鎮區','19000','2024-04-20 09:44:05','2024-03-12') 2024-04-20 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 ('349496','386203',1,'','','O24040061684','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','236','新北市','土城區','236','新北市','土城區','1110','2024-04-20 10:11:20','2024-03-12') 2024-04-20 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 ('349503','386210',1,'','','O24040061721','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','807','高雄市','三民區','807','高雄市','三民區','1080','2024-04-20 11:13:57','2024-03-12') 2024-04-20 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 ('349511','386218',1,'','','O24040061828','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2690','242','新北市','新莊區','242','新北市','新莊區','2840','2024-04-20 11:50:15','2024-03-12') 2024-04-20 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 ('349493','386200',1,'','','O24040061973','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1430','811','高雄市','楠梓區','811','高雄市','楠梓區','1550','2024-04-20 12:07:45','2024-03-12') 2024-04-20 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 ('349529','386236',1,'','','O24040062047','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1450','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','1570','2024-04-20 12:48:42','2024-03-12') 2024-04-20 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 ('349551','386258',1,'','','O24040062173','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1665','320','桃園市','中壢區','220','新北市','板橋區','1785','2024-04-20 14:03:37','2024-03-12') 2024-04-20 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 ('227749','253909',1,'','','O24040062256','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','302','新竹縣','竹北市','231','新北市','新店區','1590','2024-04-20 14:09:09','2024-03-12') 2024-04-20 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 ('349205','385913',1,'','','O24040062376','1','11','1','1','1','','','0','0000-00-00','625','0','0','','0','100','12500','813','高雄市','左營區','807','高雄市','三民區','11775','2024-04-20 15:25:57','2024-03-12') 2024-04-20 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 ('349205','385913',1,'','','O24040062410','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5850','813','高雄市','左營區','813','高雄市','左營區','5820','2024-04-20 15:39:20','2024-03-12') 2024-04-20 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 ('349177','385885',1,'','','O24040062526','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','100','2900','434','台中市','龍井區','434','台中市','龍井區','2950','2024-04-20 16:01:16','2024-03-12') 2024-04-20 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 ('333330','370213',1,'','','O24040062634','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1885','710','台南市','永康區','723','台南市','西港區','2035','2024-04-20 16:08:13','2024-03-12') 2024-04-20 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 ('349534','386241',1,'','','O24040062796','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','300','新竹市','東區','702','台南市','南區','420','2024-04-20 16:19:41','2024-03-12') 2024-04-20 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 ('337376','374220',1,'','','O24040062896','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','990','710','台南市','永康區','710','台南市','永康區','1140','2024-04-20 16:59:25','2024-03-12') 2024-04-20 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 ('349623','386330',1,'','','O24040062973','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','722','台南市','佳里區','722','台南市','佳里區','620','2024-04-20 17:33:27','2024-03-12') 2024-04-20 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 ('349604','386311',1,'','','O24040063016','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','700','台南市','中西區','701','台南市','東區','1110','2024-04-20 17:35:17','2024-03-12') 2024-04-20 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 ('349380','386087',1,'','','O24040063117','1','11','1','1','1','06606103','奇美醫療財團法人奇美醫院','0','0000-00-00','1071','0','0','','0','30','21420','710','台南市','永康區','710','台南市','永康區','20319','2024-04-20 22:01:16','2024-03-12') 2024-04-20 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 ('349667','386373',1,'','','O24040063220','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','480','908','屏東縣','長治鄉','908','屏東縣','長治鄉','600','2024-04-20 22:30:43','2024-03-12') 2024-04-20 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 ('349666','386372',1,'','','O24040063397','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1680','636','雲林縣','台西鄉','636','雲林縣','台西鄉','1800','2024-04-20 22:35:56','2024-03-12') 2024-04-20 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 ('349484','386191',1,'','','O24040063451','1','1','1','0','0','16426880','松豐加油站有限公司','0','0000-00-00','0','0','0','','150','30','1920','310','新竹縣','竹東鎮','310','新竹縣','竹東鎮','2040','2024-04-20 23:48:27','2024-03-12') 2024-04-20 23:59:03 -- == sync_order end == 2024-04-20 23:59:03 -- == sync_order_detail start == 2024-04-20 23:59:03 -- start:2024-04-20,end:2024-04-20 2024-04-20 23:59:03 -- == sync omo_order_detail == 2024-04-20 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-20%' OR modify_date like '2024-04-20%' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040056583' and product_code = 'DG010101-02' 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231029',`firm_id` = '8',`ordernumber` = 'S24040056583', `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` = '44',`total_price` = '12320',`etd` = '2024-04-22',`create_date` = '2024-04-18 11:38:13',`modify_date` = '2024-04-20 13:54:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-10'where ordernumber = 'S24040056583' and product_code = 'DG010101-02' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040056583' and product_code = 'BP010128-01' 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231029',`firm_id` = '8',`ordernumber` = 'S24040056583', `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` = '44',`total_price` = '440',`etd` = '2024-04-22',`create_date` = '2024-04-18 11:38:13',`modify_date` = '2024-04-20 13:54:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-10'where ordernumber = 'S24040056583' and product_code = 'BP010128-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040056583' and product_code = 'ZP010146-01' 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231029',`firm_id` = '8',`ordernumber` = 'S24040056583', `product_name` = '贈品-南棗核桃糕分享包',`product_code` = 'ZP010146-01',`product_sn` = 'ZP010146',`product_spec` = '贈品-南棗核桃糕分享包',`invoice_name` = '贈品-南棗核桃糕分享包',`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-04-22',`create_date` = '2024-04-18 11:38:13',`modify_date` = '2024-04-20 13:54:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-10'where ordernumber = 'S24040056583' and product_code = 'ZP010146-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061258' and product_code = 'DG010523-09' 2024-04-20 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,'231076','8','O24040061258','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-22','2024-04-20 00:30:23','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231076',`firm_id` = '8',`ordernumber` = 'O24040061258', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-22',`create_date` = '2024-04-20 00:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061258' and product_code = 'DG010523-09' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061258' and product_code = '13044' 2024-04-20 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,'231076','8','O24040061258','[加購]加購-香酥醬燒海苔(純素)','13044','13044','-','加購-香酥醬燒海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-04-22','2024-04-20 00:30:23','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231076',`firm_id` = '8',`ordernumber` = 'O24040061258', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-04-22',`create_date` = '2024-04-20 00:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061258' and product_code = '13044' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061258' and product_code = '13045' 2024-04-20 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,'231076','8','O24040061258','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-04-22','2024-04-20 00:30:23','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231076',`firm_id` = '8',`ordernumber` = 'O24040061258', `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-04-22',`create_date` = '2024-04-20 00:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061258' and product_code = '13045' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061258' and product_code = 'TG010118-01' 2024-04-20 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,'231076','8','O24040061258','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','1','290','2024-04-22','2024-04-20 00:30:23','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231076',`firm_id` = '8',`ordernumber` = 'O24040061258', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-22',`create_date` = '2024-04-20 00:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061258' and product_code = 'TG010118-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061325' and product_code = 'DG0103155-12' 2024-04-20 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,'231077','8','O24040061325','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-12','DG0103155','咖啡蛋捲,巧克力蛋捲','禮盒-SNOOPY【咖啡+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-04-23','2024-04-20 07:56:19','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231077',`firm_id` = '8',`ordernumber` = 'O24040061325', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-12',`product_sn` = 'DG0103155',`product_spec` = '咖啡蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【咖啡+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-23',`create_date` = '2024-04-20 07:56:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061325' and product_code = 'DG0103155-12' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061410' and product_code = 'DG010312-05' 2024-04-20 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,'231078','8','O24040061410','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-22','2024-04-20 08:52:57','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231078',`firm_id` = '8',`ordernumber` = 'O24040061410', `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-04-22',`create_date` = '2024-04-20 08:52:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061410' and product_code = 'DG010312-05' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061410' and product_code = '03952' 2024-04-20 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,'231078','8','O24040061410','[加購]加購-夏威夷豆軟糖分享包(袋裝15入)','03952','03952','-','加購-(紅袋)夏威夷豆軟糖','290','290','1','1','290','0','0','0.0','1','290','2024-04-22','2024-04-20 08:52:57','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231078',`firm_id` = '8',`ordernumber` = 'O24040061410', `product_name` = '[加購]加購-夏威夷豆軟糖分享包(袋裝15入)',`product_code` = '03952',`product_sn` = '03952',`product_spec` = '-',`invoice_name` = '加購-(紅袋)夏威夷豆軟糖',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-22',`create_date` = '2024-04-20 08:52:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061410' and product_code = '03952' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061559' and product_code = 'DG0103155-03' 2024-04-20 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,'231079','8','O24040061559','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','40','20000','2024-05-31','2024-04-20 09:44:05','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231079',`firm_id` = '8',`ordernumber` = 'O24040061559', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '20000',`etd` = '2024-05-31',`create_date` = '2024-04-20 09:44:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061559' and product_code = 'DG0103155-03' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061559' and product_code = 'BP010528-01' 2024-04-20 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,'231079','8','O24040061559','贈品-SNOOPY提把水瓶*3','BP010528-01','BP010528','贈品-SNOOPY提把水瓶+贈品-SNOOPY提把水瓶+贈品','贈品-SNOOPY提把水瓶*3','0','0','0','0','0','0','1','0.0','1','0','2024-05-31','2024-04-20 09:44:05','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231079',`firm_id` = '8',`ordernumber` = 'O24040061559', `product_name` = '贈品-SNOOPY提把水瓶*3',`product_code` = 'BP010528-01',`product_sn` = 'BP010528',`product_spec` = '贈品-SNOOPY提把水瓶+贈品-SNOOPY提把水瓶+贈品',`invoice_name` = '贈品-SNOOPY提把水瓶*3',`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-05-31',`create_date` = '2024-04-20 09:44:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061559' and product_code = 'BP010528-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061684' and product_code = 'DG010523-11' 2024-04-20 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,'231080','8','O24040061684','SNOOPY帶走心意-蛋捲三入組','DG010523-11','DG010523','原味+咖啡+海苔','組合-32入(原味+咖啡+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-22','2024-04-20 10:11:20','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231080',`firm_id` = '8',`ordernumber` = 'O24040061684', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-11',`product_sn` = 'DG010523',`product_spec` = '原味+咖啡+海苔',`invoice_name` = '組合-32入(原味+咖啡+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-22',`create_date` = '2024-04-20 10:11:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061684' and product_code = 'DG010523-11' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061721' and product_code = 'DG010312-05' 2024-04-20 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,'231081','8','O24040061721','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-24','2024-04-20 11:13:57','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231081',`firm_id` = '8',`ordernumber` = 'O24040061721', `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-04-24',`create_date` = '2024-04-20 11:13:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061721' and product_code = 'DG010312-05' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061721' and product_code = 'DG010312-15' 2024-04-20 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,'231081','8','O24040061721','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-24','2024-04-20 11:13:57','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231081',`firm_id` = '8',`ordernumber` = 'O24040061721', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-24',`create_date` = '2024-04-20 11:13:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061721' and product_code = 'DG010312-15' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061828' and product_code = 'DG010258-01' 2024-04-20 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,'231082','8','O24040061828','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','3','885','2024-04-22','2024-04-20 11:50:15','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231082',`firm_id` = '8',`ordernumber` = 'O24040061828', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-04-22',`create_date` = '2024-04-20 11:50:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061828' and product_code = 'DG010258-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061828' and product_code = 'DG010258-02' 2024-04-20 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,'231082','8','O24040061828','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','2','590','2024-04-22','2024-04-20 11:50:15','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231082',`firm_id` = '8',`ordernumber` = 'O24040061828', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-04-22',`create_date` = '2024-04-20 11:50:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061828' and product_code = 'DG010258-02' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061828' and product_code = 'DG010258-05' 2024-04-20 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,'231082','8','O24040061828','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','3','885','2024-04-22','2024-04-20 11:50:15','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231082',`firm_id` = '8',`ordernumber` = 'O24040061828', `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` = '3',`total_price` = '885',`etd` = '2024-04-22',`create_date` = '2024-04-20 11:50:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061828' and product_code = 'DG010258-05' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061828' and product_code = 'FL010102-01' 2024-04-20 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,'231082','8','O24040061828','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','2','330','2024-04-22','2024-04-20 11:50:15','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231082',`firm_id` = '8',`ordernumber` = 'O24040061828', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '330',`etd` = '2024-04-22',`create_date` = '2024-04-20 11:50:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061828' and product_code = 'FL010102-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061973' and product_code = 'DG010101-03' 2024-04-20 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,'231083','8','O24040061973','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-04-22','2024-04-20 12:07:45','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231083',`firm_id` = '8',`ordernumber` = 'O24040061973', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-04-22',`create_date` = '2024-04-20 12:07:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061973' and product_code = 'DG010101-03' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061973' and product_code = 'DG010101-04' 2024-04-20 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,'231083','8','O24040061973','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-04-22','2024-04-20 12:07:45','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231083',`firm_id` = '8',`ordernumber` = 'O24040061973', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-04-22',`create_date` = '2024-04-20 12:07:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061973' and product_code = 'DG010101-04' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061973' and product_code = 'DG010101-02' 2024-04-20 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,'231083','8','O24040061973','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-04-22','2024-04-20 12:07:45','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231083',`firm_id` = '8',`ordernumber` = 'O24040061973', `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-04-22',`create_date` = '2024-04-20 12:07:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061973' and product_code = 'DG010101-02' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040061973' and product_code = 'BP010128-01' 2024-04-20 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,'231083','8','O24040061973','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','3','30','2024-04-22','2024-04-20 12:07:45','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231083',`firm_id` = '8',`ordernumber` = 'O24040061973', `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` = '3',`total_price` = '30',`etd` = '2024-04-22',`create_date` = '2024-04-20 12:07:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040061973' and product_code = 'BP010128-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062047' and product_code = '13656' 2024-04-20 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,'231084','8','O24040062047','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-04-30','2024-04-20 12:48:42','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231084',`firm_id` = '8',`ordernumber` = 'O24040062047', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-04-30',`create_date` = '2024-04-20 12:48:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062047' and product_code = '13656' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062173' and product_code = 'DG010315-04' 2024-04-20 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,'231085','8','O24040062173','金8結肉酥酥禮盒','DG010315-04','DG010315','原味肉酥酥【芝麻蛋捲】','禮盒-金8結【芝麻+原味肉酥酥】','555','555','0','0','0','0','1','555.0','3','1665','2024-04-22','2024-04-20 14:03:37','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231085',`firm_id` = '8',`ordernumber` = 'O24040062173', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-04',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【芝麻蛋捲】',`invoice_name` = '禮盒-金8結【芝麻+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '3',`total_price` = '1665',`etd` = '2024-04-22',`create_date` = '2024-04-20 14:03:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062173' and product_code = 'DG010315-04' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062256' and product_code = 'DG010312-10' 2024-04-20 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,'231086','8','O24040062256','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-04-23','2024-04-20 14:09:09','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231086',`firm_id` = '8',`ordernumber` = 'O24040062256', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-23',`create_date` = '2024-04-20 14:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062256' and product_code = 'DG010312-10' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062256' and product_code = 'DG010312-01' 2024-04-20 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,'231086','8','O24040062256','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-04-23','2024-04-20 14:09:09','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231086',`firm_id` = '8',`ordernumber` = 'O24040062256', `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` = '1',`total_price` = '480',`etd` = '2024-04-23',`create_date` = '2024-04-20 14:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062256' and product_code = 'DG010312-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062256' and product_code = 'DG010312-06' 2024-04-20 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,'231086','8','O24040062256','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-23','2024-04-20 14:09:09','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231086',`firm_id` = '8',`ordernumber` = 'O24040062256', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-23',`create_date` = '2024-04-20 14:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062256' and product_code = 'DG010312-06' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062376' and product_code = 'DG0103155-03' 2024-04-20 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,'231087','8','O24040062376','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','25','12500','2024-04-22','2024-04-20 15:25:57','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231087',`firm_id` = '8',`ordernumber` = 'O24040062376', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '12500',`etd` = '2024-04-22',`create_date` = '2024-04-20 15:25:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062376' and product_code = 'DG0103155-03' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062376' and product_code = 'BP010527-01' 2024-04-20 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,'231087','8','O24040062376','贈品-SNOOPY提把水瓶*2','BP010527-01','BP010527','贈品-SNOOPY提把水瓶+贈品-SNOOPY提把水瓶','贈品-SNOOPY提把水瓶*2','0','0','0','0','0','0','1','0.0','1','0','2024-04-22','2024-04-20 15:25:57','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231087',`firm_id` = '8',`ordernumber` = 'O24040062376', `product_name` = '贈品-SNOOPY提把水瓶*2',`product_code` = 'BP010527-01',`product_sn` = 'BP010527',`product_spec` = '贈品-SNOOPY提把水瓶+贈品-SNOOPY提把水瓶',`invoice_name` = '贈品-SNOOPY提把水瓶*2',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-22',`create_date` = '2024-04-20 15:25:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062376' and product_code = 'BP010527-01' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062410' and product_code = 'DG0103155-03' 2024-04-20 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,'231088','8','O24040062410','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','9','4500','2024-04-22','2024-04-20 15:39:20','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231088',`firm_id` = '8',`ordernumber` = 'O24040062410', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '4500',`etd` = '2024-04-22',`create_date` = '2024-04-20 15:39:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062410' and product_code = 'DG0103155-03' 2024-04-20 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062410' and product_code = 'DG010399-03' 2024-04-20 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,'231088','8','O24040062410','游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】','DG010399-03','DG010399','咖啡蛋捲,阿里山金萱','禮盒-故宮(文物款)【咖啡+阿里山金萱】','1350','1350','0','0','0','0','1','0.0','1','1350','2024-04-22','2024-04-20 15:39:20','2024-04-20 23:59:05',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231088',`firm_id` = '8',`ordernumber` = 'O24040062410', `product_name` = '游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】',`product_code` = 'DG010399-03',`product_sn` = 'DG010399',`product_spec` = '咖啡蛋捲,阿里山金萱',`invoice_name` = '禮盒-故宮(文物款)【咖啡+阿里山金萱】',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-04-22',`create_date` = '2024-04-20 15:39:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062410' and product_code = 'DG010399-03' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062526' and product_code = '13656' 2024-04-20 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,'231089','8','O24040062526','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-04-22','2024-04-20 16:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231089',`firm_id` = '8',`ordernumber` = 'O24040062526', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-04-22',`create_date` = '2024-04-20 16:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062526' and product_code = '13656' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062526' and product_code = '13657' 2024-04-20 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,'231089','8','O24040062526','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-04-22','2024-04-20 16:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231089',`firm_id` = '8',`ordernumber` = 'O24040062526', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-04-22',`create_date` = '2024-04-20 16:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062526' and product_code = '13657' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062634' and product_code = 'DG0103148-02' 2024-04-20 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,'231090','8','O24040062634','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-04-26','2024-04-20 16:08:13','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231090',`firm_id` = '8',`ordernumber` = 'O24040062634', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-04-26',`create_date` = '2024-04-20 16:08:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062634' and product_code = 'DG0103148-02' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062634' and product_code = 'DG0103148-12' 2024-04-20 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,'231090','8','O24040062634','金典8結禮盒','DG0103148-12','DG0103148','巧克力+咖啡','禮盒-金典(紅)【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-04-26','2024-04-20 16:08:13','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231090',`firm_id` = '8',`ordernumber` = 'O24040062634', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-12',`product_sn` = 'DG0103148',`product_spec` = '巧克力+咖啡',`invoice_name` = '禮盒-金典(紅)【咖啡+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-26',`create_date` = '2024-04-20 16:08:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062634' and product_code = 'DG0103148-12' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062634' and product_code = '04191' 2024-04-20 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,'231090','8','O24040062634','[加購]加購-一口鳳梨酥','04191','04191','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-04-26','2024-04-20 16:08:13','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231090',`firm_id` = '8',`ordernumber` = 'O24040062634', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-04-26',`create_date` = '2024-04-20 16:08:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062634' and product_code = '04191' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062634' and product_code = '03951' 2024-04-20 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,'231090','8','O24040062634','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','1','290','2024-04-26','2024-04-20 16:08:13','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231090',`firm_id` = '8',`ordernumber` = 'O24040062634', `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-26',`create_date` = '2024-04-20 16:08:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062634' and product_code = '03951' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062796' and product_code = 'DG010261-02' 2024-04-20 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,'231091','8','O24040062796','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-05-08','2024-04-20 16:19:41','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231091',`firm_id` = '8',`ordernumber` = 'O24040062796', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`product_sn` = 'DG010261',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-08',`create_date` = '2024-04-20 16:19:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062796' and product_code = 'DG010261-02' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062896' and product_code = 'DG010523-06' 2024-04-20 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,'231092','8','O24040062896','SNOOPY帶走心意-蛋捲三入組','DG010523-06','DG010523','原味+芝麻+芝麻','組合-32入(原味+芝麻+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-23','2024-04-20 16:59:25','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231092',`firm_id` = '8',`ordernumber` = 'O24040062896', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-06',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+芝麻',`invoice_name` = '組合-32入(原味+芝麻+芝麻)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-23',`create_date` = '2024-04-20 16:59:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062896' and product_code = 'DG010523-06' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040062973' and product_code = 'DG0103155-05' 2024-04-20 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,'231093','8','O24040062973','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-04-22','2024-04-20 17:33:27','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231093',`firm_id` = '8',`ordernumber` = 'O24040062973', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-22',`create_date` = '2024-04-20 17:33:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040062973' and product_code = 'DG0103155-05' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063016' and product_code = 'DG010523-35' 2024-04-20 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,'231094','8','O24040063016','SNOOPY帶走心意-蛋捲三入組','DG010523-35','DG010523','巧克力+巧克力+巧克力','組合-32入(巧克力+巧克力+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-22','2024-04-20 17:35:17','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231094',`firm_id` = '8',`ordernumber` = 'O24040063016', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-35',`product_sn` = 'DG010523',`product_spec` = '巧克力+巧克力+巧克力',`invoice_name` = '組合-32入(巧克力+巧克力+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-22',`create_date` = '2024-04-20 17:35:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063016' and product_code = 'DG010523-35' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'DG010101-02' 2024-04-20 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,'231095','8','O24040063117','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','23','6440','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `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` = '23',`total_price` = '6440',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'DG010101-02' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'DG010101-01' 2024-04-20 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,'231095','8','O24040063117','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','22','6160','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `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` = '22',`total_price` = '6160',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'DG010101-01' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'BP010128-01' 2024-04-20 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,'231095','8','O24040063117','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','22','220','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `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` = '22',`total_price` = '220',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'BP010128-01' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'DG010101-03' 2024-04-20 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,'231095','8','O24040063117','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','15','4200','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`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` = '15',`total_price` = '4200',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'DG010101-03' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'DG010101-05' 2024-04-20 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,'231095','8','O24040063117','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','15','4200','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `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` = '15',`total_price` = '4200',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'DG010101-05' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'BP010528-01' 2024-04-20 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,'231095','8','O24040063117','贈品-SNOOPY提把水瓶*3','BP010528-01','BP010528','贈品-SNOOPY提把水瓶+贈品-SNOOPY提把水瓶+贈品','贈品-SNOOPY提把水瓶*3','0','0','0','0','0','0','1','0.0','1','0','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `product_name` = '贈品-SNOOPY提把水瓶*3',`product_code` = 'BP010528-01',`product_sn` = 'BP010528',`product_spec` = '贈品-SNOOPY提把水瓶+贈品-SNOOPY提把水瓶+贈品',`invoice_name` = '贈品-SNOOPY提把水瓶*3',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'BP010528-01' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063117' and product_code = 'DG010404-01' 2024-04-20 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,'231095','8','O24040063117','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','20','200','2024-04-26','2024-04-20 22:01:16','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231095',`firm_id` = '8',`ordernumber` = 'O24040063117', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '20',`total_price` = '200',`etd` = '2024-04-26',`create_date` = '2024-04-20 22:01:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063117' and product_code = 'DG010404-01' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063220' and product_code = 'DG010312-02' 2024-04-20 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,'231096','8','O24040063220','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-22','2024-04-20 22:30:43','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231096',`firm_id` = '8',`ordernumber` = 'O24040063220', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-22',`create_date` = '2024-04-20 22:30:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063220' and product_code = 'DG010312-02' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063397' and product_code = 'DG010101-01' 2024-04-20 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,'231097','8','O24040063397','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-04-22','2024-04-20 22:35:56','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231097',`firm_id` = '8',`ordernumber` = 'O24040063397', `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` = '3',`total_price` = '840',`etd` = '2024-04-22',`create_date` = '2024-04-20 22:35:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063397' and product_code = 'DG010101-01' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063397' and product_code = 'DG010101-02' 2024-04-20 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,'231097','8','O24040063397','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-04-22','2024-04-20 22:35:56','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231097',`firm_id` = '8',`ordernumber` = 'O24040063397', `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` = '3',`total_price` = '840',`etd` = '2024-04-22',`create_date` = '2024-04-20 22:35:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063397' and product_code = 'DG010101-02' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063451' and product_code = 'DG0103148-02' 2024-04-20 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,'231098','8','O24040063451','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-04-22','2024-04-20 23:48:27','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231098',`firm_id` = '8',`ordernumber` = 'O24040063451', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-04-22',`create_date` = '2024-04-20 23:48:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063451' and product_code = 'DG0103148-02' 2024-04-20 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040063451' and product_code = 'DG0103148-04' 2024-04-20 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,'231098','8','O24040063451','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','2','960','2024-04-22','2024-04-20 23:48:27','2024-04-20 23:59:06',null,'1','2024-03-12') 2024-04-20 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231098',`firm_id` = '8',`ordernumber` = 'O24040063451', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`product_sn` = 'DG0103148',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-金典(紅)【原味+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-04-22',`create_date` = '2024-04-20 23:48:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-12'where ordernumber = 'O24040063451' and product_code = 'DG0103148-04' 2024-04-20 23:59:06 -- == sync_order_detail end == 2024-04-20 23:59:06 -- == sync_order start == 2024-04-20 23:59:06 -- start:2024-04-20,end:2024-04-20 2024-04-20 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-04-20%' OR l.modify_date like '2024-04-20%'; 2024-04-20 23:59:06 -- == sync omo_order_list == 2024-04-20 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '385612', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-03-07', invoice_status = '1', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24040010749' 2024-04-20 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '385953', process_status = '3', pay_status = '1', totalprice_after = '800', lunar_date = '2024-03-10', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24040014981' 2024-04-20 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '800', lunar_date = '2024-03-10', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24040015161' 2024-04-20 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '385992', process_status = '3', pay_status = '1', totalprice_after = '800', lunar_date = '2024-03-10', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24040015281' 2024-04-20 23:59:06 -- == sync_order end == 2024-04-20 23:59:06 -- == sync_order_detail start == 2024-04-20 23:59:06 -- start:2024-04-20,end:2024-04-20 2024-04-20 23:59:06 -- == sync omo_order_detail == 2024-04-20 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-20%' OR modify_date like '2024-04-20%' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040010749' and product_code = 'DG010253-01' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30800',`firm_id` = '11',`ordernumber` = 'M24040010749', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`product_spec` = '原味',`invoice_name` = '提盒-彌月小王子(紅)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-20',`create_date` = '2024-04-15 11:56:41',`modify_date` = '2024-04-20 16:48:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040010749' and product_code = 'DG010253-01', `lunar_date` = '2024-03-07' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040010749' and product_code = 'DG010264-05' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30800',`firm_id` = '11',`ordernumber` = 'M24040010749', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-05',`product_sn` = 'DG010264',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-20',`create_date` = '2024-04-15 11:56:41',`modify_date` = '2024-04-20 16:48:33',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040010749' and product_code = 'DG010264-05', `lunar_date` = '2024-03-07' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040014981' and product_code = 'DG010253-05' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30846',`firm_id` = '11',`ordernumber` = 'M24040014981', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月小王子(紅)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-20',`create_date` = '2024-04-18 13:23:13',`modify_date` = '2024-04-20 15:02:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040014981' and product_code = 'DG010253-05', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040014981' and product_code = 'DG010244-02' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30846',`firm_id` = '11',`ordernumber` = 'M24040014981', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-20',`create_date` = '2024-04-18 13:23:13',`modify_date` = '2024-04-20 15:02:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040014981' and product_code = 'DG010244-02', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040014981' and product_code = 'DG010243-04' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30846',`firm_id` = '11',`ordernumber` = 'M24040014981', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-04',`product_sn` = 'DG010243',`product_spec` = '海苔',`invoice_name` = '提盒-彌月年輪-40入海苔(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-20',`create_date` = '2024-04-18 13:23:13',`modify_date` = '2024-04-20 15:02:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040014981' and product_code = 'DG010243-04', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040014981' and product_code = 'DG010264-05' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30846',`firm_id` = '11',`ordernumber` = 'M24040014981', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-05',`product_sn` = 'DG010264',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-20',`create_date` = '2024-04-18 13:23:13',`modify_date` = '2024-04-20 15:02:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040014981' and product_code = 'DG010264-05', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015161' and product_code = 'DG010243-01' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30848',`firm_id` = '11',`ordernumber` = 'M24040015161', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 14:40:42',`modify_date` = '2024-04-20 14:49:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015161' and product_code = 'DG010243-01', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015161' and product_code = 'DG010248-05' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30848',`firm_id` = '11',`ordernumber` = 'M24040015161', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-05',`product_sn` = 'DG010248',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月香頌日光-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 14:40:42',`modify_date` = '2024-04-20 14:49:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015161' and product_code = 'DG010248-05', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015161' and product_code = 'DG010244-01' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30848',`firm_id` = '11',`ordernumber` = 'M24040015161', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 14:40:42',`modify_date` = '2024-04-20 14:49:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015161' and product_code = 'DG010244-01', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015161' and product_code = 'DG010253-01' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30848',`firm_id` = '11',`ordernumber` = 'M24040015161', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`product_spec` = '原味',`invoice_name` = '提盒-彌月小王子(紅)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 14:40:42',`modify_date` = '2024-04-20 14:49:47',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015161' and product_code = 'DG010253-01', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015281' and product_code = 'DG010248-01' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30849',`firm_id` = '11',`ordernumber` = 'M24040015281', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-01',`product_sn` = 'DG010248',`product_spec` = '原味',`invoice_name` = '提盒-彌月香頌日光-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 15:52:26',`modify_date` = '2024-04-20 14:47:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015281' and product_code = 'DG010248-01', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015281' and product_code = 'DG010244-03' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30849',`firm_id` = '11',`ordernumber` = 'M24040015281', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-03',`product_sn` = 'DG010244',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(藍)-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 15:52:26',`modify_date` = '2024-04-20 14:47:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015281' and product_code = 'DG010244-03', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015281' and product_code = 'DG010253-01' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30849',`firm_id` = '11',`ordernumber` = 'M24040015281', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-01',`product_sn` = 'DG010253',`product_spec` = '原味',`invoice_name` = '提盒-彌月小王子(紅)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 15:52:26',`modify_date` = '2024-04-20 14:47:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015281' and product_code = 'DG010253-01', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040015281' and product_code = 'DG010243-05' 2024-04-20 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30849',`firm_id` = '11',`ordernumber` = 'M24040015281', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-05',`product_sn` = 'DG010243',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月年輪-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-19',`create_date` = '2024-04-18 15:52:26',`modify_date` = '2024-04-20 14:47:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040015281' and product_code = 'DG010243-05', `lunar_date` = '2024-03-10' 2024-04-20 23:59:07 -- == sync_order_detail end == 2024-04-20 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-04-20' OR o.updated_at = '2024-04-20') and o.deleted_at is null 2024-04-20 23:59:07 -- == sync_order_detail start == 2024-04-20 23:59:07 -- start:2024-04-20,end:2024-04-20 2024-04-20 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-04-20 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-04-20 23:59:09 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-04-20%';