2024-02-23 23:59:02 -- == sync_order start == 2024-02-23 23:59:02 -- start:2024-02-23,end:2024-02-23 2024-02-23 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-23%' OR l.modify_date like '2024-02-23%'; 2024-02-23 23:59:03 -- == sync omo_order_list == 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '73015', process_status = '6', pay_status = '6', totalprice_after = '1050', lunar_date = '2024-01-10', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020054123' 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '378344', process_status = '1', pay_status = '1', totalprice_after = '15362', lunar_date = '2024-01-12', invoice_status = '0',category_name = ',LINE@訂單', category_id = ',9' where ordernumber = 'O24020061633' 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '86551', process_status = '0', pay_status = '0', totalprice_after = '0', lunar_date = '2024-01-13', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24020065958' 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '86551', process_status = '0', pay_status = '0', totalprice_after = '0', lunar_date = '2024-01-13', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24020066035' 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '364161', process_status = '1', pay_status = '1', totalprice_after = '3750', lunar_date = '2024-01-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020066887' 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '378541', process_status = '6', pay_status = '0', totalprice_after = '420', lunar_date = '2024-01-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020067249' 2024-02-23 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '378544', process_status = '6', pay_status = '6', totalprice_after = '1670', lunar_date = '2024-01-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24020067468' 2024-02-23 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('170479','137493',1,'','','O24020067695','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','150','1920','247','新北市','蘆洲區','247','新北市','蘆洲區','1920','2024-02-23 00:01:01','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341767','378554',1,'電話訂單','12','S24020067711','1','2','1','1','1','','','0','2024-04-23','0','0','0','','0','0','6240','820','高雄市','岡山區','820','高雄市','岡山區','6240','2024-02-23 09:10:55','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('172685','139595',1,'快閃櫃宅配','33','S24020067847','1','10','1','1','1','','','1','2024-02-27','0','0','0','','-38','0','5875','710','台南市','永康區','806','高雄市','前鎮區','5837','2024-02-23 10:27:22','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('299430','336769',1,'','','O24020067916','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2950','115','台北市','南港區','115','台北市','南港區','3100','2024-02-23 10:35:43','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('165726','0',1,'團媽訂單','3','S24020068073','1','7','1','0','1','','','0','2024-03-06','58368','0','0','','0','0','230670','403','台中市','西區','407','台中市','西屯區','172302','2024-02-23 10:39:24','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341557','378344',1,',LINE@訂單',',9','S24020068123','1','1','1','1','6','24708053','緯育股份有限公司','0','2024-03-05','0','122','0','','0','0','2450','221','新北市','汐止區','100','台北市','中正區','2328','2024-02-23 10:41:57','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('239896','271583',1,'','','O24020068232','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','5000','435','台中市','梧棲區','435','台中市','梧棲區','5150','2024-02-23 11:58:40','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('239896','271583',1,'','','O24020068379','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','6000','435','台中市','梧棲區','435','台中市','梧棲區','6000','2024-02-23 12:01:08','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341809','378596',1,'','','O24020068477','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2240','231','新北市','新店區','231','新北市','新店區','2360','2024-02-23 12:48:17','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341818','378605',1,'永康門市訂單,永康當日宅配','31,19','S24020068523','1','1','7','1','1','69116701','國立臺南高級商業職業學校','0','2024-02-24','0','768','0','','0','0','15360','106','台北市','大安區','100','台北市','中正區','14592','2024-02-23 13:48:50','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341753','378540',1,'','','O24020068657','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1290','946','屏東縣','恆春鎮','946','屏東縣','恆春鎮','1410','2024-02-23 14:36:56','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341825','378612',1,'','','O24020068732','1','1','1','1','1','22663848','國都汽車股份有限公司','0','0000-00-00','816','0','0','','0','30','16320','112','台北市','北投區','104','台北市','中山區','15474','2024-02-23 17:21:18','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341827','378614',1,'','','O24020068895','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1920','300','新竹市','北區','300','新竹市','北區','2040','2024-02-23 17:48:35','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('297630','334992',1,'','','O24020068986','1','1','1','1','1','27794427','活力旅行社有限公司','0','0000-00-00','450','0','0','','0','0','9000','403','台中市','西區','403','台中市','西區','8550','2024-02-23 18:22:23','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341744','378531',1,'','','O24020069046','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','104','台北市','中山區','104','台北市','中山區','1110','2024-02-23 18:59:21','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341830','378617',1,'','','O24020069171','1','11','1','1','1','28842616','智理管理顧問股份有限公司','0','0000-00-00','675','0','0','','0','0','13500','114','台北市','內湖區','114','台北市','內湖區','12825','2024-02-23 19:23:34','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341832','378619',1,'','','O24020069260','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','821','高雄市','路竹區','821','高雄市','路竹區','1110','2024-02-23 21:03:00','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('181059','147606',1,'','','O24020069376','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','590','526','彰化縣','二林鎮','526','彰化縣','二林鎮','740','2024-02-23 21:04:44','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('181059','147606',1,'','','O24020069431','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','560','526','彰化縣','二林鎮','526','彰化縣','二林鎮','710','2024-02-23 21:16:48','2024-01-14') 2024-02-23 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('341834','378621',1,'','','O24020069582','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','500','701','台南市','東區','701','台南市','東區','620','2024-02-23 21:51:30','2024-01-14') 2024-02-23 23:59:04 -- == sync_order end == 2024-02-23 23:59:04 -- == sync_order_detail start == 2024-02-23 23:59:04 -- start:2024-02-23,end:2024-02-23 2024-02-23 23:59:04 -- == sync omo_order_detail == 2024-02-23 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-23%' OR modify_date like '2024-02-23%' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020054123' and product_code = 'DG010261-01' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228890',`firm_id` = '8',`ordernumber` = 'O24020054123', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-02-27',`create_date` = '2024-02-19 16:42:35',`modify_date` = '2024-02-23 10:14:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-10'where ordernumber = 'O24020054123' and product_code = 'DG010261-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020061633' and product_code = '12169' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228970',`firm_id` = '8',`ordernumber` = 'O24020061633', `product_name` = '【預購品,3/1後出貨】8結隨享茶點禮盒',`product_code` = '12169',`product_sn` = '12146',`product_spec` = '原味+巧克力,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-隨享茶點【原味+巧克力】【鳳梨酥+鳳梅酥】',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '33',`total_price` = '16170',`etd` = '2024-03-05',`create_date` = '2024-02-21 15:51:21',`modify_date` = '2024-02-23 13:59:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-12'where ordernumber = 'O24020061633' and product_code = '12169' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020065958' and product_code = 'DG010113-01' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229014',`firm_id` = '8',`ordernumber` = 'S24020065958', `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` = '216',`total_price` = '48600',`etd` = '2024-02-27',`create_date` = '2024-02-22 17:30:20',`modify_date` = '2024-02-23 09:48:29',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'S24020065958' and product_code = 'DG010113-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020065958' and product_code = 'DG010113-02' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229014',`firm_id` = '8',`ordernumber` = 'S24020065958', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '144',`total_price` = '32400',`etd` = '2024-02-27',`create_date` = '2024-02-22 17:30:20',`modify_date` = '2024-02-23 09:48:29',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'S24020065958' and product_code = 'DG010113-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020065958' and product_code = 'DG010113-03' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229014',`firm_id` = '8',`ordernumber` = 'S24020065958', `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-02-27',`create_date` = '2024-02-22 17:30:20',`modify_date` = '2024-02-23 09:48:29',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'S24020065958' and product_code = 'DG010113-03' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020065958' and product_code = 'DG010113-05' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229014',`firm_id` = '8',`ordernumber` = 'S24020065958', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-02-27',`create_date` = '2024-02-22 17:30:20',`modify_date` = '2024-02-23 09:48:29',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'S24020065958' and product_code = 'DG010113-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020066035' and product_code = 'DG010404-01' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229015',`firm_id` = '8',`ordernumber` = 'S24020066035', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '432',`total_price` = '0',`etd` = '2024-04-01',`create_date` = '2024-02-22 17:33:07',`modify_date` = '2024-02-23 09:48:48',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'S24020066035' and product_code = 'DG010404-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020066887' and product_code = 'DG010225-01' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229023',`firm_id` = '8',`ordernumber` = 'O24020066887', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-03-04',`create_date` = '2024-02-22 20:03:48',`modify_date` = '2024-02-23 09:04:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'O24020066887' and product_code = 'DG010225-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020066887' and product_code = 'DG010225-02' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229023',`firm_id` = '8',`ordernumber` = 'O24020066887', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-02',`product_sn` = 'DG010225',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-03-04',`create_date` = '2024-02-22 20:03:48',`modify_date` = '2024-02-23 09:04:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'O24020066887' and product_code = 'DG010225-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067249' and product_code = 'DG010261-01' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229027',`firm_id` = '8',`ordernumber` = 'O24020067249', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-27',`create_date` = '2024-02-22 22:24:55',`modify_date` = '2024-02-23 10:08:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'O24020067249' and product_code = 'DG010261-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067468' and product_code = 'DG010101-02' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229029',`firm_id` = '8',`ordernumber` = 'O24020067468', `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-02-27',`create_date` = '2024-02-22 23:15:06',`modify_date` = '2024-02-23 10:09:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'O24020067468' and product_code = 'DG010101-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067468' and product_code = 'DG010312-05' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229029',`firm_id` = '8',`ordernumber` = 'O24020067468', `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-02-27',`create_date` = '2024-02-22 23:15:06',`modify_date` = '2024-02-23 10:09:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'O24020067468' and product_code = 'DG010312-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067468' and product_code = 'DG010312-02' 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229029',`firm_id` = '8',`ordernumber` = 'O24020067468', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-22 23:15:06',`modify_date` = '2024-02-23 10:09:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-13'where ordernumber = 'O24020067468' and product_code = 'DG010312-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067695' and product_code = 'DG010312-02' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229031','8','O24020067695','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-02-27','2024-02-23 00:01:01','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229031',`firm_id` = '8',`ordernumber` = 'O24020067695', `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-02-27',`create_date` = '2024-02-23 00:01:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020067695' and product_code = 'DG010312-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067695' and product_code = 'DG010312-03' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229031','8','O24020067695','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-02-27','2024-02-23 00:01:01','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229031',`firm_id` = '8',`ordernumber` = 'O24020067695', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-23 00:01:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020067695' and product_code = 'DG010312-03' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067711' and product_code = 'DG010312-10' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229032','8','S24020067711','【咖啡+咖啡】金8結禮盒','DG010312-10','DG010312','金8結盒','禮盒-金8結【咖啡+咖啡】','590','480','0','0','0','0','1','480.0','3','1440','2024-04-23','2024-02-23 09:10:55','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229032',`firm_id` = '8',`ordernumber` = 'S24020067711', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-04-23',`create_date` = '2024-02-23 09:10:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067711' and product_code = 'DG010312-10' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067711' and product_code = 'DG010312-06' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229032','8','S24020067711','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','4','1920','2024-04-23','2024-02-23 09:10:55','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229032',`firm_id` = '8',`ordernumber` = 'S24020067711', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '4',`total_price` = '1920',`etd` = '2024-04-23',`create_date` = '2024-02-23 09:10:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067711' and product_code = 'DG010312-06' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067711' and product_code = 'DG010312-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229032','8','S24020067711','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-04-23','2024-02-23 09:10:55','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229032',`firm_id` = '8',`ordernumber` = 'S24020067711', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-04-23',`create_date` = '2024-02-23 09:10:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067711' and product_code = 'DG010312-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067711' and product_code = 'DG010312-15' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229032','8','S24020067711','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','5','2400','2024-04-23','2024-02-23 09:10:55','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229032',`firm_id` = '8',`ordernumber` = 'S24020067711', `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` = '5',`total_price` = '2400',`etd` = '2024-04-23',`create_date` = '2024-02-23 09:10:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067711' and product_code = 'DG010312-15' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067847' and product_code = 'DG010113-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229033','8','S24020067847','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','3','675','2024-02-27','2024-02-23 10:27:22','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229033',`firm_id` = '8',`ordernumber` = 'S24020067847', `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` = '3',`total_price` = '675',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:27:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067847' and product_code = 'DG010113-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067847' and product_code = 'DG010113-02' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229033','8','S24020067847','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','13','2925','2024-02-27','2024-02-23 10:27:22','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229033',`firm_id` = '8',`ordernumber` = 'S24020067847', `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` = '13',`total_price` = '2925',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:27:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067847' and product_code = 'DG010113-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067847' and product_code = 'DG010113-04' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229033','8','S24020067847','海苔小盒','DG010113-04','DG010113','海苔','32入海苔','225','225','0','0','0','0','1','0.0','2','450','2024-02-27','2024-02-23 10:27:22','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229033',`firm_id` = '8',`ordernumber` = 'S24020067847', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`product_sn` = 'DG010113',`product_spec` = '海苔',`invoice_name` = '32入海苔',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '450',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:27:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067847' and product_code = 'DG010113-04' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067847' and product_code = 'DG010113-03' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229033','8','S24020067847','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','5','1125','2024-02-27','2024-02-23 10:27:22','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229033',`firm_id` = '8',`ordernumber` = 'S24020067847', `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` = '5',`total_price` = '1125',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:27:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067847' and product_code = 'DG010113-03' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067847' and product_code = 'DG010113-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229033','8','S24020067847','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','2','450','2024-02-27','2024-02-23 10:27:22','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229033',`firm_id` = '8',`ordernumber` = 'S24020067847', `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` = '2',`total_price` = '450',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:27:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067847' and product_code = 'DG010113-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020067847' and product_code = 'DG010404-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229033','8','S24020067847','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','25','250','2024-02-27','2024-02-23 10:27:22','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229033',`firm_id` = '8',`ordernumber` = 'S24020067847', `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` = '25',`total_price` = '250',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:27:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020067847' and product_code = 'DG010404-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067916' and product_code = 'DG010206-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229034','8','O24020067916','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','5','1475','2024-02-27','2024-02-23 10:35:43','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229034',`firm_id` = '8',`ordernumber` = 'O24020067916', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1475',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:35:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020067916' and product_code = 'DG010206-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020067916' and product_code = 'DG010206-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229034','8','O24020067916','8結蛋捲【紅提盒裝】','DG010206-05','DG010206','巧克力','提盒-品牌(紅)-40入巧克力蛋捲','295','295','0','0','0','0','1','0.0','5','1475','2024-02-27','2024-02-23 10:35:43','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229034',`firm_id` = '8',`ordernumber` = 'O24020067916', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-05',`product_sn` = 'DG010206',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(紅)-40入巧克力蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1475',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:35:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020067916' and product_code = 'DG010206-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068073' and product_code = 'DG010113-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229035','8','S24020068073','原味小盒','DG010113-01','DG010113','原味','32入原味','225','225','0','0','0','0','1','0.0','366','82350','2024-03-06','2024-02-23 10:39:24','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229035',`firm_id` = '8',`ordernumber` = 'S24020068073', `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` = '366',`total_price` = '82350',`etd` = '2024-03-06',`create_date` = '2024-02-23 10:39:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068073' and product_code = 'DG010113-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068073' and product_code = 'DG010113-02' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229035','8','S24020068073','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','263','59175','2024-03-06','2024-02-23 10:39:24','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229035',`firm_id` = '8',`ordernumber` = 'S24020068073', `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` = '263',`total_price` = '59175',`etd` = '2024-03-06',`create_date` = '2024-02-23 10:39:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068073' and product_code = 'DG010113-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068073' and product_code = 'DG010113-03' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229035','8','S24020068073','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','167','37575','2024-03-06','2024-02-23 10:39:24','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229035',`firm_id` = '8',`ordernumber` = 'S24020068073', `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` = '167',`total_price` = '37575',`etd` = '2024-03-06',`create_date` = '2024-02-23 10:39:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068073' and product_code = 'DG010113-03' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068073' and product_code = 'DG010113-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229035','8','S24020068073','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','228','51300','2024-03-06','2024-02-23 10:39:24','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229035',`firm_id` = '8',`ordernumber` = 'S24020068073', `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` = '228',`total_price` = '51300',`etd` = '2024-03-06',`create_date` = '2024-02-23 10:39:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068073' and product_code = 'DG010113-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068073' and product_code = 'DG010404-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229035','8','S24020068073','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','27','270','2024-03-06','2024-02-23 10:39:24','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229035',`firm_id` = '8',`ordernumber` = 'S24020068073', `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` = '27',`total_price` = '270',`etd` = '2024-03-06',`create_date` = '2024-02-23 10:39:24',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068073' and product_code = 'DG010404-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068123' and product_code = '12169' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229036','8','S24020068123','【預購品,3/1後出貨】8結隨享茶點禮盒','12169','12146','原味+巧克力.鳳梨酥.鳳梅酥','禮盒-隨享茶點【原味+巧克力】【鳳梨酥+鳳梅酥】','490','490','0','0','0','0','1','0.0','5','2450','2024-03-05','2024-02-23 10:41:57','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229036',`firm_id` = '8',`ordernumber` = 'S24020068123', `product_name` = '【預購品,3/1後出貨】8結隨享茶點禮盒',`product_code` = '12169',`product_sn` = '12146',`product_spec` = '原味+巧克力.鳳梨酥.鳳梅酥',`invoice_name` = '禮盒-隨享茶點【原味+巧克力】【鳳梨酥+鳳梅酥】',`listprice` = '490',`sellingprice` = '490',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2450',`etd` = '2024-03-05',`create_date` = '2024-02-23 10:41:57',`modify_date` = '2024-02-23 13:59:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068123' and product_code = '12169' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068232' and product_code = 'DG0103155-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229037','8','O24020068232','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','10','5000','2024-03-01','2024-02-23 11:58:40','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229037',`firm_id` = '8',`ordernumber` = 'O24020068232', `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` = '10',`total_price` = '5000',`etd` = '2024-03-01',`create_date` = '2024-02-23 11:58:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068232' and product_code = 'DG0103155-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068379' and product_code = 'DG0103155-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229038','8','O24020068379','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','12','6000','2024-03-01','2024-02-23 12:01:08','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229038',`firm_id` = '8',`ordernumber` = 'O24020068379', `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` = '12',`total_price` = '6000',`etd` = '2024-03-01',`create_date` = '2024-02-23 12:01:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068379' and product_code = 'DG0103155-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068477' and product_code = 'DG010101-01' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229039','8','O24020068477','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-02-27','2024-02-23 12:48:17','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229039',`firm_id` = '8',`ordernumber` = 'O24020068477', `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-02-27',`create_date` = '2024-02-23 12:48:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068477' and product_code = 'DG010101-01' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068477' and product_code = 'DG010101-02' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229039','8','O24020068477','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-02-27','2024-02-23 12:48:17','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229039',`firm_id` = '8',`ordernumber` = 'O24020068477', `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` = '3',`total_price` = '840',`etd` = '2024-02-27',`create_date` = '2024-02-23 12:48:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068477' and product_code = 'DG010101-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068477' and product_code = 'DG010101-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229039','8','O24020068477','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-23 12:48:17','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229039',`firm_id` = '8',`ordernumber` = 'O24020068477', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-27',`create_date` = '2024-02-23 12:48:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068477' and product_code = 'DG010101-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068477' and product_code = 'DG010101-03' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229039','8','O24020068477','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-23 12:48:17','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229039',`firm_id` = '8',`ordernumber` = 'O24020068477', `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-02-27',`create_date` = '2024-02-23 12:48:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068477' and product_code = 'DG010101-03' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068523' and product_code = 'DG010312-02' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229040','8','S24020068523','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','32','15360','2024-02-24','2024-02-23 13:48:50','2024-02-23 23:59:06',0,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229040',`firm_id` = '8',`ordernumber` = 'S24020068523', `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` = '32',`total_price` = '15360',`etd` = '2024-02-24',`create_date` = '2024-02-23 13:48:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068523' and product_code = 'DG010312-02' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068657' and product_code = 'DG010523-09' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229041','8','O24020068657','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-23 14:36:56','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229041',`firm_id` = '8',`ordernumber` = 'O24020068657', `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-02-27',`create_date` = '2024-02-23 14:36:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068657' and product_code = 'DG010523-09' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068657' and product_code = 'DG010261-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229041','8','O24020068657','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-02-27','2024-02-23 14:36:56','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229041',`firm_id` = '8',`ordernumber` = 'O24020068657', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-27',`create_date` = '2024-02-23 14:36:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068657' and product_code = 'DG010261-05' 2024-02-23 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068732' and product_code = 'DG010312-05' 2024-02-23 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229042','8','O24020068732','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','34','16320','2024-02-27','2024-02-23 17:21:18','2024-02-23 23:59:06',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229042',`firm_id` = '8',`ordernumber` = 'O24020068732', `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` = '34',`total_price` = '16320',`etd` = '2024-02-27',`create_date` = '2024-02-23 17:21:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068732' and product_code = 'DG010312-05' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068895' and product_code = 'DG010312-05' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229043','8','O24020068895','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-02-27','2024-02-23 17:48:35','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229043',`firm_id` = '8',`ordernumber` = 'O24020068895', `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` = '3',`total_price` = '1440',`etd` = '2024-02-27',`create_date` = '2024-02-23 17:48:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068895' and product_code = 'DG010312-05' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068895' and product_code = 'DG010312-02' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229043','8','O24020068895','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-23 17:48:35','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229043',`firm_id` = '8',`ordernumber` = 'O24020068895', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-23 17:48:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068895' and product_code = 'DG010312-02' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068986' and product_code = 'DG010222-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229044','8','O24020068986','【小王子聯名】夢想旅程8結提盒','DG010222-01','DG010222','40入原味蛋捲','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','10','3000','2024-02-27','2024-02-23 18:22:23','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229044',`firm_id` = '8',`ordernumber` = 'O24020068986', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-23 18:22:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068986' and product_code = 'DG010222-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068986' and product_code = 'DG010261-02' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229044','8','O24020068986','【SNOOPY聯名】美好食光-8結提盒','DG010261-02','DG010261','40入芝麻蛋捲','提盒-SNOOPY-40入芝麻','300','300','0','0','0','0','1','0.0','10','3000','2024-02-27','2024-02-23 18:22:23','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229044',`firm_id` = '8',`ordernumber` = 'O24020068986', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-02',`product_sn` = 'DG010261',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-SNOOPY-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-23 18:22:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068986' and product_code = 'DG010261-02' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020068986' and product_code = 'DG010225-04' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229044','8','O24020068986','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-04','DG010225','40入海苔蛋捲','提盒-故宮(人物款)-40入海苔','300','300','0','0','0','0','1','0.0','10','3000','2024-02-27','2024-02-23 18:22:23','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229044',`firm_id` = '8',`ordernumber` = 'O24020068986', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-04',`product_sn` = 'DG010225',`product_spec` = '40入海苔蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-27',`create_date` = '2024-02-23 18:22:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020068986' and product_code = 'DG010225-04' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069046' and product_code = 'DG010101-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229045','8','O24020069046','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-03-04','2024-02-23 18:59:21','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229045',`firm_id` = '8',`ordernumber` = 'O24020069046', `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-03-04',`create_date` = '2024-02-23 18:59:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069046' and product_code = 'DG010101-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069046' and product_code = 'LS010103-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229045','8','O24020069046','【預購品,3/4後出貨】厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','120','120','0','0','0','0','1','0.0','1','120','2024-03-04','2024-02-23 18:59:21','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229045',`firm_id` = '8',`ordernumber` = 'O24020069046', `product_name` = '【預購品,3/4後出貨】厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '120',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '120',`etd` = '2024-03-04',`create_date` = '2024-02-23 18:59:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069046' and product_code = 'LS010103-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069046' and product_code = 'FL010102-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229045','8','O24020069046','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','1','130','2024-03-04','2024-02-23 18:59:21','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229045',`firm_id` = '8',`ordernumber` = 'O24020069046', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '130',`etd` = '2024-03-04',`create_date` = '2024-02-23 18:59:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069046' and product_code = 'FL010102-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069046' and product_code = 'TG010119-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229045','8','O24020069046','南棗核桃糕','TG010119-01','TG010119','12入核棗糕','(盒)南棗核桃糕','180','180','0','0','0','0','1','0.0','1','180','2024-03-04','2024-02-23 18:59:21','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229045',`firm_id` = '8',`ordernumber` = 'O24020069046', `product_name` = '南棗核桃糕',`product_code` = 'TG010119-01',`product_sn` = 'TG010119',`product_spec` = '12入核棗糕',`invoice_name` = '(盒)南棗核桃糕',`listprice` = '180',`sellingprice` = '180',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-03-04',`create_date` = '2024-02-23 18:59:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069046' and product_code = 'TG010119-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069171' and product_code = 'DG010399-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229046','8','O24020069171','游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】','DG010399-01','DG010399','原味蛋捲,阿里山金萱','禮盒-故宮(文物款)【原味+阿里山金萱】','1350','1350','0','0','0','0','1','0.0','10','13500','2024-02-27','2024-02-23 19:23:34','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229046',`firm_id` = '8',`ordernumber` = 'O24020069171', `product_name` = '游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】',`product_code` = 'DG010399-01',`product_sn` = 'DG010399',`product_spec` = '原味蛋捲,阿里山金萱',`invoice_name` = '禮盒-故宮(文物款)【原味+阿里山金萱】',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '13500',`etd` = '2024-02-27',`create_date` = '2024-02-23 19:23:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069171' and product_code = 'DG010399-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069260' and product_code = 'DG010523-22' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229047','8','O24020069260','SNOOPY帶走心意-蛋捲三入組','DG010523-22','DG010523','芝麻+巧克力+咖啡','組合-32入(芝麻+咖啡+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-06','2024-02-23 21:03:00','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229047',`firm_id` = '8',`ordernumber` = 'O24020069260', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-22',`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-03-06',`create_date` = '2024-02-23 21:03:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069260' and product_code = 'DG010523-22' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069376' and product_code = 'DG010206-02' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229048','8','O24020069376','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-23 21:04:44','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229048',`firm_id` = '8',`ordernumber` = 'O24020069376', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-23 21:04:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069376' and product_code = 'DG010206-02' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069376' and product_code = 'DG010258-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229048','8','O24020069376','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-23 21:04:44','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229048',`firm_id` = '8',`ordernumber` = 'O24020069376', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-23 21:04:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069376' and product_code = 'DG010258-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069431' and product_code = 'DG010101-02' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229049','8','O24020069431','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-23 21:16:48','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229049',`firm_id` = '8',`ordernumber` = 'O24020069431', `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-02-27',`create_date` = '2024-02-23 21:16:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069431' and product_code = 'DG010101-02' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069431' and product_code = 'DG010101-01' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229049','8','O24020069431','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-23 21:16:48','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229049',`firm_id` = '8',`ordernumber` = 'O24020069431', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-27',`create_date` = '2024-02-23 21:16:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069431' and product_code = 'DG010101-01' 2024-02-23 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069582' and product_code = 'DG0103155-03' 2024-02-23 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229050','8','O24020069582','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-03','DG0103155','原味蛋捲,咖啡蛋捲','禮盒-SNOOPY【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-02-27','2024-02-23 21:51:30','2024-02-23 23:59:07',null,'1','2024-01-14') 2024-02-23 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229050',`firm_id` = '8',`ordernumber` = 'O24020069582', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-03',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-27',`create_date` = '2024-02-23 21:51:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'O24020069582' and product_code = 'DG0103155-03' 2024-02-23 23:59:07 -- == sync_order_detail end == 2024-02-23 23:59:07 -- == sync_order start == 2024-02-23 23:59:07 -- start:2024-02-23,end:2024-02-23 2024-02-23 23:59:07 -- == 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-02-23%' OR l.modify_date like '2024-02-23%'; 2024-02-23 23:59:07 -- == sync omo_order_list == 2024-02-23 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '32400', lunar_date = '2024-01-10', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020014264' 2024-02-23 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '378161', process_status = '1', pay_status = '1', totalprice_after = '19000', lunar_date = '2024-01-11', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24020015581' 2024-02-23 23:59:07 -- == 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 ('101846','0',2,'彌月試吃','2','B24020017937','1','2','1','1','1','','','0','2024-02-27','0','0','0','','0','0','500','900','屏東縣','屏東市','900','屏東縣','屏東市','500','2024-02-23 09:00:55','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('99847','376457',2,'彌月試吃','2','B24020018061','1','1','1','1','1','','','0','2024-02-27','0','0','0','','0','0','300','251','新北市','淡水區','252','新北市','三芝區','300','2024-02-23 09:01:27','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('100332','376939',2,',正式彌,LINE@訂單',',1,9','M24020018162','1','11','1','1','1','','','0','2024-02-27','0','75','0','','0','0','1500','413','台中市','霧峰區','413','台中市','霧峰區','1425','2024-02-23 09:07:17','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('75361','0',2,'LINE@訂單','9','M24020018257','1','1','1','1','1','','','0','2024-02-29','0','0','0','','0','0','80','300','新竹市','北區','300','新竹市','北區','80','2024-02-23 09:14:19','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101966','378555',2,'正式彌,LINE@訂單','1,9','M24020018355','1','1','1','1','1','','','0','2024-03-07','0','750','0','','0','0','15000','114','台北市','內湖區','114','台北市','內湖區','14250','2024-02-23 09:18:55','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101970','0',2,'彌月試吃,FB訂單','2,10','M24020018420','1','11','1','1','1','','','0','2024-02-27','0','0','0','','0','0','300','100','台北市','中正區','100','台北市','中正區','300','2024-02-23 09:52:14','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101974','378561',2,'FB訂單,彌月試吃','10,2','M24020018537','1','2','1','1','1','','','0','2024-02-27','0','0','0','','0','0','500','300','新竹市','北區','300','新竹市','北區','500','2024-02-23 10:53:40','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('86924','363671',2,'正式彌,LINE@訂單','1,9','M24020018614','1','1','1','1','1','','','0','2024-03-06','0','680','0','','0','0','13600','551','南投縣','名間鄉','551','南投縣','名間鄉','12920','2024-02-23 11:26:30','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101988','378575',2,'正式彌,LINE@訂單','1,9','M24020018776','1','1','1','0','0','','','0','2024-03-06','0','850','0','','0','30','17000','114','台北市','內湖區','114','台北市','內湖區','16120','2024-02-23 11:57:55','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101969','0',2,'彌月試吃','2','B24020018860','1','11','1','1','1','','','0','2024-02-27','0','0','0','','0','0','300','420','台中市','豐原區','420','台中市','豐原區','300','2024-02-23 13:42:53','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101964','378553',2,'彌月試吃','2','B24020018913','1','11','1','1','1','','','0','2024-02-27','0','0','0','','0','0','800','','','','320','桃園市','中壢區','800','2024-02-23 13:43:46','2024-01-14') 2024-02-23 23:59:07 -- == 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 ('101959','378548',2,'','','B24020019020','1','1','1','1','1','','','0','0000-00-00','2000','0','0','','0','30','40000','812','高雄市','小港區','812','高雄市','小港區','37970','2024-02-23 23:56:11','2024-01-14') 2024-02-23 23:59:07 -- == sync_order end == 2024-02-23 23:59:07 -- == sync_order_detail start == 2024-02-23 23:59:07 -- start:2024-02-23,end:2024-02-23 2024-02-23 23:59:07 -- == sync omo_order_detail == 2024-02-23 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-23%' OR modify_date like '2024-02-23%' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020014264' and product_code = 'DG010222-02' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30295',`firm_id` = '8',`ordernumber` = 'M24020014264', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`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` = '55',`total_price` = '16500',`etd` = '2024-03-06',`create_date` = '2024-02-19 16:12:21',`modify_date` = '2024-02-23 09:39:19',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020014264' and product_code = 'DG010222-02', `lunar_date` = '2024-01-10' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020014264' and product_code = 'DG010383-09' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30295',`firm_id` = '8',`ordernumber` = 'M24020014264', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-09',`product_sn` = 'DG010383',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(紅)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '35',`total_price` = '17500',`etd` = '2024-03-06',`create_date` = '2024-02-19 16:12:21',`modify_date` = '2024-02-23 09:39:19',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020014264' and product_code = 'DG010383-09', `lunar_date` = '2024-01-10' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020014264' and product_code = 'ZP010152-01' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30295',`firm_id` = '8',`ordernumber` = 'M24020014264', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`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-03-06',`create_date` = '2024-02-19 16:12:21',`modify_date` = '2024-02-23 09:39:19',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020014264' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-10' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020014264' and product_code = 'ZP010133-01' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30295',`firm_id` = '8',`ordernumber` = 'M24020014264', `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`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-03-06',`create_date` = '2024-02-19 16:12:21',`modify_date` = '2024-02-23 09:39:19',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020014264' and product_code = 'ZP010133-01', `lunar_date` = '2024-01-10' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020014264' and product_code = 'BP010147-01' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30295',`firm_id` = '8',`ordernumber` = 'M24020014264', `product_name` = '彌月客製小卡',`product_code` = 'BP010147-01',`product_sn` = 'BP010147',`product_spec` = '彌月客製小卡(10張/組)',`invoice_name` = '彌月客製小卡10張/組',`listprice` = '500',`sellingprice` = '50',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '50.0',`amount` = '2',`total_price` = '100',`etd` = '2024-03-06',`create_date` = '2024-02-19 16:15:41',`modify_date` = '2024-02-23 09:39:19',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020014264' and product_code = 'BP010147-01', `lunar_date` = '2024-01-10' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020015581' and product_code = 'DG0103156-05' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30314',`firm_id` = '8',`ordernumber` = 'M24020015581', `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` = '40',`total_price` = '20000',`etd` = '2024-03-06',`create_date` = '2024-02-20 12:06:20',`modify_date` = '2024-02-23 10:00:41',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020015581' and product_code = 'DG0103156-05', `lunar_date` = '2024-01-11' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020015581' and product_code = 'ZP010133-01' 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30314',`firm_id` = '8',`ordernumber` = 'M24020015581', `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`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-03-06',`create_date` = '2024-02-20 12:06:20',`modify_date` = '2024-02-23 10:00:41',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020015581' and product_code = 'ZP010133-01', `lunar_date` = '2024-01-11' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020017937' and product_code = 'DG0103157-03' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30342','11','B24020017937','【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)','DG0103157-03','DG0103157','原味+咖啡','禮盒-彌月SNOOPY【原味+咖啡】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-27','2024-02-23 09:00:55','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30342',`firm_id` = '11',`ordernumber` = 'B24020017937', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-03',`product_sn` = 'DG0103157',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【原味+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-27',`create_date` = '2024-02-23 09:00:55',`modify_date` = '2024-02-23 09:00:55',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020017937' and product_code = 'DG0103157-03', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020018061' and product_code = 'DG010244-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30343','11','B24020018061','小王子彌月試吃提盒','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-27','2024-02-23 09:01:27','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30343',`firm_id` = '11',`ordernumber` = 'B24020018061', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`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-02-27',`create_date` = '2024-02-23 09:01:27',`modify_date` = '2024-02-23 09:01:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020018061' and product_code = 'DG010244-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018162' and product_code = 'DG0103156-06' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30344','8','M24020018162','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-06','DG0103156','芝麻+芝麻','禮盒-彌月SNOOPY【芝麻+芝麻】','500','500','0','0','0','0','1','0.0','3','1500','2024-02-27','2024-02-23 09:07:17','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30344',`firm_id` = '8',`ordernumber` = 'M24020018162', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-06',`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` = '3',`total_price` = '1500',`etd` = '2024-02-27',`create_date` = '2024-02-23 09:07:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018162' and product_code = 'DG0103156-06', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018257' and product_code = '40009' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30345','8','M24020018257','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','1','80','2024-02-29','2024-02-23 09:14:19','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30345',`firm_id` = '8',`ordernumber` = 'M24020018257', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '80',`etd` = '2024-02-29',`create_date` = '2024-02-23 09:14:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018257' and product_code = '40009', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018355' and product_code = 'DG010202-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30346','8','M24020018355','8結彌月提盒-年輪','DG010202-01','DG010202','原味','提盒-彌月年輪-40入原味','0','300','0','0','0','0','1','300.0','50','15000','2024-03-07','2024-02-23 09:18:55','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30346',`firm_id` = '8',`ordernumber` = 'M24020018355', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-01',`product_sn` = 'DG010202',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味',`listprice` = '0',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '50',`total_price` = '15000',`etd` = '2024-03-07',`create_date` = '2024-02-23 09:18:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018355' and product_code = 'DG010202-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018355' and product_code = 'ZP010152-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30346','8','M24020018355','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-03-07','2024-02-23 09:18:55','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30346',`firm_id` = '8',`ordernumber` = 'M24020018355', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`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-03-07',`create_date` = '2024-02-23 09:18:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018355' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018420' and product_code = 'DG010244-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30347','11','M24020018420','小王子彌月試吃提盒','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-02-27','2024-02-23 09:52:14','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30347',`firm_id` = '11',`ordernumber` = 'M24020018420', `product_name` = '小王子彌月試吃提盒',`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-02-27',`create_date` = '2024-02-23 09:52:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018420' and product_code = 'DG010244-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018537' and product_code = 'DG0103145-09' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30348','11','M24020018537','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-09','DG0103145','芝麻+巧克力','禮盒-彌月小王子(紅)【芝麻+巧克力】(試吃)','500','500','0','0','0','0','1','1.0','1','500','2024-02-27','2024-02-23 10:53:40','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30348',`firm_id` = '11',`ordernumber` = 'M24020018537', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-09',`product_sn` = 'DG0103145',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月小王子(紅)【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '1.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-27',`create_date` = '2024-02-23 10:53:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018537' and product_code = 'DG0103145-09', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018614' and product_code = 'DG010222-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30349','8','M24020018614','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','12','3600','2024-03-06','2024-02-23 11:26:30','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30349',`firm_id` = '8',`ordernumber` = 'M24020018614', `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` = '12',`total_price` = '3600',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:26:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018614' and product_code = 'DG010222-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018614' and product_code = 'DG010222-02' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30349','8','M24020018614','【小王子聯名】夢想旅程8結彌月提盒','DG010222-02','DG010222','芝麻','提盒-小王子(紅)-40入芝麻','300','300','0','0','0','0','1','0.0','12','3600','2024-03-06','2024-02-23 11:26:30','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30349',`firm_id` = '8',`ordernumber` = 'M24020018614', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`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` = '12',`total_price` = '3600',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:26:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018614' and product_code = 'DG010222-02', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018614' and product_code = 'DG010222-05' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30349','8','M24020018614','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','8','2400','2024-03-06','2024-02-23 11:26:30','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30349',`firm_id` = '8',`ordernumber` = 'M24020018614', `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` = '8',`total_price` = '2400',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:26:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018614' and product_code = 'DG010222-05', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018614' and product_code = 'DG010327-02' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30349','8','M24020018614','【小王子聯名】仰望星空8結彌月禮盒','DG010327-02','DG010327','原味+芝麻','禮盒-小王子(藍)【原味+芝麻】','500','500','0','0','0','0','1','0.0','4','2000','2024-03-06','2024-02-23 11:26:30','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30349',`firm_id` = '8',`ordernumber` = 'M24020018614', `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` = '4',`total_price` = '2000',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:26:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018614' and product_code = 'DG010327-02', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018614' and product_code = 'DG010327-09' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30349','8','M24020018614','【小王子聯名】仰望星空8結彌月禮盒','DG010327-09','DG010327','芝麻+巧克力','禮盒-小王子(藍)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','4','2000','2024-03-06','2024-02-23 11:26:30','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30349',`firm_id` = '8',`ordernumber` = 'M24020018614', `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` = '4',`total_price` = '2000',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:26:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018614' and product_code = 'DG010327-09', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018614' and product_code = 'ZP010152-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30349','8','M24020018614','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-03-06','2024-02-23 11:26:30','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30349',`firm_id` = '8',`ordernumber` = 'M24020018614', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`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-03-06',`create_date` = '2024-02-23 11:26:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018614' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018776' and product_code = 'DG010263-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30350','8','M24020018776','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','40','12000','2024-03-06','2024-02-23 11:57:55','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30350',`firm_id` = '8',`ordernumber` = 'M24020018776', `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` = '40',`total_price` = '12000',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:57:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018776' and product_code = 'DG010263-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018776' and product_code = 'DG0103156-02' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30350','8','M24020018776','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-02','DG0103156','原味+芝麻','禮盒-彌月SNOOPY【原味+芝麻】','500','500','0','0','0','0','1','0.0','10','5000','2024-03-06','2024-02-23 11:57:55','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30350',`firm_id` = '8',`ordernumber` = 'M24020018776', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-02',`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` = '10',`total_price` = '5000',`etd` = '2024-03-06',`create_date` = '2024-02-23 11:57:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018776' and product_code = 'DG0103156-02', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020018776' and product_code = 'ZP010152-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30350','8','M24020018776','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-03-06','2024-02-23 11:57:55','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30350',`firm_id` = '8',`ordernumber` = 'M24020018776', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`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-03-06',`create_date` = '2024-02-23 11:57:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020018776' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020018860' and product_code = 'DG010244-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30351','11','B24020018860','小王子彌月試吃提盒','DG010244-01','DG010244','原味','提盒-小王子(藍)-40入原味(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-27','2024-02-23 13:42:53','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30351',`firm_id` = '11',`ordernumber` = 'B24020018860', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`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-02-27',`create_date` = '2024-02-23 13:42:53',`modify_date` = '2024-02-23 13:42:53',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020018860' and product_code = 'DG010244-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020018913' and product_code = 'DG010244-05' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30352','11','B24020018913','小王子彌月試吃提盒','DG010244-05','DG010244','巧克力','提盒-小王子(藍)-40入巧克力(試吃)','300','300','0','1','0','0','1','0.0','1','300','2024-02-27','2024-02-23 13:43:46','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30352',`firm_id` = '11',`ordernumber` = 'B24020018913', `product_name` = '小王子彌月試吃提盒',`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-02-27',`create_date` = '2024-02-23 13:43:46',`modify_date` = '2024-02-23 13:43:46',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020018913' and product_code = 'DG010244-05', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020018913' and product_code = 'DG0103138-05' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30352','11','B24020018913','小王子彌月試吃禮盒組','DG0103138-05','DG0103138','原味+巧克力','禮盒-小王子(藍)【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-02-27','2024-02-23 13:43:46','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30352',`firm_id` = '11',`ordernumber` = 'B24020018913', `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-05',`product_sn` = 'DG0103138',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-27',`create_date` = '2024-02-23 13:43:46',`modify_date` = '2024-02-23 13:43:46',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020018913' and product_code = 'DG0103138-05', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019020' and product_code = 'DG0103156-03' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30353','8','B24020019020','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-03','DG0103156','原味+咖啡','禮盒-彌月SNOOPY【原味+咖啡】','500','500','0','1','0','0','1','0.0','74','37000','2024-02-29','2024-02-23 23:56:11','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30353',`firm_id` = '8',`ordernumber` = 'B24020019020', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-03',`product_sn` = 'DG0103156',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '74',`total_price` = '37000',`etd` = '2024-02-29',`create_date` = '2024-02-23 23:56:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019020' and product_code = 'DG0103156-03', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019020' and product_code = 'DG010263-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30353','8','B24020019020','【SNOOPY聯名】美好食光-8結彌月提盒','DG010263-01','DG010263','原味','提盒-彌月SNOOPY-40入原味','300','300','0','1','0','0','1','0.0','10','3000','2024-02-29','2024-02-23 23:56:11','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30353',`firm_id` = '8',`ordernumber` = 'B24020019020', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒',`product_code` = 'DG010263-01',`product_sn` = 'DG010263',`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` = '10',`total_price` = '3000',`etd` = '2024-02-29',`create_date` = '2024-02-23 23:56:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019020' and product_code = 'DG010263-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019020' and product_code = 'ZP010134-01' 2024-02-23 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'30353','8','B24020019020','贈品-recolte氣炸鍋(顏色隨機)','ZP010134-01','ZP010134','贈品-recolte氣炸鍋(顏色隨機)','贈品-recolte氣炸鍋(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-29','2024-02-23 23:56:11','2024-02-23 23:59:08',null,'1','2024-01-14') 2024-02-23 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30353',`firm_id` = '8',`ordernumber` = 'B24020019020', `product_name` = '贈品-recolte氣炸鍋(顏色隨機)',`product_code` = 'ZP010134-01',`product_sn` = 'ZP010134',`product_spec` = '贈品-recolte氣炸鍋(顏色隨機)',`invoice_name` = '贈品-recolte氣炸鍋(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-29',`create_date` = '2024-02-23 23:56:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019020' and product_code = 'ZP010134-01', `lunar_date` = '2024-01-14' 2024-02-23 23:59:08 -- == sync_order_detail end == 2024-02-23 23:59:08 -- == 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-02-23' OR o.updated_at = '2024-02-23') and o.deleted_at is null 2024-02-23 23:59:08 -- == sync_order_detail start == 2024-02-23 23:59:08 -- start:2024-02-23,end:2024-02-23 2024-02-23 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-02-23 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-02-23 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-02-23%';