2024-05-09 23:59:02 -- == sync_order start == 2024-05-09 23:59:02 -- start:2024-05-09,end:2024-05-09 2024-05-09 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-05-09%' OR l.modify_date like '2024-05-09%'; 2024-05-09 23:59:03 -- == sync omo_order_list == 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '18247', process_status = '2', pay_status = '1', totalprice_after = '2375', lunar_date = '2024-03-04', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040037481' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '1440000', lunar_date = '2024-03-17', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24040080146' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387335', process_status = '2', pay_status = '1', totalprice_after = '1470', lunar_date = '2024-03-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040090350' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387397', process_status = '2', pay_status = '1', totalprice_after = '24138', lunar_date = '2024-03-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040091662' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387444', process_status = '2', pay_status = '1', totalprice_after = '8300', lunar_date = '2024-03-20', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040092724' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '386661', process_status = '2', pay_status = '1', totalprice_after = '1790', lunar_date = '2024-03-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24040099699' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '386775', process_status = '6', pay_status = '6', totalprice_after = '5690', lunar_date = '2024-03-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050001051' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '5', totalprice_after = '0', lunar_date = '2024-03-24', invoice_status = '0',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050006230' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '5', totalprice_after = '0', lunar_date = '2024-03-24', invoice_status = '0',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050006338' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387643', process_status = '6', pay_status = '5', totalprice_after = '0', lunar_date = '2024-03-24', invoice_status = '0',category_name = ',測試訂單', category_id = ',30' where ordernumber = 'O24050006421' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388377', process_status = '2', pay_status = '1', totalprice_after = '2900', lunar_date = '2024-03-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050018442' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '331861', process_status = '2', pay_status = '1', totalprice_after = '1590', lunar_date = '2024-03-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050020090' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388732', process_status = '2', pay_status = '1', totalprice_after = '4920', lunar_date = '2024-03-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050022486' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388740', process_status = '2', pay_status = '1', totalprice_after = '1590', lunar_date = '2024-03-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050023116' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '261425', process_status = '2', pay_status = '1', totalprice_after = '1160', lunar_date = '2024-03-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050024179' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '178638', process_status = '2', pay_status = '1', totalprice_after = '4540', lunar_date = '2024-03-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050024694' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388753', process_status = '2', pay_status = '1', totalprice_after = '870', lunar_date = '2024-03-29', invoice_status = '1',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24050024758' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388773', process_status = '1', pay_status = '1', totalprice_after = '8178', lunar_date = '2024-04-02', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24050025352' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '36987', lunar_date = '2024-03-29', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24050026354' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388849', process_status = '3', pay_status = '1', totalprice_after = '1085', lunar_date = '2024-03-29', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24050027432' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388862', process_status = '2', pay_status = '1', totalprice_after = '3170', lunar_date = '2024-03-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050027912' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388865', process_status = '2', pay_status = '1', totalprice_after = '1930', lunar_date = '2024-03-29', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24050028232' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '56290', process_status = '2', pay_status = '1', totalprice_after = '1545', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050028389' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '74671', process_status = '2', pay_status = '1', totalprice_after = '2870', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050028469' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388048', process_status = '2', pay_status = '1', totalprice_after = '5810', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050028556' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '220222', process_status = '6', pay_status = '6', totalprice_after = '58532', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050028697' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388875', process_status = '2', pay_status = '1', totalprice_after = '1395', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050029017' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387875', process_status = '2', pay_status = '1', totalprice_after = '2220', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050029246' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '273441', process_status = '2', pay_status = '0', totalprice_after = '24192', lunar_date = '2024-04-01', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24050029756' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '387927', process_status = '2', pay_status = '1', totalprice_after = '6370', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050029890' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388891', process_status = '2', pay_status = '1', totalprice_after = '620', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050029996' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388910', process_status = '2', pay_status = '1', totalprice_after = '630', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050030076' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '382684', process_status = '2', pay_status = '1', totalprice_after = '2470', lunar_date = '2024-04-01', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24050030170' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '291021', process_status = '2', pay_status = '1', totalprice_after = '990', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050030310' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388031', process_status = '2', pay_status = '1', totalprice_after = '8208', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050030437' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388933', process_status = '2', pay_status = '1', totalprice_after = '870', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050030762' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '130708', process_status = '2', pay_status = '1', totalprice_after = '1310', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050030826' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388936', process_status = '2', pay_status = '1', totalprice_after = '1015', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050031084' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388944', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050031245' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '352444', process_status = '2', pay_status = '1', totalprice_after = '8208', lunar_date = '2024-04-01', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24050031484' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '353527', process_status = '3', pay_status = '1', totalprice_after = '6240', lunar_date = '2024-04-01', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24050031774' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '191480', process_status = '2', pay_status = '1', totalprice_after = '900', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050031870' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '389038', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050032125' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '341891', process_status = '2', pay_status = '1', totalprice_after = '3150', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050032236' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '389039', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050032373' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '389041', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050032569' 2024-05-09 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '388387', process_status = '2', pay_status = '1', totalprice_after = '8216', lunar_date = '2024-04-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24050032663' 2024-05-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('98230','69330',1,'','','O24050032762','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1400','414','台中市','烏日區','414','台中市','烏日區','1550','2024-05-09 00:41:55','2024-04-02') 2024-05-09 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('199226','165213',1,'團媽訂單','3','S24050032890','1','4','1','1','1','','','0','2024-05-13','0','1944','0','','0','0','16200','813','高雄市','左營區','813','高雄市','左營區','14256','2024-05-09 09:33:22','2024-04-02') 2024-05-09 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 ('320811','357841',1,'','','O24050032971','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1740','421','台中市','后里區','421','台中市','后里區','1890','2024-05-09 09:38:28','2024-04-02') 2024-05-09 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 ('352371','389052',1,'','','O24050033064','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','220','新北市','板橋區','304','新竹縣','新豐鄉','600','2024-05-09 10:23:08','2024-04-02') 2024-05-09 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 ('259410','296609',1,'','','O24050033158','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1450','338','桃園市','蘆竹區','338','桃園市','蘆竹區','1600','2024-05-09 10:33:31','2024-04-02') 2024-05-09 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 ('352378','389059',1,'','','O24050033268','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3540','241','新北市','三重區','247','新北市','蘆洲區','3660','2024-05-09 11:08:39','2024-04-02') 2024-05-09 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 ('352220','388902',1,'','','O24050033374','1','2','1','0','0','93506709','臺東縣警察局','0','2024-05-31','3654','0','0','','0','30','52200','965','台東縣','大武鄉','965','台東縣','大武鄉','48516','2024-05-09 11:16:27','2024-04-02') 2024-05-09 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 ('352374','389055',1,'迪化當日宅配','44','S24050033449','1','1','12','1','1','','','0','2024-05-10','0','0','0','','350','30','4800','111','台北市','士林區','111','台北市','士林區','5120','2024-05-09 11:35:59','2024-04-02') 2024-05-09 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 ('352388','389069',1,'','','O24050033544','1','11','1','1','1','97294059','普樂可醫藥股份有限公司','0','0000-00-00','0','0','0','','150','30','3000','901','屏東縣','三地門鄉','900','屏東縣','屏東市','3120','2024-05-09 11:50:35','2024-04-02') 2024-05-09 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 ('352409','389090',1,'','','O24050033656','1','1','1','1','1','90836213','奇煜工程有限公司','0','0000-00-00','0','0','0','','0','30','5760','730','台南市','新營區','730','台南市','新營區','5730','2024-05-09 12:55:37','2024-04-02') 2024-05-09 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 ('352415','389096',1,'','','O24050033720','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','685','711','台南市','歸仁區','822','高雄市','阿蓮區','805','2024-05-09 13:10:57','2024-04-02') 2024-05-09 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 ('206750','172527',1,'','','O24050033863','1','1','1','1','1','27505329','寬度科技股份有限公司','0','0000-00-00','0','0','0','','0','0','8160','303','新竹縣','湖口鄉','303','新竹縣','湖口鄉','8160','2024-05-09 13:45:18','2024-04-02') 2024-05-09 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 ('352424','389105',1,'','','O24050033939','1','1','1','1','1','89153268','智富聯合開發有限公司','0','0000-00-00','0','0','0','','0','0','8000','330','桃園市','桃園區','330','桃園市','桃園區','8000','2024-05-09 13:47:42','2024-04-02') 2024-05-09 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 ('352429','0',1,'插單群訂單,企業訂單','14,4','S24050034054','1','4','1','0','0','31006036','台灣區冷凍空調工程工業同業公會','0','2024-05-17','0','4000','0','','0','0','38400','105','台北市','松山區','104','台北市','中山區','34400','2024-05-09 14:42:20','2024-04-02') 2024-05-09 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 ('241189','273441',1,'通路訂單','5','S24050034176','1','7','1','0','1','89826011','佐登妮絲國際股份有限公司','0','2024-05-13','0','16416','0','','0','0','64800','622','嘉義縣','大林鎮','622','嘉義縣','大林鎮','48384','2024-05-09 15:04:25','2024-04-02') 2024-05-09 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 ('352444','389125',1,'','','O24050034260','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1350','235','新北市','中和區','830','高雄市','鳳山區','1470','2024-05-09 15:11:49','2024-04-02') 2024-05-09 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 ('352449','0',1,'企業訂單,電話訂單','4,12','S24050034378','1','4','1','0','0','04329168','海韻電子工業股份有限公司','0','2024-05-23','0','1932','0','','0','0','38650','114','台北市','內湖區','114','台北市','內湖區','36718','2024-05-09 15:26:42','2024-04-02') 2024-05-09 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 ('350903','387597',1,'','','O24050034485','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3490','300','新竹市','香山區','300','新竹市','香山區','3610','2024-05-09 15:36:51','2024-04-02') 2024-05-09 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 ('352470','389151',1,'迪化當日宅配','44','S24050034511','1','6','12','1','0','03705903','兆豐國際商業銀行股份有限公司','0','2024-06-06','0','912','0','','0','0','18245','100','台北市','中正區','100','台北市','中正區','17333','2024-05-09 16:39:12','2024-04-02') 2024-05-09 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 ('352469','389150',1,'','','O24050034619','1','1','1','1','1','94469610','妍漾企業社','0','0000-00-00','0','0','0','','150','30','3900','411','台中市','太平區','411','台中市','太平區','4020','2024-05-09 16:44:10','2024-04-02') 2024-05-09 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 ('352387','389068',1,'','','O24050034715','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1420','824','高雄市','燕巢區','824','高雄市','燕巢區','1470','2024-05-09 16:45:13','2024-04-02') 2024-05-09 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'line禮物','38','S24050034830','1','7','1','0','1','','','0','2024-05-10','0','0','0','','150','0','480','403','台中市','西區','407','台中市','西屯區','630','2024-05-09 16:45:45','2024-04-02') 2024-05-09 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 ('352486','389167',1,'','','O24050034915','1','1','1','1','1','86494501','法倈麗國際股份有限公司','0','0000-00-00','0','0','0','','0','0','7080','106','台北市','大安區','104','台北市','中山區','7080','2024-05-09 17:10:59','2024-04-02') 2024-05-09 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 ('352478','389159',1,'','','O24050035014','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1290','205','基隆市','暖暖區','205','基隆市','暖暖區','1410','2024-05-09 17:59:30','2024-04-02') 2024-05-09 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'團媽訂單','3','S24050035189','1','8','1','7','1','','','2','2024-05-10','225','0','0','','0','0','225','403','台中市','西區','637','雲林縣','崙背鄉','0','2024-05-09 18:35:13','2024-04-02') 2024-05-09 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 ('352366','209589',1,'','','O24050035277','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5660','414','台中市','烏日區','414','台中市','烏日區','5660','2024-05-09 18:56:24','2024-04-02') 2024-05-09 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 ('290821','328265',1,'','','O24050035331','1','1','1','1','1','42563749','浤盛實業有限公司','0','0000-00-00','1210','0','0','','0','0','24210','330','桃園市','桃園區','330','桃園市','桃園區','23000','2024-05-09 19:42:40','2024-04-02') 2024-05-09 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 ('352535','389215',1,'','','O24050035432','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5605','235','新北市','中和區','235','新北市','中和區','5605','2024-05-09 20:06:45','2024-04-02') 2024-05-09 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 ('351870','388555',1,'','','O24050035510','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','4720','116','台北市','文山區','116','台北市','文山區','4870','2024-05-09 20:10:49','2024-04-02') 2024-05-09 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 ('352546','389226',1,'','','O24050035664','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1405','427','台中市','潭子區','826','高雄市','梓官區','1525','2024-05-09 21:49:05','2024-04-02') 2024-05-09 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 ('234503','263722',1,'','','O24050035722','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1800','900','屏東縣','屏東市','900','屏東縣','屏東市','1950','2024-05-09 22:04:55','2024-04-02') 2024-05-09 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 ('102120','72909',1,'','','O24050035872','1','1','1','1','1','00965101','台灣省工業會','0','0000-00-00','797','0','0','','0','0','15950','100','台北市','中正區','106','台北市','大安區','15153','2024-05-09 22:21:32','2024-04-02') 2024-05-09 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 ('351725','388409',1,'','','O24050035965','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','100','1440','270','宜蘭縣','蘇澳鎮','270','宜蘭縣','蘇澳鎮','1490','2024-05-09 23:01:27','2024-04-02') 2024-05-09 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 ('351725','388409',1,'','','O24050036034','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2040','270','宜蘭縣','蘇澳鎮','270','宜蘭縣','蘇澳鎮','2190','2024-05-09 23:27:28','2024-04-02') 2024-05-09 23:59:04 -- == sync_order end == 2024-05-09 23:59:04 -- == sync_order_detail start == 2024-05-09 23:59:04 -- start:2024-05-09,end:2024-05-09 2024-05-09 23:59:04 -- == sync omo_order_detail == 2024-05-09 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-09%' OR modify_date like '2024-05-09%' 2024-05-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = 'ZS010201-01' 2024-05-09 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `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` = '1',`total_price` = '300',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = 'ZS010201-01' 2024-05-09 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = 'DG010523-14' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-14',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+海苔',`invoice_name` = '組合-32入(原味+海苔+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = 'DG010523-14' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = 'GG010101-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = '義式皇家黑松露腰果',`product_code` = 'GG010101-01',`product_sn` = 'GG010101',`product_spec` = '一組',`invoice_name` = '(盒)堅果【腰果】',`listprice` = '190',`sellingprice` = '190',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = 'GG010101-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = 'GG010103-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = '義式皇家黑松露夏威夷果',`product_code` = 'GG010103-01',`product_sn` = 'GG010103',`product_spec` = '一組',`invoice_name` = '(盒)堅果【夏威夷果】',`listprice` = '280',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = 'GG010103-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = '13045' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = '13045' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = 'FL010104-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'230840','8','O24040037481','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-05-10','2024-04-12 14:19:52','2024-05-09 23:59:06',null,'1','2024-03-04') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = 'FL010104-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = '13044' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = '13044' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24040037481' and product_code = 'BP010128-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '230840',`firm_id` = '8',`ordernumber` = 'O24040037481', `product_name` = '[加購]8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '-',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2024-05-10',`create_date` = '2024-04-12 14:19:52',`modify_date` = '2024-05-09 10:07:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-04'where ordernumber = 'O24040037481' and product_code = 'BP010128-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040080146' and product_code = 'DG010113-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231265',`firm_id` = '8',`ordernumber` = 'S24040080146', `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` = '3200',`total_price` = '720000',`etd` = '2024-05-08',`create_date` = '2024-04-25 09:42:15',`modify_date` = '2024-05-09 16:13:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-17'where ordernumber = 'S24040080146' and product_code = 'DG010113-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040080146' and product_code = 'DG010113-05' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231265',`firm_id` = '8',`ordernumber` = 'S24040080146', `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` = '3200',`total_price` = '720000',`etd` = '2024-05-08',`create_date` = '2024-04-25 09:42:15',`modify_date` = '2024-05-09 16:13:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-17'where ordernumber = 'S24040080146' and product_code = 'DG010113-05' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'DG0103174-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-01',`product_sn` = 'DG0103174',`product_spec` = '原味',`invoice_name` = '禮盒-故宮(文物大盒款)【原味+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '3300',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'DG0103174-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'DG010101-05' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'DG010101-05' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'BP010157-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'BP010157-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'BP010166-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-仙萼長春對杯組',`product_code` = 'BP010166-01',`product_sn` = 'BP010166',`product_spec` = '-',`invoice_name` = '加購-仙萼長春對杯組',`listprice` = '850',`sellingprice` = '850',`isadd` = '1',`isbaby` = '1',`addprice` = '850',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '850',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'BP010166-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'FL010103-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231471','8','O24050001051','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-05-03','2024-05-01 13:42:49','2024-05-09 23:59:06',null,'1','2024-03-23') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `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` = '1',`total_price` = '185',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'FL010103-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = 'FL010104-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231471','8','O24050001051','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-05-03','2024-05-01 13:42:49','2024-05-09 23:59:06',null,'1','2024-03-23') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = 'FL010104-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = '13044' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '280',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = '13044' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050001051' and product_code = '13045' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231471',`firm_id` = '8',`ordernumber` = 'O24050001051', `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` = '2',`total_price` = '280',`etd` = '2024-05-03',`create_date` = '2024-05-01 13:42:49',`modify_date` = '2024-05-09 09:56:42',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-23'where ordernumber = 'O24050001051' and product_code = '13045' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050006230' and product_code = 'DG010527-05' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231522',`firm_id` = '8',`ordernumber` = 'O24050006230', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`product_sn` = 'DG010527',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-06-14',`create_date` = '2024-05-02 17:25:22',`modify_date` = '2024-05-09 09:17:38',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-24'where ordernumber = 'O24050006230' and product_code = 'DG010527-05' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050006338' and product_code = '13659' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231523',`firm_id` = '8',`ordernumber` = 'O24050006338', `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` = '1',`total_price` = '290',`etd` = '2024-06-21',`create_date` = '2024-05-02 17:27:56',`modify_date` = '2024-05-09 09:18:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-24'where ordernumber = 'O24050006338' and product_code = '13659' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050006421' and product_code = '13657' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231524',`firm_id` = '8',`ordernumber` = 'O24050006421', `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` = '1',`total_price` = '290',`etd` = '2024-06-28',`create_date` = '2024-05-02 17:33:45',`modify_date` = '2024-05-09 09:16:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-24'where ordernumber = 'O24050006421' and product_code = '13657' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050024758' and product_code = 'GJ010502-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231707',`firm_id` = '8',`ordernumber` = 'S24050024758', `product_name` = '心釀梅醋禮盒',`product_code` = 'GJ010502-01',`product_sn` = 'GJ010502',`product_spec` = '紫蘇梅醋+紫蘇梅醋',`invoice_name` = '禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '750',`etd` = '2024-05-09',`create_date` = '2024-05-07 09:24:55',`modify_date` = '2024-05-09 08:21:42',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050024758' and product_code = 'GJ010502-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050025352' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231713',`firm_id` = '8',`ordernumber` = 'S24050025352', `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` = '18',`total_price` = '8640',`etd` = '2024-05-22',`create_date` = '2024-05-07 12:16:20',`modify_date` = '2024-05-09 13:52:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050025352' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050025352' and product_code = 'DG010404-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231713',`firm_id` = '8',`ordernumber` = 'S24050025352', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '36',`total_price` = '0',`etd` = '2024-05-22',`create_date` = '2024-05-07 12:16:20',`modify_date` = '2024-05-09 13:52:54',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050025352' and product_code = 'DG010404-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050026354' and product_code = 'DG010113-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231723',`firm_id` = '8',`ordernumber` = 'S24050026354', `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-05-09',`create_date` = '2024-05-07 15:17:48',`modify_date` = '2024-05-09 15:46:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050026354' and product_code = 'DG010113-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050026354' and product_code = 'DG010113-02' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231723',`firm_id` = '8',`ordernumber` = 'S24050026354', `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` = '48',`total_price` = '10800',`etd` = '2024-05-09',`create_date` = '2024-05-07 15:17:48',`modify_date` = '2024-05-09 15:46:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050026354' and product_code = 'DG010113-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050026354' and product_code = 'DG010113-03' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231723',`firm_id` = '8',`ordernumber` = 'S24050026354', `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-05-09',`create_date` = '2024-05-07 15:17:48',`modify_date` = '2024-05-09 15:46:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050026354' and product_code = 'DG010113-03' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050026354' and product_code = 'DG010113-04' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231723',`firm_id` = '8',`ordernumber` = 'S24050026354', `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-05-09',`create_date` = '2024-05-07 15:17:48',`modify_date` = '2024-05-09 15:46:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050026354' and product_code = 'DG010113-04' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050026354' and product_code = 'DG010113-05' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231723',`firm_id` = '8',`ordernumber` = 'S24050026354', `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` = '48',`total_price` = '10800',`etd` = '2024-05-09',`create_date` = '2024-05-07 15:17:48',`modify_date` = '2024-05-09 15:46:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050026354' and product_code = 'DG010113-05' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050026354' and product_code = 'DG010107-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231723',`firm_id` = '8',`ordernumber` = 'S24050026354', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-05-09',`create_date` = '2024-05-07 15:17:48',`modify_date` = '2024-05-09 15:46:38',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050026354' and product_code = 'DG010107-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050027432' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231734',`firm_id` = '8',`ordernumber` = 'S24050027432', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-09',`create_date` = '2024-05-07 18:49:41',`modify_date` = '2024-05-09 10:51:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050027432' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050027432' and product_code = 'DG010312-12' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231734',`firm_id` = '8',`ordernumber` = 'S24050027432', `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` = '1',`total_price` = '480',`etd` = '2024-05-09',`create_date` = '2024-05-07 18:49:41',`modify_date` = '2024-05-09 10:51:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'S24050027432' and product_code = 'DG010312-12' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028232' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231742',`firm_id` = '8',`ordernumber` = 'O24050028232', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-09',`create_date` = '2024-05-07 23:31:05',`modify_date` = '2024-05-09 08:21:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'O24050028232' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028232' and product_code = 'TG010118-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231742',`firm_id` = '8',`ordernumber` = 'O24050028232', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-09',`create_date` = '2024-05-07 23:31:05',`modify_date` = '2024-05-09 08:21:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'O24050028232' and product_code = 'TG010118-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028232' and product_code = '03952' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231742',`firm_id` = '8',`ordernumber` = 'O24050028232', `product_name` = '[加購]加購-夏威夷豆軟糖分享包(袋裝15入)',`product_code` = '03952',`product_sn` = '03952',`product_spec` = '-',`invoice_name` = '加購-(紅袋)夏威夷豆軟糖',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-09',`create_date` = '2024-05-07 23:31:05',`modify_date` = '2024-05-09 08:21:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'O24050028232' and product_code = '03952' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028232' and product_code = 'GG010106-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231742',`firm_id` = '8',`ordernumber` = 'O24050028232', `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` = '2024-05-09',`create_date` = '2024-05-07 23:31:05',`modify_date` = '2024-05-09 08:21:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-29'where ordernumber = 'O24050028232' and product_code = 'GG010106-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `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` = '30',`total_price` = '14400',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'DG010312-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'DG010312-07' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `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` = '30',`total_price` = '14400',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'DG010312-07' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'DG010527-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7250',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'DG010527-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'DG010527-03' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`product_sn` = 'DG010527',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7250',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'DG010527-03' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'DG010527-02' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7250',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'DG010527-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'DG010312-09' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '25',`total_price` = '12000',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'DG010312-09' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050028697' and product_code = 'BP010159-01' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231746',`firm_id` = '8',`ordernumber` = 'O24050028697', `product_name` = '[加購]加購-SNOOPY提把水瓶',`product_code` = 'BP010159-01',`product_sn` = 'BP010159',`product_spec` = '-',`invoice_name` = '加購-SNOOPY提把水瓶',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-05-28',`create_date` = '2024-05-08 00:53:39',`modify_date` = '2024-05-09 09:22:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050028697' and product_code = 'BP010159-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050030170' and product_code = '13657' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231761',`firm_id` = '8',`ordernumber` = 'O24050030170', `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` = '4',`total_price` = '1160',`etd` = '2024-05-09',`create_date` = '2024-05-08 12:30:20',`modify_date` = '2024-05-09 08:15:26',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050030170' and product_code = '13657' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050030170' and product_code = '13660' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231761',`firm_id` = '8',`ordernumber` = 'O24050030170', `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` = '4',`total_price` = '1160',`etd` = '2024-05-09',`create_date` = '2024-05-08 12:30:20',`modify_date` = '2024-05-09 08:15:26',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'O24050030170' and product_code = '13660' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050031774' and product_code = 'DG010312-03' 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231777',`firm_id` = '8',`ordernumber` = 'S24050031774', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '13',`total_price` = '6240',`etd` = '2024-05-09',`create_date` = '2024-05-08 18:34:55',`modify_date` = '2024-05-09 13:12:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-01'where ordernumber = 'S24050031774' and product_code = 'DG010312-03' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050032762' and product_code = 'GJ010502-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231787','8','O24050032762','心釀梅醋禮盒','GJ010502-01','GJ010502','紫蘇梅醋+紫蘇梅醋','禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】','750','750','0','0','0','0','1','0.0','1','750','2024-05-13','2024-05-09 00:41:55','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231787',`firm_id` = '8',`ordernumber` = 'O24050032762', `product_name` = '心釀梅醋禮盒',`product_code` = 'GJ010502-01',`product_sn` = 'GJ010502',`product_spec` = '紫蘇梅醋+紫蘇梅醋',`invoice_name` = '禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '750',`etd` = '2024-05-13',`create_date` = '2024-05-09 00:41:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050032762' and product_code = 'GJ010502-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050032762' and product_code = 'DG010589-04' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231787','8','O24050032762','梅好心意隨享禮盒','DG010589-04','DG010589','8入鳳梅酥盒裝+原味+芝麻+無籽梅肉','禮盒-梅好心意【原味+芝麻】【鳳梅酥+無籽梅肉】','650','650','0','0','0','0','1','0.0','1','650','2024-05-13','2024-05-09 00:41:55','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231787',`firm_id` = '8',`ordernumber` = 'O24050032762', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-04',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+原味+芝麻+無籽梅肉',`invoice_name` = '禮盒-梅好心意【原味+芝麻】【鳳梅酥+無籽梅肉】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '650',`etd` = '2024-05-13',`create_date` = '2024-05-09 00:41:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050032762' and product_code = 'DG010589-04' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050032890' and product_code = 'DG010113-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231788','8','S24050032890','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','72','16200','2024-05-13','2024-05-09 09:33:22','2024-05-09 23:59:06',0,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231788',`firm_id` = '8',`ordernumber` = 'S24050032890', `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` = '72',`total_price` = '16200',`etd` = '2024-05-13',`create_date` = '2024-05-09 09:33:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050032890' and product_code = 'DG010113-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050032971' and product_code = '13656' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231789','8','O24050032971','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','6','1740','2024-05-14','2024-05-09 09:38:28','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231789',`firm_id` = '8',`ordernumber` = 'O24050032971', `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` = '6',`total_price` = '1740',`etd` = '2024-05-14',`create_date` = '2024-05-09 09:38:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050032971' and product_code = '13656' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033064' and product_code = 'DG010312-07' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231790','8','O24050033064','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-05-31','2024-05-09 10:23:08','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231790',`firm_id` = '8',`ordernumber` = 'O24050033064', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-31',`create_date` = '2024-05-09 10:23:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033064' and product_code = 'DG010312-07' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033158' and product_code = '13656' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231791','8','O24050033158','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-06-04','2024-05-09 10:33:31','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231791',`firm_id` = '8',`ordernumber` = 'O24050033158', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-06-04',`create_date` = '2024-05-09 10:33:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033158' and product_code = '13656' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010206-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','3','885','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `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` = '3',`total_price` = '885',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010206-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010206-02' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010206-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010206-05' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010206-05' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010206-03' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`product_sn` = 'DG010206',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(紅)-40入咖啡蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010206-03' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010206-04' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','8結蛋捲【紅提盒裝】','DG010206-04','DG010206','海苔','提盒-品牌(紅)-40入海苔蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-04',`product_sn` = 'DG010206',`product_spec` = '海苔',`invoice_name` = '提盒-品牌(紅)-40入海苔蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010206-04' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010258-01' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010258-01' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010258-02' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010258-02' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010258-03' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010258-03' 2024-05-09 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010258-04' 2024-05-09 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231792','8','O24050033268','金豐收8結提盒','DG010258-04','DG010258','40入海苔蛋捲','提盒-金豐收(藍)-40入海苔','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:06',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-04',`product_sn` = 'DG010258',`product_spec` = '40入海苔蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入海苔',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010258-04' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033268' and product_code = 'DG010258-05' 2024-05-09 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,'231792','8','O24050033268','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','1','295','2024-05-13','2024-05-09 11:08:39','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231792',`firm_id` = '8',`ordernumber` = 'O24050033268', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:08:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033268' and product_code = 'DG010258-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033374' and product_code = '13656' 2024-05-09 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,'231793','8','O24050033374','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','40','11600','2024-05-31','2024-05-09 11:16:27','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231793',`firm_id` = '8',`ordernumber` = 'O24050033374', `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` = '40',`total_price` = '11600',`etd` = '2024-05-31',`create_date` = '2024-05-09 11:16:27',`modify_date` = '2024-05-09 11:27:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033374' and product_code = '13656' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033374' and product_code = '13657' 2024-05-09 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,'231793','8','O24050033374','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','60','17400','2024-05-31','2024-05-09 11:16:27','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231793',`firm_id` = '8',`ordernumber` = 'O24050033374', `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` = '60',`total_price` = '17400',`etd` = '2024-05-31',`create_date` = '2024-05-09 11:16:27',`modify_date` = '2024-05-09 11:27:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033374' and product_code = '13657' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033374' and product_code = '13659' 2024-05-09 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,'231793','8','O24050033374','8結蛋捲【紅提袋裝】','13659','13656','40入海苔蛋捲','組合-40入海苔+紅提袋','290','290','0','0','0','0','1','0.0','40','11600','2024-05-31','2024-05-09 11:16:27','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231793',`firm_id` = '8',`ordernumber` = 'O24050033374', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`product_sn` = '13656',`product_spec` = '40入海苔蛋捲',`invoice_name` = '組合-40入海苔+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '11600',`etd` = '2024-05-31',`create_date` = '2024-05-09 11:16:27',`modify_date` = '2024-05-09 11:27:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033374' and product_code = '13659' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033374' and product_code = '13660' 2024-05-09 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,'231793','8','O24050033374','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','40','11600','2024-05-31','2024-05-09 11:16:27','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231793',`firm_id` = '8',`ordernumber` = 'O24050033374', `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` = '40',`total_price` = '11600',`etd` = '2024-05-31',`create_date` = '2024-05-09 11:16:27',`modify_date` = '2024-05-09 11:27:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033374' and product_code = '13660' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050033449' and product_code = 'DG010312-02' 2024-05-09 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,'231794','8','S24050033449','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-10','2024-05-09 11:35:59','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231794',`firm_id` = '8',`ordernumber` = 'S24050033449', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-10',`create_date` = '2024-05-09 11:35:59',`modify_date` = '2024-05-09 11:55:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050033449' and product_code = 'DG010312-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050033449' and product_code = 'DG010312-03' 2024-05-09 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,'231794','8','S24050033449','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','9','4320','2024-05-10','2024-05-09 11:35:59','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231794',`firm_id` = '8',`ordernumber` = 'S24050033449', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '9',`total_price` = '4320',`etd` = '2024-05-10',`create_date` = '2024-05-09 11:35:59',`modify_date` = '2024-05-09 11:55:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050033449' and product_code = 'DG010312-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033544' and product_code = 'DG0103155-09' 2024-05-09 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,'231795','8','O24050033544','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-09','DG0103155','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','6','3000','2024-05-13','2024-05-09 11:50:35','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231795',`firm_id` = '8',`ordernumber` = 'O24050033544', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`product_sn` = 'DG0103155',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '3000',`etd` = '2024-05-13',`create_date` = '2024-05-09 11:50:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033544' and product_code = 'DG0103155-09' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033656' and product_code = 'DG0103148-02' 2024-05-09 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,'231796','8','O24050033656','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','10','4800','2024-06-04','2024-05-09 12:55:37','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231796',`firm_id` = '8',`ordernumber` = 'O24050033656', `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` = '10',`total_price` = '4800',`etd` = '2024-06-04',`create_date` = '2024-05-09 12:55:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033656' and product_code = 'DG0103148-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033656' and product_code = 'DG0103148-03' 2024-05-09 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,'231796','8','O24050033656','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-06-04','2024-05-09 12:55:37','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231796',`firm_id` = '8',`ordernumber` = 'O24050033656', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-06-04',`create_date` = '2024-05-09 12:55:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033656' and product_code = 'DG0103148-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033656' and product_code = 'DG0103148-14' 2024-05-09 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,'231796','8','O24050033656','金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-06-04','2024-05-09 12:55:37','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231796',`firm_id` = '8',`ordernumber` = 'O24050033656', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-14',`product_sn` = 'DG0103148',`product_spec` = '巧克力+海苔',`invoice_name` = '禮盒-金典(紅)【海苔+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-06-04',`create_date` = '2024-05-09 12:55:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033656' and product_code = 'DG0103148-14' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033720' and product_code = 'DG010383-02' 2024-05-09 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,'231797','8','O24050033720','【小王子聯名】星光飛行8結禮盒','DG010383-02','DG010383','原味+芝麻','禮盒-小王子(紅)【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-05-13','2024-05-09 13:10:57','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231797',`firm_id` = '8',`ordernumber` = 'O24050033720', `product_name` = '【小王子聯名】星光飛行8結禮盒',`product_code` = 'DG010383-02',`product_sn` = 'DG010383',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(紅)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-13',`create_date` = '2024-05-09 13:10:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033720' and product_code = 'DG010383-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033720' and product_code = 'FL010103-01' 2024-05-09 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,'231797','8','O24050033720','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-05-13','2024-05-09 13:10:57','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231797',`firm_id` = '8',`ordernumber` = 'O24050033720', `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` = '1',`total_price` = '185',`etd` = '2024-05-13',`create_date` = '2024-05-09 13:10:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033720' and product_code = 'FL010103-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033863' and product_code = 'DG010312-02' 2024-05-09 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,'231798','8','O24050033863','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-05-17','2024-05-09 13:45:18','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231798',`firm_id` = '8',`ordernumber` = 'O24050033863', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-05-17',`create_date` = '2024-05-09 13:45:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033863' and product_code = 'DG010312-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033863' and product_code = 'DG010312-05' 2024-05-09 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,'231798','8','O24050033863','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2024-05-17','2024-05-09 13:45:18','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231798',`firm_id` = '8',`ordernumber` = 'O24050033863', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-05-17',`create_date` = '2024-05-09 13:45:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033863' and product_code = 'DG010312-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033863' and product_code = 'DG010312-03' 2024-05-09 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,'231798','8','O24050033863','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','5','2400','2024-05-17','2024-05-09 13:45:18','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231798',`firm_id` = '8',`ordernumber` = 'O24050033863', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '5',`total_price` = '2400',`etd` = '2024-05-17',`create_date` = '2024-05-09 13:45:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033863' and product_code = 'DG010312-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050033939' and product_code = 'DG0103155-05' 2024-05-09 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,'231799','8','O24050033939','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','16','8000','2024-05-31','2024-05-09 13:47:42','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231799',`firm_id` = '8',`ordernumber` = 'O24050033939', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '8000',`etd` = '2024-05-31',`create_date` = '2024-05-09 13:47:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050033939' and product_code = 'DG0103155-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034054' and product_code = 'DG0103148-05' 2024-05-09 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,'231800','8','S24050034054','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','80','38400','2024-05-17','2024-05-09 14:42:20','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231800',`firm_id` = '8',`ordernumber` = 'S24050034054', `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` = '80',`total_price` = '38400',`etd` = '2024-05-17',`create_date` = '2024-05-09 14:42:20',`modify_date` = '2024-05-09 16:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034054' and product_code = 'DG0103148-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034176' and product_code = 'DG010113-01' 2024-05-09 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,'231801','8','S24050034176','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','96','21600','2024-05-13','2024-05-09 15:04:25','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231801',`firm_id` = '8',`ordernumber` = 'S24050034176', `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` = '96',`total_price` = '21600',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:04:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034176' and product_code = 'DG010113-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034176' and product_code = 'DG010113-02' 2024-05-09 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,'231801','8','S24050034176','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','72','16200','2024-05-13','2024-05-09 15:04:25','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231801',`firm_id` = '8',`ordernumber` = 'S24050034176', `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` = '72',`total_price` = '16200',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:04:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034176' and product_code = 'DG010113-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034176' and product_code = 'DG010113-03' 2024-05-09 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,'231801','8','S24050034176','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','48','10800','2024-05-13','2024-05-09 15:04:25','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231801',`firm_id` = '8',`ordernumber` = 'S24050034176', `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` = '48',`total_price` = '10800',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:04:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034176' and product_code = 'DG010113-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034176' and product_code = 'DG010113-05' 2024-05-09 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,'231801','8','S24050034176','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','72','16200','2024-05-13','2024-05-09 15:04:25','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231801',`firm_id` = '8',`ordernumber` = 'S24050034176', `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` = '72',`total_price` = '16200',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:04:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034176' and product_code = 'DG010113-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034260' and product_code = 'DG010523-07' 2024-05-09 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,'231802','8','O24050034260','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-13','2024-05-09 15:11:49','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231802',`firm_id` = '8',`ordernumber` = 'O24050034260', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:11:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034260' and product_code = 'DG010523-07' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034260' and product_code = 'BP010159-01' 2024-05-09 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,'231802','8','O24050034260','[加購]加購-SNOOPY提把水瓶','BP010159-01','BP010159','-','加購-SNOOPY提把水瓶','360','360','1','1','360','0','0','0.0','1','360','2024-05-13','2024-05-09 15:11:49','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231802',`firm_id` = '8',`ordernumber` = 'O24050034260', `product_name` = '[加購]加購-SNOOPY提把水瓶',`product_code` = 'BP010159-01',`product_sn` = 'BP010159',`product_spec` = '-',`invoice_name` = '加購-SNOOPY提把水瓶',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:11:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034260' and product_code = 'BP010159-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010225-01' 2024-05-09 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,'231803','8','S24050034378','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-01','DG010225','40入原味蛋捲','提盒-故宮(人物款)-40入原味','300','300','0','0','0','0','1','0.0','20','6000','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010225-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010225-02' 2024-05-09 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,'231803','8','S24050034378','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-02','DG010225','40入芝麻蛋捲','提盒-故宮(人物款)-40入芝麻','300','300','0','0','0','0','1','0.0','10','3000','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-02',`product_sn` = 'DG010225',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010225-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010225-03' 2024-05-09 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,'231803','8','S24050034378','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-03','DG010225','40入咖啡蛋捲','提盒-故宮(人物款)-40入咖啡','300','300','0','0','0','0','1','0.0','10','3000','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-03',`product_sn` = 'DG010225',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010225-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010225-04' 2024-05-09 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,'231803','8','S24050034378','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-04','DG010225','40入海苔蛋捲','提盒-故宮(人物款)-40入海苔','300','300','0','0','0','0','1','0.0','10','3000','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-04',`product_sn` = 'DG010225',`product_spec` = '40入海苔蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010225-04' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010225-05' 2024-05-09 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,'231803','8','S24050034378','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-05','DG010225','40入巧克力蛋捲','提盒-故宮(人物款)-40入巧克力','300','300','0','0','0','0','1','0.0','10','3000','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-05',`product_sn` = 'DG010225',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010225-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010206-01' 2024-05-09 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,'231803','8','S24050034378','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','30','8850','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `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` = '30',`total_price` = '8850',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010206-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010206-02' 2024-05-09 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,'231803','8','S24050034378','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`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` = '10',`total_price` = '2950',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010206-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010206-05' 2024-05-09 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,'231803','8','S24050034378','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2950',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010206-05' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010206-03' 2024-05-09 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,'231803','8','S24050034378','8結蛋捲【紅提盒裝】','DG010206-03','DG010206','咖啡','提盒-品牌(紅)-40入咖啡蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-03',`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` = '10',`total_price` = '2950',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010206-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034378' and product_code = 'DG010206-04' 2024-05-09 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,'231803','8','S24050034378','8結蛋捲【紅提盒裝】','DG010206-04','DG010206','海苔','提盒-品牌(紅)-40入海苔蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-05-23','2024-05-09 15:26:42','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231803',`firm_id` = '8',`ordernumber` = 'S24050034378', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-04',`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` = '10',`total_price` = '2950',`etd` = '2024-05-23',`create_date` = '2024-05-09 15:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034378' and product_code = 'DG010206-04' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034485' and product_code = 'DG010527-01' 2024-05-09 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,'231804','8','O24050034485','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','11','3190','2024-05-13','2024-05-09 15:36:51','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231804',`firm_id` = '8',`ordernumber` = 'O24050034485', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3190',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:36:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034485' and product_code = 'DG010527-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034485' and product_code = 'LS010103-01' 2024-05-09 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,'231804','8','O24050034485','厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','150','150','0','0','0','0','1','0.0','2','300','2024-05-13','2024-05-09 15:36:51','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231804',`firm_id` = '8',`ordernumber` = 'O24050034485', `product_name` = '厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '300',`etd` = '2024-05-13',`create_date` = '2024-05-09 15:36:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034485' and product_code = 'LS010103-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034511' and product_code = 'DG010101-01' 2024-05-09 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,'231805','8','S24050034511','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','41','11480','2024-06-06','2024-05-09 16:39:12','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231805',`firm_id` = '8',`ordernumber` = 'S24050034511', `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` = '41',`total_price` = '11480',`etd` = '2024-06-06',`create_date` = '2024-05-09 16:39:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034511' and product_code = 'DG010101-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034511' and product_code = 'DG010404-01' 2024-05-09 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,'231805','8','S24050034511','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','41','410','2024-06-06','2024-05-09 16:39:12','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231805',`firm_id` = '8',`ordernumber` = 'S24050034511', `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` = '41',`total_price` = '410',`etd` = '2024-06-06',`create_date` = '2024-05-09 16:39:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034511' and product_code = 'DG010404-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034511' and product_code = 'FL010104-01' 2024-05-09 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,'231805','8','S24050034511','加購-一口鳳梨酥','FL010104-01','FL010104','8入鳳梨酥','加購-(盒)鳳梨酥','155','155','0','0','0','1','1','0.0','41','6355','2024-06-06','2024-05-09 16:39:12','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231805',`firm_id` = '8',`ordernumber` = 'S24050034511', `product_name` = '加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '41',`total_price` = '6355',`etd` = '2024-06-06',`create_date` = '2024-05-09 16:39:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034511' and product_code = 'FL010104-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034619' and product_code = 'DG010261-01' 2024-05-09 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,'231806','8','O24050034619','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','13','3900','2024-05-28','2024-05-09 16:44:10','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231806',`firm_id` = '8',`ordernumber` = 'O24050034619', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3900',`etd` = '2024-05-28',`create_date` = '2024-05-09 16:44:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034619' and product_code = 'DG010261-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034715' and product_code = 'DG010101-01' 2024-05-09 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,'231807','8','O24050034715','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-13','2024-05-09 16:45:13','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231807',`firm_id` = '8',`ordernumber` = 'O24050034715', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-13',`create_date` = '2024-05-09 16:45:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034715' and product_code = 'DG010101-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034715' and product_code = 'DG010101-03' 2024-05-09 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,'231807','8','O24050034715','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-13','2024-05-09 16:45:13','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231807',`firm_id` = '8',`ordernumber` = 'O24050034715', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-13',`create_date` = '2024-05-09 16:45:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034715' and product_code = 'DG010101-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034715' and product_code = 'TG010117-01' 2024-05-09 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,'231807','8','O24050034715','分享包-南棗核桃糕','TG010117-01','TG010117','25入核棗糕分享包','(紅袋)南棗核桃糕','300','300','0','0','0','0','1','0.0','1','300','2024-05-13','2024-05-09 16:45:13','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231807',`firm_id` = '8',`ordernumber` = 'O24050034715', `product_name` = '分享包-南棗核桃糕',`product_code` = 'TG010117-01',`product_sn` = 'TG010117',`product_spec` = '25入核棗糕分享包',`invoice_name` = '(紅袋)南棗核桃糕',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-13',`create_date` = '2024-05-09 16:45:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034715' and product_code = 'TG010117-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034715' and product_code = 'DG010101-02' 2024-05-09 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,'231807','8','O24050034715','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-05-13','2024-05-09 16:45:13','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231807',`firm_id` = '8',`ordernumber` = 'O24050034715', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-05-13',`create_date` = '2024-05-09 16:45:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034715' and product_code = 'DG010101-02' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050034830' and product_code = 'DG010312-03' 2024-05-09 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,'231808','8','S24050034830','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-05-10','2024-05-09 16:45:45','2024-05-09 23:59:07',0,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231808',`firm_id` = '8',`ordernumber` = 'S24050034830', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-10',`create_date` = '2024-05-09 16:45:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050034830' and product_code = 'DG010312-03' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050034915' and product_code = 'DG010206-01' 2024-05-09 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,'231809','8','O24050034915','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','24','7080','2024-05-13','2024-05-09 17:10:59','2024-05-09 23:59:07',null,'1','2024-04-02') 2024-05-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231809',`firm_id` = '8',`ordernumber` = 'O24050034915', `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` = '24',`total_price` = '7080',`etd` = '2024-05-13',`create_date` = '2024-05-09 17:10:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050034915' and product_code = 'DG010206-01' 2024-05-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035014' and product_code = 'DG0103155-02' 2024-05-09 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,'231810','8','O24050035014','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-05-13','2024-05-09 17:59:30','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231810',`firm_id` = '8',`ordernumber` = 'O24050035014', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-02',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-13',`create_date` = '2024-05-09 17:59:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035014' and product_code = 'DG0103155-02' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035014' and product_code = 'DG0103155-09' 2024-05-09 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,'231810','8','O24050035014','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-09','DG0103155','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-05-13','2024-05-09 17:59:30','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231810',`firm_id` = '8',`ordernumber` = 'O24050035014', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`product_sn` = 'DG0103155',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-13',`create_date` = '2024-05-09 17:59:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035014' and product_code = 'DG0103155-09' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035014' and product_code = 'DG010527-02' 2024-05-09 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,'231810','8','O24050035014','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-13','2024-05-09 17:59:30','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231810',`firm_id` = '8',`ordernumber` = 'O24050035014', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-13',`create_date` = '2024-05-09 17:59:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035014' and product_code = 'DG010527-02' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050035189' and product_code = 'DG010113-02' 2024-05-09 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,'231811','8','S24050035189','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','1','225','2024-05-10','2024-05-09 18:35:13','2024-05-09 23:59:08',0,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231811',`firm_id` = '8',`ordernumber` = 'S24050035189', `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` = '1',`total_price` = '225',`etd` = '2024-05-10',`create_date` = '2024-05-09 18:35:13',`modify_date` = '2024-05-09 18:37:32',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'S24050035189' and product_code = 'DG010113-02' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035277' and product_code = 'DG010312-04' 2024-05-09 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,'231812','8','O24050035277','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','11','5280','2024-05-31','2024-05-09 18:56:24','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231812',`firm_id` = '8',`ordernumber` = 'O24050035277', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '11',`total_price` = '5280',`etd` = '2024-05-31',`create_date` = '2024-05-09 18:56:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035277' and product_code = 'DG010312-04' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035277' and product_code = 'LS010108-01' 2024-05-09 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,'231812','8','O24050035277','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','2','380','2024-05-31','2024-05-09 18:56:24','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231812',`firm_id` = '8',`ordernumber` = 'O24050035277', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '380',`etd` = '2024-05-31',`create_date` = '2024-05-09 18:56:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035277' and product_code = 'LS010108-01' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035331' and product_code = 'DG0103165-02' 2024-05-09 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,'231813','8','O24050035331','金典8結黑松露堅果禮盒','DG0103165-02','12529','芝麻蛋捲,黑松露腰果','禮盒-金典(紅)【芝麻+腰果提盒】','1205','1205','0','0','0','0','1','0.0','2','2410','2024-05-20','2024-05-09 19:42:40','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231813',`firm_id` = '8',`ordernumber` = 'O24050035331', `product_name` = '金典8結黑松露堅果禮盒',`product_code` = 'DG0103165-02',`product_sn` = '12529',`product_spec` = '芝麻蛋捲,黑松露腰果',`invoice_name` = '禮盒-金典(紅)【芝麻+腰果提盒】',`listprice` = '1205',`sellingprice` = '1205',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2410',`etd` = '2024-05-20',`create_date` = '2024-05-09 19:42:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035331' and product_code = 'DG0103165-02' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035331' and product_code = 'DG010589-23' 2024-05-09 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,'231813','8','O24050035331','梅好心意隨享禮盒','DG010589-23','DG010589','8入鳳梅酥盒裝+芝麻+海苔+台灣梅片','禮盒-梅好心意【芝麻+海苔】【鳳梅酥+台灣梅片】','650','650','0','0','0','0','1','0.0','13','8450','2024-05-20','2024-05-09 19:42:40','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231813',`firm_id` = '8',`ordernumber` = 'O24050035331', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-23',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+芝麻+海苔+台灣梅片',`invoice_name` = '禮盒-梅好心意【芝麻+海苔】【鳳梅酥+台灣梅片】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '8450',`etd` = '2024-05-20',`create_date` = '2024-05-09 19:42:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035331' and product_code = 'DG010589-23' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035331' and product_code = 'FL010316-18' 2024-05-09 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,'231813','8','O24050035331','剛好一口酥禮盒','FL010316-18','FL010316','鳳梅酥,夏威夷豆軟糖','禮盒-剛好一口酥【鳳梅酥+夏威夷豆軟糖】','445','445','0','0','0','0','1','0.0','30','13350','2024-05-20','2024-05-09 19:42:40','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231813',`firm_id` = '8',`ordernumber` = 'O24050035331', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-18',`product_sn` = 'FL010316',`product_spec` = '鳳梅酥,夏威夷豆軟糖',`invoice_name` = '禮盒-剛好一口酥【鳳梅酥+夏威夷豆軟糖】',`listprice` = '445',`sellingprice` = '445',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '13350',`etd` = '2024-05-20',`create_date` = '2024-05-09 19:42:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035331' and product_code = 'FL010316-18' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035432' and product_code = 'DG010258-01' 2024-05-09 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,'231814','8','O24050035432','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','19','5605','2024-05-29','2024-05-09 20:06:45','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231814',`firm_id` = '8',`ordernumber` = 'O24050035432', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '5605',`etd` = '2024-05-29',`create_date` = '2024-05-09 20:06:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035432' and product_code = 'DG010258-01' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035510' and product_code = 'DG010258-01' 2024-05-09 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,'231815','8','O24050035510','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','16','4720','2024-05-27','2024-05-09 20:10:49','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231815',`firm_id` = '8',`ordernumber` = 'O24050035510', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '4720',`etd` = '2024-05-27',`create_date` = '2024-05-09 20:10:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035510' and product_code = 'DG010258-01' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035664' and product_code = 'LS010135-01' 2024-05-09 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,'231816','8','O24050035664','無籽梅肉','LS010135-01','LS010135','無籽梅肉','(盒)無籽梅肉','255','255','0','0','0','0','1','0.0','1','255','2024-05-13','2024-05-09 21:49:05','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231816',`firm_id` = '8',`ordernumber` = 'O24050035664', `product_name` = '無籽梅肉',`product_code` = 'LS010135-01',`product_sn` = 'LS010135',`product_spec` = '無籽梅肉',`invoice_name` = '(盒)無籽梅肉',`listprice` = '255',`sellingprice` = '255',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '255',`etd` = '2024-05-13',`create_date` = '2024-05-09 21:49:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035664' and product_code = 'LS010135-01' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035664' and product_code = 'DG0103161-01' 2024-05-09 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,'231816','8','O24050035664','友你相伴8結肉酥酥禮盒','DG0103161-01','DG0103161','原味蛋捲,原味肉酥酥','禮盒-SNOOPY【原味+原味肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-05-13','2024-05-09 21:49:05','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231816',`firm_id` = '8',`ordernumber` = 'O24050035664', `product_name` = '友你相伴8結肉酥酥禮盒',`product_code` = 'DG0103161-01',`product_sn` = 'DG0103161',`product_spec` = '原味蛋捲,原味肉酥酥',`invoice_name` = '禮盒-SNOOPY【原味+原味肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-05-13',`create_date` = '2024-05-09 21:49:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035664' and product_code = 'DG0103161-01' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035664' and product_code = 'DG0103161-07' 2024-05-09 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,'231816','8','O24050035664','友你相伴8結肉酥酥禮盒','DG0103161-07','DG0103161','咖啡蛋捲,原味肉酥酥','禮盒-SNOOPY【咖啡+原味肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-05-13','2024-05-09 21:49:05','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231816',`firm_id` = '8',`ordernumber` = 'O24050035664', `product_name` = '友你相伴8結肉酥酥禮盒',`product_code` = 'DG0103161-07',`product_sn` = 'DG0103161',`product_spec` = '咖啡蛋捲,原味肉酥酥',`invoice_name` = '禮盒-SNOOPY【咖啡+原味肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-05-13',`create_date` = '2024-05-09 21:49:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035664' and product_code = 'DG0103161-07' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035722' and product_code = 'DG010226-02' 2024-05-09 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,'231817','8','O24050035722','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-02','DG010226','40入芝麻蛋捲','提盒-故宮(文物款)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-05-28','2024-05-09 22:04:55','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231817',`firm_id` = '8',`ordernumber` = 'O24050035722', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-02',`product_sn` = 'DG010226',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-28',`create_date` = '2024-05-09 22:04:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035722' and product_code = 'DG010226-02' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035722' and product_code = 'DG010394-07' 2024-05-09 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,'231817','8','O24050035722','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-07','DG010394','芝麻蛋捲,咖啡蛋捲','禮盒-故宮(文物款)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','3','1500','2024-05-28','2024-05-09 22:04:55','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231817',`firm_id` = '8',`ordernumber` = 'O24050035722', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-07',`product_sn` = 'DG010394',`product_spec` = '芝麻蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-故宮(文物款)【芝麻+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-05-28',`create_date` = '2024-05-09 22:04:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035722' and product_code = 'DG010394-07' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035872' and product_code = '13657' 2024-05-09 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,'231818','8','O24050035872','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','55','15950','2024-05-15','2024-05-09 22:21:32','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231818',`firm_id` = '8',`ordernumber` = 'O24050035872', `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` = '55',`total_price` = '15950',`etd` = '2024-05-15',`create_date` = '2024-05-09 22:21:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035872' and product_code = '13657' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035965' and product_code = 'DG010312-09' 2024-05-09 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,'231819','8','O24050035965','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-13','2024-05-09 23:01:27','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231819',`firm_id` = '8',`ordernumber` = 'O24050035965', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:01:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035965' and product_code = 'DG010312-09' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035965' and product_code = 'DG010312-12' 2024-05-09 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,'231819','8','O24050035965','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-13','2024-05-09 23:01:27','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231819',`firm_id` = '8',`ordernumber` = 'O24050035965', `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` = '1',`total_price` = '480',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:01:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035965' and product_code = 'DG010312-12' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050035965' and product_code = 'DG010312-04' 2024-05-09 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,'231819','8','O24050035965','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-05-13','2024-05-09 23:01:27','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231819',`firm_id` = '8',`ordernumber` = 'O24050035965', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:01:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050035965' and product_code = 'DG010312-04' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050036034' and product_code = 'LS010103-01' 2024-05-09 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,'231820','8','O24050036034','厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','150','150','0','0','0','0','1','0.0','4','600','2024-05-13','2024-05-09 23:27:28','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231820',`firm_id` = '8',`ordernumber` = 'O24050036034', `product_name` = '厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '600',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:27:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050036034' and product_code = 'LS010103-01' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050036034' and product_code = 'DG010312-09' 2024-05-09 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,'231820','8','O24050036034','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-13','2024-05-09 23:27:28','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231820',`firm_id` = '8',`ordernumber` = 'O24050036034', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:27:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050036034' and product_code = 'DG010312-09' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050036034' and product_code = 'DG010312-04' 2024-05-09 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,'231820','8','O24050036034','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-05-13','2024-05-09 23:27:28','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231820',`firm_id` = '8',`ordernumber` = 'O24050036034', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:27:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050036034' and product_code = 'DG010312-04' 2024-05-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050036034' and product_code = 'DG010312-12' 2024-05-09 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,'231820','8','O24050036034','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-13','2024-05-09 23:27:28','2024-05-09 23:59:08',null,'1','2024-04-02') 2024-05-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231820',`firm_id` = '8',`ordernumber` = 'O24050036034', `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` = '1',`total_price` = '480',`etd` = '2024-05-13',`create_date` = '2024-05-09 23:27:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-04-02'where ordernumber = 'O24050036034' and product_code = 'DG010312-12' 2024-05-09 23:59:08 -- == sync_order_detail end == 2024-05-09 23:59:08 -- == sync_order start == 2024-05-09 23:59:08 -- start:2024-05-09,end:2024-05-09 2024-05-09 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 '2024-05-09%' OR l.modify_date like '2024-05-09%'; 2024-05-09 23:59:08 -- == sync omo_order_list == 2024-05-09 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '17195', lunar_date = '2024-03-21', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24040021520RB' 2024-05-09 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '387055', process_status = '2', pay_status = '1', totalprice_after = '16102', lunar_date = '2024-03-21', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24040023822' 2024-05-09 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '387456', process_status = '2', pay_status = '1', totalprice_after = '17100', lunar_date = '2024-03-21', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24040024120RB' 2024-05-09 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '7', totalprice_after = '0', lunar_date = '2024-03-28', invoice_status = '2', category_name = '公關訂單', category_id = '6' where ordernumber = 'M24050003384' 2024-05-09 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '388651', process_status = '2', pay_status = '1', totalprice_after = '14060', lunar_date = '2024-04-01', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24050005626' 2024-05-09 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '300', lunar_date = '2024-04-01', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24050005770' 2024-05-09 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 ('112450','388893',2,'正式彌,LINE@訂單','1,9','M24050006057','1','2','1','1','1','','','0','2024-05-28','0','2125','0','','0','30','42500','235','新北市','中和區','235','新北市','中和區','40345','2024-05-09 14:37:45','2024-04-02') 2024-05-09 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 ('112682','389124',2,'彌月試吃,FB訂單','2,10','M24050006191','1','11','1','1','1','','','0','2024-05-13','0','0','0','','0','0','500','208','新北市','金山區','208','新北市','金山區','500','2024-05-09 14:54:24','2024-04-02') 2024-05-09 23:59:08 -- == sync_order end == 2024-05-09 23:59:08 -- == sync_order_detail start == 2024-05-09 23:59:08 -- start:2024-05-09,end:2024-05-09 2024-05-09 23:59:08 -- == sync omo_order_detail == 2024-05-09 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-09%' OR modify_date like '2024-05-09%' 2024-05-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050003384' and product_code = 'DG0103156-05' 2024-05-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30997',`firm_id` = '8',`ordernumber` = 'M24050003384', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`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` = '80',`total_price` = '40000',`etd` = '2024-05-17',`create_date` = '2024-05-06 15:11:01',`modify_date` = '2024-05-09 15:25:32',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050003384' and product_code = 'DG0103156-05', `lunar_date` = '2024-03-28' 2024-05-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050006057' and product_code = 'DG010203-02' 2024-05-09 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,'31027','8','M24050006057','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','25','7500','2024-05-28','2024-05-09 14:37:45','2024-05-09 23:59:09',null,'1','2024-04-02') 2024-05-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31027',`firm_id` = '8',`ordernumber` = 'M24050006057', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7500',`etd` = '2024-05-28',`create_date` = '2024-05-09 14:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050006057' and product_code = 'DG010203-02', `lunar_date` = '2024-04-02' 2024-05-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050006057' and product_code = 'DG010327-02' 2024-05-09 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,'31027','8','M24050006057','【小王子聯名】仰望星空8結彌月禮盒','DG010327-02','DG010327','原味+芝麻','禮盒-小王子(藍)【原味+芝麻】','500','500','0','0','0','0','1','0.0','70','35000','2024-05-28','2024-05-09 14:37:45','2024-05-09 23:59:09',null,'1','2024-04-02') 2024-05-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31027',`firm_id` = '8',`ordernumber` = 'M24050006057', `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '70',`total_price` = '35000',`etd` = '2024-05-28',`create_date` = '2024-05-09 14:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050006057' and product_code = 'DG010327-02', `lunar_date` = '2024-04-02' 2024-05-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050006057' and product_code = 'ZP010134-01' 2024-05-09 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,'31027','8','M24050006057','贈品-recolte氣炸鍋(顏色隨機)','ZP010134-01','ZP010134','贈品-recolte氣炸鍋(顏色隨機)','贈品-recolte氣炸鍋(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-05-28','2024-05-09 14:37:45','2024-05-09 23:59:09',null,'1','2024-04-02') 2024-05-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31027',`firm_id` = '8',`ordernumber` = 'M24050006057', `product_name` = '贈品-recolte氣炸鍋(顏色隨機)',`product_code` = 'ZP010134-01',`product_sn` = 'ZP010134',`product_spec` = '贈品-recolte氣炸鍋(顏色隨機)',`invoice_name` = '贈品-recolte氣炸鍋(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-28',`create_date` = '2024-05-09 14:37:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050006057' and product_code = 'ZP010134-01', `lunar_date` = '2024-04-02' 2024-05-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050006191' and product_code = 'DG0103157-05' 2024-05-09 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,'31028','11','M24050006191','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-05','DG0103157','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-05-13','2024-05-09 14:54:24','2024-05-09 23:59:09',null,'1','2024-04-02') 2024-05-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31028',`firm_id` = '11',`ordernumber` = 'M24050006191', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-05',`product_sn` = 'DG0103157',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-13',`create_date` = '2024-05-09 14:54:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050006191' and product_code = 'DG0103157-05', `lunar_date` = '2024-04-02' 2024-05-09 23:59:09 -- == sync_order_detail end == 2024-05-09 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) = '2024-05-09' OR o.updated_at = '2024-05-09') and o.deleted_at is null 2024-05-09 23:59:09 -- == sync_order_detail start == 2024-05-09 23:59:09 -- start:2024-05-09,end:2024-05-09 2024-05-09 23:59:09 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-05-09 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-05-09 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-05-09%';