2024-07-09 23:59:03 -- == sync_order start == 2024-07-09 23:59:03 -- start:2024-07-09,end:2024-07-09 2024-07-09 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-09%' OR l.modify_date like '2024-07-09%'; 2024-07-09 23:59:04 -- == sync omo_order_list == 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '384000', lunar_date = '2024-05-14', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24060088530' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '18110', lunar_date = '2024-05-22', invoice_status = '1',category_name = '美村門市訂單', category_id = '32' where ordernumber = 'S24060121838' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399207', process_status = '2', pay_status = '1', totalprice_after = '1620', lunar_date = '2024-05-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24060131384' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399223', process_status = '1', pay_status = '1', totalprice_after = '3480', lunar_date = '2024-05-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070000626' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399268', process_status = '0', pay_status = '0', totalprice_after = '12510', lunar_date = '2024-05-28', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24070009689' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399623', process_status = '2', pay_status = '1', totalprice_after = '1240', lunar_date = '2024-05-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070011480' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '394250', process_status = '2', pay_status = '1', totalprice_after = '2150', lunar_date = '2024-05-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070013610' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399856', process_status = '2', pay_status = '1', totalprice_after = '6340', lunar_date = '2024-05-30', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070015814' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399853', process_status = '2', pay_status = '1', totalprice_after = '2120', lunar_date = '2024-05-30', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070016166' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '300', lunar_date = '2024-05-30', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S24070016568' 2024-07-09 23:59:04 -- == 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-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '395103', process_status = '2', pay_status = '1', totalprice_after = '1200', lunar_date = '2024-05-30', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070017425' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '315390', process_status = '3', pay_status = '1', totalprice_after = '2310', lunar_date = '2024-05-30', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070018130' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '374143', process_status = '3', pay_status = '1', totalprice_after = '1920', lunar_date = '2024-06-01', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070018690' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399364', process_status = '2', pay_status = '1', totalprice_after = '990', lunar_date = '2024-06-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070019117' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399215', process_status = '3', pay_status = '1', totalprice_after = '1500', lunar_date = '2024-06-01', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070019268' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '400120', process_status = '1', pay_status = '1', totalprice_after = '740', lunar_date = '2024-06-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070020184' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '400225', process_status = '2', pay_status = '1', totalprice_after = '3020', lunar_date = '2024-06-03', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24070021714' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '400310', process_status = '2', pay_status = '1', totalprice_after = '2270', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070023052' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '400312', process_status = '2', pay_status = '1', totalprice_after = '2065', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070023229' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399918', process_status = '1', pay_status = '1', totalprice_after = '2000', lunar_date = '2024-06-03', invoice_status = '1',category_name = 'LINE@訂單,美村門市訂單', category_id = '9,32' where ordernumber = 'S24070023470' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '112367', process_status = '6', pay_status = '0', totalprice_after = '5650', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070023667' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '400314', process_status = '2', pay_status = '1', totalprice_after = '970', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070023951' 2024-07-09 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '399223', process_status = '6', pay_status = '1', totalprice_after = '835', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'S24070024045' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399724', process_status = '2', pay_status = '1', totalprice_after = '1805', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070024242' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400326', process_status = '1', pay_status = '1', totalprice_after = '8130', lunar_date = '2024-06-03', invoice_status = '0',category_name = ',電話訂單', category_id = ',12' where ordernumber = 'O24070024363' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '386067', process_status = '6', pay_status = '0', totalprice_after = '15960', lunar_date = '2024-06-03', invoice_status = '0',category_name = '企業訂單,測試訂單', category_id = '4,30' where ordernumber = 'S24070024530' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '352194', process_status = '6', pay_status = '1', totalprice_after = '54000', lunar_date = '2024-06-03', invoice_status = '0',category_name = '測試訂單', category_id = '30' where ordernumber = 'S24070024670' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '6', pay_status = '6', totalprice_after = '177500', lunar_date = '2024-06-03', invoice_status = '0',category_name = '企業訂單,測試訂單', category_id = '4,30' where ordernumber = 'S24070024765' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400341', process_status = '2', pay_status = '1', totalprice_after = '960', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070024850' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '399620', process_status = '2', pay_status = '1', totalprice_after = '450', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070024935' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400351', process_status = '2', pay_status = '1', totalprice_after = '1570', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070025174' 2024-07-09 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-03', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S24070025370' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '12096', lunar_date = '2024-06-03', invoice_status = '1',category_name = '公關訂單,插單群訂單', category_id = '6,14' where ordernumber = 'S24070025565' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '7830', lunar_date = '2024-06-03', invoice_status = '0',category_name = '公關訂單,插單群訂單,美村當日宅配', category_id = '6,14,28' where ordernumber = 'S24070025648' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '630', lunar_date = '2024-06-03', invoice_status = '0',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24070026138' 2024-07-09 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-03', invoice_status = '0',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24070026240' 2024-07-09 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-03', invoice_status = '0',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24070026416' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '445', lunar_date = '2024-06-03', invoice_status = '0',category_name = 'line禮物', category_id = '38' where ordernumber = 'S24070026711' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '7', totalprice_after = '0', lunar_date = '2024-06-03', invoice_status = '2',category_name = '企業試吃,公關訂單', category_id = '8,6' where ordernumber = 'S24070027017' 2024-07-09 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '400411', process_status = '6', pay_status = '0', totalprice_after = '1280', lunar_date = '2024-06-03', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24070027131' 2024-07-09 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 ('81257','53529',1,'','','O24070028060','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','990','325','桃園市','龍潭區','831','高雄市','大寮區','1140','2024-07-09 06:34:06','2024-06-04') 2024-07-09 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 ('81257','53529',1,'','','O24070028199','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','325','桃園市','龍潭區','806','高雄市','前鎮區','650','2024-07-09 06:40:42','2024-06-04') 2024-07-09 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 ('363848','400439',1,'電話訂單','12','S24070028220','1','1','1','1','1','','','0','2024-07-11','0','0','0','','150','30','870','200','基隆市','仁愛區','200','基隆市','仁愛區','990','2024-07-09 09:27:39','2024-06-04') 2024-07-09 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 ('346485','383225',1,'','','O24070028361','1','2','1','0','0','','','0','0000-00-00','6601','0','0','','0','0','94300','403','台中市','西區','403','台中市','西區','87699','2024-07-09 09:29:38','2024-06-04') 2024-07-09 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 ('363839','400430',1,'','','O24070028447','1','11','1','1','1','52556351','經緯盛業股份有限公司','0','0000-00-00','1824','0','0','','0','30','36480','238','新北市','樹林區','238','新北市','樹林區','34626','2024-07-09 10:12:38','2024-06-04') 2024-07-09 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 ('202485','0',1,'通路訂單','5','S24070028578','1','7','1','0','1','27362244','遠東都會股份有限公司','0','2024-07-11','0','7391','0','','0','0','48960','106','台北市','大安區','106','台北市','大安區','41569','2024-07-09 10:16:05','2024-06-04') 2024-07-09 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 ('282533','320063',1,'','','O24070028626','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','908','屏東縣','長治鄉','908','屏東縣','長治鄉','1590','2024-07-09 10:25:29','2024-06-04') 2024-07-09 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 ('152154','0',1,'通路訂單','5','S24070028742','1','7','1','0','1','22662550','家福股份有限公司','0','2024-08-05','0','0','0','','0','0','1869840','112','台北市','北投區','112','台北市','北投區','1869840','2024-07-09 10:29:19','2024-06-04') 2024-07-09 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 ('152154','0',1,'通路訂單','5','S24070028859','1','7','1','0','1','22662550','家福股份有限公司','0','2024-09-03','0','0','0','','0','0','1047600','112','台北市','北投區','112','台北市','北投區','1047600','2024-07-09 10:31:25','2024-06-04') 2024-07-09 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 ('363849','400440',1,'','','O24070028969','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3070','351','苗栗縣','頭份市','351','苗栗縣','頭份市','3190','2024-07-09 10:37:04','2024-06-04') 2024-07-09 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 ('22076','0',1,'通路訂單','5','S24070029046','1','7','1','0','1','27284819','日翊文化行銷股份有限公司','0','2024-07-31','0','0','0','','0','0','864000','335','桃園市','大溪區','335','桃園市','大溪區','864000','2024-07-09 10:41:19','2024-06-04') 2024-07-09 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 ('22076','0',1,'通路訂單','5','S24070029116','1','7','1','0','1','27284819','日翊文化行銷股份有限公司','0','2024-08-07','0','0','0','','0','0','864000','335','桃園市','大溪區','335','桃園市','大溪區','864000','2024-07-09 10:43:06','2024-06-04') 2024-07-09 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 ('22076','0',1,'通路訂單','5','S24070029219','1','7','1','0','1','27284819','日翊文化行銷股份有限公司','0','2024-08-14','0','0','0','','0','0','864000','335','桃園市','大溪區','335','桃園市','大溪區','864000','2024-07-09 10:44:12','2024-06-04') 2024-07-09 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 ('22076','0',1,'通路訂單','5','S24070029398','1','7','1','0','1','27284819','日翊文化行銷股份有限公司','0','2024-08-21','0','0','0','','0','0','864000','335','桃園市','大溪區','335','桃園市','大溪區','864000','2024-07-09 10:46:21','2024-06-04') 2024-07-09 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 ('22076','0',1,'通路訂單','5','S24070029481','1','7','1','0','1','27284819','日翊文化行銷股份有限公司','0','2024-08-28','0','0','0','','0','0','864000','335','桃園市','大溪區','335','桃園市','大溪區','864000','2024-07-09 10:47:41','2024-06-04') 2024-07-09 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,'公關訂單,插單群訂單','6,14','S24070029588','1','8','1','7','1','','','2','2024-07-11','0','2705','0','','0','0','2705','403','台中市','西區','338','桃園市','蘆竹區','0','2024-07-09 10:58:37','2024-06-04') 2024-07-09 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 ('363853','400444',1,'LINE@訂單,企業試吃','9,8','S24070029616','1','2','1','1','2','24975537','新鐸品牌行銷顧問股份有限公司','1','2024-07-09','0','0','0','','0','0','2050','110','台北市','信義區','110','台北市','信義區','2050','2024-07-09 11:07:23','2024-06-04') 2024-07-09 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 ('363845','400436',1,'','','O24070029727','1','1','1','1','1','80540129','肯果行銷有限公司','0','0000-00-00','560','0','0','','0','30','11200','220','新北市','板橋區','220','新北市','板橋區','10610','2024-07-09 11:09:13','2024-06-04') 2024-07-09 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,'測試訂單','30','S24070029853','1','1','1','1','6','','','0','2024-07-20','0','3600','0','','0','0','36000','403','台中市','西區','414','台中市','烏日區','32400','2024-07-09 11:23:34','2024-06-04') 2024-07-09 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,'測試訂單','30','S24070029966','1','1','1','1','6','','','0','2024-07-25','0','880','0','','0','0','8800','403','台中市','西區','402','台中市','南區','7920','2024-07-09 11:27:52','2024-06-04') 2024-07-09 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 ('363868','400459',1,'永康當日宅配','19','S24070030030','1','4','7','1','1','','','0','2024-07-11','449','0','0','','0','0','8990','104','台北市','中山區','104','台北市','中山區','8541','2024-07-09 12:05:51','2024-06-04') 2024-07-09 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','S24070030178','1','1','1','0','0','','','0','2024-07-12','0','0','0','','0','0','25000','403','台中市','西區','402','台中市','南區','25000','2024-07-09 12:06:53','2024-06-04') 2024-07-09 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 ('363870','400461',1,'','','O24070030244','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2030','811','高雄市','楠梓區','811','高雄市','楠梓區','2150','2024-07-09 12:11:39','2024-06-04') 2024-07-09 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 ('363734','400326',1,',電話訂單',',12','S24070030314','1','1','1','1','1','','','0','2024-07-15','0','456','0','','0','0','960','804','高雄市','鼓山區','804','高雄市','鼓山區','504','2024-07-09 12:51:47','2024-06-04') 2024-07-09 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 ('363746','400338',1,'','','O24070030488','1','11','1','0','0','','','0','0000-00-00','504','0','0','','0','0','10080','403','台中市','西區','403','台中市','西區','9576','2024-07-09 13:52:10','2024-06-04') 2024-07-09 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 ('363901','400491',1,'','','O24070030588','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1980','241','新北市','三重區','241','新北市','三重區','2100','2024-07-09 14:08:40','2024-06-04') 2024-07-09 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,'公關訂單,企業試吃','6,8','S24070030670','1','8','1','7','1','','','2','2024-07-10','0','555','0','','0','0','555','238','新北市','樹林區','238','新北市','樹林區','0','2024-07-09 14:09:00','2024-06-04') 2024-07-09 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 ('363903','400493',1,'永康當日宅配','19','S24070030771','1','1','7','1','1','70382826','史德普股份有限公司','0','2024-07-10','0','0','0','','350','0','5000','114','台北市','內湖區','114','台北市','內湖區','5350','2024-07-09 14:14:02','2024-06-04') 2024-07-09 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 ('363904','400494',1,'迪化門市訂單,迪化當日宅配','43,44','S24070030828','1','2','12','1','1','','','0','2024-07-10','0','0','0','','350','30','2880','103','台北市','大同區','235','新北市','中和區','3200','2024-07-09 14:30:40','2024-06-04') 2024-07-09 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 ('363528','400120',1,'','','S24070030990','1','1','1','1','1','','','0','2024-07-17','0','0','0','','0','0','620','300','新竹市','香山區','300','新竹市','香山區','620','2024-07-09 15:21:43','2024-06-04') 2024-07-09 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 ('363924','400514',1,'','','O24070031039','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1090','235','新北市','中和區','235','新北市','中和區','1210','2024-07-09 16:11:31','2024-06-04') 2024-07-09 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 ('351200','387889',1,'','','O24070031174','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3240','100','台北市','中正區','100','台北市','中正區','3390','2024-07-09 16:51:55','2024-06-04') 2024-07-09 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,'公關訂單,企業試吃','6,8','S24070031220','1','8','1','7','1','','','0','2024-07-25','0','525','0','','0','0','525','403','台中市','西區','207','新北市','萬里區','0','2024-07-09 17:08:04','2024-06-04') 2024-07-09 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 ('363942','400532',1,'美村門市訂單','32','S24070031315','1','2','1','1','1','','','0','2024-07-11','0','0','0','','150','0','2800','330','桃園市','桃園區','330','桃園市','桃園區','2950','2024-07-09 17:23:46','2024-06-04') 2024-07-09 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,'line禮物','38','S24070031426','1','7','1','0','1','','','0','2024-07-10','0','0','0','','150','0','300','403','台中市','西區','825','高雄市','橋頭區','450','2024-07-09 17:34:07','2024-06-04') 2024-07-09 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,'FB訂單','10','S24070031556','1','1','1','0','0','','','0','2024-09-02','0','2160','0','','0','0','43200','435','台中市','梧棲區','435','台中市','梧棲區','41040','2024-07-09 18:03:26','2024-06-04') 2024-07-09 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 ('363966','400556',1,'','','O24070031661','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5608','242','新北市','新莊區','242','新北市','新莊區','5578','2024-07-09 18:31:14','2024-06-04') 2024-07-09 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 ('363970','400559',1,'','','O24070031753','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2880','427','台中市','潭子區','973','花蓮縣','吉安鄉','3000','2024-07-09 18:49:56','2024-06-04') 2024-07-09 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 ('363972','400561',1,'','','O24070031829','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1180','804','高雄市','鼓山區','804','高雄市','鼓山區','1330','2024-07-09 19:03:00','2024-06-04') 2024-07-09 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 ('24669','175281',1,'','','O24070031963','1','11','1','1','1','81556823','方格車身廣告社','0','0000-00-00','0','0','0','','150','150','1920','701','台南市','東區','701','台南市','東區','1920','2024-07-09 20:29:26','2024-06-04') 2024-07-09 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 ('221003','237217',1,'','','O24070032044','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','990','408','台中市','南屯區','408','台中市','南屯區','1140','2024-07-09 20:30:52','2024-06-04') 2024-07-09 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 ('355878','392528',1,'','','O24070032194','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1460','337','桃園市','大園區','337','桃園市','大園區','1610','2024-07-09 21:06:09','2024-06-04') 2024-07-09 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 ('166430','133571',1,'','','O24070032263','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1665','600','嘉義市','東區','600','嘉義市','東區','1815','2024-07-09 22:06:55','2024-06-04') 2024-07-09 23:59:06 -- == sync_order end == 2024-07-09 23:59:06 -- == sync_order_detail start == 2024-07-09 23:59:06 -- start:2024-07-09,end:2024-07-09 2024-07-09 23:59:06 -- == sync omo_order_detail == 2024-07-09 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-09%' OR modify_date like '2024-07-09%' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24060121838' and product_code = 'DG010312-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234309',`firm_id` = '8',`ordernumber` = 'S24060121838', `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` = '40',`total_price` = '19200',`etd` = '2024-07-22',`create_date` = '2024-06-27 16:13:52',`modify_date` = '2024-07-09 15:17:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-22'where ordernumber = 'S24060121838' and product_code = 'DG010312-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24060131384' and product_code = 'DG0103155-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234404',`firm_id` = '8',`ordernumber` = 'O24060131384', `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-10',`create_date` = '2024-06-30 21:54:09',`modify_date` = '2024-07-09 09:31:55',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-25'where ordernumber = 'O24060131384' and product_code = 'DG0103155-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010206-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `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` = '0',`total_price` = '0',`etd` = '2024-08-13',`create_date` = '2024-07-01 10:40:37',`modify_date` = '2024-07-09 09:53:39',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000626' and product_code = 'DG010206-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `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` = '0',`total_price` = '0',`etd` = '2024-08-13',`create_date` = '2024-07-01 10:40:37',`modify_date` = '2024-07-09 09:53:39',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000626' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010101-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `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` = '0',`total_price` = '0',`etd` = '2024-08-13',`create_date` = '2024-07-01 10:40:37',`modify_date` = '2024-07-09 09:53:39',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000626' and product_code = 'DG010101-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010101-02' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `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` = '0',`total_price` = '0',`etd` = '2024-08-13',`create_date` = '2024-07-01 10:40:37',`modify_date` = '2024-07-09 09:53:39',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000626' and product_code = 'DG010101-02' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010226-02' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-02',`product_sn` = 'DG010226',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-08-13',`create_date` = '2024-07-01 10:40:37',`modify_date` = '2024-07-09 09:53:39',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000626' and product_code = 'DG010226-02' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010101-03' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `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` = '0',`total_price` = '0',`etd` = '2024-08-13',`create_date` = '2024-07-01 10:40:37',`modify_date` = '2024-07-09 09:53:39',`points_use_id` = null,`item_status` = '0', `lunar_date` = '2024-05-26'where ordernumber = 'O24070000626' and product_code = 'DG010101-03' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070009689' and product_code = 'DG010203-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234507',`firm_id` = '8',`ordernumber` = 'S24070009689', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '44',`total_price` = '13200',`etd` = '2024-09-10',`create_date` = '2024-07-03 17:59:18',`modify_date` = '2024-07-09 17:32:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-28'where ordernumber = 'S24070009689' and product_code = 'DG010203-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070016166' and product_code = '13656' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234569',`firm_id` = '8',`ordernumber` = 'O24070016166', `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` = '4',`total_price` = '1160',`etd` = '2024-07-09',`create_date` = '2024-07-05 14:26:37',`modify_date` = '2024-07-09 08:40:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070016166' and product_code = '13656' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070016166' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234569',`firm_id` = '8',`ordernumber` = 'O24070016166', `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-09',`create_date` = '2024-07-05 14:26:37',`modify_date` = '2024-07-09 08:40:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070016166' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070016638' and product_code = 'DG010265-02' 2024-07-09 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-09 11:20:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'S24070016638' and product_code = 'DG010265-02' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018130' and product_code = '13991' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234589',`firm_id` = '8',`ordernumber` = 'O24070018130', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13991',`product_sn` = '13987',`product_spec` = '巧克力',`invoice_name` = '組合-32入巧克力+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-07-08',`create_date` = '2024-07-05 23:51:32',`modify_date` = '2024-07-09 09:14:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070018130' and product_code = '13991' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018130' and product_code = 'DG010312-15' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234589',`firm_id` = '8',`ordernumber` = 'O24070018130', `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-08',`create_date` = '2024-07-05 23:51:32',`modify_date` = '2024-07-09 09:14:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070018130' and product_code = 'DG010312-15' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018130' and product_code = 'DG010312-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234589',`firm_id` = '8',`ordernumber` = 'O24070018130', `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-08',`create_date` = '2024-07-05 23:51:32',`modify_date` = '2024-07-09 09:14:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070018130' and product_code = 'DG010312-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018130' and product_code = 'LS010108-03' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234589',`firm_id` = '8',`ordernumber` = 'O24070018130', `product_name` = '[加購]加購-黑松露乳酪絲',`product_code` = 'LS010108-03',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【黑松露】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-07-08',`create_date` = '2024-07-05 23:51:32',`modify_date` = '2024-07-09 09:14:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070018130' and product_code = 'LS010108-03' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018130' and product_code = '13044' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234589',`firm_id` = '8',`ordernumber` = 'O24070018130', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-07-08',`create_date` = '2024-07-05 23:51:32',`modify_date` = '2024-07-09 09:14:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-05-30'where ordernumber = 'O24070018130' and product_code = '13044' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018690' and product_code = 'DG010258-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234594',`firm_id` = '8',`ordernumber` = 'O24070018690', `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` = '2',`total_price` = '590',`etd` = '2024-07-08',`create_date` = '2024-07-06 08:10:55',`modify_date` = '2024-07-09 09:13:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070018690' and product_code = 'DG010258-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018690' and product_code = 'DG010204-03' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234594',`firm_id` = '8',`ordernumber` = 'O24070018690', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-03',`product_sn` = 'DG010204',`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-08',`create_date` = '2024-07-06 08:10:55',`modify_date` = '2024-07-09 09:13:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070018690' and product_code = 'DG010204-03' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018690' and product_code = 'DG010204-02' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234594',`firm_id` = '8',`ordernumber` = 'O24070018690', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-02',`product_sn` = 'DG010204',`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-08',`create_date` = '2024-07-06 08:10:55',`modify_date` = '2024-07-09 09:13:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070018690' and product_code = 'DG010204-02' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018690' and product_code = 'DG010204-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234594',`firm_id` = '8',`ordernumber` = 'O24070018690', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`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-08',`create_date` = '2024-07-06 08:10:55',`modify_date` = '2024-07-09 09:13:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070018690' and product_code = 'DG010204-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070018690' and product_code = 'DG010204-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234594',`firm_id` = '8',`ordernumber` = 'O24070018690', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-05',`product_sn` = 'DG010204',`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-08',`create_date` = '2024-07-06 08:10:55',`modify_date` = '2024-07-09 09:13:39',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070018690' and product_code = 'DG010204-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070019268' and product_code = 'DG010523-07' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234600',`firm_id` = '8',`ordernumber` = 'O24070019268', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-07-08',`create_date` = '2024-07-06 11:53:46',`modify_date` = '2024-07-09 09:13:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070019268' and product_code = 'DG010523-07' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070019268' and product_code = 'BP010159-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234600',`firm_id` = '8',`ordernumber` = 'O24070019268', `product_name` = '[加購]加購-SNOOPY提把水瓶',`product_code` = 'BP010159-01',`product_sn` = 'BP010159',`product_spec` = '-',`invoice_name` = '加購-SNOOPY提把水瓶',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-07-08',`create_date` = '2024-07-06 11:53:46',`modify_date` = '2024-07-09 09:13:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070019268' and product_code = 'BP010159-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070020184' and product_code = 'DG0103182-426' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234609',`firm_id` = '8',`ordernumber` = 'O24070020184', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-426',`product_sn` = 'DG0103182',`product_spec` = '巧克力,鳳梨酥,黑松露腰果',`invoice_name` = '禮盒-金巧8結【(巧克力)-鳳梨酥+黑松露腰果】',`listprice` = '620',`sellingprice` = '620',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '620',`etd` = '2024-07-16',`create_date` = '2024-07-06 21:36:14',`modify_date` = '2024-07-09 15:22:40',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-01'where ordernumber = 'O24070020184' and product_code = 'DG0103182-426' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070023470' and product_code = 'DG0103155-03' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234642',`firm_id` = '8',`ordernumber` = 'S24070023470', `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` = '4',`total_price` = '2000',`etd` = '2024-07-15',`create_date` = '2024-07-08 09:09:36',`modify_date` = '2024-07-09 14:54:08',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070023470' and product_code = 'DG0103155-03' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070023667' and product_code = 'DG010312-02' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234644',`firm_id` = '8',`ordernumber` = 'O24070023667', `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` = '10',`total_price` = '4800',`etd` = '2024-08-27',`create_date` = '2024-07-08 09:36:50',`modify_date` = '2024-07-09 09:15:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'O24070023667' and product_code = 'DG010312-02' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070023667' and product_code = 'DG010527-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234644',`firm_id` = '8',`ordernumber` = 'O24070023667', `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` = '1',`total_price` = '290',`etd` = '2024-08-27',`create_date` = '2024-07-08 09:36:50',`modify_date` = '2024-07-09 09:15:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'O24070023667' and product_code = 'DG010527-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070023667' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234644',`firm_id` = '8',`ordernumber` = 'O24070023667', `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-08-27',`create_date` = '2024-07-08 09:36:50',`modify_date` = '2024-07-09 09:15:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'O24070023667' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024045' and product_code = 'DG010312-02' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234648',`firm_id` = '8',`ordernumber` = 'S24070024045', `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-08-13',`create_date` = '2024-07-08 10:33:39',`modify_date` = '2024-07-09 11:50:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024045' and product_code = 'DG010312-02' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070024363' and product_code = 'DG0103148-05' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234651',`firm_id` = '8',`ordernumber` = 'O24070024363', `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` = '17',`total_price` = '8160',`etd` = '2024-07-15',`create_date` = '2024-07-08 11:23:47',`modify_date` = '2024-07-09 12:52:17',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'O24070024363' and product_code = 'DG0103148-05' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024530' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234653',`firm_id` = '8',`ordernumber` = 'S24070024530', `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` = '20',`total_price` = '5600',`etd` = '2024-08-09',`create_date` = '2024-07-08 11:39:00',`modify_date` = '2024-07-09 15:29:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024530' and product_code = 'DG010101-01' 2024-07-09 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024530' and product_code = 'DG010101-02' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234653',`firm_id` = '8',`ordernumber` = 'S24070024530', `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` = '20',`total_price` = '5600',`etd` = '2024-08-09',`create_date` = '2024-07-08 11:39:00',`modify_date` = '2024-07-09 15:29:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024530' and product_code = 'DG010101-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024530' and product_code = 'DG010101-03' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234653',`firm_id` = '8',`ordernumber` = 'S24070024530', `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` = '20',`total_price` = '5600',`etd` = '2024-08-09',`create_date` = '2024-07-08 11:39:00',`modify_date` = '2024-07-09 15:29:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024530' and product_code = 'DG010101-03' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024530' and product_code = 'ZP010503-01' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234653',`firm_id` = '8',`ordernumber` = 'S24070024530', `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-08-09',`create_date` = '2024-07-08 11:39:00',`modify_date` = '2024-07-09 15:29:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024530' and product_code = 'ZP010503-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024670' and product_code = 'DG010312-02' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234654',`firm_id` = '8',`ordernumber` = 'S24070024670', `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` = '100',`total_price` = '48000',`etd` = '2024-07-17',`create_date` = '2024-07-08 12:21:11',`modify_date` = '2024-07-09 12:07:50',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024670' and product_code = 'DG010312-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024670' and product_code = 'DG010312-03' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234654',`firm_id` = '8',`ordernumber` = 'S24070024670', `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` = '25',`total_price` = '12000',`etd` = '2024-07-17',`create_date` = '2024-07-08 12:21:11',`modify_date` = '2024-07-09 12:07:50',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024670' and product_code = 'DG010312-03' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024765' and product_code = 'DG010327-05' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234655',`firm_id` = '8',`ordernumber` = 'S24070024765', `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` = '150',`total_price` = '75000',`etd` = '2024-07-11',`create_date` = '2024-07-08 12:22:41',`modify_date` = '2024-07-09 15:26:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024765' and product_code = 'DG010327-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024765' and product_code = 'DG010327-09' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234655',`firm_id` = '8',`ordernumber` = 'S24070024765', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-09',`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` = '200',`total_price` = '100000',`etd` = '2024-07-11',`create_date` = '2024-07-08 12:22:41',`modify_date` = '2024-07-09 15:26:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024765' and product_code = 'DG010327-09' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024765' and product_code = 'DG010327-02' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234655',`firm_id` = '8',`ordernumber` = 'S24070024765', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味.芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '50',`total_price` = '25000',`etd` = '2024-07-11',`create_date` = '2024-07-08 12:22:41',`modify_date` = '2024-07-09 15:26:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070024765' and product_code = 'DG010327-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070025565' and product_code = 'DG0103148-01' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234663',`firm_id` = '8',`ordernumber` = 'S24070025565', `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` = '28',`total_price` = '13440',`etd` = '2024-07-09',`create_date` = '2024-07-08 14:54:48',`modify_date` = '2024-07-09 08:42:37',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070025565' and product_code = 'DG0103148-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070025565' and product_code = 'BP010172-01' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234663',`firm_id` = '8',`ordernumber` = 'S24070025565', `product_name` = '8結小禮袋-活動',`product_code` = 'BP010172-01',`product_sn` = 'BP010172',`product_spec` = '8結小禮袋-活動',`invoice_name` = '8結小禮袋-活動',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '56',`total_price` = '0',`etd` = '2024-07-09',`create_date` = '2024-07-08 15:13:26',`modify_date` = '2024-07-09 08:42:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070025565' and product_code = 'BP010172-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070027017' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234678',`firm_id` = '8',`ordernumber` = 'S24070027017', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-24',`create_date` = '2024-07-08 17:49:35',`modify_date` = '2024-07-09 09:19:42',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'S24070027017' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070027131' and product_code = 'DG0105101-01' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234679',`firm_id` = '8',`ordernumber` = 'O24070027131', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-01',`product_sn` = 'DG0105101',`product_spec` = '原味蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入原味+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '565',`etd` = '2024-07-12',`create_date` = '2024-07-08 18:23:50',`modify_date` = '2024-07-09 09:16:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'O24070027131' and product_code = 'DG0105101-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070027131' and product_code = 'DG0105101-03' 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234679',`firm_id` = '8',`ordernumber` = 'O24070027131', `product_name` = '【期間限定】限定人氣伴手禮組',`product_code` = 'DG0105101-03',`product_sn` = 'DG0105101',`product_spec` = '咖啡蛋捲+鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入咖啡+8入鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '565',`etd` = '2024-07-12',`create_date` = '2024-07-08 18:23:50',`modify_date` = '2024-07-09 09:16:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-03'where ordernumber = 'O24070027131' and product_code = 'DG0105101-03' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028060' and product_code = 'DG010523-09' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234688','8','O24070028060','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-09-09','2024-07-09 06:34:06','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234688',`firm_id` = '8',`ordernumber` = 'O24070028060', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`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-09-09',`create_date` = '2024-07-09 06:34:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028060' and product_code = 'DG010523-09' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028199' and product_code = 'DG010327-05' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234689','8','O24070028199','【小王子聯名】仰望星空8結禮盒 ','DG010327-05','DG010327','原味,巧克力','禮盒-小王子(藍)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-09-09','2024-07-09 06:40:42','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234689',`firm_id` = '8',`ordernumber` = 'O24070028199', `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` = '1',`total_price` = '500',`etd` = '2024-09-09',`create_date` = '2024-07-09 06:40:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028199' and product_code = 'DG010327-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028220' and product_code = 'DG010527-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234690','8','S24070028220','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-11','2024-07-09 09:27:02','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234690',`firm_id` = '8',`ordernumber` = 'S24070028220', `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` = '1',`total_price` = '290',`etd` = '2024-07-11',`create_date` = '2024-07-09 09:27:02',`modify_date` = '2024-07-09 09:27:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028220' and product_code = 'DG010527-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028220' and product_code = '13656' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234690','8','S24070028220','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-11','2024-07-09 09:27:02','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234690',`firm_id` = '8',`ordernumber` = 'S24070028220', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-11',`create_date` = '2024-07-09 09:27:02',`modify_date` = '2024-07-09 09:27:39',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028220' and product_code = '13656' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028361' and product_code = 'DG010589-06' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234691','8','O24070028361','梅好心意隨享禮盒','DG010589-06','DG010589','8入鳳梅酥盒裝+原味+芝麻+烏梅絲','禮盒-梅好心意【原味+芝麻】【鳳梅酥+烏梅絲】','650','650','0','0','0','0','1','0.0','99','64350','2024-07-25','2024-07-09 09:29:38','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234691',`firm_id` = '8',`ordernumber` = 'O24070028361', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-06',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+原味+芝麻+烏梅絲',`invoice_name` = '禮盒-梅好心意【原味+芝麻】【鳳梅酥+烏梅絲】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '99',`total_price` = '64350',`etd` = '2024-07-25',`create_date` = '2024-07-09 09:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028361' and product_code = 'DG010589-06' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028361' and product_code = 'DG010589-15' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234691','8','O24070028361','梅好心意隨享禮盒','DG010589-15','DG010589','8入鳳梅酥盒裝+原味+巧克力+烏梅絲','禮盒-梅好心意【原味+巧克力】【鳳梅酥+烏梅絲】','650','650','0','0','0','0','1','0.0','23','14950','2024-07-25','2024-07-09 09:29:38','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234691',`firm_id` = '8',`ordernumber` = 'O24070028361', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-15',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+原味+巧克力+烏梅絲',`invoice_name` = '禮盒-梅好心意【原味+巧克力】【鳳梅酥+烏梅絲】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '23',`total_price` = '14950',`etd` = '2024-07-25',`create_date` = '2024-07-09 09:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028361' and product_code = 'DG010589-15' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028361' and product_code = 'GJ010502-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234691','8','O24070028361','心釀梅醋禮盒','GJ010502-01','GJ010502','紫蘇梅醋+紫蘇梅醋','禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】','750','750','0','0','0','0','1','0.0','20','15000','2024-07-25','2024-07-09 09:29:38','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234691',`firm_id` = '8',`ordernumber` = 'O24070028361', `product_name` = '心釀梅醋禮盒',`product_code` = 'GJ010502-01',`product_sn` = 'GJ010502',`product_spec` = '紫蘇梅醋+紫蘇梅醋',`invoice_name` = '禮盒-心釀梅【紫蘇梅醋+紫蘇梅醋】',`listprice` = '750',`sellingprice` = '750',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '15000',`etd` = '2024-07-25',`create_date` = '2024-07-09 09:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028361' and product_code = 'GJ010502-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028361' and product_code = 'ZP010516-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234691','8','O24070028361','贈品-【SNOOPY澎湃零食包】x3+【海苔片5包】x1','ZP010516-01','ZP010516','贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-','贈品-【SNOOPY澎湃零食包】x3+【海苔片5包】x1','0','0','0','0','0','0','1','0.0','1','0','2024-07-25','2024-07-09 09:29:38','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234691',`firm_id` = '8',`ordernumber` = 'O24070028361', `product_name` = '贈品-【SNOOPY澎湃零食包】x3+【海苔片5包】x1',`product_code` = 'ZP010516-01',`product_sn` = 'ZP010516',`product_spec` = '贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-',`invoice_name` = '贈品-【SNOOPY澎湃零食包】x3+【海苔片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-25',`create_date` = '2024-07-09 09:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028361' and product_code = 'ZP010516-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG010312-02' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234417','8','O24070000626','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-08-13','2024-07-09 09:53:39','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `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` = '3',`total_price` = '1440',`etd` = '2024-08-13',`create_date` = '2024-07-09 09:53:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070000626' and product_code = 'DG010312-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234417','8','O24070000626','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-08-13','2024-07-09 09:53:39','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-08-13',`create_date` = '2024-07-09 09:53:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070000626' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070000626' and product_code = 'DG0103148-12' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234417','8','O24070000626','金典8結禮盒','DG0103148-12','DG0103148','巧克力+咖啡','禮盒-金典(紅)【咖啡+巧克力】','480','480','0','0','0','0','1','0.0','3','1440','2024-08-13','2024-07-09 09:53:39','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234417',`firm_id` = '8',`ordernumber` = 'O24070000626', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-12',`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-08-13',`create_date` = '2024-07-09 09:53:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070000626' and product_code = 'DG0103148-12' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028447' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234692','8','O24070028447','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','76','36480','2024-09-06','2024-07-09 10:12:38','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234692',`firm_id` = '8',`ordernumber` = 'O24070028447', `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` = '76',`total_price` = '36480',`etd` = '2024-09-06',`create_date` = '2024-07-09 10:12:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028447' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028578' and product_code = 'DG010113-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234693','8','S24070028578','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','72','16200','2024-07-11','2024-07-09 10:16:05','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234693',`firm_id` = '8',`ordernumber` = 'S24070028578', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '72',`total_price` = '16200',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:16:05',`modify_date` = '2024-07-09 10:18:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028578' and product_code = 'DG010113-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028578' and product_code = 'DG010113-02' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234693','8','S24070028578','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','72','16200','2024-07-11','2024-07-09 10:16:05','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234693',`firm_id` = '8',`ordernumber` = 'S24070028578', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '72',`total_price` = '16200',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:16:05',`modify_date` = '2024-07-09 10:18:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028578' and product_code = 'DG010113-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028578' and product_code = 'DG010113-03' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234693','8','S24070028578','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','24','5400','2024-07-11','2024-07-09 10:16:05','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234693',`firm_id` = '8',`ordernumber` = 'S24070028578', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5400',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:16:05',`modify_date` = '2024-07-09 10:18:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028578' and product_code = 'DG010113-03' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028578' and product_code = 'DG010113-05' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234693','8','S24070028578','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','24','5400','2024-07-11','2024-07-09 10:16:05','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234693',`firm_id` = '8',`ordernumber` = 'S24070028578', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5400',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:16:05',`modify_date` = '2024-07-09 10:18:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028578' and product_code = 'DG010113-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028578' and product_code = 'DG010107-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234693','8','S24070028578','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','24','5760','2024-07-11','2024-07-09 10:16:05','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234693',`firm_id` = '8',`ordernumber` = 'S24070028578', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:16:05',`modify_date` = '2024-07-09 10:18:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028578' and product_code = 'DG010107-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028626' and product_code = 'DG010312-02' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234694','8','O24070028626','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-07-16','2024-07-09 10:25:29','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234694',`firm_id` = '8',`ordernumber` = 'O24070028626', `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-16',`create_date` = '2024-07-09 10:25:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028626' and product_code = 'DG010312-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028626' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234694','8','O24070028626','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-07-16','2024-07-09 10:25:29','2024-07-09 23:59:08',null,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234694',`firm_id` = '8',`ordernumber` = 'O24070028626', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-16',`create_date` = '2024-07-09 10:25:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028626' and product_code = 'DG0103148-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028742' and product_code = 'DG010107-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234695','8','S24070028742','阿薩姆紅茶蛋捲','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','0','1','0.0','840','201600','2024-08-05','2024-07-09 10:29:19','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234695',`firm_id` = '8',`ordernumber` = 'S24070028742', `product_name` = '阿薩姆紅茶蛋捲',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '840',`total_price` = '201600',`etd` = '2024-08-05',`create_date` = '2024-07-09 10:29:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028742' and product_code = 'DG010107-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028742' and product_code = 'DG010113-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234695','8','S24070028742','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','2400','540000','2024-08-05','2024-07-09 10:29:19','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234695',`firm_id` = '8',`ordernumber` = 'S24070028742', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2400',`total_price` = '540000',`etd` = '2024-08-05',`create_date` = '2024-07-09 10:29:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028742' and product_code = 'DG010113-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028742' and product_code = 'DG010113-02' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234695','8','S24070028742','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','1800','405000','2024-08-05','2024-07-09 10:29:19','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234695',`firm_id` = '8',`ordernumber` = 'S24070028742', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1800',`total_price` = '405000',`etd` = '2024-08-05',`create_date` = '2024-07-09 10:29:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028742' and product_code = 'DG010113-02' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028742' and product_code = 'DG010113-05' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234695','8','S24070028742','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1320','297000','2024-08-05','2024-07-09 10:29:19','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234695',`firm_id` = '8',`ordernumber` = 'S24070028742', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1320',`total_price` = '297000',`etd` = '2024-08-05',`create_date` = '2024-07-09 10:29:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028742' and product_code = 'DG010113-05' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028742' and product_code = 'DG010315-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234695','8','S24070028742','金8結肉酥酥禮盒','DG010315-01','DG010315','原味肉酥酥【原味蛋捲】','禮盒-金8結【原味+原味肉酥酥】','555','555','0','0','0','0','1','555.0','768','426240','2024-08-05','2024-07-09 10:29:19','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234695',`firm_id` = '8',`ordernumber` = 'S24070028742', `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` = '768',`total_price` = '426240',`etd` = '2024-08-05',`create_date` = '2024-07-09 10:29:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028742' and product_code = 'DG010315-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028859' and product_code = 'DG010113-01' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234696','8','S24070028859','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','2064','464400','2024-09-03','2024-07-09 10:31:25','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234696',`firm_id` = '8',`ordernumber` = 'S24070028859', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2064',`total_price` = '464400',`etd` = '2024-09-03',`create_date` = '2024-07-09 10:31:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028859' and product_code = 'DG010113-01' 2024-07-09 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028859' and product_code = 'DG010113-02' 2024-07-09 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234696','8','S24070028859','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','1560','351000','2024-09-03','2024-07-09 10:31:25','2024-07-09 23:59:08',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234696',`firm_id` = '8',`ordernumber` = 'S24070028859', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1560',`total_price` = '351000',`etd` = '2024-09-03',`create_date` = '2024-07-09 10:31:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028859' and product_code = 'DG010113-02' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070028859' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234696','8','S24070028859','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1032','232200','2024-09-03','2024-07-09 10:31:25','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234696',`firm_id` = '8',`ordernumber` = 'S24070028859', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1032',`total_price` = '232200',`etd` = '2024-09-03',`create_date` = '2024-07-09 10:31:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070028859' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028969' and product_code = 'DG010527-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234697','8','O24070028969','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','10','2900','2024-07-11','2024-07-09 10:37:04','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234697',`firm_id` = '8',`ordernumber` = 'O24070028969', `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` = '10',`total_price` = '2900',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:37:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028969' and product_code = 'DG010527-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070028969' and product_code = 'LS010510-02' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234697','8','O24070028969','梅子零嘴任選二入組','LS010510-02','LS010510','(袋)烏梅絲+(袋)無籽梅肉','(袋)烏梅絲+(袋)無籽梅肉','170','170','0','0','0','0','1','0.0','1','170','2024-07-11','2024-07-09 10:37:04','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234697',`firm_id` = '8',`ordernumber` = 'O24070028969', `product_name` = '梅子零嘴任選二入組',`product_code` = 'LS010510-02',`product_sn` = 'LS010510',`product_spec` = '(袋)烏梅絲+(袋)無籽梅肉',`invoice_name` = '(袋)烏梅絲+(袋)無籽梅肉',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:37:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070028969' and product_code = 'LS010510-02' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029046' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234698','8','S24070029046','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','1920','432000','2024-07-31','2024-07-09 10:41:19','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234698',`firm_id` = '8',`ordernumber` = 'S24070029046', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-07-31',`create_date` = '2024-07-09 10:41:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029046' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029046' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234698','8','S24070029046','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1920','432000','2024-07-31','2024-07-09 10:41:19','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234698',`firm_id` = '8',`ordernumber` = 'S24070029046', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-07-31',`create_date` = '2024-07-09 10:41:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029046' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029116' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234699','8','S24070029116','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-07','2024-07-09 10:43:06','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234699',`firm_id` = '8',`ordernumber` = 'S24070029116', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-07',`create_date` = '2024-07-09 10:43:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029116' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029116' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234699','8','S24070029116','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-07','2024-07-09 10:43:06','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234699',`firm_id` = '8',`ordernumber` = 'S24070029116', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-07',`create_date` = '2024-07-09 10:43:06',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029116' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029219' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234700','8','S24070029219','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-14','2024-07-09 10:44:12','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234700',`firm_id` = '8',`ordernumber` = 'S24070029219', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-14',`create_date` = '2024-07-09 10:44:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029219' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029219' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234700','8','S24070029219','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-14','2024-07-09 10:44:12','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234700',`firm_id` = '8',`ordernumber` = 'S24070029219', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-14',`create_date` = '2024-07-09 10:44:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029219' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029398' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234701','8','S24070029398','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-21','2024-07-09 10:46:21','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234701',`firm_id` = '8',`ordernumber` = 'S24070029398', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-21',`create_date` = '2024-07-09 10:46:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029398' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029398' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234701','8','S24070029398','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-21','2024-07-09 10:46:21','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234701',`firm_id` = '8',`ordernumber` = 'S24070029398', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-21',`create_date` = '2024-07-09 10:46:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029398' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029481' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234702','8','S24070029481','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-28','2024-07-09 10:47:41','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234702',`firm_id` = '8',`ordernumber` = 'S24070029481', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-28',`create_date` = '2024-07-09 10:47:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029481' and product_code = 'DG010113-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029481' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234702','8','S24070029481','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','1920','432000','2024-08-28','2024-07-09 10:47:41','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234702',`firm_id` = '8',`ordernumber` = 'S24070029481', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1920',`total_price` = '432000',`etd` = '2024-08-28',`create_date` = '2024-07-09 10:47:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029481' and product_code = 'DG010113-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029588' and product_code = 'DG0103165-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234703','8','S24070029588','金典8結黑松露堅果禮盒','DG0103165-01','12529','原味蛋捲.黑松露腰果','禮盒-金典(紅)【原味+腰果提盒】','1205','1205','0','0','0','0','1','0.0','1','1205','2024-07-11','2024-07-09 10:58:37','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234703',`firm_id` = '8',`ordernumber` = 'S24070029588', `product_name` = '金典8結黑松露堅果禮盒',`product_code` = 'DG0103165-01',`product_sn` = '12529',`product_spec` = '原味蛋捲.黑松露腰果',`invoice_name` = '禮盒-金典(紅)【原味+腰果提盒】',`listprice` = '1205',`sellingprice` = '1205',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1205',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:58:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029588' and product_code = 'DG0103165-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029588' and product_code = 'DG0103182-121' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234703','8','S24070029588','金巧8結禮盒','DG0103182-121','DG0103182','芝麻.鳳梅酥.南棗核桃糕','禮盒-金巧8結【(芝麻)-鳳梅酥+南棗核桃糕】','640','640','0','0','0','0','1','0.0','1','640','2024-07-11','2024-07-09 10:58:37','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234703',`firm_id` = '8',`ordernumber` = 'S24070029588', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-121',`product_sn` = 'DG0103182',`product_spec` = '芝麻.鳳梅酥.南棗核桃糕',`invoice_name` = '禮盒-金巧8結【(芝麻)-鳳梅酥+南棗核桃糕】',`listprice` = '640',`sellingprice` = '640',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '640',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:58:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029588' and product_code = 'DG0103182-121' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029588' and product_code = 'DG0103181-627' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234703','8','S24070029588','8結隨享茶點禮盒','DG0103181-627','DG0103181','咖啡+巧克力.芝麻糕.黑松露腰果','禮盒-隨享茶點【咖啡+巧克力】【芝麻糕+黑松露腰果】','540','540','0','0','0','0','1','0.0','1','540','2024-07-11','2024-07-09 10:58:37','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234703',`firm_id` = '8',`ordernumber` = 'S24070029588', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-627',`product_sn` = 'DG0103181',`product_spec` = '咖啡+巧克力.芝麻糕.黑松露腰果',`invoice_name` = '禮盒-隨享茶點【咖啡+巧克力】【芝麻糕+黑松露腰果】',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '540',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:58:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029588' and product_code = 'DG0103181-627' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029588' and product_code = 'TE010101-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234703','8','S24070029588','棗香枸杞茶','TE010101-01','TE010101','6入紅棗枸杞茶包','(盒)枸杞茶','160','160','0','0','0','0','1','160.0','1','160','2024-07-11','2024-07-09 10:58:37','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234703',`firm_id` = '8',`ordernumber` = 'S24070029588', `product_name` = '棗香枸杞茶',`product_code` = 'TE010101-01',`product_sn` = 'TE010101',`product_spec` = '6入紅棗枸杞茶包',`invoice_name` = '(盒)枸杞茶',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '1',`total_price` = '160',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:58:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029588' and product_code = 'TE010101-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029588' and product_code = 'TE010107-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234703','8','S24070029588','蕎麥國寶茶','TE010107-01','TE010107','6入蕎麥國寶茶包','(盒)國寶茶','160','160','0','0','0','0','1','0.0','1','160','2024-07-11','2024-07-09 10:58:37','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234703',`firm_id` = '8',`ordernumber` = 'S24070029588', `product_name` = '蕎麥國寶茶',`product_code` = 'TE010107-01',`product_sn` = 'TE010107',`product_spec` = '6入蕎麥國寶茶包',`invoice_name` = '(盒)國寶茶',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '160',`etd` = '2024-07-11',`create_date` = '2024-07-09 10:58:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029588' and product_code = 'TE010107-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029616' and product_code = 'DG0103100-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234704','8','S24070029616','游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】','DG0103100-01','DG010399','原味蛋捲.梨紅佳人','禮盒-故宮(文物款)【原味+梨紅佳人】','950','950','0','0','0','0','1','0.0','1','950','2024-07-09','2024-07-09 11:07:23','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234704',`firm_id` = '8',`ordernumber` = 'S24070029616', `product_name` = '游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】',`product_code` = 'DG0103100-01',`product_sn` = 'DG010399',`product_spec` = '原味蛋捲.梨紅佳人',`invoice_name` = '禮盒-故宮(文物款)【原味+梨紅佳人】',`listprice` = '950',`sellingprice` = '950',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '950',`etd` = '2024-07-09',`create_date` = '2024-07-09 11:07:23',`modify_date` = '2024-07-09 13:43:36',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029616' and product_code = 'DG0103100-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029616' and product_code = 'DG0103174-02' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234704','8','S24070029616','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-02','DG0103174','芝麻','禮盒-故宮(文物大盒款)【芝麻+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','1','1100','2024-07-09','2024-07-09 11:07:23','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234704',`firm_id` = '8',`ordernumber` = 'S24070029616', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-02',`product_sn` = 'DG0103174',`product_spec` = '芝麻',`invoice_name` = '禮盒-故宮(文物大盒款)【芝麻+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1100',`etd` = '2024-07-09',`create_date` = '2024-07-09 11:07:23',`modify_date` = '2024-07-09 13:43:36',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029616' and product_code = 'DG0103174-02' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070029727' and product_code = 'DG010101-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234705','8','O24070029727','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','40','11200','2024-07-15','2024-07-09 11:09:13','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234705',`firm_id` = '8',`ordernumber` = 'O24070029727', `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` = '40',`total_price` = '11200',`etd` = '2024-07-15',`create_date` = '2024-07-09 11:09:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070029727' and product_code = 'DG010101-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070024670' and product_code = 'BP010128-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234654','8','S24070024670','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','0','1','0','0','0','1','0.0','50','0','2024-07-17','2024-07-09 11:19:02','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234654',`firm_id` = '8',`ordernumber` = 'S24070024670', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '50',`total_price` = '0',`etd` = '2024-07-17',`create_date` = '2024-07-09 11:19:02',`modify_date` = '2024-07-09 12:07:50',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070024670' and product_code = 'BP010128-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029853' and product_code = 'DG0103148-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234706','8','S24070029853','金典8結禮盒','DG0103148-01','DG0103148','原味+原味','禮盒-金典(紅)【原味+原味】','480','480','0','0','0','0','1','0.0','75','36000','2024-07-20','2024-07-09 11:23:34','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234706',`firm_id` = '8',`ordernumber` = 'S24070029853', `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` = '75',`total_price` = '36000',`etd` = '2024-07-20',`create_date` = '2024-07-09 11:23:34',`modify_date` = '2024-07-09 12:05:02',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029853' and product_code = 'DG0103148-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070029966' and product_code = 'DG0103168-01' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234707','8','S24070029966','隨享唐寧茶禮盒','DG0103168-01','DG0103168','原味+原味.唐寧早餐茶.茶葉匙','禮盒-隨享唐寧茶【原味+原味】+唐寧早餐茶+茶葉匙','880','880','0','0','0','0','1','0.0','10','8800','2024-07-25','2024-07-09 11:27:52','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234707',`firm_id` = '8',`ordernumber` = 'S24070029966', `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-01',`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` = '10',`total_price` = '8800',`etd` = '2024-07-25',`create_date` = '2024-07-09 11:27:52',`modify_date` = '2024-07-09 12:04:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070029966' and product_code = 'DG0103168-01' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030030' and product_code = '13656' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234708','8','S24070030030','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','31','8990','2024-07-11','2024-07-09 12:05:51','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == 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-09 12:16:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030030' and product_code = '13656' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030178' and product_code = 'DG010327-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234709','8','S24070030178','【小王子聯名】仰望星空8結禮盒 ','DG010327-05','DG010327','原味.巧克力','禮盒-小王子(藍)【原味+巧克力】','500','500','0','0','0','0','1','0.0','50','25000','2024-07-12','2024-07-09 12:06:53','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234709',`firm_id` = '8',`ordernumber` = 'S24070030178', `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` = '50',`total_price` = '25000',`etd` = '2024-07-12',`create_date` = '2024-07-09 12:06:53',`modify_date` = '2024-07-09 12:18:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030178' and product_code = 'DG010327-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070030244' and product_code = '13656' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234710','8','O24070030244','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','6','1740','2024-07-22','2024-07-09 12:11:39','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234710',`firm_id` = '8',`ordernumber` = 'O24070030244', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1740',`etd` = '2024-07-22',`create_date` = '2024-07-09 12:11:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070030244' and product_code = '13656' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070030244' and product_code = '13657' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234710','8','O24070030244','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-07-22','2024-07-09 12:11:39','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234710',`firm_id` = '8',`ordernumber` = 'O24070030244', `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-07-22',`create_date` = '2024-07-09 12:11:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070030244' and product_code = '13657' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030314' and product_code = 'DG0103148-05' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234711','8','S24070030314','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','2','960','2024-07-15','2024-07-09 12:51:47','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234711',`firm_id` = '8',`ordernumber` = 'S24070030314', `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-09 12:51:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030314' and product_code = 'DG0103148-05' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070030488' and product_code = 'DG0103148-14' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234712','8','O24070030488','金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','21','10080','2024-07-25','2024-07-09 13:52:10','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234712',`firm_id` = '8',`ordernumber` = 'O24070030488', `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` = '21',`total_price` = '10080',`etd` = '2024-07-25',`create_date` = '2024-07-09 13:52:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070030488' and product_code = 'DG0103148-14' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070030588' and product_code = 'DG010523-27' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234713','8','O24070030588','SNOOPY帶走心意-蛋捲三入組','DG010523-27','DG010523','咖啡+咖啡+海苔','組合-32入(咖啡+咖啡+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-07-11','2024-07-09 14:08:40','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234713',`firm_id` = '8',`ordernumber` = 'O24070030588', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-27',`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-11',`create_date` = '2024-07-09 14:08:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070030588' and product_code = 'DG010523-27' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070030588' and product_code = 'DG010523-09' 2024-07-09 23:59:09 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234713','8','O24070030588','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-07-11','2024-07-09 14:08:40','2024-07-09 23:59:09',null,'1','2024-06-04') 2024-07-09 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234713',`firm_id` = '8',`ordernumber` = 'O24070030588', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`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-11',`create_date` = '2024-07-09 14:08:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070030588' and product_code = 'DG010523-09' 2024-07-09 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030670' and product_code = 'DG0103181-317' 2024-07-09 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,'234714','8','S24070030670','8結隨享茶點禮盒','DG0103181-317','DG0103181','原味+芝麻.鳳梅酥.枸杞茶','禮盒-隨享茶點【原味+芝麻】【鳳梅酥+枸杞茶】','555','555','0','0','0','0','1','0.0','1','555','2024-07-10','2024-07-09 14:09:00','2024-07-09 23:59:09',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234714',`firm_id` = '8',`ordernumber` = 'S24070030670', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-317',`product_sn` = 'DG0103181',`product_spec` = '原味+芝麻.鳳梅酥.枸杞茶',`invoice_name` = '禮盒-隨享茶點【原味+芝麻】【鳳梅酥+枸杞茶】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '555',`etd` = '2024-07-10',`create_date` = '2024-07-09 14:09:00',`modify_date` = '2024-07-09 14:10:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030670' and product_code = 'DG0103181-317' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030771' and product_code = 'DG010394-05' 2024-07-09 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,'234715','8','S24070030771','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-05','DG010394','原味蛋捲.巧克力蛋捲','禮盒-故宮(文物款)【原味+巧克力】','500','500','0','0','0','0','1','0.0','10','5000','2024-07-10','2024-07-09 14:14:02','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234715',`firm_id` = '8',`ordernumber` = 'S24070030771', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-05',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲.巧克力蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '5000',`etd` = '2024-07-10',`create_date` = '2024-07-09 14:14:02',`modify_date` = '2024-07-09 15:52:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030771' and product_code = 'DG010394-05' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030828' and product_code = 'DG010312-02' 2024-07-09 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,'234716','8','S24070030828','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-07-10','2024-07-09 14:30:40','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234716',`firm_id` = '8',`ordernumber` = 'S24070030828', `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-10',`create_date` = '2024-07-09 14:30:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030828' and product_code = 'DG010312-02' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030828' and product_code = 'DG010312-05' 2024-07-09 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,'234716','8','S24070030828','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2024-07-10','2024-07-09 14:30:40','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234716',`firm_id` = '8',`ordernumber` = 'S24070030828', `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-10',`create_date` = '2024-07-09 14:30:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030828' and product_code = 'DG010312-05' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030828' and product_code = 'DG010312-01' 2024-07-09 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,'234716','8','S24070030828','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','2','960','2024-07-10','2024-07-09 14:30:40','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234716',`firm_id` = '8',`ordernumber` = 'S24070030828', `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` = '2',`total_price` = '960',`etd` = '2024-07-10',`create_date` = '2024-07-09 14:30:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030828' and product_code = 'DG010312-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070030990' and product_code = 'DG0103182-426' 2024-07-09 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,'234717','8','S24070030990','金巧8結禮盒','DG0103182-426','DG0103182','巧克力.鳳梨酥.黑松露腰果','禮盒-金巧8結【(巧克力)-鳳梨酥+黑松露腰果】','620','620','0','0','0','0','1','0.0','1','620','2024-07-17','2024-07-09 15:21:43','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234717',`firm_id` = '8',`ordernumber` = 'S24070030990', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-426',`product_sn` = 'DG0103182',`product_spec` = '巧克力.鳳梨酥.黑松露腰果',`invoice_name` = '禮盒-金巧8結【(巧克力)-鳳梨酥+黑松露腰果】',`listprice` = '620',`sellingprice` = '620',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '620',`etd` = '2024-07-17',`create_date` = '2024-07-09 15:21:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070030990' and product_code = 'DG0103182-426' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031039' and product_code = 'DG010101-03' 2024-07-09 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,'234718','8','O24070031039','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-16','2024-07-09 16:11:31','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234718',`firm_id` = '8',`ordernumber` = 'O24070031039', `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-16',`create_date` = '2024-07-09 16:11:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031039' and product_code = 'DG010101-03' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031039' and product_code = 'DG010101-02' 2024-07-09 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,'234718','8','O24070031039','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-16','2024-07-09 16:11:31','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234718',`firm_id` = '8',`ordernumber` = 'O24070031039', `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-16',`create_date` = '2024-07-09 16:11:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031039' and product_code = 'DG010101-02' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031039' and product_code = 'FL010103-01' 2024-07-09 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,'234718','8','O24070031039','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-07-16','2024-07-09 16:11:31','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234718',`firm_id` = '8',`ordernumber` = 'O24070031039', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-07-16',`create_date` = '2024-07-09 16:11:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031039' and product_code = 'FL010103-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031039' and product_code = 'FL010104-01' 2024-07-09 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,'234718','8','O24070031039','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-07-16','2024-07-09 16:11:31','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234718',`firm_id` = '8',`ordernumber` = 'O24070031039', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-07-16',`create_date` = '2024-07-09 16:11:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031039' and product_code = 'FL010104-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031039' and product_code = 'LS010108-01' 2024-07-09 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,'234718','8','O24070031039','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','1','190','2024-07-16','2024-07-09 16:11:31','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234718',`firm_id` = '8',`ordernumber` = 'O24070031039', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-07-16',`create_date` = '2024-07-09 16:11:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031039' and product_code = 'LS010108-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031174' and product_code = 'FL010102-01' 2024-07-09 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,'234719','8','O24070031174','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','8','1320','2024-07-23','2024-07-09 16:51:55','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234719',`firm_id` = '8',`ordernumber` = 'O24070031174', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '8',`total_price` = '1320',`etd` = '2024-07-23',`create_date` = '2024-07-09 16:51:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031174' and product_code = 'FL010102-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031174' and product_code = 'DG010312-04' 2024-07-09 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,'234719','8','O24070031174','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','4','1920','2024-07-23','2024-07-09 16:51:55','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234719',`firm_id` = '8',`ordernumber` = 'O24070031174', `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` = '4',`total_price` = '1920',`etd` = '2024-07-23',`create_date` = '2024-07-09 16:51:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031174' and product_code = 'DG010312-04' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031220' and product_code = 'DG0103181-122' 2024-07-09 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,'234720','8','S24070031220','8結隨享茶點禮盒','DG0103181-122','DG0103181','原味+芝麻.鳳梨酥.枸杞茶','禮盒-隨享茶點【原味+芝麻】【鳳梨酥+枸杞茶】','525','525','0','0','0','0','1','0.0','1','525','2024-07-25','2024-07-09 17:08:04','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234720',`firm_id` = '8',`ordernumber` = 'S24070031220', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-122',`product_sn` = 'DG0103181',`product_spec` = '原味+芝麻.鳳梨酥.枸杞茶',`invoice_name` = '禮盒-隨享茶點【原味+芝麻】【鳳梨酥+枸杞茶】',`listprice` = '525',`sellingprice` = '525',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '525',`etd` = '2024-07-25',`create_date` = '2024-07-09 17:08:04',`modify_date` = '2024-07-09 17:19:07',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031220' and product_code = 'DG0103181-122' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031315' and product_code = 'DG010101-01' 2024-07-09 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,'234721','8','S24070031315','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-07-11','2024-07-09 17:23:46','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234721',`firm_id` = '8',`ordernumber` = 'S24070031315', `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-07-11',`create_date` = '2024-07-09 17:23:46',`modify_date` = '2024-07-09 17:29:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031315' and product_code = 'DG010101-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031315' and product_code = 'DG010101-02' 2024-07-09 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,'234721','8','S24070031315','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-07-11','2024-07-09 17:23:46','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234721',`firm_id` = '8',`ordernumber` = 'S24070031315', `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-11',`create_date` = '2024-07-09 17:23:46',`modify_date` = '2024-07-09 17:29:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031315' and product_code = 'DG010101-02' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070009689' and product_code = 'ZP010503-01' 2024-07-09 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,'234507','8','S24070009689','贈品-【海苔片5包】','ZP010503-01','ZP010503','贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-','贈品-【海苔片5包】','0','0','0','0','0','0','1','0.0','1','0','2024-09-10','2024-07-09 17:32:00','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234507',`firm_id` = '8',`ordernumber` = 'S24070009689', `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-09-10',`create_date` = '2024-07-09 17:32:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070009689' and product_code = 'ZP010503-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031426' and product_code = 'DG010203-01' 2024-07-09 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,'234722','8','S24070031426','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-07-10','2024-07-09 17:34:07','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234722',`firm_id` = '8',`ordernumber` = 'S24070031426', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-10',`create_date` = '2024-07-09 17:34:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031426' and product_code = 'DG010203-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'DG0103148-05' 2024-07-09 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,'234723','8','S24070031556','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','50','24000','2024-09-02','2024-07-09 18:03:26','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == 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-09 18:06:32',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'DG0103148-05' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'DG0103148-02' 2024-07-09 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,'234723','8','S24070031556','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','40','19200','2024-09-02','2024-07-09 18:03:26','2024-07-09 23:59:10',0,'1','2024-06-04') 2024-07-09 23:59:10 -- == 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-09 18:06:32',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'DG0103148-02' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'ZP010509-01' 2024-07-09 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,'234723','8','S24070031556','贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x2','ZP010509-01','ZP010509','贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-','贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x2','0','0','0','0','0','0','1','0.0','0','0','2024-09-02','2024-07-09 18:03:26','2024-07-09 23:59:10',0,'0','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234723',`firm_id` = '8',`ordernumber` = 'S24070031556', `product_name` = '贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x2',`product_code` = 'ZP010509-01',`product_sn` = 'ZP010509',`product_spec` = '贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-',`invoice_name` = '贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x2',`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-09-02',`create_date` = '2024-07-09 18:03:26',`modify_date` = '2024-07-09 18:06:32',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'ZP010509-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070031556' and product_code = 'ZP010508-01' 2024-07-09 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,'234723','8','S24070031556','贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x1','ZP010508-01','ZP010508','贈品-椒鹽海苔片+贈品-椒鹽海苔片+贈品-醬燒海苔片+贈品-','贈品-【SNOOPY澎湃零食包】x1+【海苔片5包】x1','0','0','0','0','0','0','1','0.0','1','0','2024-09-02','2024-07-09 18:06:32','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == 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` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'S24070031556' and product_code = 'ZP010508-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031661' and product_code = '03985' 2024-07-09 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,'234724','8','O24070031661','小王子行李箱蛋捲10入組','03985','03956','巧克力x6+原原+咖咖','組合-32入(巧克力x6+原原+咖咖)小王子行李箱','4188','4188','0','0','0','1','1','0.0','1','4188','2024-07-11','2024-07-09 18:31:14','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234724',`firm_id` = '8',`ordernumber` = 'O24070031661', `product_name` = '小王子行李箱蛋捲10入組',`product_code` = '03985',`product_sn` = '03956',`product_spec` = '巧克力x6+原原+咖咖',`invoice_name` = '組合-32入(巧克力x6+原原+咖咖)小王子行李箱',`listprice` = '4188',`sellingprice` = '4188',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '4188',`etd` = '2024-07-11',`create_date` = '2024-07-09 18:31:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031661' and product_code = '03985' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031661' and product_code = 'DG010523-11' 2024-07-09 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,'234724','8','O24070031661','SNOOPY帶走心意-蛋捲三入組','DG010523-11','DG010523','原味+咖啡+海苔','組合-32入(原味+咖啡+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-07-11','2024-07-09 18:31:14','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234724',`firm_id` = '8',`ordernumber` = 'O24070031661', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-11',`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-11',`create_date` = '2024-07-09 18:31:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031661' and product_code = 'DG010523-11' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031661' and product_code = 'DG010404-01' 2024-07-09 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,'234724','8','O24070031661','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','2','20','2024-07-11','2024-07-09 18:31:14','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234724',`firm_id` = '8',`ordernumber` = 'O24070031661', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2024-07-11',`create_date` = '2024-07-09 18:31:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031661' and product_code = 'DG010404-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031661' and product_code = 'BP010128-01' 2024-07-09 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,'234724','8','O24070031661','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','2','20','2024-07-11','2024-07-09 18:31:14','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234724',`firm_id` = '8',`ordernumber` = 'O24070031661', `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-11',`create_date` = '2024-07-09 18:31:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031661' and product_code = 'BP010128-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031661' and product_code = 'BP010157-01' 2024-07-09 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,'234724','8','O24070031661','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','1','390','2024-07-11','2024-07-09 18:31:14','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234724',`firm_id` = '8',`ordernumber` = 'O24070031661', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-07-11',`create_date` = '2024-07-09 18:31:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031661' and product_code = 'BP010157-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031753' and product_code = 'DG0103148-06' 2024-07-09 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,'234725','8','O24070031753','金典8結禮盒','DG0103148-06','DG0103148','芝麻+芝麻','禮盒-金典(紅)【芝麻+芝麻】','480','480','0','0','0','0','1','0.0','6','2880','2024-07-11','2024-07-09 18:49:56','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234725',`firm_id` = '8',`ordernumber` = 'O24070031753', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-06',`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-11',`create_date` = '2024-07-09 18:49:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031753' and product_code = 'DG0103148-06' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031829' and product_code = '13657' 2024-07-09 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,'234726','8','O24070031829','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-11','2024-07-09 19:03:00','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234726',`firm_id` = '8',`ordernumber` = 'O24070031829', `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` = '2',`total_price` = '580',`etd` = '2024-07-11',`create_date` = '2024-07-09 19:03:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031829' and product_code = '13657' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031829' and product_code = 'DG010203-02' 2024-07-09 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,'234726','8','O24070031829','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-07-11','2024-07-09 19:03:00','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234726',`firm_id` = '8',`ordernumber` = 'O24070031829', `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-11',`create_date` = '2024-07-09 19:03:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031829' and product_code = 'DG010203-02' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031963' and product_code = 'DG010312-03' 2024-07-09 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,'234727','8','O24070031963','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-07-16','2024-07-09 20:29:26','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234727',`firm_id` = '8',`ordernumber` = 'O24070031963', `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-16',`create_date` = '2024-07-09 20:29:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031963' and product_code = 'DG010312-03' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031963' and product_code = 'DG010312-05' 2024-07-09 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,'234727','8','O24070031963','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-07-16','2024-07-09 20:29:26','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234727',`firm_id` = '8',`ordernumber` = 'O24070031963', `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-16',`create_date` = '2024-07-09 20:29:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031963' and product_code = 'DG010312-05' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070031963' and product_code = 'DG010312-07' 2024-07-09 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,'234727','8','O24070031963','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-07-16','2024-07-09 20:29:26','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234727',`firm_id` = '8',`ordernumber` = 'O24070031963', `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` = '2',`total_price` = '960',`etd` = '2024-07-16',`create_date` = '2024-07-09 20:29:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070031963' and product_code = 'DG010312-07' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070032044' and product_code = 'FL010308-01' 2024-07-09 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,'234728','8','O24070032044','一口酥24入家庭號禮盒','FL010308-01','12586','24入鳳梨酥','禮盒-24入家庭號【鳳梨酥】','495','495','0','0','0','0','1','0.0','2','990','2024-07-12','2024-07-09 20:30:52','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234728',`firm_id` = '8',`ordernumber` = 'O24070032044', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010308-01',`product_sn` = '12586',`product_spec` = '24入鳳梨酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '990',`etd` = '2024-07-12',`create_date` = '2024-07-09 20:30:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070032044' and product_code = 'FL010308-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070032194' and product_code = 'TG010106-01' 2024-07-09 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,'234729','8','O24070032194','分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','1','300','2024-07-11','2024-07-09 21:06:09','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234729',`firm_id` = '8',`ordernumber` = 'O24070032194', `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-07-11',`create_date` = '2024-07-09 21:06:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070032194' and product_code = 'TG010106-01' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070032194' and product_code = '03951' 2024-07-09 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,'234729','8','O24070032194','[加購]加購-黑曜芝麻糕分享包(袋裝25入)','03951','03951','-','(紅袋)芝麻糕','290','290','1','1','290','0','0','0.0','4','1160','2024-07-11','2024-07-09 21:06:09','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234729',`firm_id` = '8',`ordernumber` = 'O24070032194', `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` = '4',`total_price` = '1160',`etd` = '2024-07-11',`create_date` = '2024-07-09 21:06:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070032194' and product_code = '03951' 2024-07-09 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070032263' and product_code = 'DG010327-02' 2024-07-09 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,'234730','8','O24070032263','【小王子聯名】仰望星空8結禮盒 ','DG010327-02','DG010327','原味,芝麻','禮盒-小王子(藍)【原味+芝麻】','500','500','0','0','0','0','1','0.0','3','1500','2024-07-15','2024-07-09 22:06:55','2024-07-09 23:59:10',null,'1','2024-06-04') 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234730',`firm_id` = '8',`ordernumber` = 'O24070032263', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-02',`product_sn` = 'DG010327',`product_spec` = '原味,芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1500',`etd` = '2024-07-15',`create_date` = '2024-07-09 22:06:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070032263' and product_code = 'DG010327-02' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070032263' and product_code = 'BP010128-01' 2024-07-09 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,'234730','8','O24070032263','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','1','10','2024-07-15','2024-07-09 22:06:55','2024-07-09 23:59:11',null,'1','2024-06-04') 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234730',`firm_id` = '8',`ordernumber` = 'O24070032263', `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` = '1',`total_price` = '10',`etd` = '2024-07-15',`create_date` = '2024-07-09 22:06:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070032263' and product_code = 'BP010128-01' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070032263' and product_code = 'FL010104-01' 2024-07-09 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,'234730','8','O24070032263','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-07-15','2024-07-09 22:06:55','2024-07-09 23:59:11',null,'1','2024-06-04') 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234730',`firm_id` = '8',`ordernumber` = 'O24070032263', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-07-15',`create_date` = '2024-07-09 22:06:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-04'where ordernumber = 'O24070032263' and product_code = 'FL010104-01' 2024-07-09 23:59:11 -- == sync_order_detail end == 2024-07-09 23:59:11 -- == sync_order start == 2024-07-09 23:59:11 -- start:2024-07-09,end:2024-07-09 2024-07-09 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-09%' OR l.modify_date like '2024-07-09%'; 2024-07-09 23:59:11 -- == sync omo_order_list == 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '396453', process_status = '2', pay_status = '1', totalprice_after = '16822', lunar_date = '2024-05-12', invoice_status = '0', category_name = '正式彌,FB訂單', category_id = '1,10' where ordernumber = 'M24060016777' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '389436', process_status = '2', pay_status = '1', totalprice_after = '28350', lunar_date = '2024-05-19', invoice_status = '0', category_name = ',FB訂單', category_id = ',10' where ordernumber = 'B24060016111RB' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '396225', process_status = '2', pay_status = '1', totalprice_after = '12825', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070001390' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '399249', process_status = '2', pay_status = '1', totalprice_after = '42750', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070001436' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '203682', process_status = '2', pay_status = '1', totalprice_after = '19133', lunar_date = '2024-05-26', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070001778' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '399270', process_status = '1', pay_status = '1', totalprice_after = '36100', lunar_date = '2024-05-28', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070003735' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '394463', process_status = '1', pay_status = '1', totalprice_after = '30560', lunar_date = '2024-05-29', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070004891RB2' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '396382', process_status = '2', pay_status = '1', totalprice_after = '1550', lunar_date = '2024-05-30', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24070006582' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '399956', process_status = '2', pay_status = '1', totalprice_after = '1950', lunar_date = '2024-05-30', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24070006788' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '393306', process_status = '2', pay_status = '1', totalprice_after = '1650', lunar_date = '2024-05-30', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24070006855' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '394463', process_status = '6', pay_status = '1', totalprice_after = '1425', lunar_date = '2024-06-03', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24070006160RB' 2024-07-09 23:59:11 -- == update lake.omo_order_list == update omo_order_list set userId = '400359', process_status = '1', pay_status = '1', totalprice_after = '17070', lunar_date = '2024-06-03', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24070008379' 2024-07-09 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 ('124120','0',2,'彌月試吃','2','B24070008652','1','1','1','1','2','','','0','2024-07-10','0','0','0','','0','0','900','220','新北市','板橋區','220','新北市','板橋區','900','2024-07-09 08:58:24','2024-06-04') 2024-07-09 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 ('124119','400434',2,'','','B24070008734','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','990','110','台北市','信義區','110','台北市','信義區','960','2024-07-09 12:56:17','2024-06-04') 2024-07-09 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 ('124167','400481',2,'正式彌,美村門市訂單','1,21','M24070008873','1','1','8','1','1','','','0','2024-07-10','0','825','0','','0','0','16500','503','彰化縣','花壇鄉','503','彰化縣','花壇鄉','15675','2024-07-09 13:30:30','2024-06-04') 2024-07-09 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 ('10345','200987',2,'正式彌,LINE@訂單','1,9','M24070008944','1','1','1','1','1','','','0','2024-07-11','0','510','0','','0','0','10200','504','彰化縣','秀水鄉','504','彰化縣','秀水鄉','9690','2024-07-09 14:12:24','2024-06-04') 2024-07-09 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 ('122941','399270',2,'正式彌,LINE@訂單','1,9','M24070009076','1','1','1','1','1','','','0','2024-07-15','0','50','0','','0','0','1000','402','台中市','南區','402','台中市','南區','950','2024-07-09 14:45:55','2024-06-04') 2024-07-09 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 ('124205','400519',2,'LINE@訂單,彌月試吃','9,2','M24070009168','1','1','1','0','0','','','0','2024-07-11','0','0','0','','0','0','1400','334','桃園市','八德區','334','桃園市','八德區','1400','2024-07-09 16:34:43','2024-06-04') 2024-07-09 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 ('124083','400398',2,'彌月試吃,LINE@訂單','2,9','M24070009222','1','1','1','1','1','','','0','2024-07-11','0','0','0','','0','0','800','334','桃園市','八德區','334','桃園市','八德區','800','2024-07-09 17:26:42','2024-06-04') 2024-07-09 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 ('124227','0',2,'彌月試吃,迪化門市訂單','2,28','M24070009346','1','6','6','8','8','','','0','2024-07-14','0','0','0','','0','0','500','103','台北市','大同區','103','台北市','大同區','500','2024-07-09 17:54:19','2024-06-04') 2024-07-09 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 ('122889','399220',2,'','','B24070009460','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2100','702','台南市','南區','710','台南市','永康區','2220','2024-07-09 22:38:20','2024-06-04') 2024-07-09 23:59:11 -- == sync_order end == 2024-07-09 23:59:11 -- == sync_order_detail start == 2024-07-09 23:59:11 -- start:2024-07-09,end:2024-07-09 2024-07-09 23:59:11 -- == sync omo_order_detail == 2024-07-09 23:59:11 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-09%' OR modify_date like '2024-07-09%' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'DG010203-01' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `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` = '114',`total_price` = '34200',`etd` = '2024-07-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'DG010203-01', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'DG010203-02' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `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` = '2',`total_price` = '600',`etd` = '2024-07-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'DG010203-02', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'DG010203-05' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'DG010203-05', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'DG010316-02' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-02',`product_sn` = 'DG010316',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-07-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'DG010316-02', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'DG010316-09' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-09',`product_sn` = 'DG010316',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'DG010316-09', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'DG0103184-185' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `product_name` = '8結彌月禮盒-喜悅',`product_code` = 'DG0103184-185',`product_sn` = 'DG0103184',`product_spec` = '原味.芝麻.黑松露夏威夷果.國寶茶',`invoice_name` = '禮盒-彌月喜悅【原味+芝麻】+黑松露夏威夷果+國寶茶',`listprice` = '700',`sellingprice` = '700',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1400',`etd` = '2024-07-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'DG0103184-185', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'ZP0101119-01' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `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-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'ZP0101119-01', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070003735' and product_code = 'ZP0101106-01' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31665',`firm_id` = '8',`ordernumber` = 'M24070003735', `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-11',`create_date` = '2024-07-03 15:09:39',`modify_date` = '2024-07-09 14:50:52',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070003735' and product_code = 'ZP0101106-01', `lunar_date` = '2024-05-28' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-01' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `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` = '27',`total_price` = '8100',`etd` = '2024-07-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-01', `lunar_date` = '2024-05-29' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-02' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`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` = '27',`total_price` = '8100',`etd` = '2024-07-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-02', `lunar_date` = '2024-05-29' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-05' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '27',`total_price` = '8100',`etd` = '2024-07-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-05', `lunar_date` = '2024-05-29' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-03' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`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` = '14',`total_price` = '4200',`etd` = '2024-07-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-03', `lunar_date` = '2024-05-29' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-04' 2024-07-09 23:59:11 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-04',`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` = '9',`total_price` = '2700',`etd` = '2024-07-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'DG010263-04', `lunar_date` = '2024-05-29' 2024-07-09 23:59:11 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'DG0103156-05' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-07-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'DG0103156-05', `lunar_date` = '2024-05-29' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'ZP0101106-01' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `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-15',`create_date` = '2024-07-04 12:06:50',`modify_date` = '2024-07-09 14:33:38',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'ZP0101106-01', `lunar_date` = '2024-05-29' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070006160RB' and product_code = 'DG010263-01' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31712',`firm_id` = '8',`ordernumber` = 'M24070006160RB', `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` = '1',`total_price` = '300',`etd` = '2024-07-15',`create_date` = '2024-07-05 11:13:38',`modify_date` = '2024-07-09 14:31:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070006160RB' and product_code = 'DG010263-01', `lunar_date` = '2024-05-30' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070006160RB' and product_code = 'DG010263-02' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31712',`firm_id` = '8',`ordernumber` = 'M24070006160RB', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`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` = '1',`total_price` = '300',`etd` = '2024-07-15',`create_date` = '2024-07-05 11:13:38',`modify_date` = '2024-07-09 14:31:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070006160RB' and product_code = 'DG010263-02', `lunar_date` = '2024-05-30' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070006160RB' and product_code = 'DG010263-03' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31712',`firm_id` = '8',`ordernumber` = 'M24070006160RB', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-03',`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` = '1',`total_price` = '300',`etd` = '2024-07-15',`create_date` = '2024-07-05 11:13:38',`modify_date` = '2024-07-09 14:31:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070006160RB' and product_code = 'DG010263-03', `lunar_date` = '2024-05-30' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070006160RB' and product_code = 'DG010263-04' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31712',`firm_id` = '8',`ordernumber` = 'M24070006160RB', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-04',`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` = '1',`total_price` = '300',`etd` = '2024-07-15',`create_date` = '2024-07-05 11:13:38',`modify_date` = '2024-07-09 14:31:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070006160RB' and product_code = 'DG010263-04', `lunar_date` = '2024-05-30' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070006160RB' and product_code = 'DG010263-05' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31712',`firm_id` = '8',`ordernumber` = 'M24070006160RB', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-05',`product_sn` = 'DG010263',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-15',`create_date` = '2024-07-05 11:13:38',`modify_date` = '2024-07-09 14:31:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070006160RB' and product_code = 'DG010263-05', `lunar_date` = '2024-05-30' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070008379' and product_code = 'DG010203-05' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31716',`firm_id` = '8',`ordernumber` = 'B24070008379', `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` = '60',`total_price` = '18000',`etd` = '2024-07-19',`create_date` = '2024-07-08 13:57:14',`modify_date` = '2024-07-09 10:05:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070008379' and product_code = 'DG010203-05', `lunar_date` = '2024-06-03' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070008379' and product_code = 'ZP0101119-01' 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31716',`firm_id` = '8',`ordernumber` = 'B24070008379', `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-19',`create_date` = '2024-07-08 13:57:14',`modify_date` = '2024-07-09 10:05:05',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070008379' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-03' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070008652' and product_code = 'DG010243-02' 2024-07-09 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,'31719','11','B24070008652','年輪提盒彌月試吃【A1】','DG010243-02','DG010243','芝麻','提盒-彌月年輪-40入芝麻(試吃)','300','300','0','1','0','0','1','300.0','1','300','2024-07-10','2024-07-09 08:58:24','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31719',`firm_id` = '11',`ordernumber` = 'B24070008652', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`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-10',`create_date` = '2024-07-09 08:58:24',`modify_date` = '2024-07-09 08:58:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070008652' and product_code = 'DG010243-02', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070008652' and product_code = 'DG010244-05' 2024-07-09 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,'31719','11','B24070008652','小王子提盒彌月試吃【A3】','DG010244-05','DG010244','巧克力','提盒-小王子(藍)-40入巧克力(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-07-10','2024-07-09 08:58:24','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31719',`firm_id` = '11',`ordernumber` = 'B24070008652', `product_name` = '小王子提盒彌月試吃【A3】',`product_code` = 'DG010244-05',`product_sn` = 'DG010244',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-07-10',`create_date` = '2024-07-09 08:58:24',`modify_date` = '2024-07-09 08:58:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070008652' and product_code = 'DG010244-05', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070008652' and product_code = 'DG010264-01' 2024-07-09 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,'31719','11','B24070008652','SNOOPY(黃)提盒-彌月試吃【A5】','DG010264-01','DG010264','原味','提盒-彌月SNOOPY-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-07-10','2024-07-09 08:58:24','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31719',`firm_id` = '11',`ordernumber` = 'B24070008652', `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-07-10',`create_date` = '2024-07-09 08:58:24',`modify_date` = '2024-07-09 08:58:24',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070008652' and product_code = 'DG010264-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070008734' and product_code = '05401' 2024-07-09 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,'31720','8','B24070008734','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2024-07-15','2024-07-09 12:56:17','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31720',`firm_id` = '8',`ordernumber` = 'B24070008734', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-07-15',`create_date` = '2024-07-09 12:56:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070008734' and product_code = '05401', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070008873' and product_code = 'DG010263-02' 2024-07-09 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,'31721','8','M24070008873','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-02','DG010263','芝麻','提盒-彌月SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','55','16500','2024-07-10','2024-07-09 13:30:30','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31721',`firm_id` = '8',`ordernumber` = 'M24070008873', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-02',`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` = '55',`total_price` = '16500',`etd` = '2024-07-10',`create_date` = '2024-07-09 13:30:30',`modify_date` = '2024-07-09 13:34:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070008873' and product_code = 'DG010263-02', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070008873' and product_code = 'ZP010151-01' 2024-07-09 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,'31721','8','M24070008873','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-10','2024-07-09 13:34:42','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31721',`firm_id` = '8',`ordernumber` = 'M24070008873', `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-10',`create_date` = '2024-07-09 13:34:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070008873' and product_code = 'ZP010151-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070008873' and product_code = 'ZP0101119-01' 2024-07-09 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,'31721','8','M24070008873','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-10','2024-07-09 13:34:42','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31721',`firm_id` = '8',`ordernumber` = 'M24070008873', `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-10',`create_date` = '2024-07-09 13:34:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070008873' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070008944' and product_code = 'DG010222-01' 2024-07-09 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,'31722','8','M24070008944','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-07-11','2024-07-09 14:12:24','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31722',`firm_id` = '8',`ordernumber` = 'M24070008944', `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` = '2',`total_price` = '600',`etd` = '2024-07-11',`create_date` = '2024-07-09 14:12:24',`modify_date` = '2024-07-09 14:38:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070008944' and product_code = 'DG010222-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070008944' and product_code = 'DG010222-05' 2024-07-09 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,'31722','8','M24070008944','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','32','9600','2024-07-11','2024-07-09 14:12:24','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31722',`firm_id` = '8',`ordernumber` = 'M24070008944', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`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` = '32',`total_price` = '9600',`etd` = '2024-07-11',`create_date` = '2024-07-09 14:12:24',`modify_date` = '2024-07-09 14:38:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070008944' and product_code = 'DG010222-05', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070008944' and product_code = 'ZP0101119-01' 2024-07-09 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,'31722','8','M24070008944','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-11','2024-07-09 14:12:24','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31722',`firm_id` = '8',`ordernumber` = 'M24070008944', `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-11',`create_date` = '2024-07-09 14:12:24',`modify_date` = '2024-07-09 14:38:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070008944' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070004891RB2' and product_code = 'ZP0101119-01' 2024-07-09 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,'31682','8','M24070004891RB2','贈品-recolte熱感美容儀','ZP0101119-01','ZP0101119','贈品-recolte熱感美容儀','贈品-recolte熱感美容儀','0','0','0','0','0','0','1','0.0','1','0','2024-07-15','2024-07-09 14:33:38','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31682',`firm_id` = '8',`ordernumber` = 'M24070004891RB2', `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-15',`create_date` = '2024-07-09 14:33:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070004891RB2' and product_code = 'ZP0101119-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009076' and product_code = 'DG010316-02' 2024-07-09 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,'31723','8','M24070009076','8結彌月禮盒-樂芙','DG010316-02','DG010316','原味+芝麻','禮盒-彌月樂芙【原味+芝麻】','500','500','0','0','0','0','1','500.0','1','500','2024-07-15','2024-07-09 14:45:55','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31723',`firm_id` = '8',`ordernumber` = 'M24070009076', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-02',`product_sn` = 'DG010316',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-15',`create_date` = '2024-07-09 14:45:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009076' and product_code = 'DG010316-02', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009076' and product_code = 'DG010316-09' 2024-07-09 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,'31723','8','M24070009076','8結彌月禮盒-樂芙','DG010316-09','DG010316','芝麻+巧克力','禮盒-彌月樂芙【芝麻+巧克力】','500','500','0','0','0','0','1','500.0','1','500','2024-07-15','2024-07-09 14:45:55','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31723',`firm_id` = '8',`ordernumber` = 'M24070009076', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-09',`product_sn` = 'DG010316',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-15',`create_date` = '2024-07-09 14:45:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009076' and product_code = 'DG010316-09', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009168' and product_code = '05459 ' 2024-07-09 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,'31724','11','M24070009168','龍飛鳳舞(鳳梨酥) 彌月試吃體驗組(贈寶寶襪)【Z1】','05459 ','05437','芝麻+咖啡+咖啡.原味肉酥酥','組合-8入(芝麻+咖啡+咖啡)+70g原味肉酥酥+鳳梨酥+黑松露腰果+芝麻糕+寶寶襪一雙','900','900','0','0','0','0','1','0.0','1','900','2024-07-11','2024-07-09 16:34:43','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31724',`firm_id` = '11',`ordernumber` = 'M24070009168', `product_name` = '龍飛鳳舞(鳳梨酥) 彌月試吃體驗組(贈寶寶襪)【Z1】',`product_code` = '05459 ',`product_sn` = '05437',`product_spec` = '芝麻+咖啡+咖啡.原味肉酥酥',`invoice_name` = '組合-8入(芝麻+咖啡+咖啡)+70g原味肉酥酥+鳳梨酥+黑松露腰果+芝麻糕+寶寶襪一雙',`listprice` = '900',`sellingprice` = '900',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '900',`etd` = '2024-07-11',`create_date` = '2024-07-09 16:34:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009168' and product_code = '05459 ', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009168' and product_code = 'DG0103138-05' 2024-07-09 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,'31724','11','M24070009168','小王子禮盒彌月試吃【B3】','DG0103138-05','DG0103138','原味+巧克力','禮盒-小王子(藍)【原味+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-07-11','2024-07-09 16:34:43','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31724',`firm_id` = '11',`ordernumber` = 'M24070009168', `product_name` = '小王子禮盒彌月試吃【B3】',`product_code` = 'DG0103138-05',`product_sn` = 'DG0103138',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-11',`create_date` = '2024-07-09 16:34:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009168' and product_code = 'DG0103138-05', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009222' and product_code = 'DG010244-01' 2024-07-09 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,'31725','11','M24070009222','小王子提盒彌月試吃【A3】','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-07-11','2024-07-09 17:26:42','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31725',`firm_id` = '11',`ordernumber` = 'M24070009222', `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-11',`create_date` = '2024-07-09 17:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009222' and product_code = 'DG010244-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009222' and product_code = 'DG0103138-09' 2024-07-09 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,'31725','11','M24070009222','小王子禮盒彌月試吃【B3】','DG0103138-09','DG0103138','芝麻+巧克力','禮盒-小王子(藍)【芝麻+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-07-11','2024-07-09 17:26:42','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31725',`firm_id` = '11',`ordernumber` = 'M24070009222', `product_name` = '小王子禮盒彌月試吃【B3】',`product_code` = 'DG0103138-09',`product_sn` = 'DG0103138',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(藍)【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-11',`create_date` = '2024-07-09 17:26:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009222' and product_code = 'DG0103138-09', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009346' and product_code = 'DG0103157-09' 2024-07-09 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,'31726','11','M24070009346','SNOOPY(藍)禮盒-彌月試吃【B4】','DG0103157-09','DG0103157','芝麻+巧克力','禮盒-彌月SNOOPY【芝麻+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-07-14','2024-07-09 17:54:19','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31726',`firm_id` = '11',`ordernumber` = 'M24070009346', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`product_code` = 'DG0103157-09',`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-14',`create_date` = '2024-07-09 17:54:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009346' and product_code = 'DG0103157-09', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070009460' and product_code = 'DG010202-01' 2024-07-09 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,'31727','8','B24070009460','8結彌月提盒-年輪','DG010202-01','DG010202','原味','提盒-彌月年輪-40入原味','0','300','0','1','0','0','1','300.0','7','2100','2024-07-15','2024-07-09 22:38:20','2024-07-09 23:59:12',null,'1','2024-06-04') 2024-07-09 23:59:12 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31727',`firm_id` = '8',`ordernumber` = 'B24070009460', `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` = '7',`total_price` = '2100',`etd` = '2024-07-15',`create_date` = '2024-07-09 22:38:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070009460' and product_code = 'DG010202-01', `lunar_date` = '2024-06-04' 2024-07-09 23:59:12 -- == sync_order_detail end == 2024-07-09 23:59:12 -- == 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-09' OR o.updated_at = '2024-07-09') and o.deleted_at is null 2024-07-09 23:59:12 -- == sync_order_detail start == 2024-07-09 23:59:12 -- start:2024-07-09,end:2024-07-09 2024-07-09 23:59:13 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-07-09 23:59:13 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-07-09 23:59:17 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-07-09%';