2024-10-13 23:59:02 -- == sync_order start == 2024-10-13 23:59:02 -- start:2024-10-13,end:2024-10-13 2024-10-13 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-10-13%' OR l.modify_date like '2024-10-13%'; 2024-10-13 23:59:03 -- == sync omo_order_list == 2024-10-13 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '423755', process_status = '1', pay_status = '8', totalprice_after = '10450', lunar_date = '2024-09-07', invoice_status = '1',category_name = ',101專櫃訂單', category_id = ',48' where ordernumber = 'S24100032724' 2024-10-13 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '353527', process_status = '3', pay_status = '1', totalprice_after = '13680', lunar_date = '2024-09-10', invoice_status = '1',category_name = '永康門市訂單', category_id = '31' where ordernumber = 'S24100039959' 2024-10-13 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 ('385170','421497',1,'','','O24100041696','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2300','326','桃園市','楊梅區','326','桃園市','楊梅區','2420','2024-10-13 00:18:30','2024-09-11') 2024-10-13 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 ('388461','424748',1,'','','O24100041794','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1860','300','新竹市','東區','300','新竹市','東區','1980','2024-10-13 07:29:48','2024-09-11') 2024-10-13 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 ('389367','425652',1,'','','O24100041879','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1490','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','1610','2024-10-13 08:50:32','2024-09-11') 2024-10-13 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 ('389370','425655',1,'','','O24100041954','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1980','406','台中市','北屯區','406','台中市','北屯區','2030','2024-10-13 09:47:39','2024-09-11') 2024-10-13 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 ('389374','425659',1,'','','O24100042076','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','565','360','苗栗縣','苗栗市','360','苗栗縣','苗栗市','685','2024-10-13 11:27:17','2024-09-11') 2024-10-13 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 ('389391','425676',1,'永康門市訂單','31','S24100042193','1','1','7','1','1','','','0','2024-10-14','0','0','0','','150','0','1730','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','1880','2024-10-13 11:54:11','2024-09-11') 2024-10-13 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 ('388218','424508',1,'','','O24100042276','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1370','721','台南市','麻豆區','721','台南市','麻豆區','1520','2024-10-13 12:53:31','2024-09-11') 2024-10-13 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 ('389408','425693',1,'','','O24100042396','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','220','新北市','板橋區','812','高雄市','小港區','1080','2024-10-13 12:57:21','2024-09-11') 2024-10-13 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 ('389410','425695',1,'','','O24100042420','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','560','633','雲林縣','土庫鎮','633','雲林縣','土庫鎮','710','2024-10-13 13:12:50','2024-09-11') 2024-10-13 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 ('389408','425693',1,'','','O24100042529','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1370','220','新北市','板橋區','649','雲林縣','二崙鄉','1520','2024-10-13 13:15:48','2024-09-11') 2024-10-13 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 ('389024','425307',1,'','','O24100042675','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1370','804','高雄市','鼓山區','804','高雄市','鼓山區','1490','2024-10-13 13:37:55','2024-09-11') 2024-10-13 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 ('125177','93822',1,'','','O24100042715','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','990','110','台北市','信義區','730','台南市','新營區','1140','2024-10-13 13:59:55','2024-09-11') 2024-10-13 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 ('389276','425561',1,'','','O24100042844','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1400','300','新竹市','東區','300','新竹市','東區','1520','2024-10-13 14:10:23','2024-09-11') 2024-10-13 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 ('389479','425763',1,'','','O24100042981','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1240','351','苗栗縣','頭份市','351','苗栗縣','頭份市','1360','2024-10-13 16:02:30','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389497','425780',1,'','','O24100043064','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','330','222','新北市','深坑區','222','新北市','深坑區','450','2024-10-13 16:43:47','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389500','425783',1,'','','O24100043127','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','770','231','新北市','新店區','231','新北市','新店區','890','2024-10-13 16:55:25','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('388895','425180',1,'','','O24100043255','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','100','1205','907','屏東縣','鹽埔鄉','907','屏東縣','鹽埔鄉','1255','2024-10-13 17:10:26','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('370324','406839',1,'','','O24100043345','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2880','826','高雄市','梓官區','826','高雄市','梓官區','3030','2024-10-13 17:19:58','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('370324','406839',1,'','','O24100043448','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2880','826','高雄市','梓官區','826','高雄市','梓官區','3030','2024-10-13 17:28:40','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('370324','406839',1,'','','O24100043545','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2880','826','高雄市','梓官區','821','高雄市','路竹區','3030','2024-10-13 17:41:22','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389520','425803',1,'','','O24100043624','1','11','1','1','1','','','0','0000-00-00','856','0','0','','0','30','17125','305','新竹縣','新埔鎮','305','新竹縣','新埔鎮','16239','2024-10-13 18:17:59','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('380791','417167',1,'','','O24100043710','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','5870','263','宜蘭縣','壯圍鄉','263','宜蘭縣','壯圍鄉','5870','2024-10-13 19:31:45','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('328882','365822',1,'','','O24100043823','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2400','320','桃園市','中壢區','320','桃園市','中壢區','2550','2024-10-13 19:52:31','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('328882','365822',1,'','','O24100043991','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2400','320','桃園市','中壢區','320','桃園市','中壢區','2550','2024-10-13 19:57:23','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('220741','236140',1,'','','O24100044025','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2250','334','桃園市','八德區','708','台南市','安平區','2400','2024-10-13 20:20:14','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389537','425820',1,'','','O24100044110','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1000','640','雲林縣','斗六市','640','雲林縣','斗六市','1050','2024-10-13 20:25:29','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389226','425511',1,'','','O24100044286','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','7050','242','新北市','新莊區','242','新北市','新莊區','7020','2024-10-13 21:01:31','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389541','425824',1,'','','O24100044341','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1430','330','桃園市','桃園區','330','桃園市','桃園區','1550','2024-10-13 21:07:26','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389546','425829',1,'','','O24100044416','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1610','300','新竹市','東區','300','新竹市','東區','1730','2024-10-13 21:31:18','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389540','425823',1,'','','O24100044593','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','2250','105','台北市','松山區','231','新北市','新店區','2400','2024-10-13 21:43:21','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('388979','425263',1,'','','O24100044643','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2255','722','台南市','佳里區','722','台南市','佳里區','2375','2024-10-13 22:29:38','2024-09-11') 2024-10-13 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('389364','425649',1,'','','O24100044790','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','11005','412','台中市','大里區','412','台中市','大里區','10975','2024-10-13 23:01:39','2024-09-11') 2024-10-13 23:59:04 -- == sync_order end == 2024-10-13 23:59:04 -- == sync_order_detail start == 2024-10-13 23:59:04 -- start:2024-10-13,end:2024-10-13 2024-10-13 23:59:04 -- == sync omo_order_detail == 2024-10-13 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-13%' OR modify_date like '2024-10-13%' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100032724' and product_code = 'DG010265-01' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249647',`firm_id` = '8',`ordernumber` = 'S24100032724', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-10-21',`create_date` = '2024-10-09 19:24:45',`modify_date` = '2024-10-13 18:56:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100032724' and product_code = 'DG010265-01' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100032724' and product_code = 'DG010265-02' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249647',`firm_id` = '8',`ordernumber` = 'S24100032724', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-02',`product_sn` = 'DG010265',`product_spec` = '芝麻',`invoice_name` = '提盒-SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2700',`etd` = '2024-10-21',`create_date` = '2024-10-09 19:24:45',`modify_date` = '2024-10-13 18:56:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100032724' and product_code = 'DG010265-02' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100032724' and product_code = 'DG010265-03' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249647',`firm_id` = '8',`ordernumber` = 'S24100032724', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-03',`product_sn` = 'DG010265',`product_spec` = '咖啡',`invoice_name` = '提盒-SNOOPY(粉)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-10-21',`create_date` = '2024-10-09 19:24:45',`modify_date` = '2024-10-13 18:56:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100032724' and product_code = 'DG010265-03' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100032724' and product_code = 'DG010265-04' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249647',`firm_id` = '8',`ordernumber` = 'S24100032724', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-04',`product_sn` = 'DG010265',`product_spec` = '海苔',`invoice_name` = '提盒-SNOOPY(粉)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-10-21',`create_date` = '2024-10-09 19:24:45',`modify_date` = '2024-10-13 18:56:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100032724' and product_code = 'DG010265-04' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100032724' and product_code = 'DG010265-05' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249647',`firm_id` = '8',`ordernumber` = 'S24100032724', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-05',`product_sn` = 'DG010265',`product_spec` = '巧克力',`invoice_name` = '提盒-SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3900',`etd` = '2024-10-21',`create_date` = '2024-10-09 19:24:45',`modify_date` = '2024-10-13 18:56:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100032724' and product_code = 'DG010265-05' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100032724' and product_code = 'DG0103188-11' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249647',`firm_id` = '8',`ordernumber` = 'S24100032724', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-11',`product_sn` = 'DG0103188',`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-10-21',`create_date` = '2024-10-09 19:24:45',`modify_date` = '2024-10-13 18:56:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100032724' and product_code = 'DG0103188-11' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100039959' and product_code = 'DG010312-03' 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249720',`firm_id` = '8',`ordernumber` = 'S24100039959', `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` = '30',`total_price` = '14400',`etd` = '2024-10-13',`create_date` = '2024-10-12 12:11:01',`modify_date` = '2024-10-13 15:33:03',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-10'where ordernumber = 'S24100039959' and product_code = 'DG010312-03' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041696' and product_code = 'DG0105135-05' 2024-10-13 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,'249737','8','O24100041696','【官網限定】澎派蛋捲10入組','DG0105135-05','DG0105135','原味x5+阿薩姆紅茶x5','組合-32入(原味x5+阿薩姆紅茶x5)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-16','2024-10-13 00:18:30','2024-10-13 23:59:05',null,'1','2024-09-11') 2024-10-13 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249737',`firm_id` = '8',`ordernumber` = 'O24100041696', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-05',`product_sn` = 'DG0105135',`product_spec` = '原味x5+阿薩姆紅茶x5',`invoice_name` = '組合-32入(原味x5+阿薩姆紅茶x5)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-16',`create_date` = '2024-10-13 00:18:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041696' and product_code = 'DG0105135-05' 2024-10-13 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041696' and product_code = 'DG010404-01' 2024-10-13 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,'249737','8','O24100041696','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','3','30','2024-10-16','2024-10-13 00:18:30','2024-10-13 23:59:05',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249737',`firm_id` = '8',`ordernumber` = 'O24100041696', `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` = '3',`total_price` = '30',`etd` = '2024-10-16',`create_date` = '2024-10-13 00:18:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041696' and product_code = 'DG010404-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041696' and product_code = 'BP010128-01' 2024-10-13 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,'249737','8','O24100041696','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','2','20','2024-10-16','2024-10-13 00:18:30','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249737',`firm_id` = '8',`ordernumber` = 'O24100041696', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2024-10-16',`create_date` = '2024-10-13 00:18:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041696' and product_code = 'BP010128-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041794' and product_code = 'DG010312-07' 2024-10-13 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,'249738','8','O24100041794','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-15','2024-10-13 07:29:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249738',`firm_id` = '8',`ordernumber` = 'O24100041794', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-15',`create_date` = '2024-10-13 07:29:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041794' and product_code = 'DG010312-07' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041794' and product_code = 'DG010312-14' 2024-10-13 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,'249738','8','O24100041794','【海苔+巧克力】金8結禮盒','DG010312-14','DG010312','金8結盒','禮盒-金8結【海苔+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-15','2024-10-13 07:29:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249738',`firm_id` = '8',`ordernumber` = 'O24100041794', `product_name` = '【海苔+巧克力】金8結禮盒',`product_code` = 'DG010312-14',`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-10-15',`create_date` = '2024-10-13 07:29:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041794' and product_code = 'DG010312-14' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041794' and product_code = 'FL010103-01' 2024-10-13 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,'249738','8','O24100041794','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','1','185','2024-10-15','2024-10-13 07:29:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249738',`firm_id` = '8',`ordernumber` = 'O24100041794', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '185',`etd` = '2024-10-15',`create_date` = '2024-10-13 07:29:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041794' and product_code = 'FL010103-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041794' and product_code = 'FL010104-01' 2024-10-13 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,'249738','8','O24100041794','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','1','155','2024-10-15','2024-10-13 07:29:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249738',`firm_id` = '8',`ordernumber` = 'O24100041794', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '155',`etd` = '2024-10-15',`create_date` = '2024-10-13 07:29:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041794' and product_code = 'FL010104-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041794' and product_code = 'TG010118-01' 2024-10-13 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,'249738','8','O24100041794','[加購]加購-南棗核桃糕分享包','TG010118-01','TG010118','-','加購-(紅袋)南棗核桃糕','290','290','1','1','290','0','0','0.0','1','290','2024-10-15','2024-10-13 07:29:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249738',`firm_id` = '8',`ordernumber` = 'O24100041794', `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-10-15',`create_date` = '2024-10-13 07:29:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041794' and product_code = 'TG010118-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041794' and product_code = 'GG010106-01' 2024-10-13 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,'249738','8','O24100041794','[加購]加購-義式皇家黑松露夏威夷果','GG010106-01','GG010106','-','加購-(盒)堅果【夏威夷果】','270','270','1','1','270','0','0','0.0','1','270','2024-10-15','2024-10-13 07:29:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249738',`firm_id` = '8',`ordernumber` = 'O24100041794', `product_name` = '[加購]加購-義式皇家黑松露夏威夷果',`product_code` = 'GG010106-01',`product_sn` = 'GG010106',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【夏威夷果】',`listprice` = '270',`sellingprice` = '270',`isadd` = '1',`isbaby` = '1',`addprice` = '270',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-10-15',`create_date` = '2024-10-13 07:29:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041794' and product_code = 'GG010106-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041879' and product_code = 'DG0105103-03' 2024-10-13 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,'249739','8','O24100041879','SNOOPY美好心意-蛋捲三入組','DG0105103-03','DG0105103','原味+原味+咖啡','組合-32入(原味+原味+咖啡)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-17','2024-10-13 08:50:32','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249739',`firm_id` = '8',`ordernumber` = 'O24100041879', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-03',`product_sn` = 'DG0105103',`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-10-17',`create_date` = '2024-10-13 08:50:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041879' and product_code = 'DG0105103-03' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041879' and product_code = 'BP010185-01' 2024-10-13 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,'249739','8','O24100041879','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-17','2024-10-13 08:50:32','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249739',`firm_id` = '8',`ordernumber` = 'O24100041879', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-17',`create_date` = '2024-10-13 08:50:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041879' and product_code = 'BP010185-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041879' and product_code = 'BP010188-01' 2024-10-13 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,'249739','8','O24100041879','[加購]加購-SNOOPY面紙套','BP010188-01','BP010188','-','加購-SNOOPY面紙套','250','250','1','1','250','0','0','0.0','1','250','2024-10-17','2024-10-13 08:50:32','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249739',`firm_id` = '8',`ordernumber` = 'O24100041879', `product_name` = '[加購]加購-SNOOPY面紙套',`product_code` = 'BP010188-01',`product_sn` = 'BP010188',`product_spec` = '-',`invoice_name` = '加購-SNOOPY面紙套',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-17',`create_date` = '2024-10-13 08:50:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041879' and product_code = 'BP010188-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041954' and product_code = 'DG010347-01' 2024-10-13 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,'249740','8','O24100041954','六月初一&成真咖啡禮盒','DG010347-01','DG010347','原味蛋捲+6入咖啡','禮盒-ESG藍金【原味+成真咖啡】','495','495','0','0','0','0','1','0.0','1','495','2024-10-15','2024-10-13 09:47:39','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249740',`firm_id` = '8',`ordernumber` = 'O24100041954', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-01',`product_sn` = 'DG010347',`product_spec` = '原味蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【原味+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-10-15',`create_date` = '2024-10-13 09:47:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041954' and product_code = 'DG010347-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041954' and product_code = 'DG010347-03' 2024-10-13 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,'249740','8','O24100041954','六月初一&成真咖啡禮盒','DG010347-03','DG010347','咖啡蛋捲+6入咖啡','禮盒-ESG藍金【咖啡+成真咖啡】','495','495','0','0','0','0','1','0.0','1','495','2024-10-15','2024-10-13 09:47:39','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249740',`firm_id` = '8',`ordernumber` = 'O24100041954', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-03',`product_sn` = 'DG010347',`product_spec` = '咖啡蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【咖啡+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-10-15',`create_date` = '2024-10-13 09:47:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041954' and product_code = 'DG010347-03' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041954' and product_code = 'DG010347-04' 2024-10-13 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,'249740','8','O24100041954','六月初一&成真咖啡禮盒','DG010347-04','DG010347','海苔蛋捲+6入咖啡','禮盒-ESG藍金【海苔+成真咖啡】','495','495','0','0','0','0','1','0.0','1','495','2024-10-15','2024-10-13 09:47:39','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249740',`firm_id` = '8',`ordernumber` = 'O24100041954', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-04',`product_sn` = 'DG010347',`product_spec` = '海苔蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【海苔+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-10-15',`create_date` = '2024-10-13 09:47:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041954' and product_code = 'DG010347-04' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100041954' and product_code = 'DG010347-02' 2024-10-13 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,'249740','8','O24100041954','六月初一&成真咖啡禮盒','DG010347-02','DG010347','芝麻蛋捲+6入咖啡','禮盒-ESG藍金【芝麻+成真咖啡】','495','495','0','0','0','0','1','0.0','1','495','2024-10-15','2024-10-13 09:47:39','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249740',`firm_id` = '8',`ordernumber` = 'O24100041954', `product_name` = '六月初一&成真咖啡禮盒',`product_code` = 'DG010347-02',`product_sn` = 'DG010347',`product_spec` = '芝麻蛋捲+6入咖啡',`invoice_name` = '禮盒-ESG藍金【芝麻+成真咖啡】',`listprice` = '495',`sellingprice` = '495',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '495',`etd` = '2024-10-15',`create_date` = '2024-10-13 09:47:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100041954' and product_code = 'DG010347-02' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042076' and product_code = 'DG0105122-01' 2024-10-13 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,'249741','8','O24100042076','【期間限定】復古紅提袋綜合組(32入蛋捲+一口酥+復古提袋)','DG0105122-01','DG0105122','原味+(盒)鳳梨酥+復古紅提袋','組合-32入原味+(盒)鳳梨酥+[復古]提袋','565','565','0','0','0','1','1','0.0','1','565','2024-10-15','2024-10-13 11:27:17','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249741',`firm_id` = '8',`ordernumber` = 'O24100042076', `product_name` = '【期間限定】復古紅提袋綜合組(32入蛋捲+一口酥+復古提袋)',`product_code` = 'DG0105122-01',`product_sn` = 'DG0105122',`product_spec` = '原味+(盒)鳳梨酥+復古紅提袋',`invoice_name` = '組合-32入原味+(盒)鳳梨酥+[復古]提袋',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '565',`etd` = '2024-10-15',`create_date` = '2024-10-13 11:27:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042076' and product_code = 'DG0105122-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100042193' and product_code = 'DG010101-01' 2024-10-13 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,'249742','8','S24100042193','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-14','2024-10-13 11:54:11','2024-10-13 23:59:06',0,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249742',`firm_id` = '8',`ordernumber` = 'S24100042193', `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-10-14',`create_date` = '2024-10-13 11:54:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'S24100042193' and product_code = 'DG010101-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100042193' and product_code = 'DG010101-02' 2024-10-13 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,'249742','8','S24100042193','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-10-14','2024-10-13 11:54:11','2024-10-13 23:59:06',0,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249742',`firm_id` = '8',`ordernumber` = 'S24100042193', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2024-10-14',`create_date` = '2024-10-13 11:54:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'S24100042193' and product_code = 'DG010101-02' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100042193' and product_code = 'DG010101-05' 2024-10-13 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,'249742','8','S24100042193','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-10-14','2024-10-13 11:54:11','2024-10-13 23:59:06',0,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249742',`firm_id` = '8',`ordernumber` = 'S24100042193', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-10-14',`create_date` = '2024-10-13 11:54:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'S24100042193' and product_code = 'DG010101-05' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100042193' and product_code = 'BP010128-01' 2024-10-13 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,'249742','8','S24100042193','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','5','50','2024-10-14','2024-10-13 11:54:11','2024-10-13 23:59:06',0,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249742',`firm_id` = '8',`ordernumber` = 'S24100042193', `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` = '5',`total_price` = '50',`etd` = '2024-10-14',`create_date` = '2024-10-13 11:54:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'S24100042193' and product_code = 'BP010128-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042276' and product_code = 'DG0105127-01' 2024-10-13 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,'249743','8','O24100042276','【官網限定】熱銷蛋捲6入組','DG0105127-01','DG0105127','原味x6+紅色提袋x2','組合-32入(原味x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-15','2024-10-13 12:53:31','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249743',`firm_id` = '8',`ordernumber` = 'O24100042276', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-01',`product_sn` = 'DG0105127',`product_spec` = '原味x6+紅色提袋x2',`invoice_name` = '組合-32入(原味x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-15',`create_date` = '2024-10-13 12:53:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042276' and product_code = 'DG0105127-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042396' and product_code = 'DG010107-01' 2024-10-13 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,'249744','8','O24100042396','【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','1','1','0.0','2','480','2024-10-15','2024-10-13 12:57:21','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249744',`firm_id` = '8',`ordernumber` = 'O24100042396', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '480',`etd` = '2024-10-15',`create_date` = '2024-10-13 12:57:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042396' and product_code = 'DG010107-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042396' and product_code = 'DG010312-05' 2024-10-13 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,'249744','8','O24100042396','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-15','2024-10-13 12:57:21','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249744',`firm_id` = '8',`ordernumber` = 'O24100042396', `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-10-15',`create_date` = '2024-10-13 12:57:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042396' and product_code = 'DG010312-05' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042420' and product_code = 'DG010101-03' 2024-10-13 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,'249745','8','O24100042420','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-10-15','2024-10-13 13:12:50','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249745',`firm_id` = '8',`ordernumber` = 'O24100042420', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-10-15',`create_date` = '2024-10-13 13:12:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042420' and product_code = 'DG010101-03' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042529' and product_code = 'DG0105127-71' 2024-10-13 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,'249746','8','O24100042529','【官網限定】熱銷蛋捲6入組','DG0105127-71','DG0105127','原味x2+芝麻x2+阿薩姆紅茶x2+紅色提袋x2','組合-32入(原味x2+芝麻x2+阿薩姆紅茶x2)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-15','2024-10-13 13:15:48','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249746',`firm_id` = '8',`ordernumber` = 'O24100042529', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-71',`product_sn` = 'DG0105127',`product_spec` = '原味x2+芝麻x2+阿薩姆紅茶x2+紅色提袋x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+阿薩姆紅茶x2)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-15',`create_date` = '2024-10-13 13:15:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042529' and product_code = 'DG0105127-71' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042675' and product_code = 'DG0105127-01' 2024-10-13 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,'249747','8','O24100042675','【官網限定】熱銷蛋捲6入組','DG0105127-01','DG0105127','原味x6+紅色提袋x2','組合-32入(原味x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-15','2024-10-13 13:37:55','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249747',`firm_id` = '8',`ordernumber` = 'O24100042675', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-01',`product_sn` = 'DG0105127',`product_spec` = '原味x6+紅色提袋x2',`invoice_name` = '組合-32入(原味x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-15',`create_date` = '2024-10-13 13:37:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042675' and product_code = 'DG0105127-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042715' and product_code = 'DG0105103-07' 2024-10-13 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,'249748','8','O24100042715','SNOOPY美好心意-蛋捲三入組','DG0105103-07','DG0105103','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-15','2024-10-13 13:59:55','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249748',`firm_id` = '8',`ordernumber` = 'O24100042715', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-07',`product_sn` = 'DG0105103',`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-10-15',`create_date` = '2024-10-13 13:59:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042715' and product_code = 'DG0105103-07' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042844' and product_code = 'DG010101-03' 2024-10-13 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,'249749','8','O24100042844','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-15','2024-10-13 14:10:23','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249749',`firm_id` = '8',`ordernumber` = 'O24100042844', `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-10-15',`create_date` = '2024-10-13 14:10:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042844' and product_code = 'DG010101-03' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042844' and product_code = 'DG010101-05' 2024-10-13 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,'249749','8','O24100042844','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-15','2024-10-13 14:10:23','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249749',`firm_id` = '8',`ordernumber` = 'O24100042844', `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-10-15',`create_date` = '2024-10-13 14:10:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042844' and product_code = 'DG010101-05' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042844' and product_code = 'DG010226-01' 2024-10-13 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,'249749','8','O24100042844','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-01','DG010226','40入原味蛋捲','提盒-故宮(文物款)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-10-15','2024-10-13 14:10:23','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249749',`firm_id` = '8',`ordernumber` = 'O24100042844', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-01',`product_sn` = 'DG010226',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-15',`create_date` = '2024-10-13 14:10:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042844' and product_code = 'DG010226-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042844' and product_code = 'DG010107-01' 2024-10-13 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,'249749','8','O24100042844','【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','1','1','0.0','1','240','2024-10-15','2024-10-13 14:10:23','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249749',`firm_id` = '8',`ordernumber` = 'O24100042844', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '240',`etd` = '2024-10-15',`create_date` = '2024-10-13 14:10:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042844' and product_code = 'DG010107-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042844' and product_code = 'ZS010201-02' 2024-10-13 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,'249749','8','O24100042844','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-10-15','2024-10-13 14:10:23','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249749',`firm_id` = '8',`ordernumber` = 'O24100042844', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-15',`create_date` = '2024-10-13 14:10:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042844' and product_code = 'ZS010201-02' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042981' and product_code = 'DG010312-03' 2024-10-13 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,'249750','8','O24100042981','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-15','2024-10-13 16:02:30','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249750',`firm_id` = '8',`ordernumber` = 'O24100042981', `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-10-15',`create_date` = '2024-10-13 16:02:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042981' and product_code = 'DG010312-03' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042981' and product_code = 'DG010312-12' 2024-10-13 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,'249750','8','O24100042981','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-15','2024-10-13 16:02:30','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249750',`firm_id` = '8',`ordernumber` = 'O24100042981', `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-10-15',`create_date` = '2024-10-13 16:02:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042981' and product_code = 'DG010312-12' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100042981' and product_code = 'TG010115-01' 2024-10-13 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,'249750','8','O24100042981','[加購]加購-黑曜芝麻糕(盒裝12入)','TG010115-01','TG010115','-','加購-(盒)芝麻糕','140','140','1','1','140','0','0','0.0','2','280','2024-10-15','2024-10-13 16:02:30','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249750',`firm_id` = '8',`ordernumber` = 'O24100042981', `product_name` = '[加購]加購-黑曜芝麻糕(盒裝12入)',`product_code` = 'TG010115-01',`product_sn` = 'TG010115',`product_spec` = '-',`invoice_name` = '加購-(盒)芝麻糕',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '280',`etd` = '2024-10-15',`create_date` = '2024-10-13 16:02:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100042981' and product_code = 'TG010115-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043064' and product_code = 'FL010102-01' 2024-10-13 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,'249751','8','O24100043064','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','165','165','0','0','0','0','1','130.0','2','330','2024-10-15','2024-10-13 16:43:47','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249751',`firm_id` = '8',`ordernumber` = 'O24100043064', `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` = '2',`total_price` = '330',`etd` = '2024-10-15',`create_date` = '2024-10-13 16:43:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043064' and product_code = 'FL010102-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043127' and product_code = 'DG010527-01' 2024-10-13 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,'249752','8','O24100043127','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-10-22','2024-10-13 16:55:25','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249752',`firm_id` = '8',`ordernumber` = 'O24100043127', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-10-22',`create_date` = '2024-10-13 16:55:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043127' and product_code = 'DG010527-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043127' and product_code = 'DG010312-05' 2024-10-13 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,'249752','8','O24100043127','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-22','2024-10-13 16:55:25','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249752',`firm_id` = '8',`ordernumber` = 'O24100043127', `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-10-22',`create_date` = '2024-10-13 16:55:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043127' and product_code = 'DG010312-05' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043255' and product_code = 'DG0103165-01' 2024-10-13 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,'249753','8','O24100043255','金典8結黑松露堅果禮盒','DG0103165-01','12529','原味蛋捲,黑松露腰果','禮盒-金典(紅)【原味+腰果提盒】','1205','1205','0','0','0','0','1','0.0','1','1205','2024-11-29','2024-10-13 17:10:26','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249753',`firm_id` = '8',`ordernumber` = 'O24100043255', `product_name` = '金典8結黑松露堅果禮盒',`product_code` = 'DG0103165-01',`product_sn` = '12529',`product_spec` = '原味蛋捲,黑松露腰果',`invoice_name` = '禮盒-金典(紅)【原味+腰果提盒】',`listprice` = '1205',`sellingprice` = '1205',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1205',`etd` = '2024-11-29',`create_date` = '2024-10-13 17:10:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043255' and product_code = 'DG0103165-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043345' and product_code = 'DG010107-01' 2024-10-13 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,'249754','8','O24100043345','【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','1','1','0.0','12','2880','2024-10-15','2024-10-13 17:19:58','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249754',`firm_id` = '8',`ordernumber` = 'O24100043345', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '2880',`etd` = '2024-10-15',`create_date` = '2024-10-13 17:19:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043345' and product_code = 'DG010107-01' 2024-10-13 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043448' and product_code = 'DG010107-01' 2024-10-13 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,'249755','8','O24100043448','【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','1','1','0.0','12','2880','2024-10-15','2024-10-13 17:28:40','2024-10-13 23:59:06',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249755',`firm_id` = '8',`ordernumber` = 'O24100043448', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '2880',`etd` = '2024-10-15',`create_date` = '2024-10-13 17:28:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043448' and product_code = 'DG010107-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043545' and product_code = 'DG010107-01' 2024-10-13 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,'249756','8','O24100043545','【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','1','1','0.0','12','2880','2024-10-15','2024-10-13 17:41:22','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249756',`firm_id` = '8',`ordernumber` = 'O24100043545', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '2880',`etd` = '2024-10-15',`create_date` = '2024-10-13 17:41:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043545' and product_code = 'DG010107-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043624' and product_code = 'DG0103182-14' 2024-10-13 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,'249757','8','O24100043624','金巧8結禮盒','DG0103182-14','DG0103182','原味,鳳梨酥,無籽梅肉','禮盒-金巧8結【(原味)-鳳梨酥+無籽梅肉】','685','685','0','0','0','0','1','0.0','25','17125','2024-11-29','2024-10-13 18:17:59','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249757',`firm_id` = '8',`ordernumber` = 'O24100043624', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-14',`product_sn` = 'DG0103182',`product_spec` = '原味,鳳梨酥,無籽梅肉',`invoice_name` = '禮盒-金巧8結【(原味)-鳳梨酥+無籽梅肉】',`listprice` = '685',`sellingprice` = '685',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '25',`total_price` = '17125',`etd` = '2024-11-29',`create_date` = '2024-10-13 18:17:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043624' and product_code = 'DG0103182-14' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043624' and product_code = 'ZP010525-01' 2024-10-13 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,'249757','8','O24100043624','贈品-南棗核桃糕分享包x4','ZP010525-01','ZP010525','一組','贈品-(紅袋)南棗核桃糕x4','0','0','0','0','0','0','1','0.0','1','0','2024-11-29','2024-10-13 18:17:59','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249757',`firm_id` = '8',`ordernumber` = 'O24100043624', `product_name` = '贈品-南棗核桃糕分享包x4',`product_code` = 'ZP010525-01',`product_sn` = 'ZP010525',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕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-11-29',`create_date` = '2024-10-13 18:17:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043624' and product_code = 'ZP010525-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043710' and product_code = 'DG0105135-10' 2024-10-13 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,'249758','8','O24100043710','【官網限定】澎派蛋捲10入組','DG0105135-10','DG0105135','原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2','組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-15','2024-10-13 19:31:45','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249758',`firm_id` = '8',`ordernumber` = 'O24100043710', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-10',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-15',`create_date` = '2024-10-13 19:31:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043710' and product_code = 'DG0105135-10' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043710' and product_code = 'DG0105135-03' 2024-10-13 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,'249758','8','O24100043710','【官網限定】澎派蛋捲10入組','DG0105135-03','DG0105135','原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-15','2024-10-13 19:31:45','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249758',`firm_id` = '8',`ordernumber` = 'O24100043710', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-03',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-15',`create_date` = '2024-10-13 19:31:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043710' and product_code = 'DG0105135-03' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043710' and product_code = 'DG0105127-305' 2024-10-13 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,'249758','8','O24100043710','【官網限定】熱銷蛋捲6入組','DG0105127-305','DG0105127','芝麻x2+咖啡+巧克力x2+阿薩姆紅茶+紅色提袋x2','組合-32入(芝麻x2+咖啡x1+巧克力x2+阿薩姆紅茶x1)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-15','2024-10-13 19:31:45','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249758',`firm_id` = '8',`ordernumber` = 'O24100043710', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-305',`product_sn` = 'DG0105127',`product_spec` = '芝麻x2+咖啡+巧克力x2+阿薩姆紅茶+紅色提袋x2',`invoice_name` = '組合-32入(芝麻x2+咖啡x1+巧克力x2+阿薩姆紅茶x1)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-15',`create_date` = '2024-10-13 19:31:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043710' and product_code = 'DG0105127-305' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043710' and product_code = 'ZP010146-01' 2024-10-13 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,'249758','8','O24100043710','贈品-南棗核桃糕分享包','ZP010146-01','ZP010146','一組','贈品-(紅袋)南棗核桃糕','0','0','0','0','0','0','1','0.0','1','0','2024-10-15','2024-10-13 19:31:45','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249758',`firm_id` = '8',`ordernumber` = 'O24100043710', `product_name` = '贈品-南棗核桃糕分享包',`product_code` = 'ZP010146-01',`product_sn` = 'ZP010146',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕',`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-10-15',`create_date` = '2024-10-13 19:31:45',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043710' and product_code = 'ZP010146-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043823' and product_code = 'DG010312-03' 2024-10-13 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,'249759','8','O24100043823','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','5','2400','2024-10-18','2024-10-13 19:52:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249759',`firm_id` = '8',`ordernumber` = 'O24100043823', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '5',`total_price` = '2400',`etd` = '2024-10-18',`create_date` = '2024-10-13 19:52:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043823' and product_code = 'DG010312-03' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100043991' and product_code = 'DG010312-03' 2024-10-13 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,'249760','8','O24100043991','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','5','2400','2024-10-18','2024-10-13 19:57:23','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249760',`firm_id` = '8',`ordernumber` = 'O24100043991', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '5',`total_price` = '2400',`etd` = '2024-10-18',`create_date` = '2024-10-13 19:57:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100043991' and product_code = 'DG010312-03' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044025' and product_code = 'DG0105135-01' 2024-10-13 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,'249761','8','O24100044025','【官網限定】澎派蛋捲10入組','DG0105135-01','DG0105135','原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-15','2024-10-13 20:20:14','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249761',`firm_id` = '8',`ordernumber` = 'O24100044025', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-01',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-15',`create_date` = '2024-10-13 20:20:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044025' and product_code = 'DG0105135-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044110' and product_code = 'DG0103188-06' 2024-10-13 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,'249762','8','O24100044110','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-06','DG0103188','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY(橘)【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2024-10-15','2024-10-13 20:25:29','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249762',`firm_id` = '8',`ordernumber` = 'O24100044110', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-06',`product_sn` = 'DG0103188',`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-10-15',`create_date` = '2024-10-13 20:25:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044110' and product_code = 'DG0103188-06' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044110' and product_code = 'DG0103188-09' 2024-10-13 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,'249762','8','O24100044110','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-10-15','2024-10-13 20:25:29','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249762',`firm_id` = '8',`ordernumber` = 'O24100044110', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`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-10-15',`create_date` = '2024-10-13 20:25:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044110' and product_code = 'DG0103188-09' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044286' and product_code = 'DG0105135-01' 2024-10-13 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,'249763','8','O24100044286','【官網限定】澎派蛋捲10入組','DG0105135-01','DG0105135','原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-18','2024-10-13 21:01:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249763',`firm_id` = '8',`ordernumber` = 'O24100044286', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-01',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡+海苔+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:01:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044286' and product_code = 'DG0105135-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044286' and product_code = 'DG0105135-02' 2024-10-13 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,'249763','8','O24100044286','【官網限定】澎派蛋捲10入組','DG0105135-02','DG0105135','原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-18','2024-10-13 21:01:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249763',`firm_id` = '8',`ordernumber` = 'O24100044286', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-02',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:01:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044286' and product_code = 'DG0105135-02' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044286' and product_code = 'DG0105135-03' 2024-10-13 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,'249763','8','O24100044286','【官網限定】澎派蛋捲10入組','DG0105135-03','DG0105135','原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-18','2024-10-13 21:01:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249763',`firm_id` = '8',`ordernumber` = 'O24100044286', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-03',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻+咖啡x2+海苔+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:01:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044286' and product_code = 'DG0105135-03' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044286' and product_code = 'BP010128-01' 2024-10-13 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,'249763','8','O24100044286','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','15','150','2024-10-18','2024-10-13 21:01:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249763',`firm_id` = '8',`ordernumber` = 'O24100044286', `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` = '15',`total_price` = '150',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:01:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044286' and product_code = 'BP010128-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044286' and product_code = 'DG010404-01' 2024-10-13 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,'249763','8','O24100044286','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','15','150','2024-10-18','2024-10-13 21:01:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249763',`firm_id` = '8',`ordernumber` = 'O24100044286', `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` = '15',`total_price` = '150',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:01:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044286' and product_code = 'DG010404-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044286' and product_code = 'ZP010523-01' 2024-10-13 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,'249763','8','O24100044286','贈品-南棗核桃糕分享包x2','ZP010523-01','ZP010523','一組','贈品-(紅袋)南棗核桃糕x2','0','0','0','0','0','0','1','0.0','1','0','2024-10-18','2024-10-13 21:01:31','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249763',`firm_id` = '8',`ordernumber` = 'O24100044286', `product_name` = '贈品-南棗核桃糕分享包x2',`product_code` = 'ZP010523-01',`product_sn` = 'ZP010523',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕x2',`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-10-18',`create_date` = '2024-10-13 21:01:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044286' and product_code = 'ZP010523-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044341' and product_code = '13656' 2024-10-13 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,'249764','8','O24100044341','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-10-18','2024-10-13 21:07:26','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249764',`firm_id` = '8',`ordernumber` = 'O24100044341', `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-10-18',`create_date` = '2024-10-13 21:07:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044341' and product_code = '13656' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044341' and product_code = '13657' 2024-10-13 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,'249764','8','O24100044341','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-10-18','2024-10-13 21:07:26','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249764',`firm_id` = '8',`ordernumber` = 'O24100044341', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:07:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044341' and product_code = '13657' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044341' and product_code = 'GG010110-01' 2024-10-13 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,'249764','8','O24100044341','手工腰果脆糖分享包','GG010110-01','GG010110','一組','手工腰果脆糖100g','270','270','0','0','0','0','1','0.0','1','270','2024-10-18','2024-10-13 21:07:26','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249764',`firm_id` = '8',`ordernumber` = 'O24100044341', `product_name` = '手工腰果脆糖分享包',`product_code` = 'GG010110-01',`product_sn` = 'GG010110',`product_spec` = '一組',`invoice_name` = '手工腰果脆糖100g',`listprice` = '270',`sellingprice` = '270',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-10-18',`create_date` = '2024-10-13 21:07:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044341' and product_code = 'GG010110-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044416' and product_code = 'DG010314-01' 2024-10-13 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,'249765','8','O24100044416','金8結隨行醇蜜禮盒','DG010314-01','DG010314','原味蛋捲+隨行瓶','禮盒-金8結【原味+隨行醇蜜】','565','565','0','0','0','0','1','565.0','2','1130','2024-10-15','2024-10-13 21:31:18','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249765',`firm_id` = '8',`ordernumber` = 'O24100044416', `product_name` = '金8結隨行醇蜜禮盒',`product_code` = 'DG010314-01',`product_sn` = 'DG010314',`product_spec` = '原味蛋捲+隨行瓶',`invoice_name` = '禮盒-金8結【原味+隨行醇蜜】',`listprice` = '565',`sellingprice` = '565',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '565.0',`amount` = '2',`total_price` = '1130',`etd` = '2024-10-15',`create_date` = '2024-10-13 21:31:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044416' and product_code = 'DG010314-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044416' and product_code = 'DG010312-03' 2024-10-13 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,'249765','8','O24100044416','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2024-10-15','2024-10-13 21:31:18','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249765',`firm_id` = '8',`ordernumber` = 'O24100044416', `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-10-15',`create_date` = '2024-10-13 21:31:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044416' and product_code = 'DG010312-03' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044593' and product_code = 'DG0105135-02' 2024-10-13 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,'249766','8','O24100044593','【官網限定】澎派蛋捲10入組','DG0105135-02','DG0105135','原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2','組合-32入(原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-15','2024-10-13 21:43:21','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249766',`firm_id` = '8',`ordernumber` = 'O24100044593', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-02',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2',`invoice_name` = '組合-32入(原味x2+芝麻+咖啡+海苔x2+巧克力x2+阿薩姆紅茶x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-15',`create_date` = '2024-10-13 21:43:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044593' and product_code = 'DG0105135-02' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044643' and product_code = 'DG010258-01' 2024-10-13 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,'249767','8','O24100044643','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','1','295','2024-10-15','2024-10-13 22:29:38','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249767',`firm_id` = '8',`ordernumber` = 'O24100044643', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-10-15',`create_date` = '2024-10-13 22:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044643' and product_code = 'DG010258-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044643' and product_code = 'DG010101-01' 2024-10-13 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,'249767','8','O24100044643','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-10-15','2024-10-13 22:29:38','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249767',`firm_id` = '8',`ordernumber` = 'O24100044643', `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` = '4',`total_price` = '1120',`etd` = '2024-10-15',`create_date` = '2024-10-13 22:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044643' and product_code = 'DG010101-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044643' and product_code = 'DG010101-05' 2024-10-13 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,'249767','8','O24100044643','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-10-15','2024-10-13 22:29:38','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249767',`firm_id` = '8',`ordernumber` = 'O24100044643', `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` = '3',`total_price` = '840',`etd` = '2024-10-15',`create_date` = '2024-10-13 22:29:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044643' and product_code = 'DG010101-05' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'DG0105135-07' 2024-10-13 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,'249768','8','O24100044790','【官網限定】澎派蛋捲10入組','DG0105135-07','DG0105135','巧克力x5+阿薩姆紅茶x5','組合-32入(巧克力x5+阿薩姆紅茶x5)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-07',`product_sn` = 'DG0105135',`product_spec` = '巧克力x5+阿薩姆紅茶x5',`invoice_name` = '組合-32入(巧克力x5+阿薩姆紅茶x5)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'DG0105135-07' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'DG0105135-05' 2024-10-13 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,'249768','8','O24100044790','【官網限定】澎派蛋捲10入組','DG0105135-05','DG0105135','原味x5+阿薩姆紅茶x5','組合-32入(原味x5+阿薩姆紅茶x5)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-05',`product_sn` = 'DG0105135',`product_spec` = '原味x5+阿薩姆紅茶x5',`invoice_name` = '組合-32入(原味x5+阿薩姆紅茶x5)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'DG0105135-05' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'FL010310-01' 2024-10-13 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,'249768','8','O24100044790','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','540','540','0','0','0','0','1','0.0','3','1620','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `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-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'FL010310-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'DG0105127-01' 2024-10-13 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,'249768','8','O24100044790','【官網限定】熱銷蛋捲6入組','DG0105127-01','DG0105127','原味x6+紅色提袋x2','組合-32入(原味x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','2','2740','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-01',`product_sn` = 'DG0105127',`product_spec` = '原味x6+紅色提袋x2',`invoice_name` = '組合-32入(原味x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2740',`etd` = '2024-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'DG0105127-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'DG0103191-14' 2024-10-13 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,'249768','8','O24100044790','【SNOOPY 聯名】美好探尋-8結肉酥酥禮盒','DG0103191-14','DG0103191','巧克力蛋捲,原辣肉酥酥','禮盒-SNOOPY(橘)【巧克力+原辣肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '【SNOOPY 聯名】美好探尋-8結肉酥酥禮盒',`product_code` = 'DG0103191-14',`product_sn` = 'DG0103191',`product_spec` = '巧克力蛋捲,原辣肉酥酥',`invoice_name` = '禮盒-SNOOPY(橘)【巧克力+原辣肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'DG0103191-14' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'DG010404-01' 2024-10-13 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,'249768','8','O24100044790','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','10','100','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `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` = '10',`total_price` = '100',`etd` = '2024-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'DG010404-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'ZP010524-01' 2024-10-13 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,'249768','8','O24100044790','贈品-南棗核桃糕分享包x3','ZP010524-01','ZP010524','一組','贈品-(紅袋)南棗核桃糕x3','0','0','0','0','0','0','1','0.0','1','0','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '贈品-南棗核桃糕分享包x3',`product_code` = 'ZP010524-01',`product_sn` = 'ZP010524',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕x3',`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-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'ZP010524-01' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = '14148' 2024-10-13 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,'249768','8','O24100044790','[加購]加購-黑松露乳酪絲家庭分享包','14148','14148','-','加購-(紅袋)乳酪絲【黑松露】','540','540','1','1','540','0','0','0.0','2','1080','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '[加購]加購-黑松露乳酪絲家庭分享包',`product_code` = '14148',`product_sn` = '14148',`product_spec` = '-',`invoice_name` = '加購-(紅袋)乳酪絲【黑松露】',`listprice` = '540',`sellingprice` = '540',`isadd` = '1',`isbaby` = '1',`addprice` = '540',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '1080',`etd` = '2024-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = '14148' 2024-10-13 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100044790' and product_code = 'BP010179-01' 2024-10-13 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,'249768','8','O24100044790','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-10-31','2024-10-13 23:01:39','2024-10-13 23:59:07',null,'1','2024-09-11') 2024-10-13 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249768',`firm_id` = '8',`ordernumber` = 'O24100044790', `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`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-10-31',`create_date` = '2024-10-13 23:01:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-11'where ordernumber = 'O24100044790' and product_code = 'BP010179-01' 2024-10-13 23:59:07 -- == sync_order_detail end == 2024-10-13 23:59:07 -- == sync_order start == 2024-10-13 23:59:07 -- start:2024-10-13,end:2024-10-13 2024-10-13 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-10-13%' OR l.modify_date like '2024-10-13%'; 2024-10-13 23:59:08 -- == sync omo_order_list == 2024-10-13 23:59:08 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('149632','425683',2,'','','B24100009625','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5600','655','雲林縣','元長鄉','655','雲林縣','元長鄉','5570','2024-10-13 13:12:12','2024-09-11') 2024-10-13 23:59:08 -- == sync_order end == 2024-10-13 23:59:08 -- == sync_order_detail start == 2024-10-13 23:59:08 -- start:2024-10-13,end:2024-10-13 2024-10-13 23:59:08 -- == sync omo_order_detail == 2024-10-13 23:59:08 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-13%' OR modify_date like '2024-10-13%' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG010316-02' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','8結彌月禮盒-樂芙','DG010316-02','DG010316','原味+芝麻','禮盒-彌月樂芙【原味+芝麻】','500','500','0','1','0','0','1','500.0','1','500','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-02',`product_sn` = 'DG010316',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG010316-02', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG0103189-02' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','SNOOPY美好探尋-8結彌月禮盒','DG0103189-02','DG0103189','原味+芝麻','禮盒-彌月SNOOPY(橘)【原味+芝麻】','500','500','0','1','0','0','1','0.0','2','1000','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-02',`product_sn` = 'DG0103189',`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` = '2',`total_price` = '1000',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG0103189-02', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG0103189-04' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','SNOOPY美好探尋-8結彌月禮盒','DG0103189-04','DG0103189','原味+海苔','禮盒-彌月SNOOPY(橘)【原味+海苔】','500','500','0','1','0','0','1','0.0','1','500','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-04',`product_sn` = 'DG0103189',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG0103189-04', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG0103189-05' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','SNOOPY美好探尋-8結彌月禮盒','DG0103189-05','DG0103189','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】','500','500','0','1','0','0','1','0.0','2','1000','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`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` = '2',`total_price` = '1000',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG0103189-05', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG0103189-03' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','SNOOPY美好探尋-8結彌月禮盒','DG0103189-03','DG0103189','原味+咖啡','禮盒-彌月SNOOPY(橘)【原味+咖啡】','500','500','0','1','0','0','1','0.0','1','500','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-03',`product_sn` = 'DG0103189',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG0103189-03', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG010266-02' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','SNOOPY獨特心意-8結彌月提盒','DG010266-02','DG010266','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻','300','300','0','1','0','0','1','0.0','3','900','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG010266-02', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100009625' and product_code = 'DG010266-01' 2024-10-13 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33049','8','B24100009625','SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','1','0','0','1','0.0','4','1200','2024-10-21','2024-10-13 13:12:12','2024-10-13 23:59:08',null,'1','2024-09-11') 2024-10-13 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33049',`firm_id` = '8',`ordernumber` = 'B24100009625', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2024-10-21',`create_date` = '2024-10-13 13:12:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100009625' and product_code = 'DG010266-01', `lunar_date` = '2024-09-11' 2024-10-13 23:59:08 -- == sync_order_detail end == 2024-10-13 23:59:08 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-10-13' OR o.updated_at = '2024-10-13') and o.deleted_at is null 2024-10-13 23:59:08 -- == sync_order_detail start == 2024-10-13 23:59:08 -- start:2024-10-13,end:2024-10-13 2024-10-13 23:59:09 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-10-13 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-10-13 23:59:13 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-10-13%';