2024-07-11 23:59:03 -- == sync_order start == 2024-07-11 23:59:03 -- start:2024-07-11,end:2024-07-11 2024-07-11 23:59:03 -- == 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-07-11%' OR l.modify_date like '2024-07-11%'; 2024-07-11 23:59:04 -- == sync omo_order_list == 2024-07-11 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '395490', process_status = '2', pay_status = '1', totalprice_after = '1800', lunar_date = '2024-05-06', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060054913' 2024-07-11 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '122379', process_status = '2', pay_status = '1', totalprice_after = '8265', lunar_date = '2024-05-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060081462' 2024-07-11 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '397740', process_status = '2', pay_status = '1', totalprice_after = '1890', lunar_date = '2024-05-18', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060104780' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '397925', process_status = '2', pay_status = '1', totalprice_after = '1270', lunar_date = '2024-05-19', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060110975' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '204824', process_status = '2', pay_status = '1', totalprice_after = '2100', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060116744' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '398112', process_status = '2', pay_status = '1', totalprice_after = '1970', lunar_date = '2024-05-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060117117' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '166046', process_status = '2', pay_status = '1', totalprice_after = '29184', lunar_date = '2024-05-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060121799' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '397306', process_status = '6', pay_status = '6', totalprice_after = '630', lunar_date = '2024-05-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060125694' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '397084', process_status = '2', pay_status = '1', totalprice_after = '1800', lunar_date = '2024-05-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060126427' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '341192', process_status = '2', pay_status = '1', totalprice_after = '5760', lunar_date = '2024-05-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070006630' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '397306', process_status = '6', pay_status = '6', totalprice_after = '600', lunar_date = '2024-05-27', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070006981' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '292800', process_status = '6', pay_status = '6', totalprice_after = '3690', lunar_date = '2024-05-28', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070010816' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '234704', process_status = '0', pay_status = '0', totalprice_after = '5700', lunar_date = '2024-05-30', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24070016638' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399459', process_status = '3', pay_status = '1', totalprice_after = '8691', lunar_date = '2024-06-01', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070020245' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400128', process_status = '2', pay_status = '1', totalprice_after = '700', lunar_date = '2024-06-02', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070020652' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '397306', process_status = '3', pay_status = '1', totalprice_after = '1120', lunar_date = '2024-06-02', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070021135' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '7830', lunar_date = '2024-06-03', invoice_status = '1',category_name = '公關訂單,插單群訂單,美村當日宅配', category_id = '6,14,28' where ordernumber = 'S24070025648' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400405', process_status = '2', pay_status = '1', totalprice_after = '5050', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070027284' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400411', process_status = '2', pay_status = '1', totalprice_after = '1280', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070027356' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400459', process_status = '3', pay_status = '1', totalprice_after = '8541', lunar_date = '2024-06-04', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24070030030' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '41040', lunar_date = '2024-06-06', invoice_status = '0',category_name = 'FB訂單', category_id = '10' where ordernumber = 'S24070031556' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '237217', process_status = '2', pay_status = '1', totalprice_after = '1140', lunar_date = '2024-06-04', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070032044' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400579', process_status = '2', pay_status = '1', totalprice_after = '960', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070032351' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '62842', process_status = '2', pay_status = '1', totalprice_after = '18620', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070032871' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '186231', process_status = '1', pay_status = '1', totalprice_after = '2580', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070033063' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400609', process_status = '8', pay_status = '1', totalprice_after = '5575', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070033594' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400432', process_status = '2', pay_status = '1', totalprice_after = '7275', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070033848' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400623', process_status = '2', pay_status = '1', totalprice_after = '1695', lunar_date = '2024-06-05', invoice_status = '1',category_name = 'LINE@訂單,企業試吃', category_id = '9,8' where ordernumber = 'S24070034010' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '241842', process_status = '2', pay_status = '1', totalprice_after = '6930', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070034198' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400483', process_status = '2', pay_status = '1', totalprice_after = '1130', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070034249' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400624', process_status = '2', pay_status = '1', totalprice_after = '5770', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070034359' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '194311', process_status = '2', pay_status = '1', totalprice_after = '5820', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070034448' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2024-06-05', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S24070034638' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '374293', process_status = '6', pay_status = '0', totalprice_after = '630', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070034758' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '374293', process_status = '2', pay_status = '1', totalprice_after = '630', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070034897' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400340', process_status = '2', pay_status = '1', totalprice_after = '6160', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070035071' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400652', process_status = '2', pay_status = '1', totalprice_after = '555', lunar_date = '2024-06-05', invoice_status = '0',category_name = '企業試吃,美村門市訂單', category_id = '8,32' where ordernumber = 'S24070035555' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400624', process_status = '2', pay_status = '1', totalprice_after = '2320', lunar_date = '2024-06-05', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24070035755' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400655', process_status = '3', pay_status = '1', totalprice_after = '4715', lunar_date = '2024-06-05', invoice_status = '1',category_name = '永康當日宅配', category_id = '19' where ordernumber = 'S24070035849' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400654', process_status = '1', pay_status = '1', totalprice_after = '1320', lunar_date = '2024-06-05', invoice_status = '0',category_name = 'LINE@訂單,美村當日宅配', category_id = '9,28' where ordernumber = 'S24070035946' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2024-06-05', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S24070036080' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '450', lunar_date = '2024-06-05', invoice_status = '0',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24070036156' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '393216', process_status = '2', pay_status = '1', totalprice_after = '3030', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070036264' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400681', process_status = '2', pay_status = '1', totalprice_after = '3955', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070036483' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400693', process_status = '2', pay_status = '1', totalprice_after = '3000', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070036654' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399958', process_status = '2', pay_status = '1', totalprice_after = '3020', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070036824' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400677', process_status = '2', pay_status = '1', totalprice_after = '1250', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070037041' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400685', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070037151' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400685', process_status = '6', pay_status = '0', totalprice_after = '1110', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070037280' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400699', process_status = '2', pay_status = '1', totalprice_after = '420', lunar_date = '2024-06-05', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070037426' 2024-07-11 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400702', process_status = '2', pay_status = '1', totalprice_after = '2360', lunar_date = '2024-06-05', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070037655' 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364121','400707',1,'','','O24070037921','1','1','1','1','1','91664126','謝維詮建築師事務所','0','2024-09-03','576','0','0','','0','30','11520','235','新北市','中和區','235','新北市','中和區','10914','2024-07-11 00:27:08','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('363992','400581',1,'','','O24070038022','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','3430','524','彰化縣','溪州鄉','524','彰化縣','溪州鄉','3550','2024-07-11 00:28:40','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('157667','125082',1,'','','O24070038189','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1665','231','新北市','新店區','231','新北市','新店區','1815','2024-07-11 09:07:45','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('89496','61278',1,'','','O24070038233','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1000','407','台中市','西屯區','407','台中市','西屯區','1150','2024-07-11 09:51:44','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364124','400710',1,'','','O24070038358','1','2','1','1','1','','','0','2024-09-06','0','0','0','','150','30','1440','528','彰化縣','芳苑鄉','528','彰化縣','芳苑鄉','1560','2024-07-11 10:08:01','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('157052','124488',1,'','','O24070038428','1','1','1','1','1','88015605','鴻洋冷氣行','0','0000-00-00','494','0','0','','0','0','9880','833','高雄市','鳥松區','833','高雄市','鳥松區','9386','2024-07-11 10:09:53','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('315061','352194',1,'企業訂單,測試訂單','4,30','S24070038517','1','1','6','0','6','','','0','2024-08-19','0','51077','0','','0','0','425640','403','台中市','西區','403','台中市','西區','374563','2024-07-11 11:00:15','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364134','0',1,'永康當日宅配','19','S24070038641','1','1','7','0','0','86519539','台新國際商業銀行','0','2024-08-02','0','536','0','','0','0','10730','106','台北市','大安區','106','台北市','大安區','10194','2024-07-11 11:34:31','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364048','400635',1,'','','O24070038732','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1920','106','台北市','大安區','106','台北市','大安區','2070','2024-07-11 11:47:59','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'測試訂單','30','S24070038898','1','2','6','0','6','','','0','2024-07-25','0','0','0','','0','0','280','403','台中市','西區','403','台中市','西區','280','2024-07-11 11:57:42','2024-06-06') 2024-07-11 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('315061','352194',1,'LINE@訂單,企業訂單','9,4','S24070038943','1','4','6','0','6','','','0','2024-08-19','0','51076','0','','0','0','425640','403','台中市','西區','351','苗栗縣','頭份市','374564','2024-07-11 11:59:28','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364147','400733',1,'','','O24070039077','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','770','802','高雄市','苓雅區','802','高雄市','苓雅區','920','2024-07-11 12:25:32','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364153','400739',1,'','','O24070039199','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','590','334','桃園市','八德區','334','桃園市','八德區','710','2024-07-11 12:50:29','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('257701','0',1,'LINE@訂單,企業試吃','9,8','S24070039217','1','8','1','7','1','','','2','2024-07-18','0','610','0','','0','0','610','333','桃園市','龜山區','333','桃園市','龜山區','0','2024-07-11 14:59:06','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('150963','118665',1,'LINE@訂單','9','S24070039385','1','1','1','1','1','','','0','2024-09-03','0','0','0','','150','0','3280','335','桃園市','大溪區','335','桃園市','大溪區','3430','2024-07-11 15:14:33','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364149','400735',1,'測試訂單','30','S24070039450','1','11','6','0','6','','','0','2024-07-15','0','0','0','','0','0','480','402','台中市','南區','402','台中市','南區','480','2024-07-11 15:17:39','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('69898','42839',1,'LINE@訂單,企業訂單','9,4','S24070039510','1','4','1','0','0','83555498','朵朵行銷有限公司','0','2024-07-15','0','6804','0','','0','0','44300','338','桃園市','蘆竹區','338','桃園市','蘆竹區','37496','2024-07-11 15:52:23','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('264195','301872',1,'FB訂單','10','S24070039630','1','4','1','0','0','','','0','2024-09-11','0','0','0','','150','0','1920','928','屏東縣','東港鎮','928','屏東縣','東港鎮','2070','2024-07-11 16:03:41','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364180','400765',1,'LINE@訂單','9','S24070039723','1','4','1','0','0','83450683','川佑盛建設股份有限公司','0','2024-07-17','0','4620','0','','0','30','66000','106','台北市','大安區','324','桃園市','平鎮區','61350','2024-07-11 16:20:54','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364183','0',1,'永康當日宅配','19','S24070039866','1','1','7','1','1','','','0','2024-07-12','0','3562','0','','0','0','50890','100','台北市','中正區','100','台北市','中正區','47328','2024-07-11 16:25:45','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('362461','399062',1,'FB訂單','10','S24070039939','1','2','1','1','1','','','0','2024-07-23','0','519','0','','0','30','10390','813','高雄市','左營區','813','高雄市','左營區','9841','2024-07-11 16:26:10','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364062','400649',1,'','','O24070040038','1','1','1','1','1','94085038','鍆億科技股份有限公司 ','0','0000-00-00','1104','0','0','','0','30','22080','106','台北市','大安區','106','台北市','大安區','20946','2024-07-11 16:27:21','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('357884','0',1,'LINE@訂單,正式彌月','9,1','S24070040173','1','1','1','1','1','','','0','2024-07-22','0','2136','0','','0','0','42730','112','台北市','北投區','112','台北市','北投區','40594','2024-07-11 16:54:05','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364197','400781',1,'美村門市訂單','32','S24070040262','1','6','1','1','0','','','1','2024-07-15','0','0','0','','150','0','1440','545','南投縣','埔里鎮','545','南投縣','埔里鎮','1590','2024-07-11 17:48:36','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364203','400787',1,'電話訂單,企業訂單','12,4','S24070040390','1','1','1','0','0','98270490','台灣積體電路製造股份有限公司職工福利委員會','0','2024-09-05','0','21092','0','','0','30','210925','300','新竹市','東區','300','新竹市','東區','189803','2024-07-11 17:48:55','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('264916','302581',1,'','','O24070040447','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','960','708','台南市','安平區','708','台南市','安平區','1110','2024-07-11 17:58:45','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364217','400801',1,'','','O24070040514','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1110','320','桃園市','中壢區','320','桃園市','中壢區','1230','2024-07-11 19:20:45','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364167','400752',1,'','','O24070040624','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','580','251','新北市','淡水區','251','新北市','淡水區','700','2024-07-11 19:28:22','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364220','400803',1,'','','O24070040730','1','11','1','1','1','27253745','玉山銀行三重分行','0','0000-00-00','0','0','0','','150','30','4000','248','新北市','五股區','242','新北市','新莊區','4120','2024-07-11 20:02:20','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364224','400807',1,'','','O24070040867','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2880','242','新北市','新莊區','242','新北市','新莊區','3000','2024-07-11 20:26:56','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364228','400811',1,'','','O24070040970','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','830','高雄市','鳳山區','830','高雄市','鳳山區','1080','2024-07-11 20:53:10','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('281378','318916',1,'','','O24070041091','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2430','500','彰化縣','彰化市','500','彰化縣','彰化市','2580','2024-07-11 20:58:53','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('347037','383770',1,'','','O24070041167','1','1','1','1','1','91305662','定軒商行','0','0000-00-00','0','0','0','','150','0','2240','324','桃園市','平鎮區','324','桃園市','平鎮區','2390','2024-07-11 20:59:49','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364226','400809',1,'','','O24070041269','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1440','300','新竹市','東區','300','新竹市','東區','1560','2024-07-11 21:06:42','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364226','400809',1,'','','O24070041351','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1140','300','新竹市','東區','300','新竹市','東區','1260','2024-07-11 21:54:00','2024-06-06') 2024-07-11 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364235','400818',1,'','','O24070041476','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2880','811','高雄市','楠梓區','811','高雄市','楠梓區','3000','2024-07-11 23:37:52','2024-06-06') 2024-07-11 23:59:06 -- == sync_order end == 2024-07-11 23:59:06 -- == sync_order_detail start == 2024-07-11 23:59:06 -- start:2024-07-11,end:2024-07-11 2024-07-11 23:59:06 -- == sync omo_order_detail == 2024-07-11 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-11%' OR modify_date like '2024-07-11%' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060054913' and product_code = 'DG010101-02' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233641',`firm_id` = '8',`ordernumber` = 'O24060054913', `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-07-12',`create_date` = '2024-06-11 00:17:19',`modify_date` = '2024-07-11 10:14:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-06'where ordernumber = 'O24060054913' and product_code = 'DG010101-02' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060054913' and product_code = 'DG010101-03' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233641',`firm_id` = '8',`ordernumber` = 'O24060054913', `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-07-12',`create_date` = '2024-06-11 00:17:19',`modify_date` = '2024-07-11 10:14:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-06'where ordernumber = 'O24060054913' and product_code = 'DG010101-03' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060054913' and product_code = 'DG010101-04' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233641',`firm_id` = '8',`ordernumber` = 'O24060054913', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-12',`create_date` = '2024-06-11 00:17:19',`modify_date` = '2024-07-11 10:14:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-06'where ordernumber = 'O24060054913' and product_code = 'DG010101-04' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060054913' and product_code = 'DG010101-05' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '233641',`firm_id` = '8',`ordernumber` = 'O24060054913', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-12',`create_date` = '2024-06-11 00:17:19',`modify_date` = '2024-07-11 10:14:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-06'where ordernumber = 'O24060054913' and product_code = 'DG010101-05' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'DG0103148-02' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `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` = '32',`total_price` = '15360',`etd` = '2024-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '2024-07-11 11:04:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'DG0103148-02' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'DG010312-05' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `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` = '31',`total_price` = '14880',`etd` = '2024-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '2024-07-11 11:04:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'DG010312-05' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'DG010312-12' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `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-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '2024-07-11 11:04:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'DG010312-12' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060121799' and product_code = 'ZP0101142-01' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234308',`firm_id` = '8',`ordernumber` = 'O24060121799', `product_name` = '贈品-復古紅提袋x9',`product_code` = 'ZP0101142-01',`product_sn` = 'ZP0101142',`product_spec` = '贈品-復古紅提袋x9',`invoice_name` = '贈品-[復古]提袋x9',`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-07-12',`create_date` = '2024-06-27 15:34:05',`modify_date` = '2024-07-11 11:04:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'O24060121799' and product_code = 'ZP0101142-01' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060125694' and product_code = 'DG0103148-04' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234347',`firm_id` = '8',`ordernumber` = 'O24060125694', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`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-07-01',`create_date` = '2024-06-29 09:17:46',`modify_date` = '2024-07-11 09:59:08',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-24'where ordernumber = 'O24060125694' and product_code = 'DG0103148-04' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070006981' and product_code = 'DG010312-04' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234480',`firm_id` = '8',`ordernumber` = 'O24070006981', `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-07-04',`create_date` = '2024-07-02 21:51:43',`modify_date` = '2024-07-11 10:01:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-27'where ordernumber = 'O24070006981' and product_code = 'DG010312-04' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070010816' and product_code = 'DG010206-01' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234519',`firm_id` = '8',`ordernumber` = 'O24070010816', `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-07-22',`create_date` = '2024-07-03 22:49:23',`modify_date` = '2024-07-11 11:57:36',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-28'where ordernumber = 'O24070010816' and product_code = 'DG010206-01' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070010816' and product_code = 'DG010206-02' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234519',`firm_id` = '8',`ordernumber` = 'O24070010816', `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` = '3',`total_price` = '885',`etd` = '2024-07-22',`create_date` = '2024-07-03 22:49:23',`modify_date` = '2024-07-11 11:57:36',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-28'where ordernumber = 'O24070010816' and product_code = 'DG010206-02' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070010816' and product_code = 'DG010206-03' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234519',`firm_id` = '8',`ordernumber` = 'O24070010816', `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` = '3',`total_price` = '885',`etd` = '2024-07-22',`create_date` = '2024-07-03 22:49:23',`modify_date` = '2024-07-11 11:57:36',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-28'where ordernumber = 'O24070010816' and product_code = 'DG010206-03' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070010816' and product_code = 'DG010206-05' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234519',`firm_id` = '8',`ordernumber` = 'O24070010816', `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` = '3',`total_price` = '885',`etd` = '2024-07-22',`create_date` = '2024-07-03 22:49:23',`modify_date` = '2024-07-11 11:57:36',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-28'where ordernumber = 'O24070010816' and product_code = 'DG010206-05' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070016638' and product_code = 'DG010265-02' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234574',`firm_id` = '8',`ordernumber` = 'S24070016638', `product_name` = '【SNOOPY聯名】獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`product_spec` = '芝麻',`invoice_name` = '提盒-SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '5700',`etd` = '2024-11-12',`create_date` = '2024-07-05 16:31:52',`modify_date` = '2024-07-11 09:31:35',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'S24070016638' and product_code = 'DG010265-02' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020245' and product_code = '13658' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234610',`firm_id` = '8',`ordernumber` = 'O24070020245', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-11',`create_date` = '2024-07-06 21:57:10',`modify_date` = '2024-07-11 11:17:20',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070020245' and product_code = '13658' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020245' and product_code = '13660' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234610',`firm_id` = '8',`ordernumber` = 'O24070020245', `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` = '28',`total_price` = '8120',`etd` = '2024-07-11',`create_date` = '2024-07-06 21:57:10',`modify_date` = '2024-07-11 11:17:20',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070020245' and product_code = '13660' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020245' and product_code = 'DG010312-09' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234610',`firm_id` = '8',`ordernumber` = 'O24070020245', `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-07-11',`create_date` = '2024-07-06 21:57:10',`modify_date` = '2024-07-11 11:17:20',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070020245' and product_code = 'DG010312-09' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021135' and product_code = 'DG0103132-01' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234619',`firm_id` = '8',`ordernumber` = 'O24070021135', `product_name` = '8結肉酥酥【紅提袋裝】',`product_code` = 'DG0103132-01',`product_sn` = 'DG0103132',`product_spec` = '原味+原原肉酥酥',`invoice_name` = '組合-40入原味+原原肉酥酥+紅色提袋',`listprice` = '590',`sellingprice` = '590',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '590',`etd` = '2024-07-09',`create_date` = '2024-07-07 12:02:42',`modify_date` = '2024-07-11 14:55:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021135' and product_code = 'DG0103132-01' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070021135' and product_code = 'DG0103148-08' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234619',`firm_id` = '8',`ordernumber` = 'O24070021135', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-08',`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-07-09',`create_date` = '2024-07-07 12:02:42',`modify_date` = '2024-07-11 14:55:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-02'where ordernumber = 'O24070021135' and product_code = 'DG0103148-08' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070025648' and product_code = 'DG010101-01' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234664',`firm_id` = '8',`ordernumber` = 'S24070025648', `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` = '30',`total_price` = '8400',`etd` = '2024-07-10',`create_date` = '2024-07-08 14:59:48',`modify_date` = '2024-07-11 17:39:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070025648' and product_code = 'DG010101-01' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070025648' and product_code = 'BP010128-01' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234664',`firm_id` = '8',`ordernumber` = 'S24070025648', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '300',`etd` = '2024-07-10',`create_date` = '2024-07-08 14:59:48',`modify_date` = '2024-07-11 17:39:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070025648' and product_code = 'BP010128-01' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030030' and product_code = '13656' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234708',`firm_id` = '8',`ordernumber` = 'S24070030030', `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` = '31',`total_price` = '8990',`etd` = '2024-07-11',`create_date` = '2024-07-09 12:05:51',`modify_date` = '2024-07-11 15:13:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030030' and product_code = '13656' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'DG0103148-05' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234723',`firm_id` = '8',`ordernumber` = 'S24070031556', `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` = '50',`total_price` = '24000',`etd` = '2024-09-02',`create_date` = '2024-07-09 18:03:26',`modify_date` = '2024-07-11 13:42:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'DG0103148-05' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'DG0103148-02' 2024-07-11 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234723',`firm_id` = '8',`ordernumber` = 'S24070031556', `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` = '40',`total_price` = '19200',`etd` = '2024-09-02',`create_date` = '2024-07-09 18:03:26',`modify_date` = '2024-07-11 13:42:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'DG0103148-02' 2024-07-11 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'ZP010508-01' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234723',`firm_id` = '8',`ordernumber` = 'S24070031556', `product_name` = '贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x1',`product_code` = 'ZP010508-01',`product_sn` = 'ZP010508',`product_spec` = '贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-',`invoice_name` = '贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x1',`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-09-02',`create_date` = '2024-07-09 18:06:32',`modify_date` = '2024-07-11 13:42:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'ZP010508-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033063' and product_code = 'DG010261-01' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234738',`firm_id` = '8',`ordernumber` = 'O24070033063', `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` = '2',`total_price` = '600',`etd` = '2024-07-15',`create_date` = '2024-07-10 11:19:36',`modify_date` = '2024-07-11 13:54:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033063' and product_code = 'DG010261-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033063' and product_code = 'DG010203-02' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234738',`firm_id` = '8',`ordernumber` = 'O24070033063', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-07-15',`create_date` = '2024-07-10 11:19:36',`modify_date` = '2024-07-11 13:54:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033063' and product_code = 'DG010203-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033063' and product_code = 'DG010226-04' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234738',`firm_id` = '8',`ordernumber` = 'O24070033063', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-04',`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-07-15',`create_date` = '2024-07-10 11:19:36',`modify_date` = '2024-07-11 13:54:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033063' and product_code = 'DG010226-04' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033063' and product_code = 'DG010312-05' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234738',`firm_id` = '8',`ordernumber` = 'O24070033063', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-07-15',`create_date` = '2024-07-10 11:19:36',`modify_date` = '2024-07-11 13:54:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033063' and product_code = 'DG010312-05' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033594' and product_code = 'DG010258-03' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234743',`firm_id` = '8',`ordernumber` = 'O24070033594', `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` = '12',`total_price` = '3540',`etd` = '2024-07-12',`create_date` = '2024-07-10 12:05:27',`modify_date` = '2024-07-11 13:25:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033594' and product_code = 'DG010258-03' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033594' and product_code = 'DG010258-04' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234743',`firm_id` = '8',`ordernumber` = 'O24070033594', `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` = '2',`total_price` = '590',`etd` = '2024-07-12',`create_date` = '2024-07-10 12:05:27',`modify_date` = '2024-07-11 13:25:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033594' and product_code = 'DG010258-04' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033594' and product_code = 'DG010258-05' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234743',`firm_id` = '8',`ordernumber` = 'O24070033594', `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` = '2',`total_price` = '590',`etd` = '2024-07-12',`create_date` = '2024-07-10 12:05:27',`modify_date` = '2024-07-11 13:25:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033594' and product_code = 'DG010258-05' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070033594' and product_code = 'DG010258-02' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234743',`firm_id` = '8',`ordernumber` = 'O24070033594', `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` = '3',`total_price` = '885',`etd` = '2024-07-12',`create_date` = '2024-07-10 12:05:27',`modify_date` = '2024-07-11 13:25:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070033594' and product_code = 'DG010258-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070034010' and product_code = 'DG010315-04' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234748',`firm_id` = '8',`ordernumber` = 'S24070034010', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-04',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【芝麻蛋捲】',`invoice_name` = '禮盒-金8結【芝麻+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '1',`total_price` = '555',`etd` = '2024-07-11',`create_date` = '2024-07-10 13:33:30',`modify_date` = '2024-07-11 08:28:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070034010' and product_code = 'DG010315-04' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070034010' and product_code = 'DG0103181-29' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234748',`firm_id` = '8',`ordernumber` = 'S24070034010', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-29',`product_sn` = 'DG0103181',`product_spec` = '海苔+巧克力.鳳梨酥.鳳梅酥',`invoice_name` = '禮盒-隨享茶點【海苔+巧克力】【鳳梨酥+鳳梅酥】',`listprice` = '560',`sellingprice` = '560',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '560',`etd` = '2024-07-11',`create_date` = '2024-07-10 13:33:30',`modify_date` = '2024-07-11 08:28:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070034010' and product_code = 'DG0103181-29' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070034010' and product_code = '02219' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234748',`firm_id` = '8',`ordernumber` = 'S24070034010', `product_name` = '心意禮盒',`product_code` = '02219',`product_sn` = 'FL010301',`product_spec` = '【芝麻糕+核棗糕+夏威夷豆軟糖】',`invoice_name` = '禮盒-心意【芝麻糕+核棗糕+夏威夷豆軟糖】',`listprice` = '580',`sellingprice` = '580',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '580',`etd` = '2024-07-11',`create_date` = '2024-07-10 13:33:30',`modify_date` = '2024-07-11 08:28:24',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070034010' and product_code = '02219' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070034758' and product_code = 'DG010312-15' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234755',`firm_id` = '8',`ordernumber` = 'O24070034758', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-12',`create_date` = '2024-07-10 14:13:05',`modify_date` = '2024-07-11 09:54:45',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070034758' and product_code = 'DG010312-15' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070035849' and product_code = 'DG010312-03' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234766',`firm_id` = '8',`ordernumber` = 'S24070035849', `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-07-11',`create_date` = '2024-07-10 17:20:54',`modify_date` = '2024-07-11 12:02:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070035849' and product_code = 'DG010312-03' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070035849' and product_code = 'DG010258-01' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234766',`firm_id` = '8',`ordernumber` = 'S24070035849', `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` = '7',`total_price` = '2065',`etd` = '2024-07-11',`create_date` = '2024-07-10 17:20:54',`modify_date` = '2024-07-11 12:02:11',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070035849' and product_code = 'DG010258-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070035946' and product_code = 'DG010101-01' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234767',`firm_id` = '8',`ordernumber` = 'S24070035946', `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-07-12',`create_date` = '2024-07-10 17:24:17',`modify_date` = '2024-07-11 09:12:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070035946' and product_code = 'DG010101-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070035946' and product_code = 'DG010101-04' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234767',`firm_id` = '8',`ordernumber` = 'S24070035946', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-12',`create_date` = '2024-07-10 17:24:17',`modify_date` = '2024-07-11 09:12:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070035946' and product_code = 'DG010101-04' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070035946' and product_code = 'DG010101-05' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234767',`firm_id` = '8',`ordernumber` = 'S24070035946', `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-07-12',`create_date` = '2024-07-10 17:24:17',`modify_date` = '2024-07-11 09:12:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070035946' and product_code = 'DG010101-05' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070035946' and product_code = 'DG010101-03' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234767',`firm_id` = '8',`ordernumber` = 'S24070035946', `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-07-12',`create_date` = '2024-07-10 17:24:17',`modify_date` = '2024-07-11 09:12:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070035946' and product_code = 'DG010101-03' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070037280' and product_code = 'DG010312-02' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234780',`firm_id` = '8',`ordernumber` = 'O24070037280', `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-07-12',`create_date` = '2024-07-10 21:56:30',`modify_date` = '2024-07-11 09:49:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070037280' and product_code = 'DG010312-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070037655' and product_code = 'DG010101-01' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234784',`firm_id` = '8',`ordernumber` = 'O24070037655', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-11',`create_date` = '2024-07-10 22:49:11',`modify_date` = '2024-07-11 11:17:50',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070037655' and product_code = 'DG010101-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070037655' and product_code = 'DG010101-02' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234784',`firm_id` = '8',`ordernumber` = 'O24070037655', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-11',`create_date` = '2024-07-10 22:49:11',`modify_date` = '2024-07-11 11:17:50',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070037655' and product_code = 'DG010101-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070037655' and product_code = 'DG010101-05' 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234784',`firm_id` = '8',`ordernumber` = 'O24070037655', `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` = '5',`total_price` = '1400',`etd` = '2024-07-11',`create_date` = '2024-07-10 22:49:11',`modify_date` = '2024-07-11 11:17:50',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'O24070037655' and product_code = 'DG010101-05' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070037921' and product_code = 'DG0103148-03' 2024-07-11 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,'234787','8','O24070037921','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','12','5760','2024-09-03','2024-07-11 00:27:08','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234787',`firm_id` = '8',`ordernumber` = 'O24070037921', `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` = '12',`total_price` = '5760',`etd` = '2024-09-03',`create_date` = '2024-07-11 00:27:08',`modify_date` = '2024-07-11 13:10:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070037921' and product_code = 'DG0103148-03' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070037921' and product_code = 'DG0103148-02' 2024-07-11 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,'234787','8','O24070037921','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','12','5760','2024-09-03','2024-07-11 00:27:08','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234787',`firm_id` = '8',`ordernumber` = 'O24070037921', `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` = '12',`total_price` = '5760',`etd` = '2024-09-03',`create_date` = '2024-07-11 00:27:08',`modify_date` = '2024-07-11 13:10:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070037921' and product_code = 'DG0103148-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038022' and product_code = 'DG0103148-07' 2024-07-11 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,'234788','8','O24070038022','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','3','1440','2024-07-15','2024-07-11 00:28:40','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234788',`firm_id` = '8',`ordernumber` = 'O24070038022', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-07',`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` = '3',`total_price` = '1440',`etd` = '2024-07-15',`create_date` = '2024-07-11 00:28:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038022' and product_code = 'DG0103148-07' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038022' and product_code = 'GG010110-01' 2024-07-11 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,'234788','8','O24070038022','手工腰果脆糖分享包','GG010110-01','GG010110','一組','手工腰果脆糖100g','270','270','0','0','0','0','1','0.0','2','540','2024-07-15','2024-07-11 00:28:40','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234788',`firm_id` = '8',`ordernumber` = 'O24070038022', `product_name` = '手工腰果脆糖分享包',`product_code` = 'GG010110-01',`product_sn` = 'GG010110',`product_spec` = '一組',`invoice_name` = '手工腰果脆糖100g',`listprice` = '270',`sellingprice` = '270',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '540',`etd` = '2024-07-15',`create_date` = '2024-07-11 00:28:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038022' and product_code = 'GG010110-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038022' and product_code = '03951' 2024-07-11 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,'234788','8','O24070038022','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','2','580','2024-07-15','2024-07-11 00:28:40','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234788',`firm_id` = '8',`ordernumber` = 'O24070038022', `product_name` = '[加購]加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '-',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-15',`create_date` = '2024-07-11 00:28:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038022' and product_code = '03951' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038022' and product_code = 'TG010118-01' 2024-07-11 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,'234788','8','O24070038022','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','3','870','2024-07-15','2024-07-11 00:28:40','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234788',`firm_id` = '8',`ordernumber` = 'O24070038022', `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` = '3',`total_price` = '870',`etd` = '2024-07-15',`create_date` = '2024-07-11 00:28:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038022' and product_code = 'TG010118-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038189' and product_code = 'DG0103149-02' 2024-07-11 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,'234789','8','O24070038189','金典8結肉酥酥禮盒','DG0103149-02','02945','原味+原辣肉酥酥','禮盒-金典(紅)【原味+原辣肉酥酥】','555','555','0','0','0','0','1','0.0','3','1665','2024-07-15','2024-07-11 09:07:45','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234789',`firm_id` = '8',`ordernumber` = 'O24070038189', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-02',`product_sn` = '02945',`product_spec` = '原味+原辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1665',`etd` = '2024-07-15',`create_date` = '2024-07-11 09:07:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038189' and product_code = 'DG0103149-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038233' and product_code = 'DG010523-12' 2024-07-11 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,'234790','8','O24070038233','SNOOPY帶走心意-蛋捲三入組','DG010523-12','DG010523','原味+巧克力+咖啡','組合-32入(原味+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-07-15','2024-07-11 09:51:44','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234790',`firm_id` = '8',`ordernumber` = 'O24070038233', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-12',`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-07-15',`create_date` = '2024-07-11 09:51:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038233' and product_code = 'DG010523-12' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038233' and product_code = 'DG010404-01' 2024-07-11 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,'234790','8','O24070038233','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','1','10','2024-07-15','2024-07-11 09:51:44','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234790',`firm_id` = '8',`ordernumber` = 'O24070038233', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2024-07-15',`create_date` = '2024-07-11 09:51:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038233' and product_code = 'DG010404-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038358' and product_code = 'DG010312-02' 2024-07-11 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,'234791','8','O24070038358','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-09-06','2024-07-11 10:08:01','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234791',`firm_id` = '8',`ordernumber` = 'O24070038358', `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-09-06',`create_date` = '2024-07-11 10:08:01',`modify_date` = '2024-07-11 11:25:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038358' and product_code = 'DG010312-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038358' and product_code = 'DG010312-05' 2024-07-11 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,'234791','8','O24070038358','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-09-06','2024-07-11 10:08:01','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234791',`firm_id` = '8',`ordernumber` = 'O24070038358', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-09-06',`create_date` = '2024-07-11 10:08:01',`modify_date` = '2024-07-11 11:25:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038358' and product_code = 'DG010312-05' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = 'DG010312-02' 2024-07-11 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,'234792','8','O24070038428','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `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-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = 'DG010312-02' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = 'DG010101-01' 2024-07-11 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,'234792','8','O24070038428','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = 'DG010101-01' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = 'DG010101-05' 2024-07-11 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,'234792','8','O24070038428','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `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-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = 'DG010101-05' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = '13657' 2024-07-11 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,'234792','8','O24070038428','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `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-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = '13657' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = '13660' 2024-07-11 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,'234792','8','O24070038428','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `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` = '1',`total_price` = '290',`etd` = '2024-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = '13660' 2024-07-11 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = 'TG010106-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234792','8','O24070038428','分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','1','300','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:08',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `product_name` = '分享包-黑曜芝麻糕',`product_code` = 'TG010106-01',`product_sn` = 'TG010106',`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-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = 'TG010106-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038428' and product_code = 'DG010312-05' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234792','8','O24070038428','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','16','7680','2024-09-03','2024-07-11 10:09:53','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234792',`firm_id` = '8',`ordernumber` = 'O24070038428', `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` = '16',`total_price` = '7680',`etd` = '2024-09-03',`create_date` = '2024-07-11 10:09:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038428' and product_code = 'DG010312-05' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103148-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','50','24000','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `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` = '50',`total_price` = '24000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103148-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103148-04' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','64','30720','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`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` = '64',`total_price` = '30720',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103148-04' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103148-05' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','50','24000','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `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` = '50',`total_price` = '24000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103148-05' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103149-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','金典8結肉酥酥禮盒','DG0103149-02','02945','原味+原辣肉酥酥','禮盒-金典(紅)【原味+原辣肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-02',`product_sn` = '02945',`product_spec` = '原味+原辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103149-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103149-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','金典8結肉酥酥禮盒','DG0103149-01','02945','原味+原原肉酥酥','禮盒-金典(紅)【原味+原味肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-01',`product_sn` = '02945',`product_spec` = '原味+原原肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103149-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103149-03' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','金典8結肉酥酥禮盒','DG0103149-03','02945','原味+辣辣肉酥酥','禮盒-金典(紅)【原味+辣味肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-03',`product_sn` = '02945',`product_spec` = '原味+辣辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+辣味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103149-03' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103119-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','經典原味蛋捲','DG0103119-01','DG010101','單盒+提袋','組合-40入原味+紅提袋','330','290','0','0','0','0','1','0.0','8','2320','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '經典原味蛋捲',`product_code` = 'DG0103119-01',`product_sn` = 'DG010101',`product_spec` = '單盒+提袋',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '330',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2320',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103119-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103119-05' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','濃情巧克力蛋捲','DG0103119-05','DG010101','單盒+提袋','組合-40入巧克力+紅提袋','330','290','0','0','0','0','1','0.0','5','1450','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG0103119-05',`product_sn` = 'DG010101',`product_spec` = '單盒+提袋',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '330',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103119-05' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038517' and product_code = 'DG0103119-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234793','8','S24070038517','香醇芝麻蛋捲','DG0103119-02','DG010101','單盒+提袋','組合-40入芝麻+紅提袋','330','290','0','0','0','0','1','0.0','35','10150','2024-08-19','2024-07-11 11:00:15','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234793',`firm_id` = '8',`ordernumber` = 'S24070038517', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG0103119-02',`product_sn` = 'DG010101',`product_spec` = '單盒+提袋',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '330',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '35',`total_price` = '10150',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:00:15',`modify_date` = '2024-07-11 14:21:53',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038517' and product_code = 'DG0103119-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038641' and product_code = 'DG010527-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234794','8','S24070038641','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','37','10730','2024-08-02','2024-07-11 11:34:31','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234794',`firm_id` = '8',`ordernumber` = 'S24070038641', `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` = '37',`total_price` = '10730',`etd` = '2024-08-02',`create_date` = '2024-07-11 11:34:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038641' and product_code = 'DG010527-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038732' and product_code = 'DG010312-05' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234795','8','O24070038732','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-07-15','2024-07-11 11:47:59','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234795',`firm_id` = '8',`ordernumber` = 'O24070038732', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-07-15',`create_date` = '2024-07-11 11:47:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038732' and product_code = 'DG010312-05' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070038732' and product_code = 'DG010312-03' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234795','8','O24070038732','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-07-15','2024-07-11 11:47:59','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234795',`firm_id` = '8',`ordernumber` = 'O24070038732', `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` = '2',`total_price` = '960',`etd` = '2024-07-15',`create_date` = '2024-07-11 11:47:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070038732' and product_code = 'DG010312-03' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038898' and product_code = 'DG010101-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234796','8','S24070038898','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-25','2024-07-11 11:57:05','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234796',`firm_id` = '8',`ordernumber` = 'S24070038898', `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-07-25',`create_date` = '2024-07-11 11:57:05',`modify_date` = '2024-07-11 12:02:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038898' and product_code = 'DG010101-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG010101-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','35','9800','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `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` = '35',`total_price` = '9800',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG010101-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG010101-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `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` = '8',`total_price` = '2240',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG010101-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG010101-05' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','5','1400','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `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` = '5',`total_price` = '1400',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG010101-05' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'BP010128-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','1','0','10','0','1','0.0','48','480','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '480',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'BP010128-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG0103149-03' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','金典8結肉酥酥禮盒','DG0103149-03','02945','原味+辣辣肉酥酥','禮盒-金典(紅)【原味+辣味肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-03',`product_sn` = '02945',`product_spec` = '原味+辣辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+辣味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG0103149-03' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG0103148-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','50','24000','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `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` = '50',`total_price` = '24000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG0103148-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG0103149-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','金典8結肉酥酥禮盒','DG0103149-01','02945','原味+原原肉酥酥','禮盒-金典(紅)【原味+原味肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-01',`product_sn` = '02945',`product_spec` = '原味+原原肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG0103149-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG0103148-04' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','64','30720','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`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` = '64',`total_price` = '30720',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG0103148-04' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG0103149-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','金典8結肉酥酥禮盒','DG0103149-02','02945','原味+原辣肉酥酥','禮盒-金典(紅)【原味+原辣肉酥酥】','555','555','0','0','0','0','1','0.0','200','111000','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-02',`product_sn` = '02945',`product_spec` = '原味+原辣肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原辣肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '200',`total_price` = '111000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG0103149-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070038943' and product_code = 'DG0103148-05' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234797','8','S24070038943','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','50','24000','2024-08-19','2024-07-11 11:59:28','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234797',`firm_id` = '8',`ordernumber` = 'S24070038943', `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` = '50',`total_price` = '24000',`etd` = '2024-08-19',`create_date` = '2024-07-11 11:59:28',`modify_date` = '2024-07-11 14:23:19',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070038943' and product_code = 'DG0103148-05' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070039077' and product_code = '13656' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234798','8','O24070039077','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-15','2024-07-11 12:25:32','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234798',`firm_id` = '8',`ordernumber` = 'O24070039077', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-07-15',`create_date` = '2024-07-11 12:25:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070039077' and product_code = '13656' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070039077' and product_code = 'DG010312-04' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234798','8','O24070039077','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-07-15','2024-07-11 12:25:32','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234798',`firm_id` = '8',`ordernumber` = 'O24070039077', `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-07-15',`create_date` = '2024-07-11 12:25:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070039077' and product_code = 'DG010312-04' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070039199' and product_code = 'DG010206-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234799','8','O24070039199','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-07-15','2024-07-11 12:50:29','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234799',`firm_id` = '8',`ordernumber` = 'O24070039199', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-07-15',`create_date` = '2024-07-11 12:50:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070039199' and product_code = 'DG010206-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070039199' and product_code = 'DG010206-02' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234799','8','O24070039199','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-07-15','2024-07-11 12:50:29','2024-07-11 23:59:09',null,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234799',`firm_id` = '8',`ordernumber` = 'O24070039199', `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-07-15',`create_date` = '2024-07-11 12:50:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070039199' and product_code = 'DG010206-02' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039217' and product_code = 'DG010387-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234800','8','S24070039217','心意禮盒','DG010387-01','FL010301','【鳳梨酥+鳳梅酥+夏威夷豆軟糖】','禮盒-心意【鳳梨酥+鳳梅酥+夏威夷豆軟糖】','610','610','0','0','0','0','1','0.0','1','610','2024-07-18','2024-07-11 14:59:06','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234800',`firm_id` = '8',`ordernumber` = 'S24070039217', `product_name` = '心意禮盒',`product_code` = 'DG010387-01',`product_sn` = 'FL010301',`product_spec` = '【鳳梨酥+鳳梅酥+夏威夷豆軟糖】',`invoice_name` = '禮盒-心意【鳳梨酥+鳳梅酥+夏威夷豆軟糖】',`listprice` = '610',`sellingprice` = '610',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '610',`etd` = '2024-07-18',`create_date` = '2024-07-11 14:59:06',`modify_date` = '2024-07-11 15:00:05',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039217' and product_code = 'DG010387-01' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039385' and product_code = 'DG0103148-14' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234801','8','S24070039385','金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','6','2880','2024-09-03','2024-07-11 15:14:33','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234801',`firm_id` = '8',`ordernumber` = 'S24070039385', `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` = '6',`total_price` = '2880',`etd` = '2024-09-03',`create_date` = '2024-07-11 15:14:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039385' and product_code = 'DG0103148-14' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039385' and product_code = '40009' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234801','8','S24070039385','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','5','400','2024-09-03','2024-07-11 15:14:33','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234801',`firm_id` = '8',`ordernumber` = 'S24070039385', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '400',`etd` = '2024-09-03',`create_date` = '2024-07-11 15:14:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039385' and product_code = '40009' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039450' and product_code = 'DG010312-03' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234802','8','S24070039450','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-07-15','2024-07-11 15:17:39','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234802',`firm_id` = '8',`ordernumber` = 'S24070039450', `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-07-15',`create_date` = '2024-07-11 15:17:39',`modify_date` = '2024-07-11 15:18:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039450' and product_code = 'DG010312-03' 2024-07-11 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'DG0103148-01' 2024-07-11 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','10','4800','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:09',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-01',`product_sn` = 'DG0103148',`product_spec` = '原味+原味',`invoice_name` = '禮盒-金典(紅)【原味+原味】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '4800',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'DG0103148-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'DG0103148-02' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','19','9120','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `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` = '19',`total_price` = '9120',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'DG0103148-02' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'DG0103148-03' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','22','10560','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `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` = '22',`total_price` = '10560',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'DG0103148-03' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'DG0103148-04' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','13','6240','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`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` = '13',`total_price` = '6240',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'DG0103148-04' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'DG0103148-05' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','13','6240','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `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` = '13',`total_price` = '6240',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'DG0103148-05' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'GG010101-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','義式皇家黑松露腰果','GG010101-01','GG010101','一組','(盒)堅果【腰果】','190','190','0','0','0','0','1','0.0','11','2090','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `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` = '11',`total_price` = '2090',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'GG010101-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'GG010102-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','義式皇家黑松露杏仁果','GG010102-01','GG010102','一組','(盒)堅果【杏仁果】','190','190','0','0','0','0','1','0.0','7','1330','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `product_name` = '義式皇家黑松露杏仁果',`product_code` = 'GG010102-01',`product_sn` = 'GG010102',`product_spec` = '一組',`invoice_name` = '(盒)堅果【杏仁果】',`listprice` = '190',`sellingprice` = '190',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '1330',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'GG010102-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039510' and product_code = 'GG010103-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234803','8','S24070039510','義式皇家黑松露夏威夷果','GG010103-01','GG010103','一組','(盒)堅果【夏威夷果】','280','280','0','0','0','0','1','0.0','14','3920','2024-07-15','2024-07-11 15:52:23','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234803',`firm_id` = '8',`ordernumber` = 'S24070039510', `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` = '14',`total_price` = '3920',`etd` = '2024-07-15',`create_date` = '2024-07-11 15:52:23',`modify_date` = '2024-07-11 16:00:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039510' and product_code = 'GG010103-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039630' and product_code = 'DG010312-09' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234804','8','S24070039630','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','0','0','2024-09-11','2024-07-11 16:03:41','2024-07-11 23:59:10',0,'0','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234804',`firm_id` = '8',`ordernumber` = 'S24070039630', `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` = '0',`total_price` = '0',`etd` = '2024-09-11',`create_date` = '2024-07-11 16:03:41',`modify_date` = '2024-07-11 16:59:32',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039630' and product_code = 'DG010312-09' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039723' and product_code = 'DG010261-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234805','8','S24070039723','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','220','66000','2024-07-17','2024-07-11 16:20:54','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234805',`firm_id` = '8',`ordernumber` = 'S24070039723', `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` = '220',`total_price` = '66000',`etd` = '2024-07-17',`create_date` = '2024-07-11 16:20:54',`modify_date` = '2024-07-11 16:44:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039723' and product_code = 'DG010261-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039723' and product_code = 'ZP010512-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234805','8','S24070039723','贈品-【SNOOPY澎湃零食包】x2+【海苔片5包】x1','ZP010512-01','ZP010512','贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-','贈品-【SNOOPY澎湃零食包】x2+【海苔片5包】x1','0','0','0','0','0','0','1','0.0','1','0','2024-07-17','2024-07-11 16:20:54','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234805',`firm_id` = '8',`ordernumber` = 'S24070039723', `product_name` = '贈品-【SNOOPY澎湃零食包】x2+【海苔片5包】x1',`product_code` = 'ZP010512-01',`product_sn` = 'ZP010512',`product_spec` = '贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-',`invoice_name` = '贈品-【SNOOPY澎湃零食包】x2+【海苔片5包】x1',`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-07-17',`create_date` = '2024-07-11 16:20:54',`modify_date` = '2024-07-11 16:44:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039723' and product_code = 'ZP010512-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039866' and product_code = 'DG010101-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234806','8','S24070039866','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-07-12','2024-07-11 16:25:45','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234806',`firm_id` = '8',`ordernumber` = 'S24070039866', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-07-12',`create_date` = '2024-07-11 16:25:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039866' and product_code = 'DG010101-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039866' and product_code = 'DG010347-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234806','8','S24070039866','六月初一&成真咖啡禮盒','DG010347-01','DG010347','原味蛋捲+6入咖啡','禮盒-ESG藍金【原味+成真咖啡】','495','495','0','0','0','0','1','0.0','30','14850','2024-07-12','2024-07-11 16:25:45','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234806',`firm_id` = '8',`ordernumber` = 'S24070039866', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-01',`product_sn` = 'DG010347',`product_spec` = '原味蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【原味+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '14850',`etd` = '2024-07-12',`create_date` = '2024-07-11 16:25:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039866' and product_code = 'DG010347-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039866' and product_code = 'DG0103168-02' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234806','8','S24070039866','隨享唐寧茶禮盒','DG0103168-02','DG0103168','原味+芝麻.唐寧早餐茶.茶葉匙','禮盒-隨享唐寧茶【原味+芝麻】+唐寧早餐茶+茶葉匙','880','880','0','0','0','0','1','0.0','40','35200','2024-07-12','2024-07-11 16:25:45','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234806',`firm_id` = '8',`ordernumber` = 'S24070039866', `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-02',`product_sn` = 'DG0103168',`product_spec` = '原味+芝麻.唐寧早餐茶.茶葉匙',`invoice_name` = '禮盒-隨享唐寧茶【原味+芝麻】+唐寧早餐茶+茶葉匙',`listprice` = '880',`sellingprice` = '880',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '35200',`etd` = '2024-07-12',`create_date` = '2024-07-11 16:25:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039866' and product_code = 'DG0103168-02' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = '13656' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','0','0','2024-07-23','2024-07-11 16:26:10','2024-07-11 23:59:10',0,'0','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `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` = '0',`total_price` = '0',`etd` = '2024-07-23',`create_date` = '2024-07-11 16:26:10',`modify_date` = '2024-07-11 18:32:05',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = '13656' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = '13660' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','0','0','2024-07-23','2024-07-11 16:26:10','2024-07-11 23:59:10',0,'0','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `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` = '0',`total_price` = '0',`etd` = '2024-07-23',`create_date` = '2024-07-11 16:26:10',`modify_date` = '2024-07-11 18:32:05',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = '13660' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = 'DG010312-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','3','1440','2024-07-23','2024-07-11 16:26:10','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-23',`create_date` = '2024-07-11 16:26:10',`modify_date` = '2024-07-11 18:32:05',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = 'DG010312-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = 'DG010312-05' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-07-23','2024-07-11 16:26:10','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-23',`create_date` = '2024-07-11 16:26:10',`modify_date` = '2024-07-11 18:32:05',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = 'DG010312-05' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = 'BP010128-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','6','60','2024-07-23','2024-07-11 16:26:10','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '60',`etd` = '2024-07-23',`create_date` = '2024-07-11 16:26:10',`modify_date` = '2024-07-11 18:32:05',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = 'BP010128-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = 'ZP010503-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','贈品-【海苔片5包】','ZP010503-01','ZP010503','贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-','贈品-【海苔片5包】','0','0','0','0','0','0','1','0.0','1','0','2024-07-23','2024-07-11 16:26:10','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `product_name` = '贈品-【海苔片5包】',`product_code` = 'ZP010503-01',`product_sn` = 'ZP010503',`product_spec` = '贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-',`invoice_name` = '贈品-【海苔片5包】',`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-07-23',`create_date` = '2024-07-11 16:26:10',`modify_date` = '2024-07-11 18:32:05',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = 'ZP010503-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040038' and product_code = 'DG0103148-05' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234808','8','O24070040038','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','34','16320','2024-07-15','2024-07-11 16:27:21','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234808',`firm_id` = '8',`ordernumber` = 'O24070040038', `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` = '34',`total_price` = '16320',`etd` = '2024-07-15',`create_date` = '2024-07-11 16:27:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040038' and product_code = 'DG0103148-05' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040038' and product_code = 'DG0103148-07' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234808','8','O24070040038','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','7','3360','2024-07-15','2024-07-11 16:27:21','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234808',`firm_id` = '8',`ordernumber` = 'O24070040038', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-07',`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` = '7',`total_price` = '3360',`etd` = '2024-07-15',`create_date` = '2024-07-11 16:27:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040038' and product_code = 'DG0103148-07' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040038' and product_code = 'DG0103148-09' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234808','8','O24070040038','金典8結禮盒','DG0103148-09','DG0103148','芝麻+巧克力','禮盒-金典(紅)【芝麻+巧克力】','480','480','0','0','0','0','1','0.0','3','1440','2024-07-15','2024-07-11 16:27:21','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234808',`firm_id` = '8',`ordernumber` = 'O24070040038', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-09',`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` = '3',`total_price` = '1440',`etd` = '2024-07-15',`create_date` = '2024-07-11 16:27:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040038' and product_code = 'DG0103148-09' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040038' and product_code = 'DG0103148-03' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234808','8','O24070040038','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','2','960','2024-07-15','2024-07-11 16:27:21','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234808',`firm_id` = '8',`ordernumber` = 'O24070040038', `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` = '2',`total_price` = '960',`etd` = '2024-07-15',`create_date` = '2024-07-11 16:27:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040038' and product_code = 'DG0103148-03' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040173' and product_code = 'DG010261-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234809','8','S24070040173','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','130','39000','2024-07-22','2024-07-11 16:54:05','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234809',`firm_id` = '8',`ordernumber` = 'S24070040173', `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` = '130',`total_price` = '39000',`etd` = '2024-07-22',`create_date` = '2024-07-11 16:54:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040173' and product_code = 'DG010261-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040173' and product_code = 'DG010261-02' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234809','8','S24070040173','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-07-22','2024-07-11 16:54:05','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234809',`firm_id` = '8',`ordernumber` = 'S24070040173', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`product_sn` = 'DG010261',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-22',`create_date` = '2024-07-11 16:54:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040173' and product_code = 'DG010261-02' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040173' and product_code = 'DG0103155-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234809','8','S24070040173','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-01','DG0103155','原味蛋捲.原味蛋捲','禮盒-SNOOPY【原味+原味】','500','500','0','0','0','0','1','0.0','1','500','2024-07-22','2024-07-11 16:54:05','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234809',`firm_id` = '8',`ordernumber` = 'S24070040173', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-01',`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-07-22',`create_date` = '2024-07-11 16:54:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040173' and product_code = 'DG0103155-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040173' and product_code = 'DG0103155-05' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234809','8','S24070040173','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲.巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','3','1500','2024-07-22','2024-07-11 16:54:05','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234809',`firm_id` = '8',`ordernumber` = 'S24070040173', `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` = '3',`total_price` = '1500',`etd` = '2024-07-22',`create_date` = '2024-07-11 16:54:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040173' and product_code = 'DG0103155-05' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040173' and product_code = 'DG0103167-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234809','8','S24070040173','金典8結黑松露堅果禮盒','DG0103167-01','12529','原味蛋捲.黑松露腰果/夏威夷果綜合','禮盒-金典(紅)【原味+腰果夏威夷果綜合提盒】','1430','1430','0','0','0','0','1','0.0','1','1430','2024-07-22','2024-07-11 16:54:05','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234809',`firm_id` = '8',`ordernumber` = 'S24070040173', `product_name` = '金典8結黑松露堅果禮盒',`product_code` = 'DG0103167-01',`product_sn` = '12529',`product_spec` = '原味蛋捲.黑松露腰果/夏威夷果綜合',`invoice_name` = '禮盒-金典(紅)【原味+腰果夏威夷果綜合提盒】',`listprice` = '1430',`sellingprice` = '1430',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1430',`etd` = '2024-07-22',`create_date` = '2024-07-11 16:54:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040173' and product_code = 'DG0103167-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040173' and product_code = 'ZP010134-01' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234809','8','S24070040173','贈品-recolte氣炸鍋(顏色隨機)','ZP010134-01','ZP010134','贈品-recolte氣炸鍋(顏色隨機)','贈品-recolte氣炸鍋(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-22','2024-07-11 16:54:05','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234809',`firm_id` = '8',`ordernumber` = 'S24070040173', `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-07-22',`create_date` = '2024-07-11 16:54:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040173' and product_code = 'ZP010134-01' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039630' and product_code = 'DG010312-08' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234804','8','S24070039630','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','3','1440','2024-09-11','2024-07-11 16:59:32','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234804',`firm_id` = '8',`ordernumber` = 'S24070039630', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-09-11',`create_date` = '2024-07-11 16:59:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039630' and product_code = 'DG010312-08' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039630' and product_code = 'DG010312-07' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234804','8','S24070039630','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-09-11','2024-07-11 16:59:32','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234804',`firm_id` = '8',`ordernumber` = 'S24070039630', `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-09-11',`create_date` = '2024-07-11 16:59:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039630' and product_code = 'DG010312-07' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040262' and product_code = 'DG010312-03' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234810','8','S24070040262','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','3','1440','2024-07-15','2024-07-11 17:48:36','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234810',`firm_id` = '8',`ordernumber` = 'S24070040262', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-15',`create_date` = '2024-07-11 17:48:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040262' and product_code = 'DG010312-03' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040262' and product_code = '03006' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234810','8','S24070040262','禮盒換提袋','03006','03006','單盒','禮盒換提袋','0','0','0','0','0','1','1','0.0','4','0','2024-07-15','2024-07-11 17:48:36','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234810',`firm_id` = '8',`ordernumber` = 'S24070040262', `product_name` = '禮盒換提袋',`product_code` = '03006',`product_sn` = '03006',`product_spec` = '單盒',`invoice_name` = '禮盒換提袋',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '0',`etd` = '2024-07-15',`create_date` = '2024-07-11 17:48:36',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040262' and product_code = '03006' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070040390' and product_code = 'DG010258-02' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234811','8','S24070040390','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','715','210925','2024-09-05','2024-07-11 17:48:55','2024-07-11 23:59:10',0,'1','2024-06-06') 2024-07-11 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234811',`firm_id` = '8',`ordernumber` = 'S24070040390', `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` = '715',`total_price` = '210925',`etd` = '2024-09-05',`create_date` = '2024-07-11 17:48:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070040390' and product_code = 'DG010258-02' 2024-07-11 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040447' and product_code = 'DG0103148-05' 2024-07-11 23:59:10 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234812','8','O24070040447','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-07-15','2024-07-11 17:58:45','2024-07-11 23:59:10',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234812',`firm_id` = '8',`ordernumber` = 'O24070040447', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-07-15',`create_date` = '2024-07-11 17:58:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040447' and product_code = 'DG0103148-05' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = 'DG010527-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','19','5510','2024-07-23','2024-07-11 18:32:05','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `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` = '19',`total_price` = '5510',`etd` = '2024-07-23',`create_date` = '2024-07-11 18:32:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = 'DG010527-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070039939' and product_code = 'DG010527-05' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234807','8','S24070039939','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','10','2900','2024-07-23','2024-07-11 18:32:05','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234807',`firm_id` = '8',`ordernumber` = 'S24070039939', `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` = '10',`total_price` = '2900',`etd` = '2024-07-23',`create_date` = '2024-07-11 18:32:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'S24070039939' and product_code = 'DG010527-05' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040514' and product_code = 'DG010315-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234813','8','O24070040514','金8結肉酥酥禮盒','DG010315-01','DG010315','原味肉酥酥【原味蛋捲】','禮盒-金8結【原味+原味肉酥酥】','555','555','0','0','0','0','1','555.0','2','1110','2024-07-15','2024-07-11 19:20:45','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234813',`firm_id` = '8',`ordernumber` = 'O24070040514', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-01',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【原味蛋捲】',`invoice_name` = '禮盒-金8結【原味+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '2',`total_price` = '1110',`etd` = '2024-07-15',`create_date` = '2024-07-11 19:20:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040514' and product_code = 'DG010315-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040624' and product_code = 'DG010101-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234814','8','O24070040624','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-22','2024-07-11 19:28:22','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234814',`firm_id` = '8',`ordernumber` = 'O24070040624', `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-07-22',`create_date` = '2024-07-11 19:28:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040624' and product_code = 'DG010101-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040624' and product_code = 'DG010226-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234814','8','O24070040624','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-01','DG010226','40入原味蛋捲','提盒-故宮(文物款)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-07-22','2024-07-11 19:28:22','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234814',`firm_id` = '8',`ordernumber` = 'O24070040624', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-01',`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-07-22',`create_date` = '2024-07-11 19:28:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040624' and product_code = 'DG010226-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040730' and product_code = 'DG0103155-02' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234815','8','O24070040730','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-02','DG0103155','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','3','1500','2024-07-16','2024-07-11 20:02:20','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234815',`firm_id` = '8',`ordernumber` = 'O24070040730', `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` = '3',`total_price` = '1500',`etd` = '2024-07-16',`create_date` = '2024-07-11 20:02:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040730' and product_code = 'DG0103155-02' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040730' and product_code = 'DG0103155-03' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234815','8','O24070040730','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-07-16','2024-07-11 20:02:20','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234815',`firm_id` = '8',`ordernumber` = 'O24070040730', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-16',`create_date` = '2024-07-11 20:02:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040730' and product_code = 'DG0103155-03' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040730' and product_code = 'DG0103155-05' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234815','8','O24070040730','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','3','1500','2024-07-16','2024-07-11 20:02:20','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234815',`firm_id` = '8',`ordernumber` = 'O24070040730', `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` = '3',`total_price` = '1500',`etd` = '2024-07-16',`create_date` = '2024-07-11 20:02:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040730' and product_code = 'DG0103155-05' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040730' and product_code = 'DG0103155-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234815','8','O24070040730','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-01','DG0103155','原味蛋捲,原味蛋捲','禮盒-SNOOPY【原味+原味】','500','500','0','0','0','0','1','0.0','1','500','2024-07-16','2024-07-11 20:02:20','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234815',`firm_id` = '8',`ordernumber` = 'O24070040730', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-01',`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-07-16',`create_date` = '2024-07-11 20:02:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040730' and product_code = 'DG0103155-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040867' and product_code = 'DG010312-02' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234816','8','O24070040867','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','6','2880','2024-07-15','2024-07-11 20:26:56','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234816',`firm_id` = '8',`ordernumber` = 'O24070040867', `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-07-15',`create_date` = '2024-07-11 20:26:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040867' and product_code = 'DG010312-02' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040970' and product_code = 'DG010312-02' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234817','8','O24070040970','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-07-15','2024-07-11 20:53:10','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234817',`firm_id` = '8',`ordernumber` = 'O24070040970', `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-07-15',`create_date` = '2024-07-11 20:53:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040970' and product_code = 'DG010312-02' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070040970' and product_code = 'DG010312-12' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234817','8','O24070040970','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-07-15','2024-07-11 20:53:10','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234817',`firm_id` = '8',`ordernumber` = 'O24070040970', `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-07-15',`create_date` = '2024-07-11 20:53:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070040970' and product_code = 'DG010312-12' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041091' and product_code = 'FL010316-16' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234818','8','O24070041091','剛好一口酥禮盒','FL010316-16','FL010316','鳳梅酥,南棗核桃糕','禮盒-剛好一口酥【鳳梅酥+南棗核桃糕】','405','405','0','0','0','0','1','0.0','6','2430','2024-09-11','2024-07-11 20:58:53','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234818',`firm_id` = '8',`ordernumber` = 'O24070041091', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-16',`product_sn` = 'FL010316',`product_spec` = '鳳梅酥,南棗核桃糕',`invoice_name` = '禮盒-剛好一口酥【鳳梅酥+南棗核桃糕】',`listprice` = '405',`sellingprice` = '405',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '2430',`etd` = '2024-09-11',`create_date` = '2024-07-11 20:58:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041091' and product_code = 'FL010316-16' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041167' and product_code = 'DG010101-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234819','8','O24070041167','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-31','2024-07-11 20:59:49','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234819',`firm_id` = '8',`ordernumber` = 'O24070041167', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-31',`create_date` = '2024-07-11 20:59:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041167' and product_code = 'DG010101-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041167' and product_code = 'DG010101-04' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234819','8','O24070041167','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-31','2024-07-11 20:59:49','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234819',`firm_id` = '8',`ordernumber` = 'O24070041167', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-31',`create_date` = '2024-07-11 20:59:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041167' and product_code = 'DG010101-04' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041167' and product_code = 'DG010101-03' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234819','8','O24070041167','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-31','2024-07-11 20:59:49','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234819',`firm_id` = '8',`ordernumber` = 'O24070041167', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-31',`create_date` = '2024-07-11 20:59:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041167' and product_code = 'DG010101-03' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041167' and product_code = 'DG010101-05' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234819','8','O24070041167','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-31','2024-07-11 20:59:49','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234819',`firm_id` = '8',`ordernumber` = 'O24070041167', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-31',`create_date` = '2024-07-11 20:59:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041167' and product_code = 'DG010101-05' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041269' and product_code = 'DG010312-03' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234820','8','O24070041269','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','3','1440','2024-07-15','2024-07-11 21:06:42','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234820',`firm_id` = '8',`ordernumber` = 'O24070041269', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-07-15',`create_date` = '2024-07-11 21:06:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041269' and product_code = 'DG010312-03' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041351' and product_code = 'DG010101-03' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234821','8','O24070041351','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-15','2024-07-11 21:54:00','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234821',`firm_id` = '8',`ordernumber` = 'O24070041351', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-15',`create_date` = '2024-07-11 21:54:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041351' and product_code = 'DG010101-03' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041351' and product_code = 'DG010101-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234821','8','O24070041351','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-15','2024-07-11 21:54:00','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234821',`firm_id` = '8',`ordernumber` = 'O24070041351', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-07-15',`create_date` = '2024-07-11 21:54:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041351' and product_code = 'DG010101-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041351' and product_code = 'BP010128-01' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234821','8','O24070041351','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','2','20','2024-07-15','2024-07-11 21:54:00','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234821',`firm_id` = '8',`ordernumber` = 'O24070041351', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2024-07-15',`create_date` = '2024-07-11 21:54:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041351' and product_code = 'BP010128-01' 2024-07-11 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070041476' and product_code = 'DG0103148-02' 2024-07-11 23:59:11 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234822','8','O24070041476','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','6','2880','2024-07-15','2024-07-11 23:37:52','2024-07-11 23:59:11',null,'1','2024-06-06') 2024-07-11 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234822',`firm_id` = '8',`ordernumber` = 'O24070041476', `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` = '6',`total_price` = '2880',`etd` = '2024-07-15',`create_date` = '2024-07-11 23:37:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-06'where ordernumber = 'O24070041476' and product_code = 'DG0103148-02' 2024-07-11 23:59:11 -- == sync_order_detail end == 2024-07-11 23:59:11 -- == sync_order start == 2024-07-11 23:59:11 -- start:2024-07-11,end:2024-07-11 2024-07-11 23:59:11 -- == 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-07-11%' OR l.modify_date like '2024-07-11%'; 2024-07-11 23:59:11 -- == sync omo_order_list == 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '6', pay_status = '1', totalprice_after = '300', lunar_date = '2024-05-01', invoice_status = '3', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B24060006714' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '14250', lunar_date = '2024-05-27', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070002743' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '20235', lunar_date = '2024-05-29', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070004448' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '399956', process_status = '3', pay_status = '1', totalprice_after = '960', lunar_date = '2024-05-30', invoice_status = '1', category_name = '', category_id = '' where ordernumber = 'B24070006788' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '400519', process_status = '2', pay_status = '1', totalprice_after = '1400', lunar_date = '2024-06-04', invoice_status = '1', category_name = 'LINE@訂單,彌月試吃', category_id = '9,2' where ordernumber = 'M24070009168' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '400598', process_status = '2', pay_status = '1', totalprice_after = '26340', lunar_date = '2024-06-05', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070010789' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '400651', process_status = '6', pay_status = '0', totalprice_after = '7500', lunar_date = '2024-06-05', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070010982' 2024-07-11 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '400473', process_status = '1', pay_status = '1', totalprice_after = '17355', lunar_date = '2024-06-05', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24070011134' 2024-07-11 23:59:11 -- == 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 ('123817','0',2,'彌月試吃','2','B24070011296','1','2','1','1','2','','','0','2024-07-12','0','0','0','','0','0','500','427','台中市','潭子區','427','台中市','潭子區','500','2024-07-11 09:03:55','2024-06-06') 2024-07-11 23:59:11 -- == 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 ('124283','0',2,'彌月試吃','2','B24070011325','1','11','1','1','2','','','0','2024-07-12','0','0','0','','0','0','300','333','桃園市','龜山區','333','桃園市','龜山區','300','2024-07-11 09:04:39','2024-06-06') 2024-07-11 23:59:11 -- == 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 ('121697','398041',2,'正式彌,LINE@訂單','1,9','M24070011435','1','2','1','1','1','','','0','2024-08-07','0','190','0','','150','30','3800','402','台中市','南區','116','台北市','文山區','3730','2024-07-11 11:00:04','2024-06-06') 2024-07-11 23:59:11 -- == 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 ('123552','0',2,'正式彌,LINE@訂單','1,9','M24070011578','1','2','1','1','1','','','0','2024-07-24','0','600','0','','0','30','12000','220','新北市','板橋區','220','新北市','板橋區','11370','2024-07-11 11:04:26','2024-06-06') 2024-07-11 23:59:11 -- == 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 ('124421','400732',2,'','','B24070011690','1','1','1','1','1','','','0','0000-00-00','450','0','0','','0','30','9000','351','苗栗縣','頭份市','351','苗栗縣','頭份市','8520','2024-07-11 12:14:16','2024-06-06') 2024-07-11 23:59:11 -- == 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 ('124340','400651',2,'正式彌,LINE@訂單','1,9','M24070010982RB','1','1','1','1','1','','','0','2024-07-12','0','0','0','','0','0','7500','248','新北市','五股區','248','新北市','五股區','7500','2024-07-11 12:24:47','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('124434','400745',2,',彌月試吃,FB訂單',',2,10','M24070011756','1','11','1','1','1','','','0','2024-07-15','0','0','0','','0','0','300','630','雲林縣','斗南鎮','630','雲林縣','斗南鎮','300','2024-07-11 13:59:35','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('124436','0',2,'正式彌,LINE@訂單','1,9','M24070011813','1','1','1','1','1','','','0','2024-07-17','0','1000','0','','0','0','20000','330','桃園市','桃園區','510','彰化縣','員林市','19000','2024-07-11 14:24:52','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('124441','400751',2,'正式彌,LINE@訂單','1,9','M24070011927','1','2','1','0','6','','','0','2024-07-18','0','900','0','','0','0','18000','222','新北市','深坑區','222','新北市','深坑區','17100','2024-07-11 15:00:36','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('121697','398041',2,'正式彌,LINE@訂單','1,9','M24070012076','1','2','1','1','1','','','0','2024-07-22','0','90','0','','150','0','1800','402','台中市','南區','236','新北市','土城區','1860','2024-07-11 15:05:48','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('121697','398041',2,'正式彌,LINE@訂單','1,9','M24070012163','1','2','6','1','1','','','0','2024-10-01','0','165','0','','0','0','3300','402','台中市','南區','893','金門縣','金城鎮','3135','2024-07-11 15:10:49','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('223','193580',2,'彌月試吃,LINE@訂單','2,9','M24070012298','1','6','6','8','8','','','0','2024-07-12','0','100','0','','0','0','500','111','台北市','士林區','103','台北市','大同區','400','2024-07-11 16:03:10','2024-06-06') 2024-07-11 23:59:12 -- == 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 ('124441','400751',2,'正式彌,LINE@訂單','1,9','M24070011927RB','1','2','1','1','1','','','0','2024-07-18','0','900','0','','0','0','18000','222','新北市','深坑區','222','新北市','深坑區','17100','2024-07-11 17:04:39','2024-06-06') 2024-07-11 23:59:12 -- == sync_order end == 2024-07-11 23:59:12 -- == sync_order_detail start == 2024-07-11 23:59:12 -- start:2024-07-11,end:2024-07-11 2024-07-11 23:59:12 -- == sync omo_order_detail == 2024-07-11 23:59:12 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-11%' OR modify_date like '2024-07-11%' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24060006714' and product_code = 'DG010264-01' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31371',`firm_id` = '11',`ordernumber` = 'B24060006714', `product_name` = 'SNOOPY(黃)提盒-彌月試吃【A5】',`product_code` = 'DG010264-01',`product_sn` = 'DG010264',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-06-07',`create_date` = '2024-06-06 14:28:00',`modify_date` = '2024-07-11 15:04:03',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24060006714' and product_code = 'DG010264-01', `lunar_date` = '2024-05-01' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070006788' and product_code = '05401' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31698',`firm_id` = '8',`ordernumber` = 'B24070006788', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1980',`etd` = '2024-07-10',`create_date` = '2024-07-05 21:59:18',`modify_date` = '2024-07-11 15:36:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070006788' and product_code = '05401', `lunar_date` = '2024-05-30' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070010982' and product_code = 'DG010263-01' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31742',`firm_id` = '8',`ordernumber` = 'M24070010982', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7500',`etd` = '2024-07-12',`create_date` = '2024-07-10 16:49:22',`modify_date` = '2024-07-11 12:24:40',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070010982' and product_code = 'DG010263-01', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070010982' and product_code = 'ZP0101119-01' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31742',`firm_id` = '8',`ordernumber` = 'M24070010982', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-07-12',`create_date` = '2024-07-10 16:49:22',`modify_date` = '2024-07-11 12:24:40',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24070010982' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'DG010202-01' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-01',`product_sn` = 'DG010202',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味',`listprice` = '0',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'DG010202-01', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'DG010202-03' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-03',`product_sn` = 'DG010202',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月年輪-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'DG010202-03', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'DG010316-05' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-05',`product_sn` = 'DG010316',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月樂芙【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '26',`total_price` = '13000',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'DG010316-05', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'DG010316-09' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-09',`product_sn` = 'DG010316',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'DG010316-09', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'DG010316-04' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-04',`product_sn` = 'DG010316',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-彌月樂芙【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'DG010316-04', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'DG0103156-05' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'DG0103156-05', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011134' and product_code = 'ZP0101119-01' 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31744',`firm_id` = '8',`ordernumber` = 'B24070011134', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-17',`create_date` = '2024-07-10 20:13:25',`modify_date` = '2024-07-11 10:39:58',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011134' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011296' and product_code = 'DG0103157-07' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31745','11','B24070011296','SNOOPY(藍)禮盒-彌月試吃【B4】','DG0103157-07','DG0103157','芝麻+咖啡','禮盒-彌月SNOOPY【芝麻+咖啡】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-07-12','2024-07-11 09:03:55','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31745',`firm_id` = '11',`ordernumber` = 'B24070011296', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`product_code` = 'DG0103157-07',`product_sn` = 'DG0103157',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【芝麻+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-12',`create_date` = '2024-07-11 09:03:55',`modify_date` = '2024-07-11 09:03:55',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011296' and product_code = 'DG0103157-07', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011325' and product_code = 'DG010264-05' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31746','11','B24070011325','SNOOPY(黃)提盒-彌月試吃【A5】','DG010264-05','DG010264','巧克力','提盒-彌月SNOOPY-40入巧克力(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-07-12','2024-07-11 09:04:39','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31746',`firm_id` = '11',`ordernumber` = 'B24070011325', `product_name` = 'SNOOPY(黃)提盒-彌月試吃【A5】',`product_code` = 'DG010264-05',`product_sn` = 'DG010264',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-12',`create_date` = '2024-07-11 09:04:39',`modify_date` = '2024-07-11 09:04:39',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011325' and product_code = 'DG010264-05', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011435' and product_code = 'DG010222-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31747','8','M24070011435','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','11','3300','2024-08-07','2024-07-11 11:00:04','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31747',`firm_id` = '8',`ordernumber` = 'M24070011435', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3300',`etd` = '2024-08-07',`create_date` = '2024-07-11 11:00:04',`modify_date` = '2024-07-11 15:36:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011435' and product_code = 'DG010222-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011435' and product_code = 'DG010222-03' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31747','8','M24070011435','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','0','0','0','1','0.0','0','0','2024-08-07','2024-07-11 11:00:04','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31747',`firm_id` = '8',`ordernumber` = 'M24070011435', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-08-07',`create_date` = '2024-07-11 11:00:04',`modify_date` = '2024-07-11 15:36:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011435' and product_code = 'DG010222-03', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011435' and product_code = 'DG0103156-08' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31747','8','M24070011435','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-08','DG0103156','芝麻+海苔','禮盒-彌月SNOOPY【芝麻+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-08-07','2024-07-11 11:00:04','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31747',`firm_id` = '8',`ordernumber` = 'M24070011435', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-08',`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` = '1',`total_price` = '500',`etd` = '2024-08-07',`create_date` = '2024-07-11 11:00:04',`modify_date` = '2024-07-11 15:36:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011435' and product_code = 'DG0103156-08', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011435' and product_code = '40000' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31747','8','M24070011435','運費','40000','40000','150運費','150運費','150','150','0','0','0','1','1','0.0','0','0','2024-08-07','2024-07-11 11:00:04','2024-07-11 23:59:12',null,'0','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31747',`firm_id` = '8',`ordernumber` = 'M24070011435', `product_name` = '運費',`product_code` = '40000',`product_sn` = '40000',`product_spec` = '150運費',`invoice_name` = '150運費',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-08-07',`create_date` = '2024-07-11 11:00:04',`modify_date` = '2024-07-11 15:18:30',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24070011435' and product_code = '40000', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011435' and product_code = 'ZP010151-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31747','8','M24070011435','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-08-07','2024-07-11 11:00:04','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31747',`firm_id` = '8',`ordernumber` = 'M24070011435', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-08-07',`create_date` = '2024-07-11 11:00:04',`modify_date` = '2024-07-11 15:36:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011435' and product_code = 'ZP010151-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011578' and product_code = 'DG010203-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31748','8','M24070011578','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','20','6000','2024-07-24','2024-07-11 11:04:26','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31748',`firm_id` = '8',`ordernumber` = 'M24070011578', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-07-24',`create_date` = '2024-07-11 11:04:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011578' and product_code = 'DG010203-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011578' and product_code = 'DG010203-02' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31748','8','M24070011578','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','20','6000','2024-07-24','2024-07-11 11:04:26','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31748',`firm_id` = '8',`ordernumber` = 'M24070011578', `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` = '20',`total_price` = '6000',`etd` = '2024-07-24',`create_date` = '2024-07-11 11:04:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011578' and product_code = 'DG010203-02', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011578' and product_code = 'ZP0101119-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31748','8','M24070011578','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-24','2024-07-11 11:04:26','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31748',`firm_id` = '8',`ordernumber` = 'M24070011578', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-24',`create_date` = '2024-07-11 11:04:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011578' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011690' and product_code = 'DG010203-05' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31749','8','B24070011690','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','30','9000','2024-07-17','2024-07-11 12:14:16','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31749',`firm_id` = '8',`ordernumber` = 'B24070011690', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2024-07-17',`create_date` = '2024-07-11 12:14:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011690' and product_code = 'DG010203-05', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070011690' and product_code = 'ZP010151-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31749','8','B24070011690','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-17','2024-07-11 12:14:16','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31749',`firm_id` = '8',`ordernumber` = 'B24070011690', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-17',`create_date` = '2024-07-11 12:14:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070011690' and product_code = 'ZP010151-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070010982' and product_code = 'ZP010151-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31742','8','M24070010982','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-12','2024-07-11 12:24:40','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31742',`firm_id` = '8',`ordernumber` = 'M24070010982', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-12',`create_date` = '2024-07-11 12:24:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070010982' and product_code = 'ZP010151-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070010982RB' and product_code = 'DG010263-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31750','8','M24070010982RB','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','25','7500','2024-07-12','2024-07-10 16:49:22','2024-07-11 23:59:12',null,'1','2024-06-05') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31750',`firm_id` = '8',`ordernumber` = 'M24070010982RB', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '7500',`etd` = '2024-07-12',`create_date` = '2024-07-10 16:49:22',`modify_date` = '2024-07-11 14:05:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070010982RB' and product_code = 'DG010263-01', `lunar_date` = '2024-06-05' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070010982RB' and product_code = 'ZP010151-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31750','8','M24070010982RB','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-12','2024-07-11 12:24:40','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31750',`firm_id` = '8',`ordernumber` = 'M24070010982RB', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-12',`create_date` = '2024-07-11 12:24:40',`modify_date` = '2024-07-11 14:05:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070010982RB' and product_code = 'ZP010151-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011756' and product_code = 'DG010244-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31751','11','M24070011756','小王子提盒彌月試吃【A3】','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-07-15','2024-07-11 13:59:35','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31751',`firm_id` = '11',`ordernumber` = 'M24070011756', `product_name` = '小王子提盒彌月試吃【A3】',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-15',`create_date` = '2024-07-11 13:59:35',`modify_date` = '2024-07-11 14:04:25',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011756' and product_code = 'DG010244-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011813' and product_code = 'DG010203-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31752','8','M24070011813','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','15','4500','2024-07-17','2024-07-11 14:24:52','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31752',`firm_id` = '8',`ordernumber` = 'M24070011813', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4500',`etd` = '2024-07-17',`create_date` = '2024-07-11 14:24:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011813' and product_code = 'DG010203-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011813' and product_code = 'DG010327-05' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31752','8','M24070011813','【小王子聯名】仰望星空8結彌月禮盒','DG010327-05','DG010327','原味+巧克力','禮盒-小王子(藍)【原味+巧克力】','500','500','0','0','0','0','1','0.0','31','15500','2024-07-17','2024-07-11 14:24:52','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31752',`firm_id` = '8',`ordernumber` = 'M24070011813', `product_name` = '【小王子聯名】仰望星空8結彌月禮盒',`product_code` = 'DG010327-05',`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` = '31',`total_price` = '15500',`etd` = '2024-07-17',`create_date` = '2024-07-11 14:24:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011813' and product_code = 'DG010327-05', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011813' and product_code = 'ZP0101106-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31752','8','M24070011813','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-07-17','2024-07-11 14:24:52','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31752',`firm_id` = '8',`ordernumber` = 'M24070011813', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-17',`create_date` = '2024-07-11 14:24:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011813' and product_code = 'ZP0101106-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011927' and product_code = 'DG010263-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31753','8','M24070011927','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','60','18000','2024-07-18','2024-07-11 15:00:36','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31753',`firm_id` = '8',`ordernumber` = 'M24070011927', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '60',`total_price` = '18000',`etd` = '2024-07-18',`create_date` = '2024-07-11 15:00:36',`modify_date` = '2024-07-11 17:04:31',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011927' and product_code = 'DG010263-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011927' and product_code = 'ZP0101119-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31753','8','M24070011927','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-18','2024-07-11 15:00:36','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31753',`firm_id` = '8',`ordernumber` = 'M24070011927', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-18',`create_date` = '2024-07-11 15:00:36',`modify_date` = '2024-07-11 17:04:31',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011927' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070012076' and product_code = 'DG010222-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31754','8','M24070012076','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','6','1800','2024-07-22','2024-07-11 15:05:48','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31754',`firm_id` = '8',`ordernumber` = 'M24070012076', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-07-22',`create_date` = '2024-07-11 15:05:48',`modify_date` = '2024-07-11 15:06:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070012076' and product_code = 'DG010222-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070012163' and product_code = 'DG010222-01' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31755','8','M24070012163','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','9','2700','2024-10-01','2024-07-11 15:10:49','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31755',`firm_id` = '8',`ordernumber` = 'M24070012163', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-10-01',`create_date` = '2024-07-11 15:10:49',`modify_date` = '2024-07-11 15:15:56',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070012163' and product_code = 'DG010222-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070012163' and product_code = 'DG010222-03' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31755','8','M24070012163','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','0','0','0','1','0.0','2','600','2024-10-01','2024-07-11 15:10:49','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31755',`firm_id` = '8',`ordernumber` = 'M24070012163', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-10-01',`create_date` = '2024-07-11 15:10:49',`modify_date` = '2024-07-11 15:15:56',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070012163' and product_code = 'DG010222-03', `lunar_date` = '2024-06-06' 2024-07-11 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070012298' and product_code = 'DG0103157-05' 2024-07-11 23:59:12 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31756','11','M24070012298','SNOOPY(藍)禮盒-彌月試吃【B4】','DG0103157-05','DG0103157','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-07-12','2024-07-11 16:03:10','2024-07-11 23:59:12',null,'1','2024-06-06') 2024-07-11 23:59:13 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31756',`firm_id` = '11',`ordernumber` = 'M24070012298', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`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-07-12',`create_date` = '2024-07-11 16:03:10',`modify_date` = '2024-07-11 16:43:56',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070012298' and product_code = 'DG0103157-05', `lunar_date` = '2024-06-06' 2024-07-11 23:59:13 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011927RB' and product_code = 'DG010263-01' 2024-07-11 23:59:13 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31757','8','M24070011927RB','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','60','18000','2024-07-18','2024-07-11 15:00:36','2024-07-11 23:59:13',null,'1','2024-06-06') 2024-07-11 23:59:13 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31757',`firm_id` = '8',`ordernumber` = 'M24070011927RB', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '60',`total_price` = '18000',`etd` = '2024-07-18',`create_date` = '2024-07-11 15:00:36',`modify_date` = '2024-07-11 17:28:57',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011927RB' and product_code = 'DG010263-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:13 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070011927RB' and product_code = 'ZP0101119-01' 2024-07-11 23:59:13 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'31757','8','M24070011927RB','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-18','2024-07-11 15:00:36','2024-07-11 23:59:13',null,'1','2024-06-06') 2024-07-11 23:59:13 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31757',`firm_id` = '8',`ordernumber` = 'M24070011927RB', `product_name` = '贈品-recolte熱感美容儀',`product_code` = 'ZP0101119-01',`product_sn` = 'ZP0101119',`product_spec` = '贈品-recolte熱感美容儀',`invoice_name` = '贈品-recolte熱感美容儀',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-18',`create_date` = '2024-07-11 15:00:36',`modify_date` = '2024-07-11 17:28:57',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070011927RB' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-06' 2024-07-11 23:59:13 -- == sync_order_detail end == 2024-07-11 23:59:13 -- == 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-07-11' OR o.updated_at = '2024-07-11') and o.deleted_at is null 2024-07-11 23:59:13 -- == sync_order_detail start == 2024-07-11 23:59:13 -- start:2024-07-11,end:2024-07-11 2024-07-11 23:59:13 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-07-11 23:59:14 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-07-11 23:59:16 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-07-11%';