2025-01-23 23:59:02 -- == sync_order start == 2025-01-23 23:59:02 -- start:2025-01-23,end:2025-01-23 2025-01-23 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 '2025-01-23%' OR l.modify_date like '2025-01-23%'; 2025-01-23 23:59:04 -- == sync omo_order_list == 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '431979', process_status = '3', pay_status = '1', totalprice_after = '639943', lunar_date = '2024-10-27', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24110103435' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '432331', process_status = '3', pay_status = '1', totalprice_after = '18216', lunar_date = '2024-10-29', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24110120339RB2' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '434770', process_status = '3', pay_status = '1', totalprice_after = '15760', lunar_date = '2024-11-16', invoice_status = '1',category_name = 'LINE@訂單,企業訂單', category_id = '4,9' where ordernumber = 'S24120133544RB2' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '62496', lunar_date = '2024-11-30', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24120604084' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '434770', process_status = '3', pay_status = '1', totalprice_after = '20064', lunar_date = '2024-12-01', invoice_status = '1',category_name = 'LINE@訂單,企業訂單', category_id = '4,9' where ordernumber = 'S24120661994' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '60340', process_status = '3', pay_status = '1', totalprice_after = '2461', lunar_date = '2024-12-04', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S25010055096RB' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '449036', process_status = '3', pay_status = '1', totalprice_after = '31890', lunar_date = '2024-12-14', invoice_status = '3',category_name = '', category_id = '' where ordernumber = 'O25010654662' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '220948', process_status = '1', pay_status = '0', totalprice_after = '21600', lunar_date = '2024-12-14', invoice_status = '0',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S25010667090' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '451342', process_status = '3', pay_status = '1', totalprice_after = '10990', lunar_date = '2024-12-18', invoice_status = '3',category_name = '', category_id = '' where ordernumber = 'O25010874554' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '426425', process_status = '3', pay_status = '1', totalprice_after = '1032', lunar_date = '2024-12-19', invoice_status = '1',category_name = '員購訂單', category_id = '42' where ordernumber = 'S25010893262' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '451342', process_status = '3', pay_status = '1', totalprice_after = '8265', lunar_date = '2024-12-19', invoice_status = '3',category_name = '', category_id = '' where ordernumber = 'O25010915940' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '440700', process_status = '3', pay_status = '1', totalprice_after = '1600', lunar_date = '2024-12-20', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O25010940763' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '453026', process_status = '6', pay_status = '0', totalprice_after = '14250', lunar_date = '2024-12-22', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S25010980222' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '426425', process_status = '6', pay_status = '6', totalprice_after = '15390', lunar_date = '2024-12-23', invoice_status = '0',category_name = '員購訂單', category_id = '42' where ordernumber = 'S25010407682RB2' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '453294', process_status = '1', pay_status = '1', totalprice_after = '10194', lunar_date = '2024-12-23', invoice_status = '1',category_name = 'LINE@訂單,永康當日宅配', category_id = '9,19' where ordernumber = 'S25010981381' 2025-01-23 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '452424', process_status = '6', pay_status = '6', totalprice_after = '1550', lunar_date = '2024-12-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981544' 2025-01-23 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 ('272925','310527',1,'','','O25010981719','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1595','608','嘉義縣','水上鄉','608','嘉義縣','水上鄉','1745','2025-01-23 00:13:59','2024-12-24') 2025-01-23 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 ('402562','438722',1,'','','O25010981876','2','1','1','1','1','','','0','0000-00-00','0','0','0','','280','0','500','413','台中市','霧峰區','892','金門縣','金寧鄉','780','2025-01-23 09:33:26','2024-12-24') 2025-01-23 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 ('142687','110707',1,'','','O25010981980','1','1','1','0','6','','','0','2025-02-04','0','0','0','','150','0','4425','420','台中市','豐原區','420','台中市','豐原區','4575','2025-01-23 09:49:53','2024-12-24') 2025-01-23 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','220948',1,'補寄訂單,公關訂單','7,6','S25010982042','1','8','1','7','3','','','2','2025-01-23','0','0','0','','0','0','510','403','台中市','西區','200','基隆市','仁愛區','510','2025-01-23 10:08:27','2024-12-24') 2025-01-23 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 ('390146','426425',1,'員購訂單','42','S25010407682RB3','1','1','15','1','3','83280132','牧玥科技有限公司','1','2025-01-23','0','0','0','','0','8010','23400','412','台中市','大里區','412','台中市','大里區','15390','2025-01-23 11:44:12','2024-12-24') 2025-01-23 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 ('298832','336178',1,'','','O25010982166','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','516','彰化縣','埔鹽鄉','324','桃園市','平鎮區','1590','2025-01-23 11:44:28','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417165','453205',1,'','','O25010982272','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1720','830','高雄市','鳳山區','830','高雄市','鳳山區','1870','2025-01-23 12:04:15','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417166','0',1,'LINE@訂單','9','S25010982391','1','11','1','1','1','','','0','2025-02-03','0','0','0','','150','30','1315','320','桃園市','中壢區','320','桃園市','中壢區','1435','2025-01-23 12:15:12','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417169','453352',1,'','','O25010982473','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2590','912','屏東縣','內埔鄉','912','屏東縣','內埔鄉','2710','2025-01-23 12:15:25','2024-12-24') 2025-01-23 23:59:05 -- == 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','220948',1,'公關訂單,補寄訂單','6,7','S25010982567','1','8','1','7','3','','','2','2025-01-23','0','450','0','','0','0','450','403','台中市','西區','557','南投縣','竹山鎮','0','2025-01-23 13:10:39','2024-12-24') 2025-01-23 23:59:05 -- == 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','220948',1,'公關訂單,補寄訂單','6,7','S25010982643','1','8','1','7','3','','','2','2025-01-23','0','45','0','','0','0','45','403','台中市','西區','221','新北市','汐止區','0','2025-01-23 13:12:03','2024-12-24') 2025-01-23 23:59:05 -- == 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','220948',1,'公關訂單,補寄訂單','6,7','S25010982790','1','8','1','7','3','','','2','2025-01-23','0','580','0','','0','0','580','403','台中市','西區','946','屏東縣','恆春鎮','0','2025-01-23 13:23:42','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417180','453456',1,'','','O25010982878','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','550','402','台中市','南區','300','新竹市','北區','670','2025-01-23 14:18:51','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417058','453026',1,'LINE@訂單','9','S25010980222RB','1','1','1','1','1','33848843','國防部','0','2025-02-03','0','750','0','','0','0','15000','244','新北市','林口區','244','新北市','林口區','14250','2025-01-23 14:31:10','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('141420','0',1,'電話訂單','12','S25010982966','1','2','1','0','0','61920991','有限責任行政院各部會中興地區機關暨台灣省政府聯合員工消費合作社','0','2025-02-03','0','2208','0','','0','0','44160','540','南投縣','南投市','540','南投縣','南投市','41952','2025-01-23 15:43:56','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('210549','208797',1,'','','O25010983047','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5650','709','台南市','安南區','709','台南市','安南區','5650','2025-01-23 15:54:21','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('390146','426425',1,'員購訂單','42','S25010983141','1','13','15','1','3','','','1','2025-01-23','0','0','96','','0','0','480','412','台中市','大里區','412','台中市','大里區','384','2025-01-23 16:04:36','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('411209','447262',1,'','','O25010983230','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','701','台南市','東區','422','台中市','石岡區','600','2025-01-23 16:25:00','2024-12-24') 2025-01-23 23:59:05 -- == 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','220948',1,'插單群訂單,永康當日宅配','14,19','S25010983368','1','1','14','1','1','','','0','2025-01-26','0','1522','0','','0','0','30450','106','台北市','大安區','106','台北市','大安區','28928','2025-01-23 17:46:34','2024-12-24') 2025-01-23 23:59:05 -- == 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','220948',1,'公關訂單,補寄訂單','6,7','S25010983413','1','8','1','7','1','','','2','2025-01-24','0','1200','0','','0','0','1200','403','台中市','西區','302','新竹縣','竹北市','0','2025-01-23 18:00:31','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417365','453631',1,'','','O25010983593','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','807','高雄市','三民區','807','高雄市','三民區','620','2025-01-23 18:05:32','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417385','453651',1,'','','O25010983669','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','290','243','新北市','泰山區','243','新北市','泰山區','410','2025-01-23 19:26:45','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417388','453654',1,'','','O25010983785','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1120','328','桃園市','觀音區','328','桃園市','觀音區','1240','2025-01-23 19:39:38','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('285795','323299',1,'','','O25010983829','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1720','265','宜蘭縣','羅東鎮','265','宜蘭縣','羅東鎮','1870','2025-01-23 20:09:09','2024-12-24') 2025-01-23 23:59:05 -- == 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 ('417406','453669',1,'','','O25010983926','1','11','1','1','1','94998251','勤業眾信聯合會計師事務所','0','0000-00-00','0','0','0','','150','30','1780','106','台北市','大安區','106','台北市','大安區','1900','2025-01-23 23:57:23','2024-12-24') 2025-01-23 23:59:05 -- == sync_order end == 2025-01-23 23:59:05 -- == sync_order_detail start == 2025-01-23 23:59:05 -- start:2025-01-23,end:2025-01-23 2025-01-23 23:59:05 -- == sync omo_order_detail == 2025-01-23 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-23%' OR modify_date like '2025-01-23%' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110103435' and product_code = 'DG0105116-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251349',`firm_id` = '8',`ordernumber` = 'S24110103435', `product_name` = '金典8結腰果脆糖禮盒',`product_code` = 'DG0105116-01',`product_sn` = 'DG0105116',`product_spec` = '原味蛋捲+腰果脆糖',`invoice_name` = '禮盒-金典(紅)【原味+腰果脆糖提盒】',`listprice` = '795',`sellingprice` = '795',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '936',`total_price` = '744120',`etd` = '2024-12-13',`create_date` = '2024-11-27 11:39:34',`modify_date` = '2025-01-23 14:16:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-27'where ordernumber = 'S24110103435' and product_code = 'DG0105116-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251539',`firm_id` = '8',`ordernumber` = 'S24110120339RB2', `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` = '13',`total_price` = '3835',`etd` = '2024-12-14',`create_date` = '2024-11-29 15:08:59',`modify_date` = '2025-01-23 17:22:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-29'where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-02' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251539',`firm_id` = '8',`ordernumber` = 'S24110120339RB2', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3835',`etd` = '2024-12-14',`create_date` = '2024-11-29 15:08:59',`modify_date` = '2025-01-23 17:22:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-29'where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-02' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-03' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251539',`firm_id` = '8',`ordernumber` = 'S24110120339RB2', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3835',`etd` = '2024-12-14',`create_date` = '2024-11-29 15:08:59',`modify_date` = '2025-01-23 17:22:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-29'where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-03' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-04' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251539',`firm_id` = '8',`ordernumber` = 'S24110120339RB2', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-04',`product_sn` = 'DG010258',`product_spec` = '40入海苔蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入海苔',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3835',`etd` = '2024-12-14',`create_date` = '2024-11-29 15:08:59',`modify_date` = '2025-01-23 17:22:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-29'where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-04' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-05' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251539',`firm_id` = '8',`ordernumber` = 'S24110120339RB2', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3835',`etd` = '2024-12-14',`create_date` = '2024-11-29 15:08:59',`modify_date` = '2025-01-23 17:22:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-29'where ordernumber = 'S24110120339RB2' and product_code = 'DG010258-05' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120133544RB2' and product_code = 'DG010312-03' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '254070',`firm_id` = '8',`ordernumber` = 'S24120133544RB2', `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` = '30',`total_price` = '14400',`etd` = '2025-01-14',`create_date` = '2024-12-11 15:29:43',`modify_date` = '2025-01-23 09:06:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-11'where ordernumber = 'S24120133544RB2' and product_code = 'DG010312-03' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120604084' and product_code = 'DG010312-10' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '257861',`firm_id` = '8',`ordernumber` = 'S24120604084', `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` = '20',`total_price` = '9600',`etd` = '2025-01-06',`create_date` = '2024-12-30 10:26:25',`modify_date` = '2025-01-23 15:45:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-30'where ordernumber = 'S24120604084' and product_code = 'DG010312-10' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120604084' and product_code = 'DG010312-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '257861',`firm_id` = '8',`ordernumber` = 'S24120604084', `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` = '40',`total_price` = '19200',`etd` = '2025-01-06',`create_date` = '2024-12-30 10:26:25',`modify_date` = '2025-01-23 15:45:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-30'where ordernumber = 'S24120604084' and product_code = 'DG010312-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120604084' and product_code = 'DG010312-15' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '257861',`firm_id` = '8',`ordernumber` = 'S24120604084', `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` = '20',`total_price` = '9600',`etd` = '2025-01-06',`create_date` = '2024-12-30 10:26:25',`modify_date` = '2025-01-23 15:45:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-30'where ordernumber = 'S24120604084' and product_code = 'DG010312-15' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120604084' and product_code = 'DG010312-06' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '257861',`firm_id` = '8',`ordernumber` = 'S24120604084', `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` = '40',`total_price` = '19200',`etd` = '2025-01-06',`create_date` = '2024-12-30 10:26:25',`modify_date` = '2025-01-23 15:45:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-30'where ordernumber = 'S24120604084' and product_code = 'DG010312-06' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120604084' and product_code = 'DG010312-13' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '257861',`firm_id` = '8',`ordernumber` = 'S24120604084', `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` = '20',`total_price` = '9600',`etd` = '2025-01-06',`create_date` = '2024-12-30 10:26:25',`modify_date` = '2025-01-23 15:45:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-30'where ordernumber = 'S24120604084' and product_code = 'DG010312-13' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120661994' and product_code = 'DG010312-03' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258464',`firm_id` = '8',`ordernumber` = 'S24120661994', `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` = '44',`total_price` = '21120',`etd` = '2025-01-07',`create_date` = '2024-12-31 14:31:43',`modify_date` = '2025-01-23 09:06:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120661994' and product_code = 'DG010312-03' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120661994' and product_code = 'ZP010554-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258464',`firm_id` = '8',`ordernumber` = 'S24120661994', `product_name` = '贈品-SNOOPY美好提袋+SNOOPY熱壓三明治機',`product_code` = 'ZP010554-01',`product_sn` = 'ZP010554',`product_spec` = '贈品-SNOOPY熱壓三明治機+贈品-SNOOPY美好提袋',`invoice_name` = '贈品-SNOOPY美好提袋+SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2025-01-07',`create_date` = '2024-12-31 14:31:43',`modify_date` = '2025-01-23 09:06:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120661994' and product_code = 'ZP010554-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010055096RB' and product_code = 'DG010101-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '260046',`firm_id` = '8',`ordernumber` = 'S25010055096RB', `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` = '5',`total_price` = '1400',`etd` = '2025-01-23',`create_date` = '2025-01-02 11:46:14',`modify_date` = '2025-01-23 12:58:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-03'where ordernumber = 'S25010055096RB' and product_code = 'DG010101-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010055096RB' and product_code = 'DG010101-03' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '260046',`firm_id` = '8',`ordernumber` = 'S25010055096RB', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2025-01-23',`create_date` = '2025-01-02 11:46:14',`modify_date` = '2025-01-23 12:58:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-03'where ordernumber = 'S25010055096RB' and product_code = 'DG010101-03' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010055096RB' and product_code = 'DG010101-04' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '260046',`firm_id` = '8',`ordernumber` = 'S25010055096RB', `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` = '1',`total_price` = '280',`etd` = '2025-01-23',`create_date` = '2025-01-02 11:46:14',`modify_date` = '2025-01-23 12:58:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-03'where ordernumber = 'S25010055096RB' and product_code = 'DG010101-04' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010055096RB' and product_code = 'DG010404-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '260046',`firm_id` = '8',`ordernumber` = 'S25010055096RB', `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` = '2',`total_price` = '20',`etd` = '2025-01-23',`create_date` = '2025-01-02 11:46:14',`modify_date` = '2025-01-23 12:58:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-03'where ordernumber = 'S25010055096RB' and product_code = 'DG010404-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010055096RB' and product_code = 'DG010432-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '260046',`firm_id` = '8',`ordernumber` = 'S25010055096RB', `product_name` = '加購-塑膠袋(小)',`product_code` = 'DG010432-01',`product_sn` = 'DG010432',`product_spec` = '加購-塑膠袋(小)',`invoice_name` = '加購-塑膠袋(小)',`listprice` = '1',`sellingprice` = '1',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1',`etd` = '2025-01-23',`create_date` = '2025-01-02 11:46:14',`modify_date` = '2025-01-23 12:58:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-03'where ordernumber = 'S25010055096RB' and product_code = 'DG010432-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010654662' and product_code = 'DG010312-02' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '265449',`firm_id` = '8',`ordernumber` = 'O25010654662', `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` = '70',`total_price` = '33600',`etd` = '2025-01-17',`create_date` = '2025-01-13 15:09:54',`modify_date` = '2025-01-23 17:31:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-14'where ordernumber = 'O25010654662' and product_code = 'DG010312-02' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010667090' and product_code = 'DG010312-02' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '265581',`firm_id` = '8',`ordernumber` = 'S25010667090', `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` = '50',`total_price` = '24000',`etd` = '2025-01-14',`create_date` = '2025-01-13 19:03:50',`modify_date` = '2025-01-23 16:40:42',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-14'where ordernumber = 'S25010667090' and product_code = 'DG010312-02' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010874554' and product_code = 'DG010527-02' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267726',`firm_id` = '8',`ordernumber` = 'O25010874554', `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` = '40',`total_price` = '11600',`etd` = '2025-01-20',`create_date` = '2025-01-17 18:15:13',`modify_date` = '2025-01-23 17:33:41',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010874554' and product_code = 'DG010527-02' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010893262' and product_code = 'DG010312-02' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267915',`firm_id` = '8',`ordernumber` = 'S25010893262', `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` = '2',`total_price` = '960',`etd` = '2025-01-23',`create_date` = '2025-01-18 08:35:54',`modify_date` = '2025-01-23 13:08:32',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-19'where ordernumber = 'S25010893262' and product_code = 'DG010312-02' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010893262' and product_code = 'FL010102-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267915',`firm_id` = '8',`ordernumber` = 'S25010893262', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '330',`etd` = '2025-01-23',`create_date` = '2025-01-18 08:35:54',`modify_date` = '2025-01-23 13:08:32',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-19'where ordernumber = 'S25010893262' and product_code = 'FL010102-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010915940' and product_code = 'DG010527-02' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268142',`firm_id` = '8',`ordernumber` = 'O25010915940', `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` = '30',`total_price` = '8700',`etd` = '2025-01-21',`create_date` = '2025-01-18 18:14:02',`modify_date` = '2025-01-23 17:33:02',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-19'where ordernumber = 'O25010915940' and product_code = 'DG010527-02' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010940763' and product_code = 'DG0103148-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268390',`firm_id` = '8',`ordernumber` = 'O25010940763', `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` = '1',`total_price` = '480',`etd` = '2025-01-21',`create_date` = '2025-01-19 11:17:31',`modify_date` = '2025-01-23 13:04:48',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-20'where ordernumber = 'O25010940763' and product_code = 'DG0103148-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010940763' and product_code = 'DG0103188-09' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268390',`firm_id` = '8',`ordernumber` = 'O25010940763', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2025-01-21',`create_date` = '2025-01-19 11:17:31',`modify_date` = '2025-01-23 13:04:48',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-20'where ordernumber = 'O25010940763' and product_code = 'DG0103188-09' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010940763' and product_code = 'DG0103188-06' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268390',`firm_id` = '8',`ordernumber` = 'O25010940763', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-06',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2025-01-21',`create_date` = '2025-01-19 11:17:31',`modify_date` = '2025-01-23 13:04:48',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-20'where ordernumber = 'O25010940763' and product_code = 'DG0103188-06' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010407682RB2' and product_code = 'DG010132-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268822',`firm_id` = '8',`ordernumber` = 'S25010407682RB2', `product_name` = '32入東方美人茶蛋捲',`product_code` = 'DG010132-01',`product_sn` = 'DG010132',`product_spec` = '單盒',`invoice_name` = '東方美人茶小盒',`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` = '2025-01-15',`create_date` = '2025-01-08 12:40:20',`modify_date` = '2025-01-23 11:44:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010407682RB2' and product_code = 'DG010132-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010407682RB2' and product_code = 'DG010312-15' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268822',`firm_id` = '8',`ordernumber` = 'S25010407682RB2', `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` = '30',`total_price` = '14400',`etd` = '2025-01-15',`create_date` = '2025-01-08 12:40:20',`modify_date` = '2025-01-23 11:44:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010407682RB2' and product_code = 'DG010312-15' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010981381' and product_code = '13656' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268829',`firm_id` = '8',`ordernumber` = 'S25010981381', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '5510',`etd` = '2025-02-04',`create_date` = '2025-01-22 18:01:07',`modify_date` = '2025-01-23 14:08:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-23'where ordernumber = 'S25010981381' and product_code = '13656' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010981381' and product_code = '13657' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268829',`firm_id` = '8',`ordernumber` = 'S25010981381', `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` = '18',`total_price` = '5220',`etd` = '2025-02-04',`create_date` = '2025-01-22 18:01:07',`modify_date` = '2025-01-23 14:08:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-23'where ordernumber = 'S25010981381' and product_code = '13657' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010981544' and product_code = 'DG010101-01' 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268831',`firm_id` = '8',`ordernumber` = 'O25010981544', `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` = '5',`total_price` = '1400',`etd` = '2025-02-03',`create_date` = '2025-01-22 22:52:30',`modify_date` = '2025-01-23 09:10:35',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-23'where ordernumber = 'O25010981544' and product_code = 'DG010101-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010981719' and product_code = 'DG010315-01' 2025-01-23 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,'268833','8','O25010981719','金8結肉酥酥禮盒','DG010315-01','DG010315','原味肉酥酥【原味蛋捲】','禮盒-金8結【原味+原味肉酥酥】','555','555','0','0','0','0','1','555.0','1','555','2025-02-03','2025-01-23 00:13:59','2025-01-23 23:59:07',null,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268833',`firm_id` = '8',`ordernumber` = 'O25010981719', `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` = '2025-02-03',`create_date` = '2025-01-23 00:13:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010981719' and product_code = 'DG010315-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010981719' and product_code = 'DG0103181-24' 2025-01-23 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,'268833','8','O25010981719','8結隨享茶點禮盒','DG0103181-24','DG0103181','芝麻+巧克力,鳳梨酥,鳳梅酥','禮盒-隨享茶點【芝麻+巧克力】【鳳梨酥+鳳梅酥】','560','560','0','0','0','0','1','0.0','1','560','2025-02-03','2025-01-23 00:13:59','2025-01-23 23:59:07',null,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268833',`firm_id` = '8',`ordernumber` = 'O25010981719', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-24',`product_sn` = 'DG0103181',`product_spec` = '芝麻+巧克力,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-隨享茶點【芝麻+巧克力】【鳳梨酥+鳳梅酥】',`listprice` = '560',`sellingprice` = '560',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '560',`etd` = '2025-02-03',`create_date` = '2025-01-23 00:13:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010981719' and product_code = 'DG0103181-24' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010981719' and product_code = 'DG010312-05' 2025-01-23 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,'268833','8','O25010981719','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 00:13:59','2025-01-23 23:59:07',null,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268833',`firm_id` = '8',`ordernumber` = 'O25010981719', `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` = '2025-02-03',`create_date` = '2025-01-23 00:13:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010981719' and product_code = 'DG010312-05' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010981876' and product_code = 'DG0103188-12' 2025-01-23 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,'268834','8','O25010981876','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-12','DG0103188','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2025-02-03','2025-01-23 09:33:26','2025-01-23 23:59:07',null,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268834',`firm_id` = '8',`ordernumber` = 'O25010981876', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-12',`product_sn` = 'DG0103188',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2025-02-03',`create_date` = '2025-01-23 09:33:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010981876' and product_code = 'DG0103188-12' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010981980' and product_code = 'DG010206-05' 2025-01-23 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,'268835','8','O25010981980','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','15','4425','2025-02-04','2025-01-23 09:49:53','2025-01-23 23:59:07',null,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268835',`firm_id` = '8',`ordernumber` = 'O25010981980', `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` = '15',`total_price` = '4425',`etd` = '2025-02-04',`create_date` = '2025-01-23 09:49:53',`modify_date` = '2025-01-23 11:45:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010981980' and product_code = 'DG010206-05' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982042' and product_code = 'FL010308-01' 2025-01-23 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,'268836','8','S25010982042','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','495','495','0','0','0','0','1','0.0','1','495','2025-01-23','2025-01-23 10:08:27','2025-01-23 23:59:07',0,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268836',`firm_id` = '8',`ordernumber` = 'S25010982042', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`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` = '2025-01-23',`create_date` = '2025-01-23 10:08:27',`modify_date` = '2025-01-23 10:42:06',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982042' and product_code = 'FL010308-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982042' and product_code = 'DG010405-01' 2025-01-23 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,'268836','8','S25010982042','單入紅提盒','DG010405-01','DG010405','單入紅提盒包材','單入紅提盒','15','15','0','0','0','0','1','0.0','1','15','2025-01-23','2025-01-23 10:08:27','2025-01-23 23:59:07',0,'1','2024-12-24') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268836',`firm_id` = '8',`ordernumber` = 'S25010982042', `product_name` = '單入紅提盒',`product_code` = 'DG010405-01',`product_sn` = 'DG010405',`product_spec` = '單入紅提盒包材',`invoice_name` = '單入紅提盒',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '15',`etd` = '2025-01-23',`create_date` = '2025-01-23 10:08:27',`modify_date` = '2025-01-23 10:42:06',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982042' and product_code = 'DG010405-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010407682RB3' and product_code = 'DG010132-01' 2025-01-23 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,'268837','8','S25010407682RB3','32入東方美人茶蛋捲','DG010132-01','DG010132','單盒','東方美人茶小盒','300','300','0','0','0','0','1','0.0','30','9000','2025-01-23','2025-01-08 12:40:20','2025-01-23 23:59:07',0,'1','2024-12-09') 2025-01-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268837',`firm_id` = '8',`ordernumber` = 'S25010407682RB3', `product_name` = '32入東方美人茶蛋捲',`product_code` = 'DG010132-01',`product_sn` = 'DG010132',`product_spec` = '單盒',`invoice_name` = '東方美人茶小盒',`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` = '2025-01-23',`create_date` = '2025-01-08 12:40:20',`modify_date` = '2025-01-23 13:05:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010407682RB3' and product_code = 'DG010132-01' 2025-01-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010407682RB3' and product_code = 'DG010312-15' 2025-01-23 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, 1,'268837','8','S25010407682RB3','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','30','14400','2025-01-23','2025-01-08 12:40:20','2025-01-23 23:59:07',0,'1','2024-12-09') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268837',`firm_id` = '8',`ordernumber` = 'S25010407682RB3', `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` = '30',`total_price` = '14400',`etd` = '2025-01-23',`create_date` = '2025-01-08 12:40:20',`modify_date` = '2025-01-23 13:05:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010407682RB3' and product_code = 'DG010312-15' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982166' and product_code = 'DG010312-02' 2025-01-23 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, 1,'268838','8','O25010982166','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 11:44:28','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268838',`firm_id` = '8',`ordernumber` = 'O25010982166', `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` = '2025-02-03',`create_date` = '2025-01-23 11:44:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982166' and product_code = 'DG010312-02' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982166' and product_code = 'DG010312-09' 2025-01-23 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, 1,'268838','8','O25010982166','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 11:44:28','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268838',`firm_id` = '8',`ordernumber` = 'O25010982166', `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` = '2025-02-03',`create_date` = '2025-01-23 11:44:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982166' and product_code = 'DG010312-09' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982166' and product_code = 'DG010312-07' 2025-01-23 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, 1,'268838','8','O25010982166','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 11:44:28','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268838',`firm_id` = '8',`ordernumber` = 'O25010982166', `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` = '2025-02-03',`create_date` = '2025-01-23 11:44:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982166' and product_code = 'DG010312-07' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982272' and product_code = 'DG010312-02' 2025-01-23 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, 1,'268839','8','O25010982272','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2025-02-03','2025-01-23 12:04:15','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268839',`firm_id` = '8',`ordernumber` = 'O25010982272', `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` = '2',`total_price` = '960',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:04:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982272' and product_code = 'DG010312-02' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982272' and product_code = 'DG010312-09' 2025-01-23 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, 1,'268839','8','O25010982272','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 12:04:15','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268839',`firm_id` = '8',`ordernumber` = 'O25010982272', `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` = '2025-02-03',`create_date` = '2025-01-23 12:04:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982272' and product_code = 'DG010312-09' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982272' and product_code = 'DG010101-04' 2025-01-23 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, 1,'268839','8','O25010982272','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-23 12:04:15','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268839',`firm_id` = '8',`ordernumber` = 'O25010982272', `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` = '1',`total_price` = '280',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:04:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982272' and product_code = 'DG010101-04' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982391' and product_code = 'DG010312-09' 2025-01-23 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, 1,'268840','8','S25010982391','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2025-02-03','2025-01-23 12:15:12','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268840',`firm_id` = '8',`ordernumber` = 'S25010982391', `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` = '2',`total_price` = '960',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:15:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982391' and product_code = 'DG010312-09' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982391' and product_code = 'FL010104-01' 2025-01-23 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, 1,'268840','8','S25010982391','加購-一口鳳梨酥','FL010104-01','FL010104','8入鳳梨酥','加購-(盒)鳳梨酥','155','155','0','0','0','1','1','0.0','1','155','2025-02-03','2025-01-23 12:15:12','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268840',`firm_id` = '8',`ordernumber` = 'S25010982391', `product_name` = '加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:15:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982391' and product_code = 'FL010104-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982391' and product_code = 'LS010104-01' 2025-01-23 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, 1,'268840','8','S25010982391','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','200','200','0','0','0','0','1','0.0','1','200','2025-02-03','2025-01-23 12:15:12','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268840',`firm_id` = '8',`ordernumber` = 'S25010982391', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '200',`sellingprice` = '200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '200',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:15:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982391' and product_code = 'LS010104-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982473' and product_code = 'DG010101-01' 2025-01-23 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, 1,'268841','8','O25010982473','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-03','2025-01-23 12:15:25','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268841',`firm_id` = '8',`ordernumber` = 'O25010982473', `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` = '2025-02-03',`create_date` = '2025-01-23 12:15:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982473' and product_code = 'DG010101-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982473' and product_code = 'DG010312-02' 2025-01-23 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, 1,'268841','8','O25010982473','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 12:15:25','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268841',`firm_id` = '8',`ordernumber` = 'O25010982473', `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` = '2025-02-03',`create_date` = '2025-01-23 12:15:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982473' and product_code = 'DG010312-02' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982473' and product_code = 'DG010312-03' 2025-01-23 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, 1,'268841','8','O25010982473','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 12:15:25','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268841',`firm_id` = '8',`ordernumber` = 'O25010982473', `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` = '2025-02-03',`create_date` = '2025-01-23 12:15:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982473' and product_code = 'DG010312-03' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982473' and product_code = 'DG010312-05' 2025-01-23 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, 1,'268841','8','O25010982473','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 12:15:25','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268841',`firm_id` = '8',`ordernumber` = 'O25010982473', `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` = '2025-02-03',`create_date` = '2025-01-23 12:15:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982473' and product_code = 'DG010312-05' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982473' and product_code = 'ZS010201-03' 2025-01-23 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, 1,'268841','8','O25010982473','提盒裝肉酥酥','ZS010201-03','ZS010201','辣味+辣味','提盒-肉酥酥【辣味】','300','300','0','0','0','0','1','300.0','1','300','2025-02-03','2025-01-23 12:15:25','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268841',`firm_id` = '8',`ordernumber` = 'O25010982473', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-03',`product_sn` = 'ZS010201',`product_spec` = '辣味+辣味',`invoice_name` = '提盒-肉酥酥【辣味】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:15:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982473' and product_code = 'ZS010201-03' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982473' and product_code = '03951' 2025-01-23 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, 1,'268841','8','O25010982473','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','1','290','2025-02-03','2025-01-23 12:15:25','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268841',`firm_id` = '8',`ordernumber` = 'O25010982473', `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2025-02-03',`create_date` = '2025-01-23 12:15:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982473' and product_code = '03951' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982567' and product_code = 'DG010113-01' 2025-01-23 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, 1,'268842','8','S25010982567','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','2','450','2025-01-23','2025-01-23 13:10:39','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268842',`firm_id` = '8',`ordernumber` = 'S25010982567', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '450',`etd` = '2025-01-23',`create_date` = '2025-01-23 13:10:39',`modify_date` = '2025-01-23 14:35:25',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982567' and product_code = 'DG010113-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982643' and product_code = 'DG010405-01' 2025-01-23 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, 1,'268843','8','S25010982643','單入紅提盒','DG010405-01','DG010405','單入紅提盒包材','單入紅提盒','15','15','0','0','0','0','1','0.0','3','45','2025-01-23','2025-01-23 13:12:03','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268843',`firm_id` = '8',`ordernumber` = 'S25010982643', `product_name` = '單入紅提盒',`product_code` = 'DG010405-01',`product_sn` = 'DG010405',`product_spec` = '單入紅提盒包材',`invoice_name` = '單入紅提盒',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '45',`etd` = '2025-01-23',`create_date` = '2025-01-23 13:12:03',`modify_date` = '2025-01-23 14:34:50',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982643' and product_code = 'DG010405-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982790' and product_code = '03951' 2025-01-23 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, 1,'268844','8','S25010982790','加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','25入芝麻糕分享包','(紅袋)芝麻糕','290','290','0','0','0','1','1','0.0','2','580','2025-01-23','2025-01-23 13:23:42','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268844',`firm_id` = '8',`ordernumber` = 'S25010982790', `product_name` = '加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '25入芝麻糕分享包',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2025-01-23',`create_date` = '2025-01-23 13:23:42',`modify_date` = '2025-01-23 14:34:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982790' and product_code = '03951' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982878' and product_code = 'DG010265-02' 2025-01-23 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, 1,'268845','8','O25010982878','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-02','DG010265','芝麻','提盒-SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2025-02-03','2025-01-23 14:18:51','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268845',`firm_id` = '8',`ordernumber` = 'O25010982878', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`product_spec` = '芝麻',`invoice_name` = '提盒-SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-03',`create_date` = '2025-01-23 14:18:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982878' and product_code = 'DG010265-02' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010982878' and product_code = 'BP010185-01' 2025-01-23 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, 1,'268845','8','O25010982878','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2025-02-03','2025-01-23 14:18:51','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268845',`firm_id` = '8',`ordernumber` = 'O25010982878', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2025-02-03',`create_date` = '2025-01-23 14:18:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010982878' and product_code = 'BP010185-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010980222RB' and product_code = 'DG010394-12' 2025-01-23 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, 1,'268846','8','S25010980222RB','【官網限定】游魚轉心瓶8結蛋捲禮盒','DG010394-12','DG010394','咖啡蛋捲.巧克力蛋捲','禮盒-故宮(文物款)【咖啡+巧克力】','500','500','0','0','0','0','1','0.0','30','15000','2025-02-03','2025-01-21 17:54:39','2025-01-23 23:59:08',0,'1','2024-12-22') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268846',`firm_id` = '8',`ordernumber` = 'S25010980222RB', `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` = '30',`total_price` = '15000',`etd` = '2025-02-03',`create_date` = '2025-01-21 17:54:39',`modify_date` = '2025-01-23 15:35:28',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-22'where ordernumber = 'S25010980222RB' and product_code = 'DG010394-12' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982966' and product_code = 'DG010312-01' 2025-01-23 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, 1,'268847','8','S25010982966','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','20','9600','2025-02-03','2025-01-23 15:43:56','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268847',`firm_id` = '8',`ordernumber` = 'S25010982966', `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` = '20',`total_price` = '9600',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:43:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982966' and product_code = 'DG010312-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982966' and product_code = 'DG010312-15' 2025-01-23 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, 1,'268847','8','S25010982966','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','20','9600','2025-02-03','2025-01-23 15:43:56','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268847',`firm_id` = '8',`ordernumber` = 'S25010982966', `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` = '20',`total_price` = '9600',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:43:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982966' and product_code = 'DG010312-15' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982966' and product_code = 'DG010312-06' 2025-01-23 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, 1,'268847','8','S25010982966','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','20','9600','2025-02-03','2025-01-23 15:43:56','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268847',`firm_id` = '8',`ordernumber` = 'S25010982966', `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` = '20',`total_price` = '9600',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:43:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982966' and product_code = 'DG010312-06' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982966' and product_code = 'DG010312-13' 2025-01-23 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, 1,'268847','8','S25010982966','【海苔+海苔】金8結禮盒','DG010312-13','DG010312','金8結盒','禮盒-金8結【海苔+海苔】','590','480','0','0','0','0','1','480.0','16','7680','2025-02-03','2025-01-23 15:43:56','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268847',`firm_id` = '8',`ordernumber` = 'S25010982966', `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` = '16',`total_price` = '7680',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:43:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982966' and product_code = 'DG010312-13' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982966' and product_code = 'DG010312-10' 2025-01-23 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, 1,'268847','8','S25010982966','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','16','7680','2025-02-03','2025-01-23 15:43:56','2025-01-23 23:59:08',0,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268847',`firm_id` = '8',`ordernumber` = 'S25010982966', `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` = '16',`total_price` = '7680',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:43:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982966' and product_code = 'DG010312-10' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010982966' and product_code = 'DG010404-01' 2025-01-23 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, 1,'268847','8','S25010982966','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','0','1','0','0','0','1','0.0','184','0','2025-02-03','2025-01-23 15:43:56','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268847',`firm_id` = '8',`ordernumber` = 'S25010982966', `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` = '184',`total_price` = '0',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:43:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010982966' and product_code = 'DG010404-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983047' and product_code = 'DG010312-05' 2025-01-23 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, 1,'268848','8','O25010983047','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','5','2400','2025-02-03','2025-01-23 15:54:21','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268848',`firm_id` = '8',`ordernumber` = 'O25010983047', `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` = '5',`total_price` = '2400',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:54:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983047' and product_code = 'DG010312-05' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983047' and product_code = 'DG010206-01' 2025-01-23 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, 1,'268848','8','O25010983047','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','5','1475','2025-02-03','2025-01-23 15:54:21','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268848',`firm_id` = '8',`ordernumber` = 'O25010983047', `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` = '5',`total_price` = '1475',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:54:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983047' and product_code = 'DG010206-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983047' and product_code = 'DG010206-05' 2025-01-23 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, 1,'268848','8','O25010983047','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','5','1475','2025-02-03','2025-01-23 15:54:21','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268848',`firm_id` = '8',`ordernumber` = 'O25010983047', `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` = '5',`total_price` = '1475',`etd` = '2025-02-03',`create_date` = '2025-01-23 15:54:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983047' and product_code = 'DG010206-05' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983047' and product_code = 'TG010117-01' 2025-01-23 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, 1,'268848','8','O25010983047','分享包-南棗核桃糕','TG010117-01','TG010117','25入核棗糕分享包','(紅袋)南棗核桃糕','300','300','0','0','0','0','1','0.0','1','300','2025-02-03','2025-01-23 15:54:21','2025-01-23 23:59:08',null,'1','2024-12-24') 2025-01-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268848',`firm_id` = '8',`ordernumber` = 'O25010983047', `product_name` = '分享包-南棗核桃糕',`product_code` = 'TG010117-01',`product_sn` = 'TG010117',`product_spec` = '25入核棗糕分享包',`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` = '2025-02-03',`create_date` = '2025-01-23 15:54:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983047' and product_code = 'TG010117-01' 2025-01-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983141' and product_code = 'DG010312-06' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268849','8','S25010983141','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2025-01-23','2025-01-23 16:04:36','2025-01-23 23:59:09',0,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268849',`firm_id` = '8',`ordernumber` = 'S25010983141', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2025-01-23',`create_date` = '2025-01-23 16:04:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983141' and product_code = 'DG010312-06' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983230' and product_code = 'DG010312-03' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268850','8','O25010983230','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-23 16:25:00','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268850',`firm_id` = '8',`ordernumber` = 'O25010983230', `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` = '2025-02-03',`create_date` = '2025-01-23 16:25:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983230' and product_code = 'DG010312-03' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13656' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268851','8','S25010983368','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','15','4350','2025-01-26','2025-01-23 17:46:34','2025-01-23 23:59:09',0,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4350',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13656' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13658' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268851','8','S25010983368','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','15','4350','2025-01-26','2025-01-23 17:46:34','2025-01-23 23:59:09',0,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`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` = '15',`total_price` = '4350',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13658' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13659' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268851','8','S25010983368','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','40','11600','2025-01-26','2025-01-23 17:46:34','2025-01-23 23:59:09',0,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`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` = '40',`total_price` = '11600',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13659' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13660' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268851','8','S25010983368','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','35','10150','2025-01-26','2025-01-23 17:46:34','2025-01-23 23:59:09',0,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`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` = '35',`total_price` = '10150',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13660' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983413' and product_code = 'ZS010201-01' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268852','8','S25010983413','提盒裝肉酥酥','ZS010201-01','ZS010201','原味+原味','提盒-肉酥酥【原味】','300','300','0','0','0','0','1','300.0','4','1200','2025-01-24','2025-01-23 18:00:31','2025-01-23 23:59:09',0,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268852',`firm_id` = '8',`ordernumber` = 'S25010983413', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-01',`product_sn` = 'ZS010201',`product_spec` = '原味+原味',`invoice_name` = '提盒-肉酥酥【原味】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '4',`total_price` = '1200',`etd` = '2025-01-24',`create_date` = '2025-01-23 18:00:31',`modify_date` = '2025-01-23 18:06:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983413' and product_code = 'ZS010201-01' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983593' and product_code = 'DG0103188-09' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268853','8','O25010983593','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2025-02-03','2025-01-23 18:05:32','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268853',`firm_id` = '8',`ordernumber` = 'O25010983593', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2025-02-03',`create_date` = '2025-01-23 18:05:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983593' and product_code = 'DG0103188-09' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983669' and product_code = 'DG010101-01' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268854','8','O25010983669','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-23 19:26:45','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268854',`firm_id` = '8',`ordernumber` = 'O25010983669', `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` = '2025-02-03',`create_date` = '2025-01-23 19:26:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983669' and product_code = 'DG010101-01' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983669' and product_code = 'DG010404-01' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268854','8','O25010983669','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','1','10','2025-02-03','2025-01-23 19:26:45','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268854',`firm_id` = '8',`ordernumber` = 'O25010983669', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2025-02-03',`create_date` = '2025-01-23 19:26:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983669' and product_code = 'DG010404-01' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983785' and product_code = 'DG010101-05' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268855','8','O25010983785','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-23 19:39:38','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268855',`firm_id` = '8',`ordernumber` = 'O25010983785', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2025-02-03',`create_date` = '2025-01-23 19:39:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983785' and product_code = 'DG010101-05' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983785' and product_code = 'DG010101-02' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268855','8','O25010983785','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-03','2025-01-23 19:39:38','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268855',`firm_id` = '8',`ordernumber` = 'O25010983785', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2025-02-03',`create_date` = '2025-01-23 19:39:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983785' and product_code = 'DG010101-02' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983785' and product_code = 'DG010101-03' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268855','8','O25010983785','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-23 19:39:38','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268855',`firm_id` = '8',`ordernumber` = 'O25010983785', `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` = '2025-02-03',`create_date` = '2025-01-23 19:39:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983785' and product_code = 'DG010101-03' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983829' and product_code = '13659' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268856','8','O25010983829','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2025-02-03','2025-01-23 20:09:09','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268856',`firm_id` = '8',`ordernumber` = 'O25010983829', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`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` = '2',`total_price` = '580',`etd` = '2025-02-03',`create_date` = '2025-01-23 20:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983829' and product_code = '13659' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983829' and product_code = '13656' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268856','8','O25010983829','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2025-02-03','2025-01-23 20:09:09','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268856',`firm_id` = '8',`ordernumber` = 'O25010983829', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2025-02-03',`create_date` = '2025-01-23 20:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983829' and product_code = '13656' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983829' and product_code = '13045' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268856','8','O25010983829','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','4','560','2025-02-03','2025-01-23 20:09:09','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268856',`firm_id` = '8',`ordernumber` = 'O25010983829', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '4',`total_price` = '560',`etd` = '2025-02-03',`create_date` = '2025-01-23 20:09:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983829' and product_code = '13045' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983926' and product_code = 'DG010527-01' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268857','8','O25010983926','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2025-02-03','2025-01-23 23:57:23','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268857',`firm_id` = '8',`ordernumber` = 'O25010983926', `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` = '2',`total_price` = '580',`etd` = '2025-02-03',`create_date` = '2025-01-23 23:57:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983926' and product_code = 'DG010527-01' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983926' and product_code = 'DG010265-03' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268857','8','O25010983926','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-03','DG010265','咖啡','提盒-SNOOPY(粉)-40入咖啡','300','300','0','0','0','0','1','0.0','2','600','2025-02-03','2025-01-23 23:57:23','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268857',`firm_id` = '8',`ordernumber` = 'O25010983926', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-03',`product_sn` = 'DG010265',`product_spec` = '咖啡',`invoice_name` = '提盒-SNOOPY(粉)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2025-02-03',`create_date` = '2025-01-23 23:57:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983926' and product_code = 'DG010265-03' 2025-01-23 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010983926' and product_code = 'DG010265-01' 2025-01-23 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'268857','8','O25010983926','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2025-02-03','2025-01-23 23:57:23','2025-01-23 23:59:09',null,'1','2024-12-24') 2025-01-23 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268857',`firm_id` = '8',`ordernumber` = 'O25010983926', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2025-02-03',`create_date` = '2025-01-23 23:57:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'O25010983926' and product_code = 'DG010265-01' 2025-01-23 23:59:09 -- == sync_order_detail end == 2025-01-23 23:59:09 -- == sync_order start == 2025-01-23 23:59:09 -- start:2025-01-23,end:2025-01-23 2025-01-23 23:59:09 -- == 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 '2025-01-23%' OR l.modify_date like '2025-01-23%'; 2025-01-23 23:59:09 -- == sync omo_order_list == 2025-01-23 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '435196', process_status = '3', pay_status = '7', totalprice_after = '17670', lunar_date = '2024-11-12', invoice_status = '2', category_name = '正式彌,永康門市訂單', category_id = '1,22' where ordernumber = 'M24120014282' 2025-01-23 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '436357', process_status = '3', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-11-17', invoice_status = '0', category_name = '正式彌,LINE@訂單,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24120019054' 2025-01-23 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '440128', process_status = '3', pay_status = '1', totalprice_after = '11875', lunar_date = '2024-11-27', invoice_status = '0', category_name = '正式彌,LINE@訂單,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24120027181' 2025-01-23 23:59:09 -- == 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 ('177376','453354',2,'彌月試吃','2','B25010021359','1','11','1','1','1','','','0','2025-02-03','0','0','0','','0','0','300','704','台南市','北區','710','台南市','永康區','300','2025-01-23 13:14:52','2024-12-24') 2025-01-23 23:59:09 -- == 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 ('177416','453530',2,'正式彌,LINE@訂單','1,9','M25010021471','1','1','1','1','1','','','0','2025-02-11','0','0','0','','150','0','1900','526','彰化縣','二林鎮','526','彰化縣','二林鎮','2050','2025-01-23 13:59:25','2024-12-24') 2025-01-23 23:59:09 -- == 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 ('177462','453575',2,'彌月試吃,LINE@訂單','2,9','M25010021514','1','2','1','1','1','','','0','2025-02-03','0','0','0','','0','0','500','881','澎湖縣','西嶼鄉','881','澎湖縣','西嶼鄉','500','2025-01-23 15:25:07','2024-12-24') 2025-01-23 23:59:09 -- == 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 ('177535','453648',2,'','','B25010021656','1','1','1','1','1','','','0','0000-00-00','450','0','0','','0','30','9000','220','新北市','板橋區','330','桃園市','桃園區','8520','2025-01-23 19:17:57','2024-12-24') 2025-01-23 23:59:09 -- == sync_order end == 2025-01-23 23:59:09 -- == sync_order_detail start == 2025-01-23 23:59:09 -- start:2025-01-23,end:2025-01-23 2025-01-23 23:59:09 -- == sync omo_order_detail == 2025-01-23 23:59:09 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-23%' OR modify_date like '2025-01-23%' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120014282' and product_code = 'DG010266-02' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33689',`firm_id` = '8',`ordernumber` = 'M24120014282', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`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` = '27',`total_price` = '8100',`etd` = '2024-12-25',`create_date` = '2024-12-12 19:42:03',`modify_date` = '2025-01-23 14:06:59',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120014282' and product_code = 'DG010266-02', `lunar_date` = '2024-11-12' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120014282' and product_code = 'DG010266-03' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33689',`firm_id` = '8',`ordernumber` = 'M24120014282', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-03',`product_sn` = 'DG010266',`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` = '35',`total_price` = '10500',`etd` = '2024-12-25',`create_date` = '2024-12-12 19:42:03',`modify_date` = '2025-01-23 14:06:59',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120014282' and product_code = 'DG010266-03', `lunar_date` = '2024-11-12' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120019054' and product_code = 'DG010266-01' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33741',`firm_id` = '8',`ordernumber` = 'M24120019054', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`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-12-26',`create_date` = '2024-12-17 14:49:12',`modify_date` = '2025-01-23 15:31:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120019054' and product_code = 'DG010266-01', `lunar_date` = '2024-11-17' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120019054' and product_code = 'DG010266-02' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33741',`firm_id` = '8',`ordernumber` = 'M24120019054', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`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-12-26',`create_date` = '2024-12-17 14:49:12',`modify_date` = '2025-01-23 15:31:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120019054' and product_code = 'DG010266-02', `lunar_date` = '2024-11-17' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120019054' and product_code = 'DG010266-05' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33741',`firm_id` = '8',`ordernumber` = 'M24120019054', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`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-12-26',`create_date` = '2024-12-17 14:49:12',`modify_date` = '2025-01-23 15:31:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120019054' and product_code = 'DG010266-05', `lunar_date` = '2024-11-17' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120019054' and product_code = 'DG010101-05' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33741',`firm_id` = '8',`ordernumber` = 'M24120019054', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '280',`etd` = '2024-12-26',`create_date` = '2024-12-17 14:49:12',`modify_date` = '2025-01-23 15:31:28',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120019054' and product_code = 'DG010101-05', `lunar_date` = '2024-11-17' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'DG010266-01' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`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` = '10',`total_price` = '3000',`etd` = '2025-01-09',`create_date` = '2024-12-27 16:53:17',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'DG010266-01', `lunar_date` = '2024-11-27' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'DG010266-02' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`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` = '10',`total_price` = '3000',`etd` = '2025-01-09',`create_date` = '2024-12-27 16:53:17',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'DG010266-02', `lunar_date` = '2024-11-27' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'DG010266-05' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`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` = '10',`total_price` = '3000',`etd` = '2025-01-09',`create_date` = '2024-12-27 16:53:17',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'DG010266-05', `lunar_date` = '2024-11-27' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'DG0103189-09' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-09',`product_sn` = 'DG0103189',`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` = '2025-01-09',`create_date` = '2024-12-27 16:53:17',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'DG0103189-09', `lunar_date` = '2024-11-27' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'ZP0101106-01' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2025-01-09',`create_date` = '2024-12-27 16:54:01',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'ZP0101106-01', `lunar_date` = '2024-11-27' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'DG0103189-05' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`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` = '2',`total_price` = '1000',`etd` = '2025-01-09',`create_date` = '2024-12-30 10:24:37',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'DG0103189-05', `lunar_date` = '2024-11-30' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24120027181' and product_code = 'DG0103189-02' 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33829',`firm_id` = '8',`ordernumber` = 'M24120027181', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-02',`product_sn` = 'DG0103189',`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` = '2',`total_price` = '1000',`etd` = '2025-01-09',`create_date` = '2024-12-30 10:24:37',`modify_date` = '2025-01-23 15:32:34',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24120027181' and product_code = 'DG0103189-02', `lunar_date` = '2024-11-30' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021359' and product_code = 'DG010267-01' 2025-01-23 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'34097','11','B25010021359','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-01','DG010267','原味','提盒-彌月SNOOPY(粉)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2025-02-03','2025-01-23 13:14:52','2025-01-23 23:59:10',null,'1','2024-12-24') 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34097',`firm_id` = '11',`ordernumber` = 'B25010021359', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-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` = '2025-02-03',`create_date` = '2025-01-23 13:14:52',`modify_date` = '2025-01-23 15:32:21',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021359' and product_code = 'DG010267-01', `lunar_date` = '2024-12-24' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010021471' and product_code = 'DG010266-05' 2025-01-23 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'34098','8','M25010021471','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','0','0','0','1','0.0','3','900','2025-02-11','2025-01-23 13:59:25','2025-01-23 23:59:10',null,'1','2024-12-24') 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34098',`firm_id` = '8',`ordernumber` = 'M25010021471', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`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` = '3',`total_price` = '900',`etd` = '2025-02-11',`create_date` = '2025-01-23 13:59:25',`modify_date` = '2025-01-23 14:06:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010021471' and product_code = 'DG010266-05', `lunar_date` = '2024-12-24' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010021471' and product_code = 'DG0103189-05' 2025-01-23 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'34098','8','M25010021471','SNOOPY美好探尋-8結彌月禮盒','DG0103189-05','DG0103189','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2025-02-11','2025-01-23 13:59:25','2025-01-23 23:59:10',null,'1','2024-12-24') 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34098',`firm_id` = '8',`ordernumber` = 'M25010021471', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`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` = '2',`total_price` = '1000',`etd` = '2025-02-11',`create_date` = '2025-01-23 13:59:25',`modify_date` = '2025-01-23 14:06:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010021471' and product_code = 'DG0103189-05', `lunar_date` = '2024-12-24' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010021514' and product_code = 'DG0103225-02' 2025-01-23 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'34099','11','M25010021514','【小王子聯名】玫瑰星球禮盒-彌月試吃【B3】','DG0103225-02','DG0103225','原味+芝麻','禮盒-彌月小王子(NEW)【原味+芝麻】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2025-02-03','2025-01-23 15:25:07','2025-01-23 23:59:10',null,'1','2024-12-24') 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34099',`firm_id` = '11',`ordernumber` = 'M25010021514', `product_name` = '【小王子聯名】玫瑰星球禮盒-彌月試吃【B3】',`product_code` = 'DG0103225-02',`product_sn` = 'DG0103225',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月小王子(NEW)【原味+芝麻】(試吃)',`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` = '2025-02-03',`create_date` = '2025-01-23 15:25:07',`modify_date` = '2025-01-23 15:25:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010021514' and product_code = 'DG0103225-02', `lunar_date` = '2024-12-24' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021656' and product_code = 'DG010269-01' 2025-01-23 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'34100','8','B25010021656','【吳淡如聯名】築夢-8結彌月提盒','DG010269-01','DG010269','原味','提盒-彌月吳淡如-40入原味','300','300','0','0','0','0','1','0.0','30','9000','2025-02-12','2025-01-23 19:17:57','2025-01-23 23:59:10',null,'1','2024-12-24') 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34100',`firm_id` = '8',`ordernumber` = 'B25010021656', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-01',`product_sn` = 'DG010269',`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` = '2025-02-12',`create_date` = '2025-01-23 19:17:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021656' and product_code = 'DG010269-01', `lunar_date` = '2024-12-24' 2025-01-23 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021656' and product_code = 'ZP010151-01' 2025-01-23 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'34100','8','B25010021656','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2025-02-12','2025-01-23 19:17:57','2025-01-23 23:59:10',null,'1','2024-12-24') 2025-01-23 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34100',`firm_id` = '8',`ordernumber` = 'B25010021656', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`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` = '2025-02-12',`create_date` = '2025-01-23 19:17:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021656' and product_code = 'ZP010151-01', `lunar_date` = '2024-12-24' 2025-01-23 23:59:10 -- == sync_order_detail end == 2025-01-23 23:59:10 -- == 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) = '2025-01-23' OR o.updated_at = '2025-01-23') and o.deleted_at is null 2025-01-23 23:59:10 -- == sync_order_detail start == 2025-01-23 23:59:10 -- start:2025-01-23,end:2025-01-23 2025-01-23 23:59:11 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2025-01-23 23:59:11 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2025-01-23 23:59:15 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2025-01-23%';