2024-03-02 23:59:02 -- == sync_order start == 2024-03-02 23:59:02 -- start:2024-03-02,end:2024-03-02 2024-03-02 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-03-02%' OR l.modify_date like '2024-03-02%'; 2024-03-02 23:59:03 -- == sync omo_order_list == 2024-03-02 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 ('4985','3765',1,'','','O24030004115','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','150','1920','640','雲林縣','斗六市','640','雲林縣','斗六市','1920','2024-03-02 00:04:53','2024-01-22') 2024-03-02 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 ('195419','161514',1,'','','O24030004232','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','720','220','新北市','板橋區','220','新北市','板橋區','870','2024-03-02 01:56:36','2024-01-22') 2024-03-02 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 ('342896','379671',1,'','','O24030004354','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1350','333','桃園市','龜山區','333','桃園市','龜山區','1470','2024-03-02 02:32:59','2024-01-22') 2024-03-02 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 ('342828','379603',1,'','','O24030004434','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','520','265','宜蘭縣','羅東鎮','265','宜蘭縣','羅東鎮','640','2024-03-02 05:17:45','2024-01-22') 2024-03-02 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 ('321726','358740',1,'','','O24030004565','1','11','1','1','1','23148363','樹森開發股份有限公司','0','0000-00-00','0','0','0','','150','0','3580','114','台北市','內湖區','114','台北市','內湖區','3730','2024-03-02 10:55:07','2024-01-22') 2024-03-02 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 ('297344','334711',1,'','','O24030004616','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','295','807','高雄市','三民區','711','台南市','歸仁區','445','2024-03-02 11:30:59','2024-01-22') 2024-03-02 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 ('342912','379687',1,'','','O24030004722','1','11','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1555','330','桃園市','桃園區','330','桃園市','桃園區','1675','2024-03-02 11:37:45','2024-01-22') 2024-03-02 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 ('342917','379692',1,'','','O24030004881','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2400','437','台中市','大甲區','928','屏東縣','東港鎮','2520','2024-03-02 12:28:28','2024-01-22') 2024-03-02 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 ('91175','62842',1,'','','O24030004948','1','1','1','1','1','84786927','中欣實業股份有限公司','0','0000-00-00','820','0','0','','0','0','16400','338','桃園市','蘆竹區','338','桃園市','蘆竹區','15580','2024-03-02 12:30:18','2024-01-22') 2024-03-02 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 ('194125','160250',1,'','','O24030005034','1','11','1','1','1','42308966','宇豐不動產估價師聯合事務所','0','0000-00-00','0','0','0','','150','0','1120','110','台北市','信義區','327','桃園市','新屋區','1270','2024-03-02 12:47:16','2024-01-22') 2024-03-02 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 ('342903','379678',1,'','','O24030005158','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','720','249','新北市','八里區','249','新北市','八里區','840','2024-03-02 13:09:49','2024-01-22') 2024-03-02 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 ('342925','379700',1,'','','O24030005247','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2880','806','高雄市','前鎮區','806','高雄市','前鎮區','3000','2024-03-02 13:46:03','2024-01-22') 2024-03-02 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 ('342902','379677',1,'','','O24030005324','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','600','嘉義市','東區','600','嘉義市','東區','960','2024-03-02 13:47:08','2024-01-22') 2024-03-02 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 ('342925','379700',1,'','','O24030005451','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2880','806','高雄市','前鎮區','806','高雄市','前鎮區','3030','2024-03-02 13:54:01','2024-01-22') 2024-03-02 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 ('342925','379700',1,'','','O24030005529','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2880','806','高雄市','前鎮區','806','高雄市','前鎮區','3030','2024-03-02 13:58:52','2024-01-22') 2024-03-02 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 ('342505','379289',1,'','','O24030005621','2','1','1','1','1','','','0','0000-00-00','630','0','0','','0','30','12600','238','新北市','樹林區','880','澎湖縣','馬公市','11940','2024-03-02 14:53:03','2024-01-22') 2024-03-02 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 ('342643','379426',1,'','','O24030005750','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','885','234','新北市','永和區','234','新北市','永和區','1005','2024-03-02 15:20:05','2024-01-22') 2024-03-02 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 ('342643','379426',1,'','','O24030005849','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','885','234','新北市','永和區','234','新北市','永和區','1035','2024-03-02 16:51:37','2024-01-22') 2024-03-02 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 ('342993','379768',1,'','','O24030005979','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','711','台南市','歸仁區','711','台南市','歸仁區','1080','2024-03-02 17:30:11','2024-01-22') 2024-03-02 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 ('343012','379787',1,'','','O24030006061','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','243','新北市','泰山區','243','新北市','泰山區','600','2024-03-02 18:26:09','2024-01-22') 2024-03-02 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 ('341831','378618',1,'','','O24030006146','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5640','402','台中市','南區','402','台中市','南區','5610','2024-03-02 18:40:10','2024-01-22') 2024-03-02 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 ('343019','379794',1,'','','O24030006230','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','2400','804','高雄市','鼓山區','804','高雄市','鼓山區','2450','2024-03-02 18:52:04','2024-01-22') 2024-03-02 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 ('343026','379801',1,'','','O24030006355','1','1','1','0','0','','','0','0000-00-00','0','0','0','','0','30','5730','231','新北市','新店區','231','新北市','新店區','5700','2024-03-02 19:42:24','2024-01-22') 2024-03-02 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 ('343030','379805',1,'','','O24030006429','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2940','237','新北市','三峽區','237','新北市','三峽區','3060','2024-03-02 19:59:39','2024-01-22') 2024-03-02 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 ('343026','379801',1,'','','O24030006540','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5710','231','新北市','新店區','231','新北市','新店區','5710','2024-03-02 20:16:43','2024-01-22') 2024-03-02 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 ('343034','379809',1,'','','O24030006656','1','11','1','1','1','','','0','0000-00-00','958','0','0','','0','30','19175','106','台北市','大安區','268','宜蘭縣','五結鄉','18187','2024-03-02 20:42:48','2024-01-22') 2024-03-02 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 ('343035','379810',1,'','','O24030006783','1','1','1','1','1','22349877','綿春纖維工業股份有限公司','0','0000-00-00','0','0','0','','150','30','2399','235','新北市','中和區','235','新北市','中和區','2519','2024-03-02 22:42:17','2024-01-22') 2024-03-02 23:59:03 -- == sync_order end == 2024-03-02 23:59:03 -- == sync_order_detail start == 2024-03-02 23:59:03 -- start:2024-03-02,end:2024-03-02 2024-03-02 23:59:03 -- == sync omo_order_detail == 2024-03-02 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-02%' OR modify_date like '2024-03-02%' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004115' and product_code = 'LS010102-01' 2024-03-02 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,'229312','8','O24030004115','香酥醬燒海苔(純素)','LS010102-01','LS010102','醬燒海苔40g','醬燒海苔片','120','120','0','0','0','0','1','0.0','6','720','2024-03-05','2024-03-02 00:04:53','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229312',`firm_id` = '8',`ordernumber` = 'O24030004115', `product_name` = '香酥醬燒海苔(純素)',`product_code` = 'LS010102-01',`product_sn` = 'LS010102',`product_spec` = '醬燒海苔40g',`invoice_name` = '醬燒海苔片',`listprice` = '120',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '720',`etd` = '2024-03-05',`create_date` = '2024-03-02 00:04:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004115' and product_code = 'LS010102-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004115' and product_code = 'LS010103-01' 2024-03-02 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,'229312','8','O24030004115','厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','120','120','0','0','0','0','1','0.0','6','720','2024-03-05','2024-03-02 00:04:53','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229312',`firm_id` = '8',`ordernumber` = 'O24030004115', `product_name` = '厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '120',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '720',`etd` = '2024-03-05',`create_date` = '2024-03-02 00:04:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004115' and product_code = 'LS010103-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004115' and product_code = 'DG010312-09' 2024-03-02 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,'229312','8','O24030004115','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-02 00:04:53','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229312',`firm_id` = '8',`ordernumber` = 'O24030004115', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-02 00:04:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004115' and product_code = 'DG010312-09' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004232' and product_code = 'DG010107-01' 2024-03-02 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,'229313','8','O24030004232','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','3','720','2024-03-05','2024-03-02 01:56:36','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229313',`firm_id` = '8',`ordernumber` = 'O24030004232', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '720',`etd` = '2024-03-05',`create_date` = '2024-03-02 01:56:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004232' and product_code = 'DG010107-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004354' and product_code = 'DG010567-150' 2024-03-02 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,'229314','8','O24030004354','熱銷蛋捲六入組','DG010567-150','DG010567','原味+芝麻+芝麻+咖啡+巧克力+阿薩姆紅茶','熱銷蛋捲六入組','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-12','2024-03-02 02:32:59','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229314',`firm_id` = '8',`ordernumber` = 'O24030004354', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-150',`product_sn` = 'DG010567',`product_spec` = '原味+芝麻+芝麻+咖啡+巧克力+阿薩姆紅茶',`invoice_name` = '熱銷蛋捲六入組',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-12',`create_date` = '2024-03-02 02:32:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004354' and product_code = 'DG010567-150' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004434' and product_code = 'DG010107-01' 2024-03-02 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,'229315','8','O24030004434','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','1','240','2024-03-07','2024-03-02 05:17:45','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229315',`firm_id` = '8',`ordernumber` = 'O24030004434', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-03-07',`create_date` = '2024-03-02 05:17:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004434' and product_code = 'DG010107-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004434' and product_code = 'DG010101-01' 2024-03-02 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,'229315','8','O24030004434','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-07','2024-03-02 05:17:45','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229315',`firm_id` = '8',`ordernumber` = 'O24030004434', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-07',`create_date` = '2024-03-02 05:17:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004434' and product_code = 'DG010101-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004565' and product_code = 'DG0103174-01' 2024-03-02 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,'229316','8','O24030004565','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-01','DG0103174','原味','禮盒-故宮(文物大盒款)【原味+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','3','3300','2024-03-05','2024-03-02 10:55:07','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229316',`firm_id` = '8',`ordernumber` = 'O24030004565', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-01',`product_sn` = 'DG0103174',`product_spec` = '原味',`invoice_name` = '禮盒-故宮(文物大盒款)【原味+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '3300',`etd` = '2024-03-05',`create_date` = '2024-03-02 10:55:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004565' and product_code = 'DG0103174-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004565' and product_code = 'DG010101-01' 2024-03-02 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,'229316','8','O24030004565','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-05','2024-03-02 10:55:07','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229316',`firm_id` = '8',`ordernumber` = 'O24030004565', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-03-05',`create_date` = '2024-03-02 10:55:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004565' and product_code = 'DG010101-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004616' and product_code = 'DG010206-05' 2024-03-02 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,'229317','8','O24030004616','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-03-07','2024-03-02 11:30:59','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229317',`firm_id` = '8',`ordernumber` = 'O24030004616', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-07',`create_date` = '2024-03-02 11:30:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004616' and product_code = 'DG010206-05' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004722' and product_code = 'FL010310-01' 2024-03-02 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,'229318','8','O24030004722','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','435','435','0','0','0','0','1','0.0','1','435','2024-03-18','2024-03-02 11:37:45','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229318',`firm_id` = '8',`ordernumber` = 'O24030004722', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '435',`sellingprice` = '435',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '435',`etd` = '2024-03-18',`create_date` = '2024-03-02 11:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004722' and product_code = 'FL010310-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004722' and product_code = 'DG010101-02' 2024-03-02 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,'229318','8','O24030004722','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-18','2024-03-02 11:37:45','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229318',`firm_id` = '8',`ordernumber` = 'O24030004722', `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` = '2',`total_price` = '560',`etd` = '2024-03-18',`create_date` = '2024-03-02 11:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004722' and product_code = 'DG010101-02' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004722' and product_code = 'DG010101-05' 2024-03-02 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,'229318','8','O24030004722','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-18','2024-03-02 11:37:45','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229318',`firm_id` = '8',`ordernumber` = 'O24030004722', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-03-18',`create_date` = '2024-03-02 11:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004722' and product_code = 'DG010101-05' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004881' and product_code = 'DG0103148-05' 2024-03-02 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,'229319','8','O24030004881','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-03-05','2024-03-02 12:28:28','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229319',`firm_id` = '8',`ordernumber` = 'O24030004881', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:28:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004881' and product_code = 'DG0103148-05' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004881' and product_code = 'DG0103148-02' 2024-03-02 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,'229319','8','O24030004881','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-03-05','2024-03-02 12:28:28','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229319',`firm_id` = '8',`ordernumber` = 'O24030004881', `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-03-05',`create_date` = '2024-03-02 12:28:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004881' and product_code = 'DG0103148-02' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004881' and product_code = 'DG0103148-03' 2024-03-02 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,'229319','8','O24030004881','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-03-05','2024-03-02 12:28:28','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229319',`firm_id` = '8',`ordernumber` = 'O24030004881', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`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-03-05',`create_date` = '2024-03-02 12:28:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004881' and product_code = 'DG0103148-03' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004948' and product_code = 'DG010101-01' 2024-03-02 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,'229320','8','O24030004948','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','20','5600','2024-03-05','2024-03-02 12:30:18','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229320',`firm_id` = '8',`ordernumber` = 'O24030004948', `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` = '20',`total_price` = '5600',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:30:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004948' and product_code = 'DG010101-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004948' and product_code = 'DG010101-02' 2024-03-02 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,'229320','8','O24030004948','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','15','4200','2024-03-05','2024-03-02 12:30:18','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229320',`firm_id` = '8',`ordernumber` = 'O24030004948', `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` = '15',`total_price` = '4200',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:30:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004948' and product_code = 'DG010101-02' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004948' and product_code = 'DG010101-03' 2024-03-02 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,'229320','8','O24030004948','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','5','1400','2024-03-05','2024-03-02 12:30:18','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229320',`firm_id` = '8',`ordernumber` = 'O24030004948', `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` = '5',`total_price` = '1400',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:30:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004948' and product_code = 'DG010101-03' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004948' and product_code = 'DG010101-05' 2024-03-02 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,'229320','8','O24030004948','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','10','2800','2024-03-05','2024-03-02 12:30:18','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229320',`firm_id` = '8',`ordernumber` = 'O24030004948', `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` = '10',`total_price` = '2800',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:30:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004948' and product_code = 'DG010101-05' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030004948' and product_code = 'DG010107-01' 2024-03-02 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,'229320','8','O24030004948','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','10','2400','2024-03-05','2024-03-02 12:30:18','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229320',`firm_id` = '8',`ordernumber` = 'O24030004948', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2400',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:30:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030004948' and product_code = 'DG010107-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005034' and product_code = 'DG010101-02' 2024-03-02 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,'229321','8','O24030005034','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-03-05','2024-03-02 12:47:16','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229321',`firm_id` = '8',`ordernumber` = 'O24030005034', `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` = '4',`total_price` = '1120',`etd` = '2024-03-05',`create_date` = '2024-03-02 12:47:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005034' and product_code = 'DG010101-02' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005158' and product_code = 'DG010312-05' 2024-03-02 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,'229322','8','O24030005158','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-02 13:09:49','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229322',`firm_id` = '8',`ordernumber` = 'O24030005158', `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-03-05',`create_date` = '2024-03-02 13:09:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005158' and product_code = 'DG010312-05' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005158' and product_code = 'DG010107-01' 2024-03-02 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,'229322','8','O24030005158','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','1','240','2024-03-05','2024-03-02 13:09:49','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229322',`firm_id` = '8',`ordernumber` = 'O24030005158', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-03-05',`create_date` = '2024-03-02 13:09:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005158' and product_code = 'DG010107-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005247' and product_code = 'DG010312-02' 2024-03-02 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,'229323','8','O24030005247','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-03-05','2024-03-02 13:46:03','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229323',`firm_id` = '8',`ordernumber` = 'O24030005247', `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` = '6',`total_price` = '2880',`etd` = '2024-03-05',`create_date` = '2024-03-02 13:46:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005247' and product_code = 'DG010312-02' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005324' and product_code = 'DG010261-03' 2024-03-02 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,'229324','8','O24030005324','【SNOOPY聯名】美好食光-8結提盒','DG010261-03','DG010261','40入咖啡蛋捲','提盒-SNOOPY-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-03-05','2024-03-02 13:47:08','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229324',`firm_id` = '8',`ordernumber` = 'O24030005324', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-03',`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-03-05',`create_date` = '2024-03-02 13:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005324' and product_code = 'DG010261-03' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005324' and product_code = 'DG010107-01' 2024-03-02 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,'229324','8','O24030005324','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','1','240','2024-03-05','2024-03-02 13:47:08','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229324',`firm_id` = '8',`ordernumber` = 'O24030005324', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-03-05',`create_date` = '2024-03-02 13:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005324' and product_code = 'DG010107-01' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005324' and product_code = 'DG010203-05' 2024-03-02 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,'229324','8','O24030005324','【小王子聯名】閃耀星空8結提盒','DG010203-05','DG010203','40入巧克力蛋捲','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-03-05','2024-03-02 13:47:08','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229324',`firm_id` = '8',`ordernumber` = 'O24030005324', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-05',`create_date` = '2024-03-02 13:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005324' and product_code = 'DG010203-05' 2024-03-02 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005451' and product_code = 'DG010312-02' 2024-03-02 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,'229325','8','O24030005451','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-03-05','2024-03-02 13:54:01','2024-03-02 23:59:05',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229325',`firm_id` = '8',`ordernumber` = 'O24030005451', `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` = '6',`total_price` = '2880',`etd` = '2024-03-05',`create_date` = '2024-03-02 13:54:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005451' and product_code = 'DG010312-02' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005529' and product_code = 'DG010312-02' 2024-03-02 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,'229326','8','O24030005529','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-03-05','2024-03-02 13:58:52','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229326',`firm_id` = '8',`ordernumber` = 'O24030005529', `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` = '6',`total_price` = '2880',`etd` = '2024-03-05',`create_date` = '2024-03-02 13:58:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005529' and product_code = 'DG010312-02' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005621' and product_code = 'DG010203-02' 2024-03-02 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,'229327','8','O24030005621','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','20','6000','2024-03-05','2024-03-02 14:53:03','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229327',`firm_id` = '8',`ordernumber` = 'O24030005621', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-03-05',`create_date` = '2024-03-02 14:53:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005621' and product_code = 'DG010203-02' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005621' and product_code = 'DG010203-03' 2024-03-02 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,'229327','8','O24030005621','【小王子聯名】閃耀星空8結提盒','DG010203-03','DG010203','40入咖啡蛋捲','提盒-小王子(藍)-40入咖啡','300','300','0','0','0','0','1','0.0','22','6600','2024-03-05','2024-03-02 14:53:03','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229327',`firm_id` = '8',`ordernumber` = 'O24030005621', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '22',`total_price` = '6600',`etd` = '2024-03-05',`create_date` = '2024-03-02 14:53:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005621' and product_code = 'DG010203-03' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005750' and product_code = 'DG010258-02' 2024-03-02 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,'229328','8','O24030005750','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','2','590','2024-03-05','2024-03-02 15:20:05','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229328',`firm_id` = '8',`ordernumber` = 'O24030005750', `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-03-05',`create_date` = '2024-03-02 15:20:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005750' and product_code = 'DG010258-02' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005750' and product_code = 'DG010258-03' 2024-03-02 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,'229328','8','O24030005750','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-03-05','2024-03-02 15:20:05','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229328',`firm_id` = '8',`ordernumber` = 'O24030005750', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-05',`create_date` = '2024-03-02 15:20:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005750' and product_code = 'DG010258-03' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005849' and product_code = 'DG010204-02' 2024-03-02 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,'229329','8','O24030005849','8結蛋捲【品牌提盒裝】','DG010204-02','DG010204','芝麻','提盒-品牌(橘)-40入芝麻','295','295','0','0','0','0','1','0.0','2','590','2024-03-05','2024-03-02 16:51:37','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229329',`firm_id` = '8',`ordernumber` = 'O24030005849', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-02',`product_sn` = 'DG010204',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(橘)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-03-05',`create_date` = '2024-03-02 16:51:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005849' and product_code = 'DG010204-02' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005849' and product_code = 'DG010204-03' 2024-03-02 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,'229329','8','O24030005849','8結蛋捲【品牌提盒裝】','DG010204-03','DG010204','咖啡','提盒-品牌(橘)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-03-05','2024-03-02 16:51:37','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229329',`firm_id` = '8',`ordernumber` = 'O24030005849', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-03',`product_sn` = 'DG010204',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(橘)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-03-05',`create_date` = '2024-03-02 16:51:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005849' and product_code = 'DG010204-03' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005979' and product_code = 'DG010312-03' 2024-03-02 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,'229330','8','O24030005979','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-02 17:30:11','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229330',`firm_id` = '8',`ordernumber` = 'O24030005979', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-02 17:30:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005979' and product_code = 'DG010312-03' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030005979' and product_code = 'DG010312-09' 2024-03-02 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,'229330','8','O24030005979','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-02 17:30:11','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229330',`firm_id` = '8',`ordernumber` = 'O24030005979', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-03-05',`create_date` = '2024-03-02 17:30:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030005979' and product_code = 'DG010312-09' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006061' and product_code = 'DG010312-01' 2024-03-02 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,'229331','8','O24030006061','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-02 18:26:09','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229331',`firm_id` = '8',`ordernumber` = 'O24030006061', `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-03-05',`create_date` = '2024-03-02 18:26:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006061' and product_code = 'DG010312-01' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006146' and product_code = 'DG010261-05' 2024-03-02 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,'229332','8','O24030006146','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','16','4800','2024-03-05','2024-03-02 18:40:10','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229332',`firm_id` = '8',`ordernumber` = 'O24030006146', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`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` = '16',`total_price` = '4800',`etd` = '2024-03-05',`create_date` = '2024-03-02 18:40:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006146' and product_code = 'DG010261-05' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006146' and product_code = 'DG010101-05' 2024-03-02 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,'229332','8','O24030006146','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-03-05','2024-03-02 18:40:10','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229332',`firm_id` = '8',`ordernumber` = 'O24030006146', `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` = '3',`total_price` = '840',`etd` = '2024-03-05',`create_date` = '2024-03-02 18:40:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006146' and product_code = 'DG010101-05' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006230' and product_code = 'DG010312-01' 2024-03-02 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,'229333','8','O24030006230','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','5','2400','2024-03-05','2024-03-02 18:52:04','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229333',`firm_id` = '8',`ordernumber` = 'O24030006230', `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` = '5',`total_price` = '2400',`etd` = '2024-03-05',`create_date` = '2024-03-02 18:52:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006230' and product_code = 'DG010312-01' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006355' and product_code = 'DG010312-02' 2024-03-02 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,'229334','8','O24030006355','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-03-05','2024-03-02 19:42:24','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229334',`firm_id` = '8',`ordernumber` = 'O24030006355', `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-03-05',`create_date` = '2024-03-02 19:42:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006355' and product_code = 'DG010312-02' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006355' and product_code = 'DG010567-86' 2024-03-02 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,'229334','8','O24030006355','熱銷蛋捲六入組','DG010567-86','DG010567','原味+原味+芝麻+海苔+巧克力+阿薩姆紅茶','熱銷蛋捲六入組','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-05','2024-03-02 19:42:24','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229334',`firm_id` = '8',`ordernumber` = 'O24030006355', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-86',`product_sn` = 'DG010567',`product_spec` = '原味+原味+芝麻+海苔+巧克力+阿薩姆紅茶',`invoice_name` = '熱銷蛋捲六入組',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-05',`create_date` = '2024-03-02 19:42:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006355' and product_code = 'DG010567-86' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006355' and product_code = 'LS010108-01' 2024-03-02 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,'229334','8','O24030006355','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','150','150','1','1','150','0','0','0.0','26','3900','2024-03-05','2024-03-02 19:42:24','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229334',`firm_id` = '8',`ordernumber` = 'O24030006355', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '26',`total_price` = '3900',`etd` = '2024-03-05',`create_date` = '2024-03-02 19:42:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006355' and product_code = 'LS010108-01' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006429' and product_code = '12196' 2024-03-02 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,'229335','8','O24030006429','8結隨享茶點禮盒','12196','12146','原味+芝麻,鳳梨酥,國寶茶','禮盒-隨享【原味+芝麻】【鳳梨酥+國寶茶】','490','490','0','0','0','0','1','0.0','6','2940','2024-03-15','2024-03-02 19:59:39','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229335',`firm_id` = '8',`ordernumber` = 'O24030006429', `product_name` = '8結隨享茶點禮盒',`product_code` = '12196',`product_sn` = '12146',`product_spec` = '原味+芝麻,鳳梨酥,國寶茶',`invoice_name` = '禮盒-隨享【原味+芝麻】【鳳梨酥+國寶茶】',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '2940',`etd` = '2024-03-15',`create_date` = '2024-03-02 19:59:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006429' and product_code = '12196' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006540' and product_code = 'DG010567-80' 2024-03-02 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,'229336','8','O24030006540','熱銷蛋捲六入組','DG010567-80','DG010567','原味+原味+芝麻+咖啡+巧克力+阿薩姆紅茶','熱銷蛋捲六入組','1350','1350','0','0','0','1','1','0.0','1','1350','2024-03-05','2024-03-02 20:16:43','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229336',`firm_id` = '8',`ordernumber` = 'O24030006540', `product_name` = '熱銷蛋捲六入組',`product_code` = 'DG010567-80',`product_sn` = 'DG010567',`product_spec` = '原味+原味+芝麻+咖啡+巧克力+阿薩姆紅茶',`invoice_name` = '熱銷蛋捲六入組',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2024-03-05',`create_date` = '2024-03-02 20:16:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006540' and product_code = 'DG010567-80' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006540' and product_code = 'LS010104-01' 2024-03-02 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,'229336','8','O24030006540','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','160','160','0','0','0','0','1','0.0','1','160','2024-03-05','2024-03-02 20:16:43','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229336',`firm_id` = '8',`ordernumber` = 'O24030006540', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '160',`etd` = '2024-03-05',`create_date` = '2024-03-02 20:16:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006540' and product_code = 'LS010104-01' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006540' and product_code = 'LS010108-01' 2024-03-02 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,'229336','8','O24030006540','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','150','150','1','1','150','0','0','0.0','10','1500','2024-03-05','2024-03-02 20:16:43','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229336',`firm_id` = '8',`ordernumber` = 'O24030006540', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '10',`total_price` = '1500',`etd` = '2024-03-05',`create_date` = '2024-03-02 20:16:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006540' and product_code = 'LS010108-01' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006540' and product_code = 'LS010108-03' 2024-03-02 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,'229336','8','O24030006540','[加購]加購-黑松露乳酪絲','LS010108-03','LS010108','-','加購-(藍袋)乳酪絲【黑松露】','150','150','1','1','150','0','0','0.0','18','2700','2024-03-05','2024-03-02 20:16:43','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229336',`firm_id` = '8',`ordernumber` = 'O24030006540', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '150',`sellingprice` = '150',`isadd` = '1',`isbaby` = '1',`addprice` = '150',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '18',`total_price` = '2700',`etd` = '2024-03-05',`create_date` = '2024-03-02 20:16:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006540' and product_code = 'LS010108-03' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006656' and product_code = 'DG010258-01' 2024-03-02 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,'229337','8','O24030006656','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','65','19175','2024-03-25','2024-03-02 20:42:48','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229337',`firm_id` = '8',`ordernumber` = 'O24030006656', `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` = '65',`total_price` = '19175',`etd` = '2024-03-25',`create_date` = '2024-03-02 20:42:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006656' and product_code = 'DG010258-01' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006783' and product_code = 'DG010312-03' 2024-03-02 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,'229338','8','O24030006783','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','3','1440','2024-03-05','2024-03-02 22:42:17','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229338',`firm_id` = '8',`ordernumber` = 'O24030006783', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-03-05',`create_date` = '2024-03-02 22:42:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006783' and product_code = 'DG010312-03' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006783' and product_code = 'DG010566-10' 2024-03-02 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,'229338','8','O24030006783','經典蛋捲三入組','DG010566-10','DG010566','原味+芝麻+巧克力','經典蛋捲三入組','699','699','0','0','0','1','1','0.0','1','699','2024-03-05','2024-03-02 22:42:17','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229338',`firm_id` = '8',`ordernumber` = 'O24030006783', `product_name` = '經典蛋捲三入組',`product_code` = 'DG010566-10',`product_sn` = 'DG010566',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '經典蛋捲三入組',`listprice` = '699',`sellingprice` = '699',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '699',`etd` = '2024-03-05',`create_date` = '2024-03-02 22:42:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006783' and product_code = 'DG010566-10' 2024-03-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030006783' and product_code = 'FL010102-01' 2024-03-02 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,'229338','8','O24030006783','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','2','260','2024-03-05','2024-03-02 22:42:17','2024-03-02 23:59:06',null,'1','2024-01-22') 2024-03-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229338',`firm_id` = '8',`ordernumber` = 'O24030006783', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '260',`etd` = '2024-03-05',`create_date` = '2024-03-02 22:42:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-22'where ordernumber = 'O24030006783' and product_code = 'FL010102-01' 2024-03-02 23:59:06 -- == sync_order_detail end == 2024-03-02 23:59:06 -- == sync_order start == 2024-03-02 23:59:06 -- start:2024-03-02,end:2024-03-02 2024-03-02 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-03-02%' OR l.modify_date like '2024-03-02%'; 2024-03-02 23:59:06 -- == sync omo_order_list == 2024-03-02 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '112571', process_status = '3', pay_status = '1', totalprice_after = '285', lunar_date = '2024-01-12', invoice_status = '1', category_name = '正式彌,LINE@訂單,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24020016866' 2024-03-02 23:59:06 -- == update lake.omo_order_list == update omo_order_list set userId = '379430', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-01-20', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020023187' 2024-03-02 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('12274','170841',2,'','','B24030001777','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','900','928','屏東縣','東港鎮','920','屏東縣','潮州鎮','1050','2024-03-02 14:38:22','2024-01-22') 2024-03-02 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('12274','170841',2,'','','B24030001811','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','900','928','屏東縣','東港鎮','111','台北市','士林區','1050','2024-03-02 14:43:39','2024-01-22') 2024-03-02 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('103165','379734',2,'','','B24030001975','1','2','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5200','326','桃園市','楊梅區','320','桃園市','中壢區','5170','2024-03-02 15:18:53','2024-01-22') 2024-03-02 23:59:06 -- == sync_order end == 2024-03-02 23:59:06 -- == sync_order_detail start == 2024-03-02 23:59:06 -- start:2024-03-02,end:2024-03-02 2024-03-02 23:59:06 -- == sync omo_order_detail == 2024-03-02 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-03-02%' OR modify_date like '2024-03-02%' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020016866' and product_code = 'DG010203-01' 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30330',`firm_id` = '8',`ordernumber` = 'M24020016866', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-02',`create_date` = '2024-02-21 09:57:07',`modify_date` = '2024-03-02 11:36:54',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020016866' and product_code = 'DG010203-01', `lunar_date` = '2024-01-12' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020023187' and product_code = 'DG0103157-12' 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30397',`firm_id` = '11',`ordernumber` = 'M24020023187', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-12',`product_sn` = 'DG0103157',`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-03-01',`create_date` = '2024-02-29 09:16:56',`modify_date` = '2024-03-02 14:41:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020023187' and product_code = 'DG0103157-12', `lunar_date` = '2024-01-20' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030001777' and product_code = 'DG010222-05' 2024-03-02 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30425','8','B24030001777','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','1','0','0','1','0.0','3','900','2024-03-07','2024-03-02 14:38:22','2024-03-02 23:59:07',null,'1','2024-01-22') 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30425',`firm_id` = '8',`ordernumber` = 'B24030001777', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-03-07',`create_date` = '2024-03-02 14:38:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030001777' and product_code = 'DG010222-05', `lunar_date` = '2024-01-22' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030001811' and product_code = 'DG010202-04' 2024-03-02 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30426','8','B24030001811','8結彌月提盒-年輪','DG010202-04','DG010202','海苔','提盒-彌月年輪-40入海苔','300','300','0','1','0','0','1','300.0','1','300','2024-03-07','2024-03-02 14:43:39','2024-03-02 23:59:07',null,'1','2024-01-22') 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30426',`firm_id` = '8',`ordernumber` = 'B24030001811', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-04',`product_sn` = 'DG010202',`product_spec` = '海苔',`invoice_name` = '提盒-彌月年輪-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-07',`create_date` = '2024-03-02 14:43:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030001811' and product_code = 'DG010202-04', `lunar_date` = '2024-01-22' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030001811' and product_code = 'DG010202-05' 2024-03-02 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30426','8','B24030001811','8結彌月提盒-年輪','DG010202-05','DG010202','巧克力','提盒-彌月年輪-40入巧克力','300','300','0','1','0','0','1','300.0','1','300','2024-03-07','2024-03-02 14:43:39','2024-03-02 23:59:07',null,'1','2024-01-22') 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30426',`firm_id` = '8',`ordernumber` = 'B24030001811', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-05',`product_sn` = 'DG010202',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月年輪-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-07',`create_date` = '2024-03-02 14:43:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030001811' and product_code = 'DG010202-05', `lunar_date` = '2024-01-22' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030001811' and product_code = 'DG010202-03' 2024-03-02 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30426','8','B24030001811','8結彌月提盒-年輪','DG010202-03','DG010202','咖啡','提盒-彌月年輪-40入咖啡','300','300','0','1','0','0','1','300.0','1','300','2024-03-07','2024-03-02 14:43:39','2024-03-02 23:59:07',null,'1','2024-01-22') 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30426',`firm_id` = '8',`ordernumber` = 'B24030001811', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-03',`product_sn` = 'DG010202',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月年輪-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-07',`create_date` = '2024-03-02 14:43:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030001811' and product_code = 'DG010202-03', `lunar_date` = '2024-01-22' 2024-03-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030001975' and product_code = 'SS010102-01' 2024-03-02 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30427','8','B24030001975','品純萃鱸魚精30入','SS010102-01','SS010102','品純萃鱸魚精30入','品純萃鱸魚精30入','5200','5200','0','1','0','0','1','1.0','1','5200','2024-03-07','2024-03-02 15:18:53','2024-03-02 23:59:07',null,'1','2024-01-22') 2024-03-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30427',`firm_id` = '8',`ordernumber` = 'B24030001975', `product_name` = '品純萃鱸魚精30入',`product_code` = 'SS010102-01',`product_sn` = 'SS010102',`product_spec` = '品純萃鱸魚精30入',`invoice_name` = '品純萃鱸魚精30入',`listprice` = '5200',`sellingprice` = '5200',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '1.0',`amount` = '1',`total_price` = '5200',`etd` = '2024-03-07',`create_date` = '2024-03-02 15:18:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030001975' and product_code = 'SS010102-01', `lunar_date` = '2024-01-22' 2024-03-02 23:59:07 -- == sync_order_detail end == 2024-03-02 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-03-02' OR o.updated_at = '2024-03-02') and o.deleted_at is null 2024-03-02 23:59:07 -- == sync_order_detail start == 2024-03-02 23:59:07 -- start:2024-03-02,end:2024-03-02 2024-03-02 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-03-02 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-03-02 23:59:09 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-03-02%';