2024-04-02 23:59:02 -- == sync_order start == 2024-04-02 23:59:02 -- start:2024-04-02,end:2024-04-02 2024-04-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-04-02%' OR l.modify_date like '2024-04-02%'; 2024-04-02 23:59:03 -- == sync omo_order_list == 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2023-07-01', invoice_status = '2',category_name = '企業試吃,公關訂單', category_id = '8,6' where ordernumber = 'S23080203750' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2023-10-10', invoice_status = '2',category_name = '企業試吃,公關訂單', category_id = '8,6' where ordernumber = 'S23110082948' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2023-11-02', invoice_status = '2',category_name = '企業試吃,公關訂單', category_id = '8,6' where ordernumber = 'S23120097391' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '358198', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2023-11-28', invoice_status = '2',category_name = '企業試吃,公關訂單', category_id = '8,6' where ordernumber = 'S24010269017' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '356992', process_status = '6', pay_status = '6', totalprice_after = '3830', lunar_date = '2023-12-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24010150987RB2' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2024-02-03', invoice_status = '2',category_name = '企業試吃,LINE@訂單,公關訂單', category_id = '8,9,6' where ordernumber = 'S24030039822' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '382153', process_status = '2', pay_status = '1', totalprice_after = '4180', lunar_date = '2024-02-09', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030063873' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383096', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2024-02-16', invoice_status = '2',category_name = '企業試吃,LINE@訂單,公關訂單', category_id = '8,9,6' where ordernumber = 'S24030090144' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383073', process_status = '2', pay_status = '1', totalprice_after = '1970', lunar_date = '2024-02-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030098659' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383398', process_status = '2', pay_status = '1', totalprice_after = '1140', lunar_date = '2024-02-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030100739' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383525', process_status = '6', pay_status = '6', totalprice_after = '630', lunar_date = '2024-02-19', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030105196' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383528', process_status = '2', pay_status = '1', totalprice_after = '1140', lunar_date = '2024-02-19', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030105533' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '248', lunar_date = '2024-02-20', invoice_status = '0',category_name = '員購訂單', category_id = '42' where ordernumber = 'S24030108034' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '382869', process_status = '2', pay_status = '1', totalprice_after = '17500', lunar_date = '2024-02-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030108949' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383616', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-02-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030109513' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '228854', process_status = '2', pay_status = '1', totalprice_after = '11020', lunar_date = '2024-02-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030110438' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '271851', process_status = '2', pay_status = '1', totalprice_after = '1285', lunar_date = '2024-02-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030112932' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383834', process_status = '2', pay_status = '1', totalprice_after = '6630', lunar_date = '2024-02-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030114941' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383939', process_status = '6', pay_status = '6', totalprice_after = '2040', lunar_date = '2024-02-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030116397' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383939', process_status = '6', pay_status = '6', totalprice_after = '2040', lunar_date = '2024-02-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24030116468' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383770', process_status = '2', pay_status = '1', totalprice_after = '1470', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040000330' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '462', lunar_date = '2024-02-24', invoice_status = '1',category_name = '員購訂單', category_id = '42' where ordernumber = 'S24040000447' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '165213', process_status = '2', pay_status = '1', totalprice_after = '27360', lunar_date = '2024-02-23', invoice_status = '0',category_name = '團媽訂單', category_id = '3' where ordernumber = 'S24040000578' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '27360', lunar_date = '2024-02-23', invoice_status = '0',category_name = '電話訂單,企業訂單', category_id = '12,4' where ordernumber = 'S24040000610' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383691', process_status = '2', pay_status = '1', totalprice_after = '1350', lunar_date = '2024-02-23', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24040002073' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383993', process_status = '2', pay_status = '1', totalprice_after = '2930', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040002189' 2024-04-02 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '383998', process_status = '2', pay_status = '1', totalprice_after = '630', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040002363' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '137582', process_status = '2', pay_status = '1', totalprice_after = '1140', lunar_date = '2024-02-23', invoice_status = '0',category_name = '美村門市訂單', category_id = '32' where ordernumber = 'S24040002513' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '3736', lunar_date = '2024-02-23', invoice_status = '0',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S24040002771' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '384018', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040002865' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '382839', process_status = '2', pay_status = '1', totalprice_after = '410', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040002968' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '384024', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040003011' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '292111', process_status = '2', pay_status = '1', totalprice_after = '1590', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040003127' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '450', lunar_date = '2024-02-23', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24040003223' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '381550', process_status = '1', pay_status = '1', totalprice_after = '2820', lunar_date = '2024-02-23', invoice_status = '0',category_name = ',正式彌月,LINE@訂單', category_id = ',1,9' where ordernumber = 'O24040003317' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '18337', lunar_date = '2024-02-23', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24040003488' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '384077', process_status = '2', pay_status = '1', totalprice_after = '2460', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040003969' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '384086', process_status = '2', pay_status = '1', totalprice_after = '5765', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040004081' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '383939', process_status = '2', pay_status = '1', totalprice_after = '1920', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040004118' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '350598', process_status = '2', pay_status = '1', totalprice_after = '2070', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040004325' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '384099', process_status = '1', pay_status = '1', totalprice_after = '990', lunar_date = '2024-02-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040004450' 2024-04-02 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '384100', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-02-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040004554' 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('260042','297742',1,'','','O24040004630','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','490','244','新北市','林口區','244','新北市','林口區','640','2024-04-02 07:30:55','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344792','381550',1,'LINE@訂單','9','S24040004794','1','11','6','1','6','','','0','2024-04-15','0','2065','0','','0','0','2700','338','桃園市','蘆竹區','338','桃園市','蘆竹區','635','2024-04-02 10:03:33','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347386','384112',1,'','','O24040004822','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','112','台北市','北投區','114','台北市','內湖區','960','2024-04-02 10:38:40','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('69305','42302',1,'LINE@訂單','9','S24040004984','1','1','1','1','1','90041256','盛和進國際有限公司 ','0','2024-04-08','0','1078','0','','0','0','21560','242','新北市','新莊區','242','新北市','新莊區','20482','2024-04-02 11:05:45','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'測試訂單','30','S24040005091','1','2','6','0','0','','','0','2024-04-30','0','0','0','','0','0','560','403','台中市','西區','403','台中市','西區','560','2024-04-02 11:16:45','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('0','0',1,'公關訂單','6','S24040005181','1','8','1','7','1','','','2','2024-04-03','0','1910','0','','0','0','1910','403','台中市','西區','220','新北市','板橋區','0','2024-04-02 11:21:36','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347395','384119',1,'電話訂單','12','S24040005271','1','2','1','0','0','','','0','2024-04-08','0','0','0','','150','0','1680','928','屏東縣','東港鎮','928','屏東縣','東港鎮','1830','2024-04-02 11:27:19','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'公關訂單','6','S24040005311','1','8','1','7','1','','','2','2024-04-03','0','980','0','','0','0','980','403','台中市','西區','320','桃園市','中壢區','0','2024-04-02 11:32:05','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347396','384120',1,'','','O24040005459','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','490','804','高雄市','鼓山區','804','高雄市','鼓山區','640','2024-04-02 11:42:20','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('198761','164762',1,'LINE@訂單','9','S24040005587','1','1','1','1','1','','','0','2024-04-08','0','0','0','','0','0','5760','608','嘉義縣','水上鄉','608','嘉義縣','水上鄉','5760','2024-04-02 12:13:35','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('335102','371968',1,'','','O24040005668','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','580','429','台中市','神岡區','429','台中市','神岡區','730','2024-04-02 12:29:19','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('344336','381100',1,'LINE@訂單','9','S24040005784','1','1','1','1','1','89004161','華泰電子股份有限公司 ','0','2024-04-23','0','1740','0','','0','30','34800','811','高雄市','楠梓區','811','高雄市','楠梓區','33030','2024-04-02 15:09:11','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('304876','342137',1,'','','O24040005839','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1440','302','新竹縣','竹北市','302','新竹縣','竹北市','1490','2024-04-02 15:15:17','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('346968','383701',1,'免運專區活動','27','O24040005957','1','1','13','1','1','','','1','2024-04-13','0','0','0','','0','0','1200','401','台中市','東區','401','台中市','東區','1200','2024-04-02 15:17:09','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347287','384017',1,'免運專區活動','27','O24040006018','1','1','13','1','1','83280132','牧玥科技有限公司','1','2024-04-10','0','0','0','','0','0','2400','408','台中市','南屯區','408','台中市','南屯區','2400','2024-04-02 15:17:55','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('346355','383096',1,'LINE@訂單','9','S24040006182','1','4','1','0','0','34400624','亞東紀念醫院','0','2024-05-06','0','59846','0','','0','0','498720','220','新北市','板橋區','220','新北市','板橋區','438874','2024-04-02 15:35:13','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347431','384153',1,'','','O24040006244','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1790','114','台北市','內湖區','241','新北市','三重區','1910','2024-04-02 15:44:15','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24040006329','1','8','1','7','1','','','2','2024-04-03','0','0','0','','150','0','300','403','台中市','西區','338','桃園市','蘆竹區','450','2024-04-02 16:37:37','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24040006426','1','8','1','7','1','','','2','2024-04-03','0','0','0','','150','0','295','403','台中市','西區','235','新北市','中和區','445','2024-04-02 16:39:26','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24040006581','1','8','1','7','1','','','2','2024-04-03','0','0','0','','150','0','300','403','台中市','西區','330','桃園市','桃園區','450','2024-04-02 16:42:10','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24040006650','1','8','1','7','1','','','2','2024-04-03','0','0','0','','150','0','480','403','台中市','西區','251','新北市','淡水區','630','2024-04-02 16:45:39','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24040006778','1','8','1','7','1','','','2','2024-04-03','0','0','0','','150','0','300','403','台中市','西區','260','宜蘭縣','宜蘭市','450','2024-04-02 16:49:14','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347454','384176',1,'','','O24040006898','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','600','嘉義市','東區','600','嘉義市','東區','1560','2024-04-02 18:04:19','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347475','384197',1,'','','O24040006955','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2320','238','新北市','樹林區','238','新北市','樹林區','2440','2024-04-02 19:42:08','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347483','384205',1,'','','O24040007060','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','242','新北市','新莊區','242','新北市','新莊區','1110','2024-04-02 20:36:15','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347489','384211',1,'','','O24040007147','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','480','514','彰化縣','溪湖鎮','514','彰化縣','溪湖鎮','600','2024-04-02 22:00:37','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347489','384211',1,'','','O24040007220','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','480','514','彰化縣','溪湖鎮','514','彰化縣','溪湖鎮','630','2024-04-02 22:34:39','2024-02-24') 2024-04-02 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('304609','341871',1,'','','O24040007373','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','790','811','高雄市','楠梓區','811','高雄市','楠梓區','940','2024-04-02 23:11:14','2024-02-24') 2024-04-02 23:59:04 -- == sync_order end == 2024-04-02 23:59:04 -- == sync_order_detail start == 2024-04-02 23:59:04 -- start:2024-04-02,end:2024-04-02 2024-04-02 23:59:04 -- == sync omo_order_detail == 2024-04-02 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-02%' OR modify_date like '2024-04-02%' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23080203750' and product_code = '12062' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '202121',`firm_id` = '8',`ordernumber` = 'S23080203750', `product_name` = '金巧8結禮盒',`product_code` = '12062',`product_sn` = '02240',`product_spec` = '巧克力.芝麻糕+核棗糕',`invoice_name` = '禮盒-金巧8結【(巧克力)-芝麻糕+核棗糕】',`listprice` = '595',`sellingprice` = '595',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '595',`etd` = '2023-08-21',`create_date` = '2023-08-16 17:47:20',`modify_date` = '2024-04-02 13:06:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-07-01'where ordernumber = 'S23080203750' and product_code = '12062' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110082948' and product_code = '12167' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213550',`firm_id` = '8',`ordernumber` = 'S23110082948', `product_name` = '8結隨享茶點禮盒',`product_code` = '12167',`product_sn` = '12146',`product_spec` = '原味+咖啡.鳳梨酥.鳳梅酥',`invoice_name` = '禮盒-8結隨享【原味+咖啡】+鳳梨酥+鳳梅酥',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '490',`etd` = '2023-11-23',`create_date` = '2023-11-22 17:03:23',`modify_date` = '2024-04-02 13:05:29',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-10'where ordernumber = 'S23110082948' and product_code = '12167' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23120097391' and product_code = 'DG010315-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '214961',`firm_id` = '8',`ordernumber` = 'S23120097391', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-01',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【原味蛋捲】',`invoice_name` = '禮盒-金8結【原味+原原肉絲酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '1',`total_price` = '555',`etd` = '2023-12-14',`create_date` = '2023-12-14 13:22:45',`modify_date` = '2024-04-02 13:04:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-11-02'where ordernumber = 'S23120097391' and product_code = 'DG010315-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24010269017' and product_code = 'DG010315-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '221027',`firm_id` = '8',`ordernumber` = 'S24010269017', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-01',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【原味蛋捲】',`invoice_name` = '禮盒-金8結【原味+原原肉絲酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '1',`total_price` = '555',`etd` = '2024-01-10',`create_date` = '2024-01-09 11:26:28',`modify_date` = '2024-04-02 13:03:50',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-11-28'where ordernumber = 'S24010269017' and product_code = 'DG010315-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010150987RB2' and product_code = 'DG0103155-03' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '222013',`firm_id` = '8',`ordernumber` = 'O24010150987RB2', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-01-30',`create_date` = '2024-01-05 19:49:39',`modify_date` = '2024-04-02 09:53:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-24'where ordernumber = 'O24010150987RB2' and product_code = 'DG0103155-03' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010150987RB2' and product_code = 'DG0103174-03' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '222013',`firm_id` = '8',`ordernumber` = 'O24010150987RB2', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-03',`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` = '1',`total_price` = '1100',`etd` = '2024-01-30',`create_date` = '2024-01-05 19:49:39',`modify_date` = '2024-04-02 09:53:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-24'where ordernumber = 'O24010150987RB2' and product_code = 'DG0103174-03' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010150987RB2' and product_code = 'DG010523-08' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '222013',`firm_id` = '8',`ordernumber` = 'O24010150987RB2', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-08',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+海苔',`invoice_name` = '組合-32入(原味+芝麻+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-01-30',`create_date` = '2024-01-05 19:49:39',`modify_date` = '2024-04-02 09:53:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-11-24'where ordernumber = 'O24010150987RB2' and product_code = 'DG010523-08' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010150987RB2' and product_code = 'DG010404-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '222013',`firm_id` = '8',`ordernumber` = 'O24010150987RB2', `product_name` = '【預購品,1/24後出貨】紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '紅色提袋',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '60',`etd` = '2024-01-30',`create_date` = '2024-01-11 14:41:09',`modify_date` = '2024-04-02 09:53:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-01'where ordernumber = 'O24010150987RB2' and product_code = 'DG010404-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24010150987RB2' and product_code = 'BP010128-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '222013',`firm_id` = '8',`ordernumber` = 'O24010150987RB2', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '60',`etd` = '2024-01-30',`create_date` = '2024-01-11 14:41:09',`modify_date` = '2024-04-02 09:53:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-12-01'where ordernumber = 'O24010150987RB2' and product_code = 'BP010128-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030039822' and product_code = 'DG010347-05' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229681',`firm_id` = '8',`ordernumber` = 'S24030039822', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-05',`product_sn` = 'DG010347',`product_spec` = '巧克力蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【巧克力+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-04-03',`create_date` = '2024-03-12 16:17:12',`modify_date` = '2024-04-02 13:03:20',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-03'where ordernumber = 'S24030039822' and product_code = 'DG010347-05' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'DG010327-02' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味,芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'DG010327-02' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'DG010327-03' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-03',`product_sn` = 'DG010327',`product_spec` = '原味,咖啡',`invoice_name` = '禮盒-小王子(藍)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'DG010327-03' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'DG010327-04' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-04',`product_sn` = 'DG010327',`product_spec` = '原味,海苔',`invoice_name` = '禮盒-小王子(藍)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'DG010327-04' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'DG010107-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `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-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'DG010107-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'LS010101-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `product_name` = '分享包-無糖芒果乾',`product_code` = 'LS010101-01',`product_sn` = 'LS010101',`product_spec` = '180g芒果乾分享包',`invoice_name` = '(紅袋)芒果乾',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'LS010101-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'BP010128-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '60',`etd` = '2024-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'BP010128-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030063873' and product_code = 'LS010104-02' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229921',`firm_id` = '8',`ordernumber` = 'O24030063873', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-02',`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-04-03',`create_date` = '2024-03-18 20:39:33',`modify_date` = '2024-04-02 10:43:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-09'where ordernumber = 'O24030063873' and product_code = 'LS010104-02' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030090144' and product_code = 'DG010312-09' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230184',`firm_id` = '8',`ordernumber` = 'S24030090144', `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-26',`create_date` = '2024-03-25 16:50:03',`modify_date` = '2024-04-02 12:11:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-16'where ordernumber = 'S24030090144' and product_code = 'DG010312-09' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030090144' and product_code = 'DG010404-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230184',`firm_id` = '8',`ordernumber` = 'S24030090144', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '0',`etd` = '2024-03-26',`create_date` = '2024-03-25 16:50:03',`modify_date` = '2024-04-02 12:11:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-16'where ordernumber = 'S24030090144' and product_code = 'DG010404-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030105196' and product_code = 'DG010312-05' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230334',`firm_id` = '8',`ordernumber` = 'O24030105196', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-03-28 21:09:12',`modify_date` = '2024-04-02 09:48:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-19'where ordernumber = 'O24030105196' and product_code = 'DG010312-05' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030108034' and product_code = 'DG010132-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230363',`firm_id` = '8',`ordernumber` = 'S24030108034', `product_name` = '32入東方美人茶蛋捲',`product_code` = 'DG010132-01',`product_sn` = 'DG010132',`product_spec` = '32入東方美人茶蛋捲',`invoice_name` = '東方美人茶蛋捲',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-03',`create_date` = '2024-03-29 10:43:50',`modify_date` = '2024-04-02 10:26:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-20'where ordernumber = 'S24030108034' and product_code = 'DG010132-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24030108034' and product_code = 'DG010404-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230363',`firm_id` = '8',`ordernumber` = 'S24030108034', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2024-04-03',`create_date` = '2024-03-29 10:43:50',`modify_date` = '2024-04-02 10:26:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-20'where ordernumber = 'S24030108034' and product_code = 'DG010404-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030116397' and product_code = 'DG010312-05' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230446',`firm_id` = '8',`ordernumber` = 'O24030116397', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-04-02',`create_date` = '2024-03-31 16:56:56',`modify_date` = '2024-04-02 17:43:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-22'where ordernumber = 'O24030116397' and product_code = 'DG010312-05' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030116397' and product_code = 'DG010312-08' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230446',`firm_id` = '8',`ordernumber` = 'O24030116397', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-02',`create_date` = '2024-03-31 16:56:56',`modify_date` = '2024-04-02 17:43:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-22'where ordernumber = 'O24030116397' and product_code = 'DG010312-08' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030116468' and product_code = 'DG010312-05' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230447',`firm_id` = '8',`ordernumber` = 'O24030116468', `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` = '2',`total_price` = '960',`etd` = '2024-04-02',`create_date` = '2024-03-31 17:02:28',`modify_date` = '2024-04-02 17:44:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-22'where ordernumber = 'O24030116468' and product_code = 'DG010312-05' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030116468' and product_code = 'DG010312-08' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230447',`firm_id` = '8',`ordernumber` = 'O24030116468', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-02',`create_date` = '2024-03-31 17:02:28',`modify_date` = '2024-04-02 17:44:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-22'where ordernumber = 'O24030116468' and product_code = 'DG010312-08' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24030116468' and product_code = 'DG010312-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230447',`firm_id` = '8',`ordernumber` = 'O24030116468', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-02',`create_date` = '2024-03-31 17:02:28',`modify_date` = '2024-04-02 17:44:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-22'where ordernumber = 'O24030116468' and product_code = 'DG010312-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040000447' and product_code = 'FL010308-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230470',`firm_id` = '8',`ordernumber` = 'S24040000447', `product_name` = '鳳梨酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = 'FL010308',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入鳳梨酥',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-04-01',`create_date` = '2024-04-01 09:25:48',`modify_date` = '2024-04-02 14:47:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-23'where ordernumber = 'S24040000447' and product_code = 'FL010308-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040002771' and product_code = 'DG010312-02' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230493',`firm_id` = '8',`ordernumber` = 'S24040002771', `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` = '8',`total_price` = '3840',`etd` = '2024-04-02',`create_date` = '2024-04-01 13:28:27',`modify_date` = '2024-04-02 08:19:30',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-23'where ordernumber = 'S24040002771' and product_code = 'DG010312-02' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040003223' and product_code = 'DG010203-05' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230498',`firm_id` = '8',`ordernumber` = 'S24040003223', `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-04-02',`create_date` = '2024-04-01 15:19:52',`modify_date` = '2024-04-02 08:18:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-23'where ordernumber = 'S24040003223' and product_code = 'DG010203-05' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040003317' and product_code = 'DG010258-01' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230499',`firm_id` = '8',`ordernumber` = 'O24040003317', `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` = '0',`total_price` = '0',`etd` = '2024-04-15',`create_date` = '2024-04-01 16:08:51',`modify_date` = '2024-04-02 10:10:10',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-02-23'where ordernumber = 'O24040003317' and product_code = 'DG010258-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040004450' and product_code = '13657' 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230510',`firm_id` = '8',`ordernumber` = 'O24040004450', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-04-03',`create_date` = '2024-04-01 23:04:36',`modify_date` = '2024-04-02 11:17:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-23'where ordernumber = 'O24040004450' and product_code = '13657' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040004630' and product_code = 'BP010156-01' 2024-04-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,'230512','8','O24040004630','SNOOPY心意提袋','BP010156-01','BP010156','SNOOPY心意提袋','SNOOPY心意提袋','490','490','0','0','0','0','1','0.0','1','490','2024-04-10','2024-04-02 07:30:55','2024-04-02 23:59:06',null,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230512',`firm_id` = '8',`ordernumber` = 'O24040004630', `product_name` = 'SNOOPY心意提袋',`product_code` = 'BP010156-01',`product_sn` = 'BP010156',`product_spec` = 'SNOOPY心意提袋',`invoice_name` = 'SNOOPY心意提袋',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '490',`etd` = '2024-04-10',`create_date` = '2024-04-02 07:30:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040004630' and product_code = 'BP010156-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040004794' and product_code = 'DG010261-01' 2024-04-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,'230513','8','S24040004794','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','9','2700','2024-04-15','2024-04-02 10:03:33','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230513',`firm_id` = '8',`ordernumber` = 'S24040004794', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`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` = '9',`total_price` = '2700',`etd` = '2024-04-15',`create_date` = '2024-04-02 10:03:33',`modify_date` = '2024-04-02 10:10:25',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040004794' and product_code = 'DG010261-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040003317' and product_code = 'DG010261-01' 2024-04-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,'230499','8','O24040003317','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','9','2700','2024-04-15','2024-04-02 10:10:10','2024-04-02 23:59:06',null,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230499',`firm_id` = '8',`ordernumber` = 'O24040003317', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`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` = '9',`total_price` = '2700',`etd` = '2024-04-15',`create_date` = '2024-04-02 10:10:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040003317' and product_code = 'DG010261-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040004822' and product_code = 'DG010101-03' 2024-04-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,'230514','8','O24040004822','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-04-08','2024-04-02 10:38:40','2024-04-02 23:59:06',null,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230514',`firm_id` = '8',`ordernumber` = 'O24040004822', `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` = '1',`total_price` = '280',`etd` = '2024-04-08',`create_date` = '2024-04-02 10:38:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040004822' and product_code = 'DG010101-03' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040004822' and product_code = 'DG010101-01' 2024-04-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,'230514','8','O24040004822','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-04-08','2024-04-02 10:38:40','2024-04-02 23:59:06',null,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230514',`firm_id` = '8',`ordernumber` = 'O24040004822', `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` = '2',`total_price` = '560',`etd` = '2024-04-08',`create_date` = '2024-04-02 10:38:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040004822' and product_code = 'DG010101-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040004984' and product_code = 'DG010101-01' 2024-04-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,'230515','8','S24040004984','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','36','10080','2024-04-08','2024-04-02 11:05:45','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230515',`firm_id` = '8',`ordernumber` = 'S24040004984', `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` = '36',`total_price` = '10080',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:05:45',`modify_date` = '2024-04-02 11:14:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040004984' and product_code = 'DG010101-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040004984' and product_code = 'DG010101-02' 2024-04-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,'230515','8','S24040004984','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-04-08','2024-04-02 11:05:45','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230515',`firm_id` = '8',`ordernumber` = 'S24040004984', `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` = '8',`total_price` = '2240',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:05:45',`modify_date` = '2024-04-02 11:14:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040004984' and product_code = 'DG010101-02' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040004984' and product_code = 'DG010101-03' 2024-04-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,'230515','8','S24040004984','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','17','4760','2024-04-08','2024-04-02 11:05:45','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230515',`firm_id` = '8',`ordernumber` = 'S24040004984', `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` = '17',`total_price` = '4760',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:05:45',`modify_date` = '2024-04-02 11:14:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040004984' and product_code = 'DG010101-03' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040004984' and product_code = 'DG010101-04' 2024-04-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,'230515','8','S24040004984','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-04-08','2024-04-02 11:05:45','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230515',`firm_id` = '8',`ordernumber` = 'S24040004984', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '6',`total_price` = '1680',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:05:45',`modify_date` = '2024-04-02 11:14:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040004984' and product_code = 'DG010101-04' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040004984' and product_code = 'DG010101-05' 2024-04-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,'230515','8','S24040004984','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','10','2800','2024-04-08','2024-04-02 11:05:45','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230515',`firm_id` = '8',`ordernumber` = 'S24040004984', `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-04-08',`create_date` = '2024-04-02 11:05:45',`modify_date` = '2024-04-02 11:14:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040004984' and product_code = 'DG010101-05' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005091' and product_code = 'DG010101-02' 2024-04-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,'230516','8','S24040005091','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-04-30','2024-04-02 11:15:07','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230516',`firm_id` = '8',`ordernumber` = 'S24040005091', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-04-30',`create_date` = '2024-04-02 11:15:07',`modify_date` = '2024-04-02 11:18:26',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005091' and product_code = 'DG010101-02' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005091' and product_code = 'DG010101-01' 2024-04-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,'230516','8','S24040005091','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-04-30','2024-04-02 11:18:26','2024-04-02 23:59:06',null,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230516',`firm_id` = '8',`ordernumber` = 'S24040005091', `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-04-30',`create_date` = '2024-04-02 11:18:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005091' and product_code = 'DG010101-01' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005181' and product_code = 'DG010312-02' 2024-04-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,'230517','8','S24040005181','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-03','2024-04-02 11:21:36','2024-04-02 23:59:06',0,'1','2024-02-24') 2024-04-02 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230517',`firm_id` = '8',`ordernumber` = 'S24040005181', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-03',`create_date` = '2024-04-02 11:21:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005181' and product_code = 'DG010312-02' 2024-04-02 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005181' and product_code = 'DG010312-05' 2024-04-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, 1,'230517','8','S24040005181','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-03','2024-04-02 11:21:36','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230517',`firm_id` = '8',`ordernumber` = 'S24040005181', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-03',`create_date` = '2024-04-02 11:21:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005181' and product_code = 'DG010312-05' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005181' and product_code = 'GG010201-01' 2024-04-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, 1,'230517','8','S24040005181','皇家黑松露堅果提盒','GG010201-01','01305','10入黑松露腰果','提盒-堅果【腰果】','950','950','0','0','0','0','1','0.0','1','950','2024-04-03','2024-04-02 11:21:36','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230517',`firm_id` = '8',`ordernumber` = 'S24040005181', `product_name` = '皇家黑松露堅果提盒',`product_code` = 'GG010201-01',`product_sn` = '01305',`product_spec` = '10入黑松露腰果',`invoice_name` = '提盒-堅果【腰果】',`listprice` = '950',`sellingprice` = '950',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '950',`etd` = '2024-04-03',`create_date` = '2024-04-02 11:21:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005181' and product_code = 'GG010201-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005271' and product_code = 'DG010101-04' 2024-04-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, 1,'230518','8','S24040005271','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-04-08','2024-04-02 11:27:19','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230518',`firm_id` = '8',`ordernumber` = 'S24040005271', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:27:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005271' and product_code = 'DG010101-04' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005271' and product_code = 'DG010101-03' 2024-04-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, 1,'230518','8','S24040005271','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-04-08','2024-04-02 11:27:19','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230518',`firm_id` = '8',`ordernumber` = 'S24040005271', `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` = '3',`total_price` = '840',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:27:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005271' and product_code = 'DG010101-03' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005311' and product_code = 'DG010312-02' 2024-04-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, 1,'230519','8','S24040005311','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-03','2024-04-02 11:32:05','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230519',`firm_id` = '8',`ordernumber` = 'S24040005311', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-03',`create_date` = '2024-04-02 11:32:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005311' and product_code = 'DG010312-02' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005311' and product_code = 'DG010394-12' 2024-04-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, 1,'230519','8','S24040005311','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-12','DG010394','咖啡蛋捲.巧克力蛋捲','禮盒-故宮(文物款)【咖啡+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-04-03','2024-04-02 11:32:05','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230519',`firm_id` = '8',`ordernumber` = 'S24040005311', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-12',`product_sn` = 'DG010394',`product_spec` = '咖啡蛋捲.巧克力蛋捲',`invoice_name` = '禮盒-故宮(文物款)【咖啡+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-03',`create_date` = '2024-04-02 11:32:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005311' and product_code = 'DG010394-12' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040005459' and product_code = 'BP010156-01' 2024-04-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, 1,'230520','8','O24040005459','SNOOPY心意提袋','BP010156-01','BP010156','SNOOPY心意提袋','SNOOPY心意提袋','490','490','0','0','0','0','1','0.0','1','490','2024-04-08','2024-04-02 11:42:20','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230520',`firm_id` = '8',`ordernumber` = 'O24040005459', `product_name` = 'SNOOPY心意提袋',`product_code` = 'BP010156-01',`product_sn` = 'BP010156',`product_spec` = 'SNOOPY心意提袋',`invoice_name` = 'SNOOPY心意提袋',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '490',`etd` = '2024-04-08',`create_date` = '2024-04-02 11:42:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040005459' and product_code = 'BP010156-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010312-04' 2024-04-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, 1,'230521','8','S24040005587','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 12:13:35','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:13:35',`modify_date` = '2024-04-02 12:14:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010312-04' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010312-01' 2024-04-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, 1,'230521','8','S24040005587','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 12:13:35','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:13:35',`modify_date` = '2024-04-02 12:14:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010312-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010312-10' 2024-04-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, 1,'230521','8','S24040005587','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','4','1920','2024-04-08','2024-04-02 12:13:35','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '4',`total_price` = '1920',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:13:35',`modify_date` = '2024-04-02 12:14:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010312-10' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010312-07' 2024-04-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, 1,'230521','8','S24040005587','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 12:13:35','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:13:35',`modify_date` = '2024-04-02 12:14:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010312-07' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010312-06' 2024-04-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, 1,'230521','8','S24040005587','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-04-08','2024-04-02 12:13:35','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:13:35',`modify_date` = '2024-04-02 12:14:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010312-06' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010312-15' 2024-04-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, 1,'230521','8','S24040005587','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-04-08','2024-04-02 12:13:35','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:13:35',`modify_date` = '2024-04-02 12:14:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010312-15' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005587' and product_code = 'DG010404-01' 2024-04-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, 1,'230521','8','S24040005587','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','0','1','0','0','0','1','0.0','24','0','2024-04-08','2024-04-02 12:14:37','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230521',`firm_id` = '8',`ordernumber` = 'S24040005587', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '0',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:14:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005587' and product_code = 'DG010404-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040005668' and product_code = 'DG010527-03' 2024-04-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, 1,'230522','8','O24040005668','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-04-08','2024-04-02 12:29:19','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230522',`firm_id` = '8',`ordernumber` = 'O24040005668', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-04-08',`create_date` = '2024-04-02 12:29:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040005668' and product_code = 'DG010527-03' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040005784' and product_code = 'LS010201-01' 2024-04-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, 1,'230523','8','S24040005784','乳酪絲提盒','LS010201-01','LS010201','原味乳酪絲','提盒-乳酪絲【原味】','400','400','0','0','0','0','1','0.0','87','34800','2024-04-23','2024-04-02 15:09:11','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230523',`firm_id` = '8',`ordernumber` = 'S24040005784', `product_name` = '乳酪絲提盒',`product_code` = 'LS010201-01',`product_sn` = 'LS010201',`product_spec` = '原味乳酪絲',`invoice_name` = '提盒-乳酪絲【原味】',`listprice` = '400',`sellingprice` = '400',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '87',`total_price` = '34800',`etd` = '2024-04-23',`create_date` = '2024-04-02 15:09:11',`modify_date` = '2024-04-02 15:15:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040005784' and product_code = 'LS010201-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040005839' and product_code = 'DG010312-02' 2024-04-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, 1,'230524','8','O24040005839','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 15:15:17','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230524',`firm_id` = '8',`ordernumber` = 'O24040005839', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 15:15:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040005839' and product_code = 'DG010312-02' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040005839' and product_code = 'DG0103148-01' 2024-04-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, 1,'230524','8','O24040005839','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','2','960','2024-04-08','2024-04-02 15:15:17','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230524',`firm_id` = '8',`ordernumber` = 'O24040005839', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-01',`product_sn` = 'DG0103148',`product_spec` = '原味+原味',`invoice_name` = '禮盒-金典(紅)【原味+原味】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-04-08',`create_date` = '2024-04-02 15:15:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040005839' and product_code = 'DG0103148-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040005957' and product_code = 'GJ010103-01' 2024-04-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, 1,'230525','12','O24040005957','梅酒體驗課程(4/13台中場)','GJ010103-01','GJ010103','梅酒體驗課程(4/13台中場)','梅酒體驗課程','1200','1200','0','1','0','0','1','0.0','1','1200','2024-04-13','2024-04-02 15:17:09','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230525',`firm_id` = '12',`ordernumber` = 'O24040005957', `product_name` = '梅酒體驗課程(4/13台中場)',`product_code` = 'GJ010103-01',`product_sn` = 'GJ010103',`product_spec` = '梅酒體驗課程(4/13台中場)',`invoice_name` = '梅酒體驗課程',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1200',`etd` = '2024-04-13',`create_date` = '2024-04-02 15:17:09',`modify_date` = '2024-04-02 15:23:52',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040005957' and product_code = 'GJ010103-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006018' and product_code = 'GJ010102-01' 2024-04-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, 1,'230526','12','O24040006018','梅酒體驗課程(4/10台中場)','GJ010102-01','GJ010102','梅酒體驗課程(4/10台中場)','梅酒體驗課程','1200','1200','0','1','0','0','1','0.0','2','2400','2024-04-10','2024-04-02 15:17:55','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230526',`firm_id` = '12',`ordernumber` = 'O24040006018', `product_name` = '梅酒體驗課程(4/10台中場)',`product_code` = 'GJ010102-01',`product_sn` = 'GJ010102',`product_spec` = '梅酒體驗課程(4/10台中場)',`invoice_name` = '梅酒體驗課程',`listprice` = '1200',`sellingprice` = '1200',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2400',`etd` = '2024-04-10',`create_date` = '2024-04-02 15:17:55',`modify_date` = '2024-04-02 15:24:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006018' and product_code = 'GJ010102-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006182' and product_code = 'DG010312-01' 2024-04-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, 1,'230527','8','S24040006182','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','207','99360','2024-05-06','2024-04-02 15:35:13','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230527',`firm_id` = '8',`ordernumber` = 'S24040006182', `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` = '207',`total_price` = '99360',`etd` = '2024-05-06',`create_date` = '2024-04-02 15:35:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006182' and product_code = 'DG010312-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006182' and product_code = 'DG010312-06' 2024-04-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, 1,'230527','8','S24040006182','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','211','101280','2024-05-06','2024-04-02 15:35:13','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230527',`firm_id` = '8',`ordernumber` = 'S24040006182', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '211',`total_price` = '101280',`etd` = '2024-05-06',`create_date` = '2024-04-02 15:35:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006182' and product_code = 'DG010312-06' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006182' and product_code = 'DG010312-10' 2024-04-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, 1,'230527','8','S24040006182','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','207','99360','2024-05-06','2024-04-02 15:35:13','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230527',`firm_id` = '8',`ordernumber` = 'S24040006182', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '207',`total_price` = '99360',`etd` = '2024-05-06',`create_date` = '2024-04-02 15:35:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006182' and product_code = 'DG010312-10' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006182' and product_code = 'DG010312-15' 2024-04-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, 1,'230527','8','S24040006182','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','207','99360','2024-05-06','2024-04-02 15:35:13','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230527',`firm_id` = '8',`ordernumber` = 'S24040006182', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '207',`total_price` = '99360',`etd` = '2024-05-06',`create_date` = '2024-04-02 15:35:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006182' and product_code = 'DG010312-15' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006182' and product_code = 'DG010312-13' 2024-04-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, 1,'230527','8','S24040006182','【海苔+海苔】金8結禮盒','DG010312-13','DG010312','金8結盒','禮盒-金8結【海苔+海苔】','590','480','0','0','0','0','1','480.0','207','99360','2024-05-06','2024-04-02 15:35:13','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230527',`firm_id` = '8',`ordernumber` = 'S24040006182', `product_name` = '【海苔+海苔】金8結禮盒',`product_code` = 'DG010312-13',`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` = '207',`total_price` = '99360',`etd` = '2024-05-06',`create_date` = '2024-04-02 15:35:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006182' and product_code = 'DG010312-13' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006182' and product_code = 'DG010404-01' 2024-04-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, 1,'230527','8','S24040006182','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','0','1','0','0','0','1','0.0','2078','0','2024-05-06','2024-04-02 15:35:13','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230527',`firm_id` = '8',`ordernumber` = 'S24040006182', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2078',`total_price` = '0',`etd` = '2024-05-06',`create_date` = '2024-04-02 15:35:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006182' and product_code = 'DG010404-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006244' and product_code = 'DG010225-01' 2024-04-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, 1,'230528','8','O24040006244','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-01','DG010225','40入原味蛋捲','提盒-故宮(人物款)-40入原味','300','300','0','0','0','0','1','0.0','4','1200','2024-04-08','2024-04-02 15:44:15','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230528',`firm_id` = '8',`ordernumber` = 'O24040006244', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`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` = '4',`total_price` = '1200',`etd` = '2024-04-08',`create_date` = '2024-04-02 15:44:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006244' and product_code = 'DG010225-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006244' and product_code = 'DG010206-05' 2024-04-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, 1,'230528','8','O24040006244','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','2','590','2024-04-08','2024-04-02 15:44:15','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230528',`firm_id` = '8',`ordernumber` = 'O24040006244', `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` = '2',`total_price` = '590',`etd` = '2024-04-08',`create_date` = '2024-04-02 15:44:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006244' and product_code = 'DG010206-05' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006329' and product_code = 'DG010203-01' 2024-04-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, 1,'230529','8','S24040006329','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-04-03','2024-04-02 16:37:37','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230529',`firm_id` = '8',`ordernumber` = 'S24040006329', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`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-04-03',`create_date` = '2024-04-02 16:37:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006329' and product_code = 'DG010203-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006426' and product_code = 'DG010206-01' 2024-04-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, 1,'230530','8','S24040006426','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-04-03','2024-04-02 16:39:26','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230530',`firm_id` = '8',`ordernumber` = 'S24040006426', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-04-03',`create_date` = '2024-04-02 16:39:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006426' and product_code = 'DG010206-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006581' and product_code = 'DG010222-05' 2024-04-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, 1,'230531','8','S24040006581','【小王子聯名】夢想旅程8結提盒','DG010222-05','DG010222','40入巧克力蛋捲','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-04-03','2024-04-02 16:42:10','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230531',`firm_id` = '8',`ordernumber` = 'S24040006581', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`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-04-03',`create_date` = '2024-04-02 16:42:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006581' and product_code = 'DG010222-05' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006650' and product_code = 'DG010312-02' 2024-04-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, 1,'230532','8','S24040006650','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-04-03','2024-04-02 16:45:39','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230532',`firm_id` = '8',`ordernumber` = 'S24040006650', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-03',`create_date` = '2024-04-02 16:45:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006650' and product_code = 'DG010312-02' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040006778' and product_code = 'DG010203-01' 2024-04-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, 1,'230533','8','S24040006778','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-04-03','2024-04-02 16:49:14','2024-04-02 23:59:07',0,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230533',`firm_id` = '8',`ordernumber` = 'S24040006778', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`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-04-03',`create_date` = '2024-04-02 16:49:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'S24040006778' and product_code = 'DG010203-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006898' and product_code = 'DG010312-03' 2024-04-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, 1,'230534','8','O24040006898','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 18:04:19','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230534',`firm_id` = '8',`ordernumber` = 'O24040006898', `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-04-08',`create_date` = '2024-04-02 18:04:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006898' and product_code = 'DG010312-03' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006898' and product_code = 'DG010312-05' 2024-04-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, 1,'230534','8','O24040006898','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 18:04:19','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230534',`firm_id` = '8',`ordernumber` = 'O24040006898', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 18:04:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006898' and product_code = 'DG010312-05' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006898' and product_code = 'DG010312-08' 2024-04-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, 1,'230534','8','O24040006898','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 18:04:19','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230534',`firm_id` = '8',`ordernumber` = 'O24040006898', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 18:04:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006898' and product_code = 'DG010312-08' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006955' and product_code = 'DG010527-02' 2024-04-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, 1,'230535','8','O24040006955','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','4','1160','2024-04-08','2024-04-02 19:42:08','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230535',`firm_id` = '8',`ordernumber` = 'O24040006955', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1160',`etd` = '2024-04-08',`create_date` = '2024-04-02 19:42:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006955' and product_code = 'DG010527-02' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040006955' and product_code = 'DG010527-01' 2024-04-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, 1,'230535','8','O24040006955','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','4','1160','2024-04-08','2024-04-02 19:42:08','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230535',`firm_id` = '8',`ordernumber` = 'O24040006955', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1160',`etd` = '2024-04-08',`create_date` = '2024-04-02 19:42:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040006955' and product_code = 'DG010527-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040007060' and product_code = 'DG010523-07' 2024-04-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, 1,'230536','8','O24040007060','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-04-08','2024-04-02 20:36:15','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230536',`firm_id` = '8',`ordernumber` = 'O24040007060', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-08',`create_date` = '2024-04-02 20:36:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040007060' and product_code = 'DG010523-07' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040007147' and product_code = 'DG010312-05' 2024-04-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, 1,'230537','8','O24040007147','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 22:00:37','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230537',`firm_id` = '8',`ordernumber` = 'O24040007147', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 22:00:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040007147' and product_code = 'DG010312-05' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040007220' and product_code = 'DG010312-05' 2024-04-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, 1,'230538','8','O24040007220','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-04-08','2024-04-02 22:34:39','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230538',`firm_id` = '8',`ordernumber` = 'O24040007220', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-08',`create_date` = '2024-04-02 22:34:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040007220' and product_code = 'DG010312-05' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040007373' and product_code = 'BP010156-01' 2024-04-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, 1,'230539','8','O24040007373','SNOOPY心意提袋','BP010156-01','BP010156','SNOOPY心意提袋','SNOOPY心意提袋','490','490','0','0','0','0','1','0.0','1','490','2024-04-08','2024-04-02 23:11:14','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230539',`firm_id` = '8',`ordernumber` = 'O24040007373', `product_name` = 'SNOOPY心意提袋',`product_code` = 'BP010156-01',`product_sn` = 'BP010156',`product_spec` = 'SNOOPY心意提袋',`invoice_name` = 'SNOOPY心意提袋',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '490',`etd` = '2024-04-08',`create_date` = '2024-04-02 23:11:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040007373' and product_code = 'BP010156-01' 2024-04-02 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040007373' and product_code = 'DG010203-05' 2024-04-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, 1,'230539','8','O24040007373','【小王子聯名】閃耀星空8結提盒','DG010203-05','DG010203','40入巧克力蛋捲','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-04-08','2024-04-02 23:11:14','2024-04-02 23:59:07',null,'1','2024-02-24') 2024-04-02 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230539',`firm_id` = '8',`ordernumber` = 'O24040007373', `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-04-08',`create_date` = '2024-04-02 23:11:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-02-24'where ordernumber = 'O24040007373' and product_code = 'DG010203-05' 2024-04-02 23:59:07 -- == sync_order_detail end == 2024-04-02 23:59:07 -- == sync_order start == 2024-04-02 23:59:07 -- start:2024-04-02,end:2024-04-02 2024-04-02 23:59:07 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-04-02%' OR l.modify_date like '2024-04-02%'; 2024-04-02 23:59:08 -- == sync omo_order_list == 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '4845', lunar_date = '2024-01-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24030006126' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '383047', process_status = '2', pay_status = '1', totalprice_after = '30570', lunar_date = '2024-02-16', invoice_status = '0', category_name = '正式彌,FB訂單', category_id = '1,10' where ordernumber = 'M24030021284' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '118202', process_status = '2', pay_status = '1', totalprice_after = '14725', lunar_date = '2024-02-16', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24030021920' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '383151', process_status = '2', pay_status = '1', totalprice_after = '21375', lunar_date = '2024-02-17', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24030022156' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '383404', process_status = '2', pay_status = '1', totalprice_after = '5130', lunar_date = '2024-02-19', invoice_status = '0', category_name = ',正式彌,LINE@訂單', category_id = ',1,9' where ordernumber = 'M24030024580' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '383529', process_status = '3', pay_status = '1', totalprice_after = '960', lunar_date = '2024-02-19', invoice_status = '1', category_name = '', category_id = '' where ordernumber = 'B24030024847' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '379513', process_status = '2', pay_status = '1', totalprice_after = '48710', lunar_date = '2024-02-23', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24040000687' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '1782', lunar_date = '2024-02-23', invoice_status = '0', category_name = '插單群訂單,鱸魚精訂單', category_id = '14,24' where ordernumber = 'M24040000795' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '1782', lunar_date = '2024-02-23', invoice_status = '0', category_name = '插單群訂單,鱸魚精訂單', category_id = '14,24' where ordernumber = 'M24040000851' 2024-04-02 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '383842', process_status = '0', pay_status = '0', totalprice_after = '800', lunar_date = '2024-02-23', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24040001243' 2024-04-02 23:59:08 -- == 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 ('107484','0',2,'彌月試吃','2','B24040001495','1','11','1','1','2','','','0','2024-04-03','0','0','0','','0','0','500','900','屏東縣','屏東市','900','屏東縣','屏東市','500','2024-04-02 09:09:46','2024-02-24') 2024-04-02 23:59:08 -- == 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 ('107538','0',2,'彌月試吃','2','B24040001522','1','11','1','1','2','','','0','2024-04-03','0','0','0','','0','0','500','234','新北市','永和區','234','新北市','永和區','500','2024-04-02 09:10:01','2024-02-24') 2024-04-02 23:59:08 -- == 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 ('104527','381083',2,'LINE@訂單,正式彌','9,1','M24040001689','1','1','1','1','2','','','0','2024-04-03','0','0','0','','150','0','1200','108','台北市','萬華區','108','台北市','萬華區','1350','2024-04-02 09:24:48','2024-02-24') 2024-04-02 23:59:08 -- == 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 ('107593','384113',2,'正式彌,LINE@訂單','1,9','M24040001739','1','1','1','1','1','','','0','2024-04-15','0','900','0','','0','30','18000','423','台中市','東勢區','423','台中市','東勢區','17070','2024-04-02 10:57:30','2024-02-24') 2024-04-02 23:59:08 -- == 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 ('107645','384163',2,'正式彌,LINE@訂單','1,9','M24040001868','1','1','1','1','1','','','0','2024-04-19','0','1350','0','','0','0','27000','220','新北市','板橋區','220','新北市','板橋區','25650','2024-04-02 16:54:22','2024-02-24') 2024-04-02 23:59:08 -- == 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 ('15812','247175',2,'LINE@訂單,彌月試吃','9,2','M24040001919','1','6','6','8','8','','','0','2024-04-09','0','400','0','','0','0','1200','103','台北市','大同區','103','台北市','大同區','800','2024-04-02 17:53:19','2024-02-24') 2024-04-02 23:59:08 -- == sync_order end == 2024-04-02 23:59:08 -- == sync_order_detail start == 2024-04-02 23:59:08 -- start:2024-04-02,end:2024-04-02 2024-04-02 23:59:08 -- == sync omo_order_detail == 2024-04-02 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-04-02%' OR modify_date like '2024-04-02%' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24030024847' and product_code = '05401' 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30679',`firm_id` = '8',`ordernumber` = 'B24030024847', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-04-01',`create_date` = '2024-03-28 22:04:18',`modify_date` = '2024-04-02 09:02:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24030024847' and product_code = '05401', `lunar_date` = '2024-02-19' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040000795' and product_code = '05401' 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30696',`firm_id` = '8',`ordernumber` = 'M24040000795', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-04-02',`create_date` = '2024-04-01 10:24:25',`modify_date` = '2024-04-02 09:00:41',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040000795' and product_code = '05401', `lunar_date` = '2024-02-23' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040000851' and product_code = '05401' 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30697',`firm_id` = '8',`ordernumber` = 'M24040000851', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-04-02',`create_date` = '2024-04-01 10:26:49',`modify_date` = '2024-04-02 09:01:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040000851' and product_code = '05401', `lunar_date` = '2024-02-23' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040001243' and product_code = 'DG0103137-14' 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30701',`firm_id` = '11',`ordernumber` = 'B24040001243', `product_name` = '彌月試吃禮盒組(樂芙)',`product_code` = 'DG0103137-14',`product_sn` = 'DG0103137',`product_spec` = '海苔+巧克力',`invoice_name` = '禮盒-彌月樂芙【海苔+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-03',`create_date` = '2024-04-01 17:17:56',`modify_date` = '2024-04-02 10:10:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040001243' and product_code = 'DG0103137-14', `lunar_date` = '2024-02-23' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040001243' and product_code = 'DG010244-05' 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30701',`firm_id` = '11',`ordernumber` = 'B24040001243', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-05',`product_sn` = 'DG010244',`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` = '1',`total_price` = '300',`etd` = '2024-04-03',`create_date` = '2024-04-01 17:17:56',`modify_date` = '2024-04-02 10:10:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040001243' and product_code = 'DG010244-05', `lunar_date` = '2024-02-23' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040001495' and product_code = 'DG0103147-05' 2024-04-02 23:59:08 -- == 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,'30703','11','B24040001495','彌月試吃禮盒-都會LUCK','DG0103147-05','DG0103147','原味+巧克力','禮盒-彌月都會LUCK【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-04-03','2024-04-02 09:09:46','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30703',`firm_id` = '11',`ordernumber` = 'B24040001495', `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-05',`product_sn` = 'DG0103147',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月都會LUCK【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-03',`create_date` = '2024-04-02 09:09:46',`modify_date` = '2024-04-02 09:09:46',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040001495' and product_code = 'DG0103147-05', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24040001522' and product_code = 'DG0103157-02' 2024-04-02 23:59:08 -- == 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,'30704','11','B24040001522','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-02','DG0103157','原味+芝麻','禮盒-彌月SNOOPY【原味+芝麻】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-04-03','2024-04-02 09:10:01','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30704',`firm_id` = '11',`ordernumber` = 'B24040001522', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-02',`product_sn` = 'DG0103157',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月SNOOPY【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-04-03',`create_date` = '2024-04-02 09:10:01',`modify_date` = '2024-04-02 09:10:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24040001522' and product_code = 'DG0103157-02', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001689' and product_code = 'DG010213-01' 2024-04-02 23:59:08 -- == 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,'30705','8','M24040001689','8結彌月提盒-香頌日光','DG010213-01','DG010213','原味','提盒-彌月香頌日光-40入原味','300','300','0','0','0','0','1','0.0','4','1200','2024-04-03','2024-04-02 09:24:48','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30705',`firm_id` = '8',`ordernumber` = 'M24040001689', `product_name` = '8結彌月提盒-香頌日光',`product_code` = 'DG010213-01',`product_sn` = 'DG010213',`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` = '4',`total_price` = '1200',`etd` = '2024-04-03',`create_date` = '2024-04-02 09:24:48',`modify_date` = '2024-04-02 09:29:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001689' and product_code = 'DG010213-01', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001739' and product_code = 'DG010203-05' 2024-04-02 23:59:08 -- == 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,'30706','8','M24040001739','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','0','0','0','1','0.0','30','9000','2024-04-15','2024-04-02 10:57:30','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30706',`firm_id` = '8',`ordernumber` = 'M24040001739', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`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` = '30',`total_price` = '9000',`etd` = '2024-04-15',`create_date` = '2024-04-02 10:57:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001739' and product_code = 'DG010203-05', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001739' and product_code = 'DG010222-02' 2024-04-02 23:59:08 -- == 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,'30706','8','M24040001739','【小王子聯名】夢想旅程8結彌月提盒','DG010222-02','DG010222','芝麻','提盒-小王子(紅)-40入芝麻','300','300','0','0','0','0','1','0.0','30','9000','2024-04-15','2024-04-02 10:57:30','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30706',`firm_id` = '8',`ordernumber` = 'M24040001739', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2024-04-15',`create_date` = '2024-04-02 10:57:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001739' and product_code = 'DG010222-02', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001739' and product_code = 'ZP0101119-01' 2024-04-02 23:59:08 -- == 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,'30706','8','M24040001739','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-04-15','2024-04-02 10:57:30','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30706',`firm_id` = '8',`ordernumber` = 'M24040001739', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-15',`create_date` = '2024-04-02 10:57:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001739' and product_code = 'ZP0101119-01', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001868' and product_code = 'DG010263-01' 2024-04-02 23:59:08 -- == 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,'30707','8','M24040001868','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','49','14700','2024-04-19','2024-04-02 16:54:22','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30707',`firm_id` = '8',`ordernumber` = 'M24040001868', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '49',`total_price` = '14700',`etd` = '2024-04-19',`create_date` = '2024-04-02 16:54:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001868' and product_code = 'DG010263-01', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001868' and product_code = 'DG010263-05' 2024-04-02 23:59:08 -- == 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,'30707','8','M24040001868','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-05','DG010263','巧克力','提盒-彌月SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','41','12300','2024-04-19','2024-04-02 16:54:22','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30707',`firm_id` = '8',`ordernumber` = 'M24040001868', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '41',`total_price` = '12300',`etd` = '2024-04-19',`create_date` = '2024-04-02 16:54:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001868' and product_code = 'DG010263-05', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001868' and product_code = 'ZP010133-01' 2024-04-02 23:59:08 -- == 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,'30707','8','M24040001868','贈品-recolte花灑萃取咖啡機(顏色隨機)','ZP010133-01','ZP010133','贈品-recolte花灑萃取咖啡機(顏色隨機)','贈品-recolte花灑萃取咖啡機(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-04-19','2024-04-02 16:54:22','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30707',`firm_id` = '8',`ordernumber` = 'M24040001868', `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`product_spec` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`invoice_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-19',`create_date` = '2024-04-02 16:54:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001868' and product_code = 'ZP010133-01', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001919' and product_code = 'DG010248-01' 2024-04-02 23:59:08 -- == 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,'30708','11','M24040001919','彌月試吃提盒-香頌日光','DG010248-01','DG010248','原味','提盒-彌月香頌日光-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-04-09','2024-04-02 17:53:19','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30708',`firm_id` = '11',`ordernumber` = 'M24040001919', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-01',`product_sn` = 'DG010248',`product_spec` = '原味',`invoice_name` = '提盒-彌月香頌日光-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-09',`create_date` = '2024-04-02 17:53:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001919' and product_code = 'DG010248-01', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001919' and product_code = 'DG010244-02' 2024-04-02 23:59:08 -- == 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,'30708','11','M24040001919','小王子彌月試吃提盒','DG010244-02','DG010244','芝麻','提盒-小王子(藍)-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-04-09','2024-04-02 17:53:19','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30708',`firm_id` = '11',`ordernumber` = 'M24040001919', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-09',`create_date` = '2024-04-02 17:53:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001919' and product_code = 'DG010244-02', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001919' and product_code = 'DG010253-05' 2024-04-02 23:59:08 -- == 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,'30708','11','M24040001919','【小王子聯名】夢想旅程8結彌月提盒(試吃)','DG010253-05','DG010253','巧克力','提盒-彌月小王子(紅)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-04-09','2024-04-02 17:53:19','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30708',`firm_id` = '11',`ordernumber` = 'M24040001919', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月小王子(紅)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-09',`create_date` = '2024-04-02 17:53:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001919' and product_code = 'DG010253-05', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24040001919' and product_code = 'DG010264-03' 2024-04-02 23:59:08 -- == 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,'30708','11','M24040001919','【SNOOPY聯名】美好食光-8結彌月提盒(試吃)','DG010264-03','DG010264','咖啡','提盒-彌月SNOOPY-40入咖啡(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-04-09','2024-04-02 17:53:19','2024-04-02 23:59:08',null,'1','2024-02-24') 2024-04-02 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30708',`firm_id` = '11',`ordernumber` = 'M24040001919', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-03',`product_sn` = 'DG010264',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月SNOOPY-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-04-09',`create_date` = '2024-04-02 17:53:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24040001919' and product_code = 'DG010264-03', `lunar_date` = '2024-02-24' 2024-04-02 23:59:08 -- == sync_order_detail end == 2024-04-02 23:59:08 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-04-02' OR o.updated_at = '2024-04-02') and o.deleted_at is null 2024-04-02 23:59:08 -- == sync_order_detail start == 2024-04-02 23:59:08 -- start:2024-04-02,end:2024-04-02 2024-04-02 23:59:09 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-04-02 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-04-02 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-04-02%';