2024-05-04 23:59:02 -- == sync_order start == 2024-05-04 23:59:02 -- start:2024-05-04,end:2024-05-04 2024-05-04 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-05-04%' OR l.modify_date like '2024-05-04%'; 2024-05-04 23:59:03 -- == sync omo_order_list == 2024-05-04 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '386839', process_status = '3', pay_status = '1', totalprice_after = '6080', lunar_date = '2024-03-16', invoice_status = '1',category_name = ',迪化門市訂單', category_id = ',43' where ordernumber = 'S24040075446' 2024-05-04 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '344313', process_status = '3', pay_status = '1', totalprice_after = '1050', lunar_date = '2024-03-25', invoice_status = '0',category_name = '美村當日宅配,美村門市訂單', category_id = '28,32' where ordernumber = 'S24050010939' 2024-05-04 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 ('351517','388201',1,'','','O24050013077','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','3250','300','新竹市','北區','300','新竹市','北區','3300','2024-05-04 01:29:17','2024-03-26') 2024-05-04 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 ('351519','388203',1,'','','O24050013119','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','850','717','台南市','仁德區','717','台南市','仁德區','1000','2024-05-04 03:45:55','2024-03-26') 2024-05-04 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 ('351518','388202',1,'','','O24050013228','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1730','521','彰化縣','北斗鎮','523','彰化縣','埤頭鄉','1850','2024-05-04 03:47:40','2024-03-26') 2024-05-04 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 ('351521','388205',1,'','','O24050013381','1','11','1','0','0','','','0','0000-00-00','0','0','0','','0','0','6105','320','桃園市','中壢區','320','桃園市','中壢區','6105','2024-05-04 06:31:19','2024-03-26') 2024-05-04 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 ('351541','388225',1,'','','O24050013433','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3360','702','台南市','南區','702','台南市','南區','3480','2024-05-04 11:32:18','2024-03-26') 2024-05-04 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 ('351553','388237',1,',美村門市訂單',',32','S24050013533','1','2','8','1','1','','','0','2024-05-06','0','600','0','','0','0','12005','807','高雄市','三民區','807','高雄市','三民區','11405','2024-05-04 12:16:34','2024-03-26') 2024-05-04 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 ('351523','388207',1,'永康當日宅配','19','S24050013613','1','1','7','1','1','','','0','2024-05-04','0','0','0','','125','30','2840','105','台北市','松山區','105','台北市','松山區','2935','2024-05-04 12:39:50','2024-03-26') 2024-05-04 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 ('351589','388273',1,'','','O24050013769','1','1','1','1','1','73251209','統一企業股份有限公司','0','0000-00-00','0','0','0','','150','30','2950','320','桃園市','中壢區','320','桃園市','中壢區','3070','2024-05-04 14:42:49','2024-03-26') 2024-05-04 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 ('350073','386775',1,'','','O24050013857','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','4820','320','桃園市','中壢區','320','桃園市','中壢區','4940','2024-05-04 16:10:09','2024-03-26') 2024-05-04 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 ('351659','388343',1,'','','O24050013998','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','300','新竹市','香山區','300','新竹市','香山區','1560','2024-05-04 17:50:28','2024-03-26') 2024-05-04 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 ('351665','388349',1,'永康當日宅配','19','S24050014071','1','1','7','1','1','42651721','澳貝客國際有限公司','0','2024-05-06','0','0','0','','250','0','3210','100','台北市','中正區','100','台北市','中正區','3460','2024-05-04 17:59:53','2024-03-26') 2024-05-04 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 ('351680','388364',1,'','','O24050014128','1','1','1','1','1','73735839','伊頓飛瑞慕品股份有限公司','0','0000-00-00','0','0','0','','150','30','960','221','新北市','汐止區','221','新北市','汐止區','1080','2024-05-04 19:00:56','2024-03-26') 2024-05-04 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 ('351630','388314',1,'','','O24050014281','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1760','330','桃園市','桃園區','330','桃園市','桃園區','1880','2024-05-04 19:01:43','2024-03-26') 2024-05-04 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 ('132490','100904',1,'','','O24050014319','1','1','1','1','1','04315397','可樂旅遊旅行社股份有限公司','0','0000-00-00','0','0','0','','150','0','2880','104','台北市','中山區','104','台北市','中山區','3030','2024-05-04 19:53:23','2024-03-26') 2024-05-04 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 ('351651','388335',1,'','','O24050014418','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','870','320','桃園市','中壢區','320','桃園市','中壢區','990','2024-05-04 20:01:32','2024-03-26') 2024-05-04 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 ('351394','388078',1,'','','O24050014583','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1960','711','台南市','歸仁區','711','台南市','歸仁區','2010','2024-05-04 20:33:45','2024-03-26') 2024-05-04 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 ('351699','388383',1,'','','O24050014673','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1450','242','新北市','新莊區','242','新北市','新莊區','1570','2024-05-04 20:36:03','2024-03-26') 2024-05-04 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 ('351702','388386',1,'','','O24050014789','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','710','台南市','永康區','710','台南市','永康區','960','2024-05-04 21:03:27','2024-03-26') 2024-05-04 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 ('351699','388383',1,'','','O24050014828','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2030','242','新北市','新莊區','242','新北市','新莊區','2180','2024-05-04 21:33:48','2024-03-26') 2024-05-04 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 ('209557','204623',1,'','','O24050014942','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','500','116','台北市','文山區','325','桃園市','龍潭區','650','2024-05-04 21:46:56','2024-03-26') 2024-05-04 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 ('285179','322687',1,'','','O24050015015','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1560','243','新北市','泰山區','243','新北市','泰山區','1710','2024-05-04 22:37:54','2024-03-26') 2024-05-04 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 ('351711','388395',1,'','','O24050015143','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','500','733','台南市','東山區','733','台南市','東山區','650','2024-05-04 22:47:27','2024-03-26') 2024-05-04 23:59:03 -- == sync_order end == 2024-05-04 23:59:03 -- == sync_order_detail start == 2024-05-04 23:59:03 -- start:2024-05-04,end:2024-05-04 2024-05-04 23:59:03 -- == sync omo_order_detail == 2024-05-04 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-04%' OR modify_date like '2024-05-04%' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040075446' and product_code = 'DG010101-01' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231218',`firm_id` = '8',`ordernumber` = 'S24040075446', `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` = '15',`total_price` = '4200',`etd` = '2024-04-06',`create_date` = '2024-04-24 13:14:53',`modify_date` = '2024-05-04 14:48:08',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-16'where ordernumber = 'S24040075446' and product_code = 'DG010101-01' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040075446' and product_code = 'FL010310-01' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231218',`firm_id` = '8',`ordernumber` = 'S24040075446', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '1620',`etd` = '2024-04-06',`create_date` = '2024-04-24 13:14:53',`modify_date` = '2024-05-04 14:48:08',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-16'where ordernumber = 'S24040075446' and product_code = 'FL010310-01' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040075446' and product_code = '03951' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231218',`firm_id` = '8',`ordernumber` = 'S24040075446', `product_name` = '加購-黑曜芝麻糕分享包(袋裝25入)',`product_code` = '03951',`product_sn` = '03951',`product_spec` = '25入芝麻糕分享包',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-04-06',`create_date` = '2024-04-24 13:14:53',`modify_date` = '2024-05-04 14:48:08',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-16'where ordernumber = 'S24040075446' and product_code = '03951' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24040075446' and product_code = 'ZP0101107-01' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231218',`firm_id` = '8',`ordernumber` = 'S24040075446', `product_name` = '贈品-SNOOPY提把水瓶',`product_code` = 'ZP0101107-01',`product_sn` = 'ZP0101107',`product_spec` = '贈品-SNOOPY提把水瓶',`invoice_name` = '贈品-SNOOPY提把水瓶',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-04-06',`create_date` = '2024-04-24 13:14:53',`modify_date` = '2024-05-04 14:48:08',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-16'where ordernumber = 'S24040075446' and product_code = 'ZP0101107-01' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050010939' and product_code = 'DG010101-01' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231569',`firm_id` = '8',`ordernumber` = 'S24050010939', `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-05-03',`create_date` = '2024-05-03 14:22:50',`modify_date` = '2024-05-04 12:27:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'S24050010939' and product_code = 'DG010101-01' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050010939' and product_code = 'DG010101-05' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231569',`firm_id` = '8',`ordernumber` = 'S24050010939', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-03',`create_date` = '2024-05-03 14:22:50',`modify_date` = '2024-05-04 12:27:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'S24050010939' and product_code = 'DG010101-05' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050010939' and product_code = 'DG010404-01' 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231569',`firm_id` = '8',`ordernumber` = 'S24050010939', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2024-05-03',`create_date` = '2024-05-03 14:22:50',`modify_date` = '2024-05-04 12:27:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-25'where ordernumber = 'S24050010939' and product_code = 'DG010404-01' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013077' and product_code = 'DG010589-04' 2024-05-04 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231590','8','O24050013077','梅好心意隨享禮盒','DG010589-04','DG010589','8入鳳梅酥盒裝+原味+芝麻+無籽梅肉','禮盒-梅好心意【原味+芝麻】【鳳梅酥+無籽梅肉】','650','650','0','0','0','0','1','0.0','5','3250','2024-05-27','2024-05-04 01:29:17','2024-05-04 23:59:05',null,'1','2024-03-26') 2024-05-04 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231590',`firm_id` = '8',`ordernumber` = 'O24050013077', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-04',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+原味+芝麻+無籽梅肉',`invoice_name` = '禮盒-梅好心意【原味+芝麻】【鳳梅酥+無籽梅肉】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '3250',`etd` = '2024-05-27',`create_date` = '2024-05-04 01:29:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013077' and product_code = 'DG010589-04' 2024-05-04 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013119' and product_code = 'DG0103155-04' 2024-05-04 23:59:05 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'231591','8','O24050013119','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-04','DG0103155','原味蛋捲,海苔蛋捲','禮盒-SNOOPY【原味+海苔】','500','500','0','0','0','0','1','0.0','1','500','2024-06-11','2024-05-04 03:45:55','2024-05-04 23:59:05',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231591',`firm_id` = '8',`ordernumber` = 'O24050013119', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-04',`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-06-11',`create_date` = '2024-05-04 03:45:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013119' and product_code = 'DG0103155-04' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013119' and product_code = '03953' 2024-05-04 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,'231591','8','O24050013119','[加購]加購-無糖芒果乾分享包','03953','03953','-','加購-(紅袋)芒果乾','350','350','1','1','350','0','0','0.0','1','350','2024-06-11','2024-05-04 03:45:55','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231591',`firm_id` = '8',`ordernumber` = 'O24050013119', `product_name` = '[加購]加購-無糖芒果乾分享包',`product_code` = '03953',`product_sn` = '03953',`product_spec` = '-',`invoice_name` = '加購-(紅袋)芒果乾',`listprice` = '350',`sellingprice` = '350',`isadd` = '1',`isbaby` = '1',`addprice` = '350',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '350',`etd` = '2024-06-11',`create_date` = '2024-05-04 03:45:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013119' and product_code = '03953' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013228' and product_code = 'DG0103148-02' 2024-05-04 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,'231592','8','O24050013228','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','1','480','2024-05-06','2024-05-04 03:47:40','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231592',`firm_id` = '8',`ordernumber` = 'O24050013228', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-06',`create_date` = '2024-05-04 03:47:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013228' and product_code = 'DG0103148-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013228' and product_code = 'DG0103148-14' 2024-05-04 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,'231592','8','O24050013228','金典8結禮盒','DG0103148-14','DG0103148','巧克力+海苔','禮盒-金典(紅)【海苔+巧克力】','480','480','0','0','0','0','1','0.0','1','480','2024-05-06','2024-05-04 03:47:40','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231592',`firm_id` = '8',`ordernumber` = 'O24050013228', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-14',`product_sn` = 'DG0103148',`product_spec` = '巧克力+海苔',`invoice_name` = '禮盒-金典(紅)【海苔+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-06',`create_date` = '2024-05-04 03:47:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013228' and product_code = 'DG0103148-14' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013228' and product_code = 'DG010312-05' 2024-05-04 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,'231592','8','O24050013228','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-06','2024-05-04 03:47:40','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231592',`firm_id` = '8',`ordernumber` = 'O24050013228', `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-05-06',`create_date` = '2024-05-04 03:47:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013228' and product_code = 'DG010312-05' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013228' and product_code = 'TG010118-01' 2024-05-04 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,'231592','8','O24050013228','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','1','290','2024-05-06','2024-05-04 03:47:40','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231592',`firm_id` = '8',`ordernumber` = 'O24050013228', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-06',`create_date` = '2024-05-04 03:47:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013228' and product_code = 'TG010118-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013381' and product_code = 'DG0103149-01' 2024-05-04 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,'231593','8','O24050013381','金典8結肉酥酥禮盒','DG0103149-01','02945','原味+原原肉酥酥','禮盒-金典(紅)【原味+原味肉酥酥】','555','555','0','0','0','0','1','0.0','11','6105','2024-05-29','2024-05-04 06:31:19','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231593',`firm_id` = '8',`ordernumber` = 'O24050013381', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-01',`product_sn` = '02945',`product_spec` = '原味+原原肉酥酥',`invoice_name` = '禮盒-金典(紅)【原味+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '6105',`etd` = '2024-05-29',`create_date` = '2024-05-04 06:31:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013381' and product_code = 'DG0103149-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013433' and product_code = 'DG010101-02' 2024-05-04 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,'231594','8','O24050013433','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','12','3360','2024-05-06','2024-05-04 11:32:18','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231594',`firm_id` = '8',`ordernumber` = 'O24050013433', `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` = '12',`total_price` = '3360',`etd` = '2024-05-06',`create_date` = '2024-05-04 11:32:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013433' and product_code = 'DG010101-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010312-03' 2024-05-04 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,'231595','8','S24050013533','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010312-03' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010312-12' 2024-05-04 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,'231595','8','S24050013533','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010312-12' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010101-01' 2024-05-04 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,'231595','8','S24050013533','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','20','5600','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '20',`total_price` = '5600',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010101-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010206-01' 2024-05-04 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,'231595','8','S24050013533','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010206-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010101-02' 2024-05-04 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,'231595','8','S24050013533','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','5','1400','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `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` = '5',`total_price` = '1400',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010101-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010101-03' 2024-05-04 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,'231595','8','S24050013533','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `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` = '3',`total_price` = '840',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010101-03' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010101-04' 2024-05-04 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,'231595','8','S24050013533','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010101-04' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010101-05' 2024-05-04 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,'231595','8','S24050013533','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','5','1400','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '5',`total_price` = '1400',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010101-05' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010261-05' 2024-05-04 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,'231595','8','S24050013533','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','2','600','2024-05-06','2024-05-04 12:02:33','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `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` = '2',`total_price` = '600',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:02:33',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010261-05' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013533' and product_code = 'DG010404-01' 2024-05-04 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,'231595','8','S24050013533','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','7','70','2024-05-06','2024-05-04 12:04:04','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231595',`firm_id` = '8',`ordernumber` = 'S24050013533', `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` = '7',`total_price` = '70',`etd` = '2024-05-06',`create_date` = '2024-05-04 12:04:04',`modify_date` = '2024-05-04 15:48:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013533' and product_code = 'DG010404-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013613' and product_code = 'DG010101-01' 2024-05-04 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,'231596','8','S24050013613','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-04','2024-05-04 12:39:50','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231596',`firm_id` = '8',`ordernumber` = 'S24050013613', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-04',`create_date` = '2024-05-04 12:39:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013613' and product_code = 'DG010101-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013613' and product_code = 'DG010101-02' 2024-05-04 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,'231596','8','S24050013613','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-04','2024-05-04 12:39:50','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231596',`firm_id` = '8',`ordernumber` = 'S24050013613', `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-05-04',`create_date` = '2024-05-04 12:39:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013613' and product_code = 'DG010101-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013613' and product_code = 'DG010101-03' 2024-05-04 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,'231596','8','S24050013613','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-04','2024-05-04 12:39:50','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231596',`firm_id` = '8',`ordernumber` = 'S24050013613', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-04',`create_date` = '2024-05-04 12:39:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013613' and product_code = 'DG010101-03' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013613' and product_code = 'DG010101-04' 2024-05-04 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,'231596','8','S24050013613','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-04','2024-05-04 12:39:50','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231596',`firm_id` = '8',`ordernumber` = 'S24050013613', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`product_sn` = 'DG010101',`product_spec` = '單盒',`invoice_name` = '40入海苔蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-04',`create_date` = '2024-05-04 12:39:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013613' and product_code = 'DG010101-04' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013613' and product_code = 'DG010101-05' 2024-05-04 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,'231596','8','S24050013613','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-04','2024-05-04 12:39:50','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231596',`firm_id` = '8',`ordernumber` = 'S24050013613', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-04',`create_date` = '2024-05-04 12:39:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013613' and product_code = 'DG010101-05' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050013613' and product_code = 'DG010312-02' 2024-05-04 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,'231596','8','S24050013613','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-05-04','2024-05-04 12:39:50','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231596',`firm_id` = '8',`ordernumber` = 'S24050013613', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-05-04',`create_date` = '2024-05-04 12:39:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050013613' and product_code = 'DG010312-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013769' and product_code = 'DG010206-01' 2024-05-04 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,'231597','8','O24050013769','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2024-05-07','2024-05-04 14:42:49','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231597',`firm_id` = '8',`ordernumber` = 'O24050013769', `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` = '10',`total_price` = '2950',`etd` = '2024-05-07',`create_date` = '2024-05-04 14:42:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013769' and product_code = 'DG010206-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013857' and product_code = 'DG0103174-01' 2024-05-04 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,'231598','8','O24050013857','仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】','DG0103174-01','DG0103174','原味','禮盒-故宮(文物大盒款)【原味+故宮對杯組】','1100','1100','0','0','0','0','1','0.0','3','3300','2024-05-07','2024-05-04 16:10:09','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231598',`firm_id` = '8',`ordernumber` = 'O24050013857', `product_name` = '仙萼長春對杯8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG0103174-01',`product_sn` = 'DG0103174',`product_spec` = '原味',`invoice_name` = '禮盒-故宮(文物大盒款)【原味+故宮對杯組】',`listprice` = '1100',`sellingprice` = '1100',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '3300',`etd` = '2024-05-07',`create_date` = '2024-05-04 16:10:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013857' and product_code = 'DG0103174-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013857' and product_code = 'BP010166-01' 2024-05-04 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,'231598','8','O24050013857','[加購]加購-仙萼長春對杯組','BP010166-01','BP010166','-','加購-仙萼長春對杯組','850','850','1','1','850','0','0','0.0','1','850','2024-05-07','2024-05-04 16:10:09','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231598',`firm_id` = '8',`ordernumber` = 'O24050013857', `product_name` = '[加購]加購-仙萼長春對杯組',`product_code` = 'BP010166-01',`product_sn` = 'BP010166',`product_spec` = '-',`invoice_name` = '加購-仙萼長春對杯組',`listprice` = '850',`sellingprice` = '850',`isadd` = '1',`isbaby` = '1',`addprice` = '850',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '850',`etd` = '2024-05-07',`create_date` = '2024-05-04 16:10:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013857' and product_code = 'BP010166-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013857' and product_code = '13044' 2024-05-04 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,'231598','8','O24050013857','[加購]加購-香酥醬燒海苔(純素)','13044','13044','-','加購-香酥醬燒海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-05-07','2024-05-04 16:10:09','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231598',`firm_id` = '8',`ordernumber` = 'O24050013857', `product_name` = '[加購]加購-香酥醬燒海苔(純素)',`product_code` = '13044',`product_sn` = '13044',`product_spec` = '-',`invoice_name` = '加購-香酥醬燒海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-05-07',`create_date` = '2024-05-04 16:10:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013857' and product_code = '13044' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013857' and product_code = '13045' 2024-05-04 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,'231598','8','O24050013857','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-05-07','2024-05-04 16:10:09','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231598',`firm_id` = '8',`ordernumber` = 'O24050013857', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-05-07',`create_date` = '2024-05-04 16:10:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013857' and product_code = '13045' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013857' and product_code = 'BP010157-01' 2024-05-04 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,'231598','8','O24050013857','[加購]加購-SNOOPY心意提袋','BP010157-01','BP010157','-','加購-SNOOPY心意提袋','390','390','1','1','390','0','0','0.0','1','390','2024-05-07','2024-05-04 16:10:09','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231598',`firm_id` = '8',`ordernumber` = 'O24050013857', `product_name` = '[加購]加購-SNOOPY心意提袋',`product_code` = 'BP010157-01',`product_sn` = 'BP010157',`product_spec` = '-',`invoice_name` = '加購-SNOOPY心意提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-05-07',`create_date` = '2024-05-04 16:10:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013857' and product_code = 'BP010157-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050013998' and product_code = 'DG010312-02' 2024-05-04 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,'231599','8','O24050013998','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2024-05-06','2024-05-04 17:50:28','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231599',`firm_id` = '8',`ordernumber` = 'O24050013998', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-05-06',`create_date` = '2024-05-04 17:50:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050013998' and product_code = 'DG010312-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050014071' and product_code = '04191' 2024-05-04 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,'231600','8','S24050014071','加購-一口鳳梨酥','04191','04191','8入鳳梨酥','加購-(盒)鳳梨酥','155','155','0','0','0','1','1','0.0','19','2945','2024-05-06','2024-05-04 17:59:53','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231600',`firm_id` = '8',`ordernumber` = 'S24050014071', `product_name` = '加購-一口鳳梨酥',`product_code` = '04191',`product_sn` = '04191',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '2945',`etd` = '2024-05-06',`create_date` = '2024-05-04 17:59:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050014071' and product_code = '04191' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050014071' and product_code = 'FL010102-01' 2024-05-04 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,'231600','8','S24050014071','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','1','165','2024-05-06','2024-05-04 17:59:53','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231600',`firm_id` = '8',`ordernumber` = 'S24050014071', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '165',`etd` = '2024-05-06',`create_date` = '2024-05-04 17:59:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050014071' and product_code = 'FL010102-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24050014071' and product_code = 'BP010128-01' 2024-05-04 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,'231600','8','S24050014071','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','10','100','2024-05-06','2024-05-04 17:59:53','2024-05-04 23:59:06',0,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231600',`firm_id` = '8',`ordernumber` = 'S24050014071', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '100',`etd` = '2024-05-06',`create_date` = '2024-05-04 17:59:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'S24050014071' and product_code = 'BP010128-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014128' and product_code = 'DG0103148-02' 2024-05-04 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,'231601','8','O24050014128','金典8結禮盒','DG0103148-02','DG0103148','原味+芝麻','禮盒-金典(紅)【原味+芝麻】','480','480','0','0','0','0','1','0.0','2','960','2024-05-07','2024-05-04 19:00:56','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231601',`firm_id` = '8',`ordernumber` = 'O24050014128', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`product_sn` = 'DG0103148',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-金典(紅)【原味+芝麻】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-05-07',`create_date` = '2024-05-04 19:00:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014128' and product_code = 'DG0103148-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014281' and product_code = 'DG0103168-02' 2024-05-04 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,'231602','8','O24050014281','隨享唐寧茶禮盒','DG0103168-02','DG0103168','原味+芝麻','禮盒-隨享唐寧茶【原味+芝麻】+唐寧早餐茶+茶葉匙','880','880','0','0','0','0','1','0.0','2','1760','2024-05-06','2024-05-04 19:01:43','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231602',`firm_id` = '8',`ordernumber` = 'O24050014281', `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-02',`product_sn` = 'DG0103168',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-隨享唐寧茶【原味+芝麻】+唐寧早餐茶+茶葉匙',`listprice` = '880',`sellingprice` = '880',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1760',`etd` = '2024-05-06',`create_date` = '2024-05-04 19:01:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014281' and product_code = 'DG0103168-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014319' and product_code = 'DG010312-05' 2024-05-04 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,'231603','8','O24050014319','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2024-05-06','2024-05-04 19:53:23','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231603',`firm_id` = '8',`ordernumber` = 'O24050014319', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2024-05-06',`create_date` = '2024-05-04 19:53:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014319' and product_code = 'DG010312-05' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014418' and product_code = 'DG010527-02' 2024-05-04 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,'231604','8','O24050014418','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-09','2024-05-04 20:01:32','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231604',`firm_id` = '8',`ordernumber` = 'O24050014418', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-09',`create_date` = '2024-05-04 20:01:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014418' and product_code = 'DG010527-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014418' and product_code = 'DG010527-01' 2024-05-04 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,'231604','8','O24050014418','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-05-09','2024-05-04 20:01:32','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231604',`firm_id` = '8',`ordernumber` = 'O24050014418', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-05-09',`create_date` = '2024-05-04 20:01:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014418' and product_code = 'DG010527-01' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014583' and product_code = 'DG0103155-12' 2024-05-04 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,'231605','8','O24050014583','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-12','DG0103155','咖啡蛋捲,巧克力蛋捲','禮盒-SNOOPY【咖啡+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-05-06','2024-05-04 20:33:45','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231605',`firm_id` = '8',`ordernumber` = 'O24050014583', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-12',`product_sn` = 'DG0103155',`product_spec` = '咖啡蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【咖啡+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-06',`create_date` = '2024-05-04 20:33:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014583' and product_code = 'DG0103155-12' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014583' and product_code = 'DG0103155-09' 2024-05-04 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,'231605','8','O24050014583','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-09','DG0103155','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-05-06','2024-05-04 20:33:45','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231605',`firm_id` = '8',`ordernumber` = 'O24050014583', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-09',`product_sn` = 'DG0103155',`product_spec` = '芝麻蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-05-06',`create_date` = '2024-05-04 20:33:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014583' and product_code = 'DG0103155-09' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014583' and product_code = 'DG010312-05' 2024-05-04 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,'231605','8','O24050014583','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-05-06','2024-05-04 20:33:45','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231605',`firm_id` = '8',`ordernumber` = 'O24050014583', `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-05-06',`create_date` = '2024-05-04 20:33:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014583' and product_code = 'DG010312-05' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014583' and product_code = 'DG010312-02' 2024-05-04 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,'231605','8','O24050014583','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-05-06','2024-05-04 20:33:45','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231605',`firm_id` = '8',`ordernumber` = 'O24050014583', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-05-06',`create_date` = '2024-05-04 20:33:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014583' and product_code = 'DG010312-02' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014673' and product_code = '13660' 2024-05-04 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,'231606','8','O24050014673','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-05-06','2024-05-04 20:36:03','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231606',`firm_id` = '8',`ordernumber` = 'O24050014673', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-05-06',`create_date` = '2024-05-04 20:36:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014673' and product_code = '13660' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014673' and product_code = '13656' 2024-05-04 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,'231606','8','O24050014673','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-05-06','2024-05-04 20:36:03','2024-05-04 23:59:06',null,'1','2024-03-26') 2024-05-04 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231606',`firm_id` = '8',`ordernumber` = 'O24050014673', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-05-06',`create_date` = '2024-05-04 20:36:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014673' and product_code = '13656' 2024-05-04 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014673' and product_code = '13658' 2024-05-04 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,'231606','8','O24050014673','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-06','2024-05-04 20:36:03','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231606',`firm_id` = '8',`ordernumber` = 'O24050014673', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-06',`create_date` = '2024-05-04 20:36:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014673' and product_code = '13658' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014789' and product_code = 'DG010101-03' 2024-05-04 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,'231607','8','O24050014789','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-06','2024-05-04 21:03:27','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231607',`firm_id` = '8',`ordernumber` = 'O24050014789', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:03:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014789' and product_code = 'DG010101-03' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014789' and product_code = 'DG010101-05' 2024-05-04 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,'231607','8','O24050014789','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-06','2024-05-04 21:03:27','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231607',`firm_id` = '8',`ordernumber` = 'O24050014789', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:03:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014789' and product_code = 'DG010101-05' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014789' and product_code = 'DG010101-01' 2024-05-04 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,'231607','8','O24050014789','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-06','2024-05-04 21:03:27','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231607',`firm_id` = '8',`ordernumber` = 'O24050014789', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:03:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014789' and product_code = 'DG010101-01' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014828' and product_code = '13656' 2024-05-04 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,'231608','8','O24050014828','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-05-06','2024-05-04 21:33:48','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231608',`firm_id` = '8',`ordernumber` = 'O24050014828', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:33:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014828' and product_code = '13656' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014828' and product_code = '13660' 2024-05-04 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,'231608','8','O24050014828','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-05-06','2024-05-04 21:33:48','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231608',`firm_id` = '8',`ordernumber` = 'O24050014828', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`product_sn` = '13656',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '組合-40入巧克力+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:33:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014828' and product_code = '13660' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014828' and product_code = '13658' 2024-05-04 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,'231608','8','O24050014828','8結蛋捲【紅提袋裝】','13658','13656','40入咖啡蛋捲','組合-40入咖啡+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-05-06','2024-05-04 21:33:48','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231608',`firm_id` = '8',`ordernumber` = 'O24050014828', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`product_sn` = '13656',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '組合-40入咖啡+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:33:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014828' and product_code = '13658' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050014942' and product_code = 'DG010327-09' 2024-05-04 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,'231609','8','O24050014942','【小王子聯名】仰望星空8結禮盒 ','DG010327-09','DG010327','芝麻,巧克力','禮盒-小王子(藍)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-05-06','2024-05-04 21:46:56','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231609',`firm_id` = '8',`ordernumber` = 'O24050014942', `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` = '1',`total_price` = '500',`etd` = '2024-05-06',`create_date` = '2024-05-04 21:46:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050014942' and product_code = 'DG010327-09' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050015015' and product_code = 'DG010523-09' 2024-05-04 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,'231610','8','O24050015015','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-05-06','2024-05-04 22:37:54','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231610',`firm_id` = '8',`ordernumber` = 'O24050015015', `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-05-06',`create_date` = '2024-05-04 22:37:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050015015' and product_code = 'DG010523-09' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050015015' and product_code = 'DG010101-01' 2024-05-04 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,'231610','8','O24050015015','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-05-06','2024-05-04 22:37:54','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231610',`firm_id` = '8',`ordernumber` = 'O24050015015', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-05-06',`create_date` = '2024-05-04 22:37:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050015015' and product_code = 'DG010101-01' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050015015' and product_code = 'TG010118-01' 2024-05-04 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,'231610','8','O24050015015','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','1','290','2024-05-06','2024-05-04 22:37:54','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231610',`firm_id` = '8',`ordernumber` = 'O24050015015', `product_name` = '[加購]加購-南棗核桃糕分享包',`product_code` = 'TG010118-01',`product_sn` = 'TG010118',`product_spec` = '-',`invoice_name` = '加購-(紅袋)南棗核桃糕',`listprice` = '290',`sellingprice` = '290',`isadd` = '1',`isbaby` = '1',`addprice` = '290',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-05-06',`create_date` = '2024-05-04 22:37:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050015015' and product_code = 'TG010118-01' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24050015143' and product_code = 'DG0103155-05' 2024-05-04 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,'231611','8','O24050015143','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-05-06','2024-05-04 22:47:27','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '231611',`firm_id` = '8',`ordernumber` = 'O24050015143', `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` = '1',`total_price` = '500',`etd` = '2024-05-06',`create_date` = '2024-05-04 22:47:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-03-26'where ordernumber = 'O24050015143' and product_code = 'DG0103155-05' 2024-05-04 23:59:07 -- == sync_order_detail end == 2024-05-04 23:59:07 -- == sync_order start == 2024-05-04 23:59:07 -- start:2024-05-04,end:2024-05-04 2024-05-04 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-05-04%' OR l.modify_date like '2024-05-04%'; 2024-05-04 23:59:07 -- == sync omo_order_list == 2024-05-04 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '387642', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-03-24', invoice_status = '1', category_name = 'LINE@訂單,彌月試吃', category_id = '9,2' where ordernumber = 'M24050000913' 2024-05-04 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 ('111794','388240',2,'','','B24050002264','1','1','1','1','1','94021176','可鑫資本有限公司','0','0000-00-00','0','0','0','','0','30','6000','406','台中市','北屯區','406','台中市','北屯區','5970','2024-05-04 12:20:11','2024-03-26') 2024-05-04 23:59:07 -- == sync_order end == 2024-05-04 23:59:07 -- == sync_order_detail start == 2024-05-04 23:59:07 -- start:2024-05-04,end:2024-05-04 2024-05-04 23:59:07 -- == sync omo_order_detail == 2024-05-04 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-05-04%' OR modify_date like '2024-05-04%' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050000913' and product_code = 'DG010244-01' 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30970',`firm_id` = '11',`ordernumber` = 'M24050000913', `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-05-03',`create_date` = '2024-05-02 09:22:15',`modify_date` = '2024-05-04 15:29:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050000913' and product_code = 'DG010244-01', `lunar_date` = '2024-03-24' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24050000913' and product_code = 'DG010243-01' 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30970',`firm_id` = '11',`ordernumber` = 'M24050000913', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-05-03',`create_date` = '2024-05-02 09:22:15',`modify_date` = '2024-05-04 15:29:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24050000913' and product_code = 'DG010243-01', `lunar_date` = '2024-03-24' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050002264' and product_code = 'DG0103156-05' 2024-05-04 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, 2,'30986','8','B24050002264','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-05','DG0103156','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】','500','500','0','1','0','0','1','0.0','12','6000','2024-05-14','2024-05-04 12:20:11','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30986',`firm_id` = '8',`ordernumber` = 'B24050002264', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '6000',`etd` = '2024-05-14',`create_date` = '2024-05-04 12:20:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050002264' and product_code = 'DG0103156-05', `lunar_date` = '2024-03-26' 2024-05-04 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24050002264' and product_code = 'ZP010151-01' 2024-05-04 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, 2,'30986','8','B24050002264','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-05-14','2024-05-04 12:20:11','2024-05-04 23:59:07',null,'1','2024-03-26') 2024-05-04 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30986',`firm_id` = '8',`ordernumber` = 'B24050002264', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-05-14',`create_date` = '2024-05-04 12:20:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24050002264' and product_code = 'ZP010151-01', `lunar_date` = '2024-03-26' 2024-05-04 23:59:07 -- == sync_order_detail end == 2024-05-04 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-05-04' OR o.updated_at = '2024-05-04') and o.deleted_at is null 2024-05-04 23:59:08 -- == sync_order_detail start == 2024-05-04 23:59:08 -- start:2024-05-04,end:2024-05-04 2024-05-04 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-05-04 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-05-04 23:59:11 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-05-04%';