2025-01-24 23:59:01 -- == sync_order start == 2025-01-24 23:59:01 -- start:2025-01-24,end:2025-01-24 2025-01-24 23:59:01 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2025-01-24%' OR l.modify_date like '2025-01-24%'; 2025-01-24 23:59:03 -- == sync omo_order_list == 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '18648', lunar_date = '2024-09-28', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24100093066' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '27505', lunar_date = '2024-10-05', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110010589' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '13753', lunar_date = '2024-10-07', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110016563' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '13753', lunar_date = '2024-10-07', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110016720' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '27817', lunar_date = '2024-10-07', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110016911' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '9168', lunar_date = '2024-10-11', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110027442' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '9480', lunar_date = '2024-10-12', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110031026' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '4584', lunar_date = '2024-10-18', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110051658' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '18337', lunar_date = '2024-10-18', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110053998' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '18649', lunar_date = '2024-10-20', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110065033' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '1', totalprice_after = '18336', lunar_date = '2024-10-26', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110096796' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '273441', process_status = '3', pay_status = '1', totalprice_after = '88704', lunar_date = '2024-10-27', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24110103874' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '371142', process_status = '3', pay_status = '1', totalprice_after = '45600', lunar_date = '2024-10-28', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24110114938' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '435298', process_status = '3', pay_status = '1', totalprice_after = '108402', lunar_date = '2024-11-13', invoice_status = '1',category_name = '迪化門市訂單,迪化當日宅配', category_id = '43,44' where ordernumber = 'S24120171351' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '351793', process_status = '6', pay_status = '5', totalprice_after = '3070', lunar_date = '2024-12-06', invoice_status = '3',category_name = '', category_id = '' where ordernumber = 'O25010244721' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '445506', process_status = '3', pay_status = '1', totalprice_after = '232981', lunar_date = '2024-12-09', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'S25010400441' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '446363', process_status = '2', pay_status = '1', totalprice_after = '109620', lunar_date = '2024-12-09', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S25010432820' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '109200', lunar_date = '2024-12-10', invoice_status = '1',category_name = '境外訂單', category_id = '18' where ordernumber = 'S25010454030' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '220948', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2024-12-14', invoice_status = '2',category_name = ',補寄訂單,公關訂單', category_id = ',7,6' where ordernumber = 'S25010647464' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '449036', process_status = '3', pay_status = '1', totalprice_after = '27330', lunar_date = '2024-12-14', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O25010654662' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '220948', process_status = '1', pay_status = '1', totalprice_after = '21600', lunar_date = '2024-12-14', invoice_status = '1',category_name = '插單群訂單', category_id = '14' where ordernumber = 'S25010667090' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '451010', process_status = '6', pay_status = '5', totalprice_after = '2570', lunar_date = '2024-12-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010843314' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '444919', process_status = '6', pay_status = '6', totalprice_after = '5800', lunar_date = '2024-12-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010850588' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '452753', process_status = '2', pay_status = '1', totalprice_after = '710', lunar_date = '2024-12-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010976799' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '424845', process_status = '2', pay_status = '1', totalprice_after = '2030', lunar_date = '2024-12-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'S25010974270RB2' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '451872', process_status = '2', pay_status = '1', totalprice_after = '3210', lunar_date = '2024-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010978873' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '452990', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2024-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010979646' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '453013', process_status = '2', pay_status = '1', totalprice_after = '755', lunar_date = '2024-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010979983' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '453007', process_status = '2', pay_status = '1', totalprice_after = '10990', lunar_date = '2024-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010980113' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '441235', process_status = '2', pay_status = '1', totalprice_after = '9334', lunar_date = '2024-12-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010980382' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '452976', process_status = '2', pay_status = '1', totalprice_after = '1425', lunar_date = '2024-12-23', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S25010980738' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '216467', process_status = '2', pay_status = '1', totalprice_after = '3100', lunar_date = '2024-12-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981084' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '302069', process_status = '2', pay_status = '1', totalprice_after = '1270', lunar_date = '2024-12-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981193' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '452870', process_status = '2', pay_status = '1', totalprice_after = '2745', lunar_date = '2024-12-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981466' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '452424', process_status = '2', pay_status = '1', totalprice_after = '2030', lunar_date = '2024-12-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981650' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '310527', process_status = '2', pay_status = '1', totalprice_after = '1745', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981719' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '438722', process_status = '2', pay_status = '1', totalprice_after = '780', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010981876' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '336178', process_status = '2', pay_status = '1', totalprice_after = '1590', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010982166' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '453205', process_status = '2', pay_status = '1', totalprice_after = '1870', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010982272' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '1435', lunar_date = '2024-12-24', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S25010982391' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '453352', process_status = '2', pay_status = '1', totalprice_after = '2710', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010982473' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '453456', process_status = '2', pay_status = '1', totalprice_after = '670', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010982878' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '453026', process_status = '2', pay_status = '1', totalprice_after = '14250', lunar_date = '2024-12-24', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S25010980222RB' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '41952', lunar_date = '2024-12-24', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S25010982966' 2025-01-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '208797', process_status = '2', pay_status = '1', totalprice_after = '5650', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983047' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '447262', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983230' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '220948', process_status = '3', pay_status = '7', totalprice_after = '0', lunar_date = '2024-12-24', invoice_status = '2',category_name = '公關訂單,補寄訂單', category_id = '6,7' where ordernumber = 'S25010983413' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '453631', process_status = '2', pay_status = '1', totalprice_after = '620', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983593' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '453651', process_status = '2', pay_status = '1', totalprice_after = '410', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983669' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '453654', process_status = '2', pay_status = '1', totalprice_after = '1240', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983785' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '323299', process_status = '2', pay_status = '1', totalprice_after = '1870', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983829' 2025-01-24 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '453669', process_status = '2', pay_status = '1', totalprice_after = '1900', lunar_date = '2024-12-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O25010983926' 2025-01-24 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 ('87869','59740',1,'','','O25010984044','1','11','1','1','2','','','0','0000-00-00','0','0','0','','150','0','3330','334','桃園市','八德區','334','桃園市','八德區','3480','2025-01-23 23:59:35','2024-12-24') 2025-01-24 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 ('397784','434000',1,'','','O25010984194','1','11','1','1','2','','','0','0000-00-00','0','0','0','','150','0','1300','827','高雄市','彌陀區','827','高雄市','彌陀區','1450','2025-01-24 01:01:32','2024-12-25') 2025-01-24 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 ('417411','453674',1,'','','O25010984210','1','11','1','1','2','','','0','0000-00-00','0','0','0','','150','30','2830','524','彰化縣','溪州鄉','524','彰化縣','溪州鄉','2950','2025-01-24 05:45:09','2024-12-25') 2025-01-24 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 ('275841','313421',1,'','','O25010984342','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1680','204','基隆市','安樂區','231','新北市','新店區','1830','2025-01-24 08:01:03','2024-12-25') 2025-01-24 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 ('417423','453685',1,'','','O25010984491','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1110','982','花蓮縣','卓溪鄉','982','花蓮縣','卓溪鄉','1230','2025-01-24 10:39:44','2024-12-25') 2025-01-24 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 ('417428','453690',1,'','','O25010984540','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2480','500','彰化縣','彰化市','500','彰化縣','彰化市','2600','2025-01-24 11:23:30','2024-12-25') 2025-01-24 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,'','','O25010984691','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3540','420','台中市','豐原區','420','台中市','豐原區','3690','2025-01-24 11:28:12','2024-12-25') 2025-01-24 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 ('275841','313421',1,'','','O25010984729','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','100','1680','204','基隆市','安樂區','231','新北市','新店區','1730','2025-01-24 12:52:31','2024-12-25') 2025-01-24 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 ('277162','314733',1,'','','O25010984853','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','900','502','彰化縣','芬園鄉','502','彰化縣','芬園鄉','1050','2025-01-24 13:39:35','2024-12-25') 2025-01-24 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 ('417547','453809',1,'','','O25010984978','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1740','905','屏東縣','里港鄉','905','屏東縣','里港鄉','1860','2025-01-24 14:15:31','2024-12-25') 2025-01-24 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 ('13183','11231',1,'','','O25010985061','1','1','1','1','1','89203534','巨聯營造有限公司','0','0000-00-00','0','0','0','','150','0','3300','515','彰化縣','大村鄉','515','彰化縣','大村鄉','3450','2025-01-24 15:09:48','2024-12-25') 2025-01-24 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 ('45944','20781',1,'','','O25010985164','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','434','台中市','龍井區','807','高雄市','三民區','1590','2025-01-24 15:35:16','2024-12-25') 2025-01-24 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','S25010985274','1','8','1','7','1','','','2','2025-02-03','0','850','0','','0','0','850','403','台中市','西區','103','台北市','大同區','0','2025-01-24 16:32:16','2024-12-25') 2025-01-24 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 ('417658','453917',1,'','','O25010985377','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1500','234','新北市','永和區','234','新北市','永和區','1620','2025-01-24 18:28:02','2024-12-25') 2025-01-24 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 ('417673','453929',1,'','','O25010985451','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','702','台南市','南區','702','台南市','南區','1110','2025-01-24 20:27:20','2024-12-25') 2025-01-24 23:59:04 -- == sync_order end == 2025-01-24 23:59:04 -- == sync_order_detail start == 2025-01-24 23:59:04 -- start:2025-01-24,end:2025-01-24 2025-01-24 23:59:04 -- == sync omo_order_detail == 2025-01-24 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-24%' OR modify_date like '2025-01-24%' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100093066' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250265',`firm_id` = '8',`ordernumber` = 'S24100093066', `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` = '48',`total_price` = '10800',`etd` = '2024-11-01',`create_date` = '2024-10-30 16:58:59',`modify_date` = '2025-01-24 15:04:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-28'where ordernumber = 'S24100093066' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100093066' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250265',`firm_id` = '8',`ordernumber` = 'S24100093066', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-01',`create_date` = '2024-10-30 16:58:59',`modify_date` = '2025-01-24 15:04:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-28'where ordernumber = 'S24100093066' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100093066' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250265',`firm_id` = '8',`ordernumber` = 'S24100093066', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-11-01',`create_date` = '2024-10-30 16:58:59',`modify_date` = '2025-01-24 15:04:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-28'where ordernumber = 'S24100093066' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110010589' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250394',`firm_id` = '8',`ordernumber` = 'S24110010589', `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` = '48',`total_price` = '10800',`etd` = '2024-11-07',`create_date` = '2024-11-05 11:33:05',`modify_date` = '2025-01-24 15:04:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-05'where ordernumber = 'S24110010589' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110010589' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250394',`firm_id` = '8',`ordernumber` = 'S24110010589', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-07',`create_date` = '2024-11-05 11:33:05',`modify_date` = '2025-01-24 15:04:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-05'where ordernumber = 'S24110010589' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110010589' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250394',`firm_id` = '8',`ordernumber` = 'S24110010589', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '24',`total_price` = '5400',`etd` = '2024-11-07',`create_date` = '2024-11-05 11:33:05',`modify_date` = '2025-01-24 15:04:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-05'where ordernumber = 'S24110010589' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110010589' and product_code = 'DG010113-04' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250394',`firm_id` = '8',`ordernumber` = 'S24110010589', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`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` = '24',`total_price` = '5400',`etd` = '2024-11-07',`create_date` = '2024-11-05 11:33:05',`modify_date` = '2025-01-24 15:04:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-05'where ordernumber = 'S24110010589' and product_code = 'DG010113-04' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110010589' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250394',`firm_id` = '8',`ordernumber` = 'S24110010589', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-07',`create_date` = '2024-11-05 11:33:05',`modify_date` = '2025-01-24 15:04:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-05'where ordernumber = 'S24110010589' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016563' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250455',`firm_id` = '8',`ordernumber` = 'S24110016563', `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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:10:59',`modify_date` = '2025-01-24 15:05:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016563' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016563' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250455',`firm_id` = '8',`ordernumber` = 'S24110016563', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:10:59',`modify_date` = '2025-01-24 15:05:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016563' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016563' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250455',`firm_id` = '8',`ordernumber` = 'S24110016563', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:10:59',`modify_date` = '2025-01-24 15:05:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016563' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016720' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250457',`firm_id` = '8',`ordernumber` = 'S24110016720', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:14:16',`modify_date` = '2025-01-24 15:06:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016720' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016720' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250457',`firm_id` = '8',`ordernumber` = 'S24110016720', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:14:16',`modify_date` = '2025-01-24 15:06:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016720' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016720' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250457',`firm_id` = '8',`ordernumber` = 'S24110016720', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:14:16',`modify_date` = '2025-01-24 15:06:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016720' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016911' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250459',`firm_id` = '8',`ordernumber` = 'S24110016911', `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` = '48',`total_price` = '10800',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:18:27',`modify_date` = '2025-01-24 15:07:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016911' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016911' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250459',`firm_id` = '8',`ordernumber` = 'S24110016911', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:18:27',`modify_date` = '2025-01-24 15:07:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016911' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016911' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250459',`firm_id` = '8',`ordernumber` = 'S24110016911', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:18:27',`modify_date` = '2025-01-24 15:07:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016911' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016911' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250459',`firm_id` = '8',`ordernumber` = 'S24110016911', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '24',`total_price` = '5400',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:18:27',`modify_date` = '2025-01-24 15:07:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016911' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110016911' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250459',`firm_id` = '8',`ordernumber` = 'S24110016911', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-11-11',`create_date` = '2024-11-07 09:18:27',`modify_date` = '2025-01-24 15:07:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-07'where ordernumber = 'S24110016911' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110027442' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250567',`firm_id` = '8',`ordernumber` = 'S24110027442', `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` = '48',`total_price` = '10800',`etd` = '2024-11-11',`create_date` = '2024-11-11 09:11:12',`modify_date` = '2025-01-24 15:07:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-11'where ordernumber = 'S24110027442' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110031026' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250604',`firm_id` = '8',`ordernumber` = 'S24110031026', `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` = '24',`total_price` = '5400',`etd` = '2024-11-13',`create_date` = '2024-11-12 09:12:31',`modify_date` = '2025-01-24 15:08:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-12'where ordernumber = 'S24110031026' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110031026' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250604',`firm_id` = '8',`ordernumber` = 'S24110031026', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-11-13',`create_date` = '2024-11-12 09:12:31',`modify_date` = '2025-01-24 15:08:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-12'where ordernumber = 'S24110031026' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110051658' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250806',`firm_id` = '8',`ordernumber` = 'S24110051658', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-20',`create_date` = '2024-11-18 10:31:14',`modify_date` = '2025-01-24 15:08:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-18'where ordernumber = 'S24110051658' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110053998' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250830',`firm_id` = '8',`ordernumber` = 'S24110053998', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '24',`total_price` = '5400',`etd` = '2024-11-20',`create_date` = '2024-11-18 15:28:35',`modify_date` = '2025-01-24 15:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-18'where ordernumber = 'S24110053998' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110053998' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250830',`firm_id` = '8',`ordernumber` = 'S24110053998', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-20',`create_date` = '2024-11-18 15:28:35',`modify_date` = '2025-01-24 15:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-18'where ordernumber = 'S24110053998' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110053998' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250830',`firm_id` = '8',`ordernumber` = 'S24110053998', `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` = '24',`total_price` = '5400',`etd` = '2024-11-20',`create_date` = '2024-11-18 15:28:35',`modify_date` = '2025-01-24 15:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-18'where ordernumber = 'S24110053998' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110053998' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250830',`firm_id` = '8',`ordernumber` = 'S24110053998', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-20',`create_date` = '2024-11-18 15:28:35',`modify_date` = '2025-01-24 15:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-18'where ordernumber = 'S24110053998' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110065033' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250946',`firm_id` = '8',`ordernumber` = 'S24110065033', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-22',`create_date` = '2024-11-20 16:11:52',`modify_date` = '2025-01-24 15:09:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-20'where ordernumber = 'S24110065033' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110065033' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250946',`firm_id` = '8',`ordernumber` = 'S24110065033', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '24',`total_price` = '5400',`etd` = '2024-11-22',`create_date` = '2024-11-20 16:11:52',`modify_date` = '2025-01-24 15:09:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-20'where ordernumber = 'S24110065033' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110065033' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250946',`firm_id` = '8',`ordernumber` = 'S24110065033', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-22',`create_date` = '2024-11-20 16:11:52',`modify_date` = '2025-01-24 15:09:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-20'where ordernumber = 'S24110065033' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110065033' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250946',`firm_id` = '8',`ordernumber` = 'S24110065033', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-11-22',`create_date` = '2024-11-20 16:11:52',`modify_date` = '2025-01-24 15:09:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-20'where ordernumber = 'S24110065033' and product_code = 'DG010107-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110096796' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251280',`firm_id` = '8',`ordernumber` = 'S24110096796', `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` = '48',`total_price` = '10800',`etd` = '2024-11-28',`create_date` = '2024-11-26 15:28:16',`modify_date` = '2025-01-24 15:10:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-26'where ordernumber = 'S24110096796' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110096796' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251280',`firm_id` = '8',`ordernumber` = 'S24110096796', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '24',`total_price` = '5400',`etd` = '2024-11-28',`create_date` = '2024-11-26 15:28:16',`modify_date` = '2025-01-24 15:10:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-26'where ordernumber = 'S24110096796' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110096796' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251280',`firm_id` = '8',`ordernumber` = 'S24110096796', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '24',`total_price` = '5400',`etd` = '2024-11-28',`create_date` = '2024-11-26 15:28:16',`modify_date` = '2025-01-24 15:10:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-26'where ordernumber = 'S24110096796' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110103874' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251353',`firm_id` = '8',`ordernumber` = 'S24110103874', `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` = '144',`total_price` = '32400',`etd` = '2024-12-02',`create_date` = '2024-11-27 11:50:45',`modify_date` = '2025-01-24 11:02:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-27'where ordernumber = 'S24110103874' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110103874' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251353',`firm_id` = '8',`ordernumber` = 'S24110103874', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '144',`total_price` = '32400',`etd` = '2024-12-02',`create_date` = '2024-11-27 11:50:45',`modify_date` = '2025-01-24 11:02:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-27'where ordernumber = 'S24110103874' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110103874' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251353',`firm_id` = '8',`ordernumber` = 'S24110103874', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '120',`total_price` = '27000',`etd` = '2024-12-02',`create_date` = '2024-11-27 11:50:45',`modify_date` = '2025-01-24 11:02:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-27'where ordernumber = 'S24110103874' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24110103874' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251353',`firm_id` = '8',`ordernumber` = 'S24110103874', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '120',`total_price` = '27000',`etd` = '2024-12-02',`create_date` = '2024-11-27 11:50:45',`modify_date` = '2025-01-24 11:02:55',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-10-27'where ordernumber = 'S24110103874' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110114938' and product_code = 'DG0103148-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251474',`firm_id` = '8',`ordernumber` = 'O24110114938', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '99',`total_price` = '47520',`etd` = '2025-01-03',`create_date` = '2024-11-28 18:37:10',`modify_date` = '2025-01-24 11:22:05',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-28'where ordernumber = 'O24110114938' and product_code = 'DG0103148-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110114938' and product_code = 'DG0103148-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251474',`firm_id` = '8',`ordernumber` = 'O24110114938', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2025-01-03',`create_date` = '2024-11-28 18:37:10',`modify_date` = '2025-01-24 11:22:05',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-28'where ordernumber = 'O24110114938' and product_code = 'DG0103148-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24110114938' and product_code = 'ZP010558-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '251474',`firm_id` = '8',`ordernumber` = 'O24110114938', `product_name` = '贈品-SNOOPY熱壓三明治機x2',`product_code` = 'ZP010558-01',`product_sn` = 'ZP010558',`product_spec` = '贈品-SNOOPY熱壓三明治機+贈品-SNOOPY熱壓三明治',`invoice_name` = '贈品-SNOOPY熱壓三明治機x2',`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-03',`create_date` = '2024-11-28 18:37:10',`modify_date` = '2025-01-24 11:22:05',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-10-28'where ordernumber = 'O24110114938' and product_code = 'ZP010558-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120171351' and product_code = 'DG010312-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '253379',`firm_id` = '8',`ordernumber` = 'S24120171351', `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` = '251',`total_price` = '120480',`etd` = '2024-12-19',`create_date` = '2024-12-13 12:01:29',`modify_date` = '2025-01-24 11:55:44',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-13'where ordernumber = 'S24120171351' and product_code = 'DG010312-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010244721' and product_code = 'DG010312-07' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261197',`firm_id` = '8',`ordernumber` = 'O25010244721', `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` = '4',`total_price` = '1920',`etd` = '2025-01-15',`create_date` = '2025-01-05 20:11:06',`modify_date` = '2025-01-24 09:58:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-06'where ordernumber = 'O25010244721' and product_code = 'DG010312-07' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010244721' and product_code = 'DG010312-06' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261197',`firm_id` = '8',`ordernumber` = 'O25010244721', `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` = '2',`total_price` = '960',`etd` = '2025-01-15',`create_date` = '2025-01-05 20:11:06',`modify_date` = '2025-01-24 09:58:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-06'where ordernumber = 'O25010244721' and product_code = 'DG010312-06' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010244721' and product_code = 'BP010128-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261197',`firm_id` = '8',`ordernumber` = 'O25010244721', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2025-01-15',`create_date` = '2025-01-05 20:11:06',`modify_date` = '2025-01-24 09:58:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-06'where ordernumber = 'O25010244721' and product_code = 'BP010128-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010244721' and product_code = 'DG010404-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261197',`firm_id` = '8',`ordernumber` = 'O25010244721', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2025-01-15',`create_date` = '2025-01-05 20:11:06',`modify_date` = '2025-01-24 09:58:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-06'where ordernumber = 'O25010244721' and product_code = 'DG010404-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG0103181-407' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-407',`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` = '88',`total_price` = '49280',`etd` = '2025-01-17',`create_date` = '2025-01-08 11:12:22',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010400441' and product_code = 'DG0103181-407' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010314-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '金8結隨行醇蜜禮盒',`product_code` = 'DG010314-02',`product_sn` = 'DG010314',`product_spec` = '芝麻蛋捲+隨行瓶',`invoice_name` = '禮盒-金8結【芝麻+隨行醇蜜】',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '565.0',`amount` = '60',`total_price` = '33900',`etd` = '2025-01-17',`create_date` = '2025-01-08 11:12:22',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010400441' and product_code = 'DG010314-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010312-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `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` = '51',`total_price` = '24480',`etd` = '2025-01-17',`create_date` = '2025-01-08 11:12:22',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010400441' and product_code = 'DG010312-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = '40009' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '34',`total_price` = '2720',`etd` = '2025-01-17',`create_date` = '2025-01-08 11:12:22',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010400441' and product_code = '40009' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010432820' and product_code = '13657' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '263165',`firm_id` = '8',`ordernumber` = 'S25010432820', `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` = '420',`total_price` = '121800',`etd` = '2025-02-03',`create_date` = '2025-01-08 19:51:58',`modify_date` = '2025-01-24 13:08:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010432820' and product_code = '13657' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010454030' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '263382',`firm_id` = '8',`ordernumber` = 'S25010454030', `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` = '192',`total_price` = '43200',`etd` = '2025-02-18',`create_date` = '2025-01-09 09:54:58',`modify_date` = '2025-01-24 13:58:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010454030' and product_code = 'DG010113-01' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010454030' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '263382',`firm_id` = '8',`ordernumber` = 'S25010454030', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`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` = '60',`total_price` = '13500',`etd` = '2025-02-18',`create_date` = '2025-01-09 09:54:58',`modify_date` = '2025-01-24 13:58:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010454030' and product_code = 'DG010113-02' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010454030' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '263382',`firm_id` = '8',`ordernumber` = 'S25010454030', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`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` = '132',`total_price` = '29700',`etd` = '2025-02-18',`create_date` = '2025-01-09 09:54:58',`modify_date` = '2025-01-24 13:58:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010454030' and product_code = 'DG010113-03' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010454030' and product_code = 'DG010113-04' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '263382',`firm_id` = '8',`ordernumber` = 'S25010454030', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`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` = '60',`total_price` = '13500',`etd` = '2025-02-18',`create_date` = '2025-01-09 09:54:58',`modify_date` = '2025-01-24 13:58:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010454030' and product_code = 'DG010113-04' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010454030' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '263382',`firm_id` = '8',`ordernumber` = 'S25010454030', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`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` = '156',`total_price` = '35100',`etd` = '2025-02-18',`create_date` = '2025-01-09 09:54:58',`modify_date` = '2025-01-24 13:58:46',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010454030' and product_code = 'DG010113-05' 2025-01-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010315-02' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-02',`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` = '54',`total_price` = '29970',`etd` = '2025-01-17',`create_date` = '2025-01-09 15:19:12',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010400441' and product_code = 'DG010315-02' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010315-05' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-05',`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` = '54',`total_price` = '29970',`etd` = '2025-01-17',`create_date` = '2025-01-09 15:19:12',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010400441' and product_code = 'DG010315-05' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010315-08' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-08',`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` = '53',`total_price` = '29415',`etd` = '2025-01-17',`create_date` = '2025-01-09 15:19:12',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010400441' and product_code = 'DG010315-08' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010315-11' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-11',`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` = '53',`total_price` = '29415',`etd` = '2025-01-17',`create_date` = '2025-01-09 15:19:12',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010400441' and product_code = 'DG010315-11' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010400441' and product_code = 'DG010315-14' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262822',`firm_id` = '8',`ordernumber` = 'S25010400441', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-14',`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` = '53',`total_price` = '29415',`etd` = '2025-01-17',`create_date` = '2025-01-09 15:19:12',`modify_date` = '2025-01-24 13:13:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-10'where ordernumber = 'S25010400441' and product_code = 'DG010315-14' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010647464' and product_code = 'DG010404-01' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '265367',`firm_id` = '8',`ordernumber` = 'S25010647464', `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` = '1',`commission` = '0.0',`amount` = '60',`total_price` = '600',`etd` = '2025-01-13',`create_date` = '2025-01-13 13:01:32',`modify_date` = '2025-01-24 10:05:52',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-14'where ordernumber = 'S25010647464' and product_code = 'DG010404-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010654662' and product_code = 'DG010312-02' 2025-01-24 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` = '60',`total_price` = '28800',`etd` = '2025-01-17',`create_date` = '2025-01-13 15:09:54',`modify_date` = '2025-01-24 11:23:43',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-14'where ordernumber = 'O25010654662' and product_code = 'DG010312-02' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010667090' and product_code = 'DG010312-02' 2025-01-24 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-24 09:28:03',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-14'where ordernumber = 'S25010667090' and product_code = 'DG010312-02' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010843314' and product_code = 'DG010312-08' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267398',`firm_id` = '8',`ordernumber` = 'O25010843314', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2025-01-20',`create_date` = '2025-01-17 06:30:13',`modify_date` = '2025-01-24 09:57:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010843314' and product_code = 'DG010312-08' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010843314' and product_code = 'DG010405-01' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267398',`firm_id` = '8',`ordernumber` = 'O25010843314', `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-20',`create_date` = '2025-01-17 06:30:13',`modify_date` = '2025-01-24 09:57:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010843314' and product_code = 'DG010405-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010843314' and product_code = 'FL010103-01' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267398',`firm_id` = '8',`ordernumber` = 'O25010843314', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '555',`etd` = '2025-01-20',`create_date` = '2025-01-17 06:30:13',`modify_date` = '2025-01-24 09:57:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010843314' and product_code = 'FL010103-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010843314' and product_code = '13045' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267398',`firm_id` = '8',`ordernumber` = 'O25010843314', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2025-01-20',`create_date` = '2025-01-17 06:30:13',`modify_date` = '2025-01-24 09:57:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010843314' and product_code = '13045' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010843314' and product_code = 'GG010106-01' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267398',`firm_id` = '8',`ordernumber` = 'O25010843314', `product_name` = '[加購]加購-義式皇家黑松露夏威夷果',`product_code` = 'GG010106-01',`product_sn` = 'GG010106',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【夏威夷果】',`listprice` = '270',`sellingprice` = '270',`isadd` = '1',`isbaby` = '1',`addprice` = '270',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2025-01-20',`create_date` = '2025-01-17 06:30:13',`modify_date` = '2025-01-24 09:57:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010843314' and product_code = 'GG010106-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010850588' and product_code = '13656' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267477',`firm_id` = '8',`ordernumber` = 'O25010850588', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2025-01-20',`create_date` = '2025-01-17 10:46:22',`modify_date` = '2025-01-24 11:57:56',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010850588' and product_code = '13656' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010850588' and product_code = '13657' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267477',`firm_id` = '8',`ordernumber` = 'O25010850588', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2025-01-20',`create_date` = '2025-01-17 10:46:22',`modify_date` = '2025-01-24 11:57:56',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010850588' and product_code = '13657' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010850588' and product_code = '13659' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267477',`firm_id` = '8',`ordernumber` = 'O25010850588', `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` = '5',`total_price` = '1450',`etd` = '2025-01-20',`create_date` = '2025-01-17 10:46:22',`modify_date` = '2025-01-24 11:57:56',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010850588' and product_code = '13659' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010850588' and product_code = '13660' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '267477',`firm_id` = '8',`ordernumber` = 'O25010850588', `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` = '5',`total_price` = '1450',`etd` = '2025-01-20',`create_date` = '2025-01-17 10:46:22',`modify_date` = '2025-01-24 11:57:56',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-18'where ordernumber = 'O25010850588' and product_code = '13660' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010976799' and product_code = 'DG010101-02' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268769',`firm_id` = '8',`ordernumber` = 'O25010976799', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2025-02-03',`create_date` = '2025-01-20 16:52:50',`modify_date` = '2025-01-24 09:18:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-21'where ordernumber = 'O25010976799' and product_code = 'DG010101-02' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010976799' and product_code = 'DG010101-04' 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268769',`firm_id` = '8',`ordernumber` = 'O25010976799', `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-20 16:52:50',`modify_date` = '2025-01-24 09:18:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-21'where ordernumber = 'O25010976799' and product_code = 'DG010101-04' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983413' and product_code = 'ZS010201-01' 2025-01-24 23:59:07 -- == 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-24 08:11:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983413' and product_code = 'ZS010201-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984194' and product_code = 'DG0103223-05' 2025-01-24 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,'268859','8','O25010984194','【小王子聯名】玫瑰星球8結禮盒','DG0103223-05','DG0103223','原味+巧克力','禮盒-小王子(NEW)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2025-02-03','2025-01-24 01:01:32','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268859',`firm_id` = '8',`ordernumber` = 'O25010984194', `product_name` = '【小王子聯名】玫瑰星球8結禮盒',`product_code` = 'DG0103223-05',`product_sn` = 'DG0103223',`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-24 01:01:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984194' and product_code = 'DG0103223-05' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984194' and product_code = 'DG0103188-10' 2025-01-24 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,'268859','8','O25010984194','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-10','DG0103188','芝麻蛋捲,咖啡蛋捲','禮盒-SNOOPY(橘)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2025-02-03','2025-01-24 01:01:32','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268859',`firm_id` = '8',`ordernumber` = 'O25010984194', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-10',`product_sn` = 'DG0103188',`product_spec` = '芝麻蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2025-02-03',`create_date` = '2025-01-24 01:01:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984194' and product_code = 'DG0103188-10' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984194' and product_code = 'DG010268-03' 2025-01-24 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,'268859','8','O25010984194','【吳淡如聯名】築夢-8結提盒','DG010268-03','DG010268','咖啡','提盒-吳淡如-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2025-02-03','2025-01-24 01:01:32','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268859',`firm_id` = '8',`ordernumber` = 'O25010984194', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-03',`product_sn` = 'DG010268',`product_spec` = '咖啡',`invoice_name` = '提盒-吳淡如-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-03',`create_date` = '2025-01-24 01:01:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984194' and product_code = 'DG010268-03' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984210' and product_code = '13656' 2025-01-24 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,'268860','8','O25010984210','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2025-02-03','2025-01-24 05:45:09','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268860',`firm_id` = '8',`ordernumber` = 'O25010984210', `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` = '1',`total_price` = '290',`etd` = '2025-02-03',`create_date` = '2025-01-24 05:45:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984210' and product_code = '13656' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984210' and product_code = '13658' 2025-01-24 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,'268860','8','O25010984210','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2025-02-03','2025-01-24 05:45:09','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268860',`firm_id` = '8',`ordernumber` = 'O25010984210', `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` = '2',`total_price` = '580',`etd` = '2025-02-03',`create_date` = '2025-01-24 05:45:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984210' and product_code = '13658' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984210' and product_code = 'DG010101-05' 2025-01-24 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,'268860','8','O25010984210','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-03','2025-01-24 05:45:09','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268860',`firm_id` = '8',`ordernumber` = 'O25010984210', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2025-02-03',`create_date` = '2025-01-24 05:45:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984210' and product_code = 'DG010101-05' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984210' and product_code = 'DG010101-04' 2025-01-24 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,'268860','8','O25010984210','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-24 05:45:09','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268860',`firm_id` = '8',`ordernumber` = 'O25010984210', `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-24 05:45:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984210' and product_code = 'DG010101-04' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984210' and product_code = 'DG010101-02' 2025-01-24 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,'268860','8','O25010984210','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2025-02-03','2025-01-24 05:45:09','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268860',`firm_id` = '8',`ordernumber` = 'O25010984210', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '4',`total_price` = '1120',`etd` = '2025-02-03',`create_date` = '2025-01-24 05:45:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984210' and product_code = 'DG010101-02' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984342' and product_code = 'DG010101-01' 2025-01-24 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,'268861','8','O25010984342','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-24 08:01:03','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268861',`firm_id` = '8',`ordernumber` = 'O25010984342', `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-24 08:01:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984342' and product_code = 'DG010101-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984342' and product_code = 'DG010101-02' 2025-01-24 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,'268861','8','O25010984342','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-03','2025-01-24 08:01:03','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268861',`firm_id` = '8',`ordernumber` = 'O25010984342', `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-24 08:01:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984342' and product_code = 'DG010101-02' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984342' and product_code = 'DG010101-03' 2025-01-24 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,'268861','8','O25010984342','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-24 08:01:03','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268861',`firm_id` = '8',`ordernumber` = 'O25010984342', `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-24 08:01:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984342' and product_code = 'DG010101-03' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984342' and product_code = 'DG010101-05' 2025-01-24 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,'268861','8','O25010984342','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-03','2025-01-24 08:01:03','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268861',`firm_id` = '8',`ordernumber` = 'O25010984342', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2025-02-03',`create_date` = '2025-01-24 08:01:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984342' and product_code = 'DG010101-05' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984491' and product_code = 'DG010315-01' 2025-01-24 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,'268862','8','O25010984491','金8結肉酥酥禮盒','DG010315-01','DG010315','原味肉酥酥【原味蛋捲】','禮盒-金8結【原味+原味肉酥酥】','555','555','0','0','0','0','1','555.0','1','555','2025-02-03','2025-01-24 10:39:44','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268862',`firm_id` = '8',`ordernumber` = 'O25010984491', `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-24 10:39:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984491' and product_code = 'DG010315-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984491' and product_code = 'DG010315-15' 2025-01-24 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,'268862','8','O25010984491','金8結肉酥酥禮盒','DG010315-15','DG010315','辣味肉酥酥【巧克力蛋捲】','禮盒-金8結【巧克力+辣味肉酥酥】','555','555','0','0','0','0','1','555.0','1','555','2025-02-03','2025-01-24 10:39:44','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268862',`firm_id` = '8',`ordernumber` = 'O25010984491', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-15',`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-24 10:39:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984491' and product_code = 'DG010315-15' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = 'DG010265-01' 2025-01-24 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,'268863','8','O25010984540','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `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` = '1',`total_price` = '300',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = 'DG010265-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = 'DG010265-03' 2025-01-24 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,'268863','8','O25010984540','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-03','DG010265','咖啡','提盒-SNOOPY(粉)-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `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` = '1',`total_price` = '300',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = 'DG010265-03' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = 'LS010113-03' 2025-01-24 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,'268863','8','O25010984540','家庭分享包-乳酪絲','LS010113-03','LS010113','黑松露','(紅袋)乳酪絲【黑松露】','550','550','0','0','0','0','1','0.0','1','550','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `product_name` = '家庭分享包-乳酪絲',`product_code` = 'LS010113-03',`product_sn` = 'LS010113',`product_spec` = '黑松露',`invoice_name` = '(紅袋)乳酪絲【黑松露】',`listprice` = '550',`sellingprice` = '550',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '550',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = 'LS010113-03' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = '13658' 2025-01-24 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,'268863','8','O25010984540','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `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` = '1',`total_price` = '290',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = '13658' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = '13656' 2025-01-24 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,'268863','8','O25010984540','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `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-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = '13656' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = 'FL010102-01' 2025-01-24 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,'268863','8','O25010984540','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','1','165','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `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` = '1',`total_price` = '165',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = 'FL010102-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984540' and product_code = 'DG010206-01' 2025-01-24 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,'268863','8','O25010984540','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2025-02-04','2025-01-24 11:23:30','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268863',`firm_id` = '8',`ordernumber` = 'O25010984540', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:23:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984540' and product_code = 'DG010206-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984691' and product_code = 'DG010206-01' 2025-01-24 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,'268864','8','O25010984691','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','12','3540','2025-02-04','2025-01-24 11:28:12','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268864',`firm_id` = '8',`ordernumber` = 'O25010984691', `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` = '12',`total_price` = '3540',`etd` = '2025-02-04',`create_date` = '2025-01-24 11:28:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984691' and product_code = 'DG010206-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984729' and product_code = 'DG010101-01' 2025-01-24 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,'268865','8','O25010984729','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2025-02-03','2025-01-24 12:52:31','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268865',`firm_id` = '8',`ordernumber` = 'O25010984729', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2025-02-03',`create_date` = '2025-01-24 12:52:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984729' and product_code = 'DG010101-01' 2025-01-24 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984729' and product_code = 'DG010101-05' 2025-01-24 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,'268865','8','O25010984729','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2025-02-03','2025-01-24 12:52:31','2025-01-24 23:59:07',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268865',`firm_id` = '8',`ordernumber` = 'O25010984729', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2025-02-03',`create_date` = '2025-01-24 12:52:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984729' and product_code = 'DG010101-05' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984853' and product_code = 'DG010265-01' 2025-01-24 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,'268866','8','O25010984853','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','3','900','2025-02-03','2025-01-24 13:39:35','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268866',`firm_id` = '8',`ordernumber` = 'O25010984853', `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` = '3',`total_price` = '900',`etd` = '2025-02-03',`create_date` = '2025-01-24 13:39:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984853' and product_code = 'DG010265-01' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984978' and product_code = 'DG0105103-09' 2025-01-24 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,'268867','8','O25010984978','SNOOPY美好心意-蛋捲三入組','DG0105103-09','DG0105103','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2025-02-04','2025-01-24 14:15:31','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268867',`firm_id` = '8',`ordernumber` = 'O25010984978', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-09',`product_sn` = 'DG0105103',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2025-02-04',`create_date` = '2025-01-24 14:15:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984978' and product_code = 'DG0105103-09' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984978' and product_code = 'BP010185-01' 2025-01-24 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,'268867','8','O25010984978','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2025-02-04','2025-01-24 14:15:31','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268867',`firm_id` = '8',`ordernumber` = 'O25010984978', `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-04',`create_date` = '2025-01-24 14:15:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984978' and product_code = 'BP010185-01' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010984978' and product_code = 'BP010188-01' 2025-01-24 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,'268867','8','O25010984978','[加購]加購-SNOOPY面紙套','BP010188-01','BP010188','-','加購-SNOOPY面紙套','250','250','1','1','250','0','0','0.0','2','500','2025-02-04','2025-01-24 14:15:31','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268867',`firm_id` = '8',`ordernumber` = 'O25010984978', `product_name` = '[加購]加購-SNOOPY面紙套',`product_code` = 'BP010188-01',`product_sn` = 'BP010188',`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` = '2',`total_price` = '500',`etd` = '2025-02-04',`create_date` = '2025-01-24 14:15:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010984978' and product_code = 'BP010188-01' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010985061' and product_code = 'FL010102-01' 2025-01-24 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,'268868','8','O25010985061','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','20','3300','2025-02-03','2025-01-24 15:09:48','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268868',`firm_id` = '8',`ordernumber` = 'O25010985061', `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` = '20',`total_price` = '3300',`etd` = '2025-02-03',`create_date` = '2025-01-24 15:09:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010985061' and product_code = 'FL010102-01' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010985164' and product_code = 'DG010312-12' 2025-01-24 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,'268869','8','O25010985164','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2025-02-03','2025-01-24 15:35:16','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268869',`firm_id` = '8',`ordernumber` = 'O25010985164', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2025-02-03',`create_date` = '2025-01-24 15:35:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010985164' and product_code = 'DG010312-12' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010985274' and product_code = 'BP010166-01' 2025-01-24 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,'268870','8','S25010985274','加購-仙萼長春對杯組','BP010166-01','BP010166','一組','加購-仙萼長春對杯組','850','850','0','0','0','1','1','0.0','1','850','2025-02-03','2025-01-24 16:32:16','2025-01-24 23:59:08',0,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268870',`firm_id` = '8',`ordernumber` = 'S25010985274', `product_name` = '加購-仙萼長春對杯組',`product_code` = 'BP010166-01',`product_sn` = 'BP010166',`product_spec` = '一組',`invoice_name` = '加購-仙萼長春對杯組',`listprice` = '850',`sellingprice` = '850',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '850',`etd` = '2025-02-03',`create_date` = '2025-01-24 16:32:16',`modify_date` = '2025-01-24 16:35:56',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'S25010985274' and product_code = 'BP010166-01' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010985377' and product_code = 'LS010515-01' 2025-01-24 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,'268871','8','O25010985377','涮嘴海苔片-限時買5送1','LS010515-01','LS010515','香酥x6','組合-香酥海苔x6','750','750','0','0','0','0','1','0.0','2','1500','2025-02-03','2025-01-24 18:28:02','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268871',`firm_id` = '8',`ordernumber` = 'O25010985377', `product_name` = '涮嘴海苔片-限時買5送1',`product_code` = 'LS010515-01',`product_sn` = 'LS010515',`product_spec` = '香酥x6',`invoice_name` = '組合-香酥海苔x6',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1500',`etd` = '2025-02-03',`create_date` = '2025-01-24 18:28:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010985377' and product_code = 'LS010515-01' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010985451' and product_code = 'DG010312-02' 2025-01-24 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,'268872','8','O25010985451','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2025-02-24','2025-01-24 20:27:20','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268872',`firm_id` = '8',`ordernumber` = 'O25010985451', `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-24',`create_date` = '2025-01-24 20:27:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010985451' and product_code = 'DG010312-02' 2025-01-24 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010985451' and product_code = 'DG010312-01' 2025-01-24 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,'268872','8','O25010985451','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2025-02-24','2025-01-24 20:27:20','2025-01-24 23:59:08',null,'1','2024-12-25') 2025-01-24 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268872',`firm_id` = '8',`ordernumber` = 'O25010985451', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2025-02-24',`create_date` = '2025-01-24 20:27:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-25'where ordernumber = 'O25010985451' and product_code = 'DG010312-01' 2025-01-24 23:59:08 -- == sync_order_detail end == 2025-01-24 23:59:08 -- == sync_order start == 2025-01-24 23:59:08 -- start:2025-01-24,end:2025-01-24 2025-01-24 23:59:08 -- == 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-24%' OR l.modify_date like '2025-01-24%'; 2025-01-24 23:59:08 -- == sync omo_order_list == 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '449398', process_status = '2', pay_status = '1', totalprice_after = '555', lunar_date = '2024-12-22', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M25010020828' 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '448107', process_status = '2', pay_status = '1', totalprice_after = '48795', lunar_date = '2024-12-23', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M25010020947' 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '449134', process_status = '2', pay_status = '1', totalprice_after = '320', lunar_date = '2024-12-23', invoice_status = '0', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M25010021075' 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '176480', process_status = '2', pay_status = '1', totalprice_after = '5700', lunar_date = '2024-12-23', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B25010021145' 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '453354', process_status = '2', pay_status = '1', totalprice_after = '300', lunar_date = '2024-12-24', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B25010021359' 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '453575', process_status = '2', pay_status = '1', totalprice_after = '500', lunar_date = '2024-12-24', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M25010021514' 2025-01-24 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '453648', process_status = '1', pay_status = '1', totalprice_after = '8520', lunar_date = '2024-12-24', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B25010021656' 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('177560','0',2,'彌月試吃','2','B25010021740','1','11','1','1','2','','','0','2025-02-03','0','0','0','','0','0','800','106','台北市','大安區','106','台北市','大安區','800','2025-01-24 09:06:46','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('155406','431383',2,'','','B25010021819','1','1','1','1','1','','','0','2025-02-12','675','0','0','','0','0','13500','436','台中市','清水區','436','台中市','清水區','12825','2025-01-24 09:22:22','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('175658','451471',2,'彌月試吃','2','B25010021933','1','11','1','0','6','','','0','2025-02-03','0','0','0','','0','0','300','221','新北市','汐止區','221','新北市','汐止區','300','2025-01-24 10:01:46','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('175658','451471',2,'彌月試吃','2','B25010021933RB','1','11','1','1','1','','','0','2025-02-03','0','0','0','','0','0','300','221','新北市','汐止區','221','新北市','汐止區','300','2025-01-24 10:02:08','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('177779','453892',2,'正式彌,LINE@訂單','1,9','M25010022089','1','2','1','0','0','','','0','2025-02-03','0','0','0','','0','0','300','813','高雄市','左營區','813','高雄市','左營區','300','2025-01-24 16:54:26','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('152918','428929',2,'正式彌,LINE@訂單','1,9','M25010022182','1','11','1','0','6','','','0','2025-02-03','0','310','0','','0','0','6200','324','桃園市','平鎮區','324','桃園市','平鎮區','5890','2025-01-24 17:46:53','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('177786','453899',2,'LINE@訂單,彌月試吃','9,2','M25010022249','1','11','1','0','6','','','0','2025-02-03','0','0','0','','0','0','850','924','屏東縣','崁頂鄉','924','屏東縣','崁頂鄉','850','2025-01-24 17:46:59','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('152918','428929',2,'正式彌,LINE@訂單','1,9','M25010022182RB','1','11','1','1','1','','','0','2025-02-03','0','310','0','','0','0','6200','324','桃園市','平鎮區','324','桃園市','平鎮區','5890','2025-01-24 17:50:13','2024-12-25') 2025-01-24 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('177786','453899',2,'LINE@訂單,彌月試吃','9,2','M25010022249RB','1','11','1','1','1','','','0','2025-02-03','0','0','0','','0','0','850','924','屏東縣','崁頂鄉','924','屏東縣','崁頂鄉','850','2025-01-24 17:57:17','2024-12-25') 2025-01-24 23:59:08 -- == sync_order end == 2025-01-24 23:59:08 -- == sync_order_detail start == 2025-01-24 23:59:08 -- start:2025-01-24,end:2025-01-24 2025-01-24 23:59:08 -- == sync omo_order_detail == 2025-01-24 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-24%' OR modify_date like '2025-01-24%' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021656' and product_code = 'DG010269-01' 2025-01-24 23:59:09 -- == 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-03',`create_date` = '2025-01-23 19:17:57',`modify_date` = '2025-01-24 09:19:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021656' and product_code = 'DG010269-01', `lunar_date` = '2024-12-24' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021656' and product_code = 'ZP010151-01' 2025-01-24 23:59:09 -- == 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-03',`create_date` = '2025-01-23 19:17:57',`modify_date` = '2025-01-24 09:19:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021656' and product_code = 'ZP010151-01', `lunar_date` = '2024-12-24' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021740' and product_code = 'DG010267-05' 2025-01-24 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, 2,'34101','11','B25010021740','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-05','DG010267','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力(試吃)','300','300','0','1','0','0','1','0.0','1','300','2025-02-03','2025-01-24 09:06:46','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34101',`firm_id` = '11',`ordernumber` = 'B25010021740', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-05',`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-24 09:06:46',`modify_date` = '2025-01-24 09:06:46',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021740' and product_code = 'DG010267-05', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021740' and product_code = 'DG0103225-05' 2025-01-24 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, 2,'34101','11','B25010021740','【小王子聯名】玫瑰星球禮盒-彌月試吃【B3】','DG0103225-05','DG0103225','原味+巧克力','禮盒-彌月小王子(NEW)【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2025-02-03','2025-01-24 09:06:46','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34101',`firm_id` = '11',`ordernumber` = 'B25010021740', `product_name` = '【小王子聯名】玫瑰星球禮盒-彌月試吃【B3】',`product_code` = 'DG0103225-05',`product_sn` = 'DG0103225',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月小王子(NEW)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2025-02-03',`create_date` = '2025-01-24 09:06:46',`modify_date` = '2025-01-24 09:06:46',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021740' and product_code = 'DG0103225-05', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021819' and product_code = 'DG010276-01' 2025-01-24 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, 2,'34102','8','B25010021819','【小王子聯名】玫瑰星球彌月提盒','DG010276-01','DG010276','原味','提盒-彌月小王子(NEW)-40入原味','300','300','0','0','0','0','1','0.0','29','8700','2025-02-12','2025-01-24 09:22:22','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34102',`firm_id` = '8',`ordernumber` = 'B25010021819', `product_name` = '【小王子聯名】玫瑰星球彌月提盒',`product_code` = 'DG010276-01',`product_sn` = 'DG010276',`product_spec` = '原味',`invoice_name` = '提盒-彌月小王子(NEW)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '29',`total_price` = '8700',`etd` = '2025-02-12',`create_date` = '2025-01-24 09:22:22',`modify_date` = '2025-01-24 10:24:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021819' and product_code = 'DG010276-01', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021819' and product_code = 'DG010276-02' 2025-01-24 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, 2,'34102','8','B25010021819','【小王子聯名】玫瑰星球彌月提盒','DG010276-02','DG010276','芝麻','提盒-彌月小王子(NEW)-40入芝麻','300','300','0','0','0','0','1','0.0','6','1800','2025-02-12','2025-01-24 09:22:22','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34102',`firm_id` = '8',`ordernumber` = 'B25010021819', `product_name` = '【小王子聯名】玫瑰星球彌月提盒',`product_code` = 'DG010276-02',`product_sn` = 'DG010276',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月小王子(NEW)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2025-02-12',`create_date` = '2025-01-24 09:22:22',`modify_date` = '2025-01-24 10:24:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021819' and product_code = 'DG010276-02', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021819' and product_code = 'DG010276-04' 2025-01-24 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, 2,'34102','8','B25010021819','【小王子聯名】玫瑰星球彌月提盒','DG010276-04','DG010276','海苔','提盒-彌月小王子(NEW)-40入海苔','300','300','0','0','0','0','1','0.0','6','1800','2025-02-12','2025-01-24 09:22:22','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34102',`firm_id` = '8',`ordernumber` = 'B25010021819', `product_name` = '【小王子聯名】玫瑰星球彌月提盒',`product_code` = 'DG010276-04',`product_sn` = 'DG010276',`product_spec` = '海苔',`invoice_name` = '提盒-彌月小王子(NEW)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2025-02-12',`create_date` = '2025-01-24 09:22:22',`modify_date` = '2025-01-24 10:24:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021819' and product_code = 'DG010276-04', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021819' and product_code = 'DG010276-05' 2025-01-24 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, 2,'34102','8','B25010021819','【小王子聯名】玫瑰星球彌月提盒','DG010276-05','DG010276','巧克力','提盒-彌月小王子(NEW)-40入巧克力','300','300','0','0','0','0','1','0.0','4','1200','2025-02-12','2025-01-24 09:22:22','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34102',`firm_id` = '8',`ordernumber` = 'B25010021819', `product_name` = '【小王子聯名】玫瑰星球彌月提盒',`product_code` = 'DG010276-05',`product_sn` = 'DG010276',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月小王子(NEW)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2025-02-12',`create_date` = '2025-01-24 09:22:22',`modify_date` = '2025-01-24 10:24:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021819' and product_code = 'DG010276-05', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021819' and product_code = 'ZP010518-01' 2025-01-24 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, 2,'34102','8','B25010021819','贈品-剛剛好蛋捲組','ZP010518-01','ZP010518','一組','組合-32入原味蛋捲+剛剛好的優雅-有聲書(線上兌換)+剛剛好帆布袋+金句透卡','0','0','0','0','0','0','1','0.0','1','0','2025-02-12','2025-01-24 09:22:22','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34102',`firm_id` = '8',`ordernumber` = 'B25010021819', `product_name` = '贈品-剛剛好蛋捲組',`product_code` = 'ZP010518-01',`product_sn` = 'ZP010518',`product_spec` = '一組',`invoice_name` = '組合-32入原味蛋捲+剛剛好的優雅-有聲書(線上兌換)+剛剛好帆布袋+金句透卡',`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-24 09:22:22',`modify_date` = '2025-01-24 10:24:06',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021819' and product_code = 'ZP010518-01', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021933' and product_code = 'DG010277-03' 2025-01-24 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, 2,'34103','11','B25010021933','【小王子聯名】玫瑰星球提盒-彌月試吃【A4】','DG010277-03','DG010277','咖啡','提盒-彌月小王子(NEW)-40入咖啡(試吃)','300','300','0','1','0','0','1','0.0','1','300','2025-02-03','2025-01-24 10:01:46','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34103',`firm_id` = '11',`ordernumber` = 'B25010021933', `product_name` = '【小王子聯名】玫瑰星球提盒-彌月試吃【A4】',`product_code` = 'DG010277-03',`product_sn` = 'DG010277',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月小王子(NEW)-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-24 10:01:46',`modify_date` = '2025-01-24 10:01:57',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021933' and product_code = 'DG010277-03', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010021933RB' and product_code = 'DG010277-03' 2025-01-24 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, 2,'34104','11','B25010021933RB','【小王子聯名】玫瑰星球提盒-彌月試吃【A4】','DG010277-03','DG010277','咖啡','提盒-彌月小王子(NEW)-40入咖啡(試吃)','300','300','0','1','0','0','1','0.0','1','300','2025-02-03','2025-01-24 10:01:46','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34104',`firm_id` = '11',`ordernumber` = 'B25010021933RB', `product_name` = '【小王子聯名】玫瑰星球提盒-彌月試吃【A4】',`product_code` = 'DG010277-03',`product_sn` = 'DG010277',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月小王子(NEW)-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-24 10:01:46',`modify_date` = '2025-01-24 10:02:08',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010021933RB' and product_code = 'DG010277-03', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022089' and product_code = 'DG010243-05' 2025-01-24 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, 2,'34105','11','M25010022089','年輪提盒彌月試吃【A1】','DG010243-05','DG010243','巧克力','提盒-彌月年輪-40入巧克力(試吃)','300','300','0','0','0','0','1','300.0','1','300','2025-02-03','2025-01-24 16:54:26','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34105',`firm_id` = '11',`ordernumber` = 'M25010022089', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-05',`product_sn` = 'DG010243',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月年輪-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-03',`create_date` = '2025-01-24 16:54:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022089' and product_code = 'DG010243-05', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022182' and product_code = 'DG010276-03' 2025-01-24 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, 2,'34106','8','M25010022182','【小王子聯名】玫瑰星球彌月提盒','DG010276-03','DG010276','咖啡','提盒-彌月小王子(NEW)-40入咖啡','300','300','0','0','0','0','1','0.0','14','4200','2025-02-03','2025-01-24 17:46:53','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34106',`firm_id` = '8',`ordernumber` = 'M25010022182', `product_name` = '【小王子聯名】玫瑰星球彌月提盒',`product_code` = 'DG010276-03',`product_sn` = 'DG010276',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月小王子(NEW)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4200',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:46:53',`modify_date` = '2025-01-24 17:50:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022182' and product_code = 'DG010276-03', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022182' and product_code = 'DG0103224-03' 2025-01-24 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, 2,'34106','8','M25010022182','【小王子聯名】玫瑰星球彌月禮盒','DG0103224-03','DG0103224','原味+咖啡','禮盒-彌月小王子(NEW)【原味+咖啡】','500','500','0','0','0','0','1','0.0','4','2000','2025-02-03','2025-01-24 17:46:53','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34106',`firm_id` = '8',`ordernumber` = 'M25010022182', `product_name` = '【小王子聯名】玫瑰星球彌月禮盒',`product_code` = 'DG0103224-03',`product_sn` = 'DG0103224',`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` = '4',`total_price` = '2000',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:46:53',`modify_date` = '2025-01-24 17:50:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022182' and product_code = 'DG0103224-03', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022182' and product_code = 'ZP010151-01' 2025-01-24 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, 2,'34106','8','M25010022182','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2025-02-03','2025-01-24 17:46:53','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34106',`firm_id` = '8',`ordernumber` = 'M25010022182', `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-03',`create_date` = '2025-01-24 17:46:53',`modify_date` = '2025-01-24 17:50:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022182' and product_code = 'ZP010151-01', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022249' and product_code = 'FL010318-23' 2025-01-24 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, 2,'34107','11','M25010022249','金巧力量彌月試吃禮盒【C3】','FL010318-23','FL010318','鳳梨酥+鳳梅酥+國寶茶','禮盒-彌月金巧力量【鳳梨酥+鳳梅酥+國寶茶】(試吃)','550','550','0','0','0','0','1','0.0','1','550','2025-02-03','2025-01-24 17:46:59','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34107',`firm_id` = '11',`ordernumber` = 'M25010022249', `product_name` = '金巧力量彌月試吃禮盒【C3】',`product_code` = 'FL010318-23',`product_sn` = 'FL010318',`product_spec` = '鳳梨酥+鳳梅酥+國寶茶',`invoice_name` = '禮盒-彌月金巧力量【鳳梨酥+鳳梅酥+國寶茶】(試吃)',`listprice` = '550',`sellingprice` = '550',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '550',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:46:59',`modify_date` = '2025-01-24 17:57:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022249' and product_code = 'FL010318-23', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022182RB' and product_code = 'DG010276-03' 2025-01-24 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, 2,'34108','8','M25010022182RB','【小王子聯名】玫瑰星球彌月提盒','DG010276-03','DG010276','咖啡','提盒-彌月小王子(NEW)-40入咖啡','300','300','0','0','0','0','1','0.0','14','4200','2025-02-03','2025-01-24 17:46:53','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34108',`firm_id` = '8',`ordernumber` = 'M25010022182RB', `product_name` = '【小王子聯名】玫瑰星球彌月提盒',`product_code` = 'DG010276-03',`product_sn` = 'DG010276',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月小王子(NEW)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4200',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:46:53',`modify_date` = '2025-01-24 17:50:13',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022182RB' and product_code = 'DG010276-03', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022182RB' and product_code = 'DG0103224-03' 2025-01-24 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, 2,'34108','8','M25010022182RB','【小王子聯名】玫瑰星球彌月禮盒','DG0103224-03','DG0103224','原味+咖啡','禮盒-彌月小王子(NEW)【原味+咖啡】','500','500','0','0','0','0','1','0.0','4','2000','2025-02-03','2025-01-24 17:46:53','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34108',`firm_id` = '8',`ordernumber` = 'M25010022182RB', `product_name` = '【小王子聯名】玫瑰星球彌月禮盒',`product_code` = 'DG0103224-03',`product_sn` = 'DG0103224',`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` = '4',`total_price` = '2000',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:46:53',`modify_date` = '2025-01-24 17:50:13',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022182RB' and product_code = 'DG0103224-03', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022182RB' and product_code = 'ZP010151-01' 2025-01-24 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, 2,'34108','8','M25010022182RB','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2025-02-03','2025-01-24 17:46:53','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34108',`firm_id` = '8',`ordernumber` = 'M25010022182RB', `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-03',`create_date` = '2025-01-24 17:46:53',`modify_date` = '2025-01-24 17:50:13',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022182RB' and product_code = 'ZP010151-01', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022249' and product_code = 'DG010267-05' 2025-01-24 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, 2,'34107','11','M25010022249','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-05','DG010267','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2025-02-03','2025-01-24 17:57:10','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34107',`firm_id` = '11',`ordernumber` = 'M25010022249', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-05',`product_sn` = 'DG010267',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:57:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022249' and product_code = 'DG010267-05', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022249RB' and product_code = 'FL010318-23' 2025-01-24 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, 2,'34109','11','M25010022249RB','金巧力量彌月試吃禮盒【C3】','FL010318-23','FL010318','鳳梨酥+鳳梅酥+國寶茶','禮盒-彌月金巧力量【鳳梨酥+鳳梅酥+國寶茶】(試吃)','550','550','0','0','0','0','1','0.0','1','550','2025-02-03','2025-01-24 17:46:59','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34109',`firm_id` = '11',`ordernumber` = 'M25010022249RB', `product_name` = '金巧力量彌月試吃禮盒【C3】',`product_code` = 'FL010318-23',`product_sn` = 'FL010318',`product_spec` = '鳳梨酥+鳳梅酥+國寶茶',`invoice_name` = '禮盒-彌月金巧力量【鳳梨酥+鳳梅酥+國寶茶】(試吃)',`listprice` = '550',`sellingprice` = '550',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '550',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:46:59',`modify_date` = '2025-01-24 17:57:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022249RB' and product_code = 'FL010318-23', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M25010022249RB' and product_code = 'DG010267-05' 2025-01-24 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, 2,'34109','11','M25010022249RB','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-05','DG010267','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2025-02-03','2025-01-24 17:57:10','2025-01-24 23:59:09',null,'1','2024-12-25') 2025-01-24 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34109',`firm_id` = '11',`ordernumber` = 'M25010022249RB', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-05',`product_sn` = 'DG010267',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-03',`create_date` = '2025-01-24 17:57:10',`modify_date` = '2025-01-24 17:57:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M25010022249RB' and product_code = 'DG010267-05', `lunar_date` = '2024-12-25' 2025-01-24 23:59:09 -- == sync_order_detail end == 2025-01-24 23:59:09 -- == 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-24' OR o.updated_at = '2025-01-24') and o.deleted_at is null 2025-01-24 23:59:09 -- == sync_order_detail start == 2025-01-24 23:59:09 -- start:2025-01-24,end:2025-01-24 2025-01-24 23:59:10 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2025-01-24 23:59:10 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2025-01-24 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-24%';