2024-02-24 23:59:01 -- == sync_order start == 2024-02-24 23:59:01 -- start:2024-02-24,end:2024-02-24 2024-02-24 23:59:01 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-24%' OR l.modify_date like '2024-02-24%'; 2024-02-24 23:59:03 -- == sync omo_order_list == 2024-02-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '80190', lunar_date = '2024-01-06', invoice_status = '1',category_name = '插單群訂單,美村當日宅配', category_id = '14,28' where ordernumber = 'S24020023722' 2024-02-24 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '378605', process_status = '3', pay_status = '1', totalprice_after = '14592', lunar_date = '2024-01-14', invoice_status = '1',category_name = '永康門市訂單,永康當日宅配', category_id = '31,19' where ordernumber = 'S24020068523' 2024-02-24 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 ('341837','378624',1,'','','O24020069655','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1530','710','台南市','永康區','710','台南市','永康區','1680','2024-02-24 00:46:15','2024-01-15') 2024-02-24 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 ('318194','355270',1,'','','O24020069725','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2960','237','新北市','三峽區','237','新北市','三峽區','3110','2024-02-24 08:34:56','2024-01-15') 2024-02-24 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 ('93617','65061',1,'永康當日宅配','19','S24020069847','1','2','7','0','0','','','0','2024-02-26','0','0','0','','250','0','6000','106','台北市','大安區','106','台北市','大安區','6250','2024-02-24 11:49:48','2024-01-15') 2024-02-24 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 ('341848','378635',1,'','','O24020069978','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','960','103','台北市','大同區','103','台北市','大同區','1080','2024-02-24 13:40:23','2024-01-15') 2024-02-24 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 ('324264','361254',1,'','','O24020070097','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1920','330','桃園市','桃園區','330','桃園市','桃園區','2070','2024-02-24 14:11:30','2024-01-15') 2024-02-24 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 ('341918','378705',1,'','','O24020070163','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','990','261','宜蘭縣','頭城鎮','261','宜蘭縣','頭城鎮','1140','2024-02-24 14:26:52','2024-01-15') 2024-02-24 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 ('341918','378705',1,'','','O24020070255','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','990','261','宜蘭縣','頭城鎮','261','宜蘭縣','頭城鎮','1140','2024-02-24 14:36:10','2024-01-15') 2024-02-24 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 ('341865','378652',1,'','','O24020070384','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','2470','402','台中市','南區','402','台中市','南區','2590','2024-02-24 15:40:34','2024-01-15') 2024-02-24 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 ('147096','114967',1,'','','O24020070458','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1440','411','台中市','太平區','411','台中市','太平區','1490','2024-02-24 15:47:08','2024-01-15') 2024-02-24 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 ('341947','378734',1,'','','O24020070569','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1365','512','彰化縣','永靖鄉','512','彰化縣','永靖鄉','1515','2024-02-24 16:05:34','2024-01-15') 2024-02-24 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 ('341955','378742',1,'','','O24020070651','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','885','251','新北市','淡水區','251','新北市','淡水區','1035','2024-02-24 16:34:40','2024-01-15') 2024-02-24 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 ('341960','378747',1,'','','O24020070754','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','265','宜蘭縣','羅東鎮','812','高雄市','小港區','1110','2024-02-24 16:51:12','2024-01-15') 2024-02-24 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 ('341975','378762',1,'','','O24020070897','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1120','114','台北市','內湖區','114','台北市','內湖區','1240','2024-02-24 17:15:14','2024-01-15') 2024-02-24 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 ('341977','378764',1,'','','O24020070955','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','411','台中市','太平區','411','台中市','太平區','420','2024-02-24 17:19:03','2024-01-15') 2024-02-24 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 ('266994','304631',1,'','','O24020071062','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','640','235','新北市','中和區','235','新北市','中和區','790','2024-02-24 21:33:44','2024-01-15') 2024-02-24 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 ('342027','378814',1,'','','O24020071156','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1120','830','高雄市','鳳山區','830','高雄市','鳳山區','1240','2024-02-24 22:42:40','2024-01-15') 2024-02-24 23:59:03 -- == sync_order end == 2024-02-24 23:59:03 -- == sync_order_detail start == 2024-02-24 23:59:03 -- start:2024-02-24,end:2024-02-24 2024-02-24 23:59:03 -- == sync omo_order_detail == 2024-02-24 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-24%' OR modify_date like '2024-02-24%' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020023722' and product_code = 'DG010347-01' 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228572',`firm_id` = '8',`ordernumber` = 'S24020023722', `product_name` = '【預購品,3/1後出貨】六月初一&成真咖啡禮盒',`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` = '180',`total_price` = '89100',`etd` = '2024-02-24',`create_date` = '2024-02-15 10:02:46',`modify_date` = '2024-02-24 11:25:03',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020023722' and product_code = 'DG010347-01' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020023722' and product_code = 'DG010404-01' 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '228572',`firm_id` = '8',`ordernumber` = 'S24020023722', `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` = '180',`total_price` = '1800',`etd` = '2024-02-24',`create_date` = '2024-02-15 10:02:46',`modify_date` = '2024-02-24 11:25:03',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-06'where ordernumber = 'S24020023722' and product_code = 'DG010404-01' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020068523' and product_code = 'DG010312-02' 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229040',`firm_id` = '8',`ordernumber` = 'S24020068523', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '32',`total_price` = '15360',`etd` = '2024-02-24',`create_date` = '2024-02-23 13:48:50',`modify_date` = '2024-02-24 10:42:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-14'where ordernumber = 'S24020068523' and product_code = 'DG010312-02' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069655' and product_code = 'DG010327-03' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229051','8','O24020069655','【小王子聯名】仰望星空8結禮盒 ','DG010327-03','DG010327','原味,咖啡','禮盒-小王子(藍)【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-02-29','2024-02-24 00:46:15','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229051',`firm_id` = '8',`ordernumber` = 'O24020069655', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-03',`product_sn` = 'DG010327',`product_spec` = '原味,咖啡',`invoice_name` = '禮盒-小王子(藍)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-29',`create_date` = '2024-02-24 00:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069655' and product_code = 'DG010327-03' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069655' and product_code = 'DG010327-05' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229051','8','O24020069655','【小王子聯名】仰望星空8結禮盒 ','DG010327-05','DG010327','原味,巧克力','禮盒-小王子(藍)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-02-29','2024-02-24 00:46:15','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229051',`firm_id` = '8',`ordernumber` = 'O24020069655', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-05',`product_sn` = 'DG010327',`product_spec` = '原味,巧克力',`invoice_name` = '禮盒-小王子(藍)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-29',`create_date` = '2024-02-24 00:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069655' and product_code = 'DG010327-05' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069655' and product_code = 'TG010119-01' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229051','8','O24020069655','南棗核桃糕','TG010119-01','TG010119','12入核棗糕','(盒)南棗核桃糕','180','180','0','0','0','0','1','0.0','1','180','2024-02-29','2024-02-24 00:46:15','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229051',`firm_id` = '8',`ordernumber` = 'O24020069655', `product_name` = '南棗核桃糕',`product_code` = 'TG010119-01',`product_sn` = 'TG010119',`product_spec` = '12入核棗糕',`invoice_name` = '(盒)南棗核桃糕',`listprice` = '180',`sellingprice` = '180',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-02-29',`create_date` = '2024-02-24 00:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069655' and product_code = 'TG010119-01' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069655' and product_code = 'TG010104-01' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229051','8','O24020069655','夏威夷豆軟糖','TG010104-01','TG010104','10入夏威夷豆軟糖','(盒)夏威夷豆軟糖','220','220','0','0','0','0','1','220.0','1','220','2024-02-29','2024-02-24 00:46:15','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229051',`firm_id` = '8',`ordernumber` = 'O24020069655', `product_name` = '夏威夷豆軟糖',`product_code` = 'TG010104-01',`product_sn` = 'TG010104',`product_spec` = '10入夏威夷豆軟糖',`invoice_name` = '(盒)夏威夷豆軟糖',`listprice` = '220',`sellingprice` = '220',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '220.0',`amount` = '1',`total_price` = '220',`etd` = '2024-02-29',`create_date` = '2024-02-24 00:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069655' and product_code = 'TG010104-01' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069655' and product_code = 'FL010102-01' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229051','8','O24020069655','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','(盒)鳳梨酥','130','130','0','0','0','0','1','130.0','1','130','2024-02-29','2024-02-24 00:46:15','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229051',`firm_id` = '8',`ordernumber` = 'O24020069655', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '130',`etd` = '2024-02-29',`create_date` = '2024-02-24 00:46:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069655' and product_code = 'FL010102-01' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069725' and product_code = 'TG010102-01' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229052','8','O24020069725','黑曜芝麻糕(全素)','TG010102-01','TG010102','12入芝麻糕','(盒)芝麻糕','150','150','0','0','0','0','1','150.0','1','150','2024-03-04','2024-02-24 08:34:56','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229052',`firm_id` = '8',`ordernumber` = 'O24020069725', `product_name` = '黑曜芝麻糕(全素)',`product_code` = 'TG010102-01',`product_sn` = 'TG010102',`product_spec` = '12入芝麻糕',`invoice_name` = '(盒)芝麻糕',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '150.0',`amount` = '1',`total_price` = '150',`etd` = '2024-03-04',`create_date` = '2024-02-24 08:34:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069725' and product_code = 'TG010102-01' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069725' and product_code = 'DG010523-18' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229052','8','O24020069725','SNOOPY帶走心意-蛋捲三入組','DG010523-18','DG010523','芝麻+芝麻+海苔','組合-32入(芝麻+芝麻+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-04','2024-02-24 08:34:56','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229052',`firm_id` = '8',`ordernumber` = 'O24020069725', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-18',`product_sn` = 'DG010523',`product_spec` = '芝麻+芝麻+海苔',`invoice_name` = '組合-32入(芝麻+芝麻+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-04',`create_date` = '2024-02-24 08:34:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069725' and product_code = 'DG010523-18' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069725' and product_code = 'DG010523-08' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229052','8','O24020069725','SNOOPY帶走心意-蛋捲三入組','DG010523-08','DG010523','原味+芝麻+海苔','組合-32入(原味+芝麻+海苔)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-03-04','2024-02-24 08:34:56','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229052',`firm_id` = '8',`ordernumber` = 'O24020069725', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-08',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+海苔',`invoice_name` = '組合-32入(原味+芝麻+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-04',`create_date` = '2024-02-24 08:34:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069725' and product_code = 'DG010523-08' 2024-02-24 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069725' and product_code = 'GG010101-01' 2024-02-24 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'229052','8','O24020069725','義式皇家黑松露腰果','GG010101-01','GG010101','義式皇家黑松露腰果','2入黑松露腰果盒裝','170','170','0','0','0','0','1','0.0','1','170','2024-03-04','2024-02-24 08:34:56','2024-02-24 23:59:04',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229052',`firm_id` = '8',`ordernumber` = 'O24020069725', `product_name` = '義式皇家黑松露腰果',`product_code` = 'GG010101-01',`product_sn` = 'GG010101',`product_spec` = '義式皇家黑松露腰果',`invoice_name` = '2入黑松露腰果盒裝',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-03-04',`create_date` = '2024-02-24 08:34:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069725' and product_code = 'GG010101-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069725' and product_code = 'TG010106-01' 2024-02-24 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,'229052','8','O24020069725','分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','1','300','2024-03-04','2024-02-24 08:34:56','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229052',`firm_id` = '8',`ordernumber` = 'O24020069725', `product_name` = '分享包-黑曜芝麻糕',`product_code` = 'TG010106-01',`product_sn` = 'TG010106',`product_spec` = '25入芝麻糕分享包',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-03-04',`create_date` = '2024-02-24 08:34:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069725' and product_code = 'TG010106-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069725' and product_code = 'LS010103-01' 2024-02-24 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,'229052','8','O24020069725','【預購品,3/4後出貨】厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','120','120','0','0','0','0','1','0.0','3','360','2024-03-04','2024-02-24 08:34:56','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229052',`firm_id` = '8',`ordernumber` = 'O24020069725', `product_name` = '【預購品,3/4後出貨】厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '120',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '360',`etd` = '2024-03-04',`create_date` = '2024-02-24 08:34:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069725' and product_code = 'LS010103-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020069847' and product_code = 'DG010222-02' 2024-02-24 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,'229053','8','S24020069847','【小王子聯名】夢想旅程8結提盒','DG010222-02','DG010222','40入芝麻蛋捲','提盒-小王子(紅)-40入芝麻','300','300','0','0','0','0','1','0.0','10','3000','2024-02-26','2024-02-24 11:49:48','2024-02-24 23:59:05',0,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229053',`firm_id` = '8',`ordernumber` = 'S24020069847', `product_name` = '【小王子聯名】夢想旅程8結提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-26',`create_date` = '2024-02-24 11:49:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'S24020069847' and product_code = 'DG010222-02' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24020069847' and product_code = 'DG010203-02' 2024-02-24 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,'229053','8','S24020069847','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','10','3000','2024-02-26','2024-02-24 11:49:48','2024-02-24 23:59:05',0,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229053',`firm_id` = '8',`ordernumber` = 'S24020069847', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '3000',`etd` = '2024-02-26',`create_date` = '2024-02-24 11:49:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'S24020069847' and product_code = 'DG010203-02' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020069978' and product_code = 'LS010113-03' 2024-02-24 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,'229054','8','O24020069978','家庭分享包-乳酪絲','LS010113-03','LS010113','黑松露','(紅袋)乳酪絲【黑松露】','480','480','0','0','0','0','1','0.0','2','960','2024-02-27','2024-02-24 13:40:23','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229054',`firm_id` = '8',`ordernumber` = 'O24020069978', `product_name` = '家庭分享包-乳酪絲',`product_code` = 'LS010113-03',`product_sn` = 'LS010113',`product_spec` = '黑松露',`invoice_name` = '(紅袋)乳酪絲【黑松露】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-24 13:40:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020069978' and product_code = 'LS010113-03' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070097' and product_code = 'LS010104-01' 2024-02-24 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,'229055','8','O24020070097','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','160','160','0','0','0','0','1','0.0','6','960','2024-02-27','2024-02-24 14:11:30','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229055',`firm_id` = '8',`ordernumber` = 'O24020070097', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-24 14:11:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070097' and product_code = 'LS010104-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070097' and product_code = 'LS010113-01' 2024-02-24 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,'229055','8','O24020070097','家庭分享包-乳酪絲','LS010113-01','LS010113','原味','(紅袋)乳酪絲【原味】','480','480','0','0','0','0','1','0.0','2','960','2024-02-27','2024-02-24 14:11:30','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229055',`firm_id` = '8',`ordernumber` = 'O24020070097', `product_name` = '家庭分享包-乳酪絲',`product_code` = 'LS010113-01',`product_sn` = 'LS010113',`product_spec` = '原味',`invoice_name` = '(紅袋)乳酪絲【原味】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '960',`etd` = '2024-02-27',`create_date` = '2024-02-24 14:11:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070097' and product_code = 'LS010113-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070163' and product_code = 'DG010523-06' 2024-02-24 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,'229056','8','O24020070163','SNOOPY帶走心意-蛋捲三入組','DG010523-06','DG010523','原味+芝麻+芝麻','組合-32入(原味+芝麻+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-24 14:26:52','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229056',`firm_id` = '8',`ordernumber` = 'O24020070163', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-06',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+芝麻',`invoice_name` = '組合-32入(原味+芝麻+芝麻)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-02-27',`create_date` = '2024-02-24 14:26:52',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070163' and product_code = 'DG010523-06' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070255' and product_code = 'DG010523-06' 2024-02-24 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,'229057','8','O24020070255','SNOOPY帶走心意-蛋捲三入組','DG010523-06','DG010523','原味+芝麻+芝麻','組合-32入(原味+芝麻+芝麻)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-24 14:36:10','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229057',`firm_id` = '8',`ordernumber` = 'O24020070255', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-06',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+芝麻',`invoice_name` = '組合-32入(原味+芝麻+芝麻)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-02-27',`create_date` = '2024-02-24 14:36:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070255' and product_code = 'DG010523-06' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070384' and product_code = 'DG010523-01' 2024-02-24 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,'229058','8','O24020070384','SNOOPY帶走心意-蛋捲三入組','DG010523-01','DG010523','原味+原味+原味','組合-32入(原味+原味+原味)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-24 15:40:34','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229058',`firm_id` = '8',`ordernumber` = 'O24020070384', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-01',`product_sn` = 'DG010523',`product_spec` = '原味+原味+原味',`invoice_name` = '組合-32入(原味+原味+原味)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-02-27',`create_date` = '2024-02-24 15:40:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070384' and product_code = 'DG010523-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070384' and product_code = 'DG010261-01' 2024-02-24 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,'229058','8','O24020070384','【SNOOPY聯名】美好食光-8結提盒','DG010261-01','DG010261','40入原味蛋捲','提盒-SNOOPY-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-02-27','2024-02-24 15:40:34','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229058',`firm_id` = '8',`ordernumber` = 'O24020070384', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-01',`product_sn` = 'DG010261',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-SNOOPY-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-27',`create_date` = '2024-02-24 15:40:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070384' and product_code = 'DG010261-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070384' and product_code = 'DG0103168-05' 2024-02-24 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,'229058','8','O24020070384','隨享唐寧茶禮盒','DG0103168-05','DG0103168','原味+巧克力','禮盒-隨享唐寧茶【原味+巧克力】+唐寧早餐茶+茶葉匙','880','880','0','0','0','0','1','0.0','1','880','2024-02-27','2024-02-24 15:40:34','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229058',`firm_id` = '8',`ordernumber` = 'O24020070384', `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-05',`product_sn` = 'DG0103168',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-隨享唐寧茶【原味+巧克力】+唐寧早餐茶+茶葉匙',`listprice` = '880',`sellingprice` = '880',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '880',`etd` = '2024-02-27',`create_date` = '2024-02-24 15:40:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070384' and product_code = 'DG0103168-05' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070458' and product_code = 'DG010312-09' 2024-02-24 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,'229059','8','O24020070458','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-24 15:47:08','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229059',`firm_id` = '8',`ordernumber` = 'O24020070458', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-24 15:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070458' and product_code = 'DG010312-09' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070458' and product_code = 'DG010312-12' 2024-02-24 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,'229059','8','O24020070458','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-24 15:47:08','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229059',`firm_id` = '8',`ordernumber` = 'O24020070458', `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-02-27',`create_date` = '2024-02-24 15:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070458' and product_code = 'DG010312-12' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070458' and product_code = 'DG010312-15' 2024-02-24 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,'229059','8','O24020070458','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-02-27','2024-02-24 15:47:08','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229059',`firm_id` = '8',`ordernumber` = 'O24020070458', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-27',`create_date` = '2024-02-24 15:47:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070458' and product_code = 'DG010312-15' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070569' and product_code = 'DG010312-02' 2024-02-24 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,'229060','8','O24020070569','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-02-29','2024-02-24 16:05:34','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229060',`firm_id` = '8',`ordernumber` = 'O24020070569', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-02-29',`create_date` = '2024-02-24 16:05:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070569' and product_code = 'DG010312-02' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070569' and product_code = 'DG010206-01' 2024-02-24 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,'229060','8','O24020070569','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','3','885','2024-02-29','2024-02-24 16:05:34','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229060',`firm_id` = '8',`ordernumber` = 'O24020070569', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-02-29',`create_date` = '2024-02-24 16:05:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070569' and product_code = 'DG010206-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070651' and product_code = 'DG010204-05' 2024-02-24 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,'229061','8','O24020070651','8結蛋捲【品牌提盒裝】','DG010204-05','DG010204','巧克力','提盒-品牌(橘)-40入巧克力','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-24 16:34:40','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229061',`firm_id` = '8',`ordernumber` = 'O24020070651', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-05',`product_sn` = 'DG010204',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(橘)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-24 16:34:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070651' and product_code = 'DG010204-05' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070651' and product_code = 'DG010204-02' 2024-02-24 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,'229061','8','O24020070651','8結蛋捲【品牌提盒裝】','DG010204-02','DG010204','芝麻','提盒-品牌(橘)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-24 16:34:40','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229061',`firm_id` = '8',`ordernumber` = 'O24020070651', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-02',`product_sn` = 'DG010204',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(橘)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-24 16:34:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070651' and product_code = 'DG010204-02' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070651' and product_code = 'DG010204-01' 2024-02-24 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,'229061','8','O24020070651','8結蛋捲【品牌提盒裝】','DG010204-01','DG010204','原味','提盒-品牌(橘)-40入原味','295','295','0','0','0','0','1','0.0','1','295','2024-02-27','2024-02-24 16:34:40','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229061',`firm_id` = '8',`ordernumber` = 'O24020070651', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`product_spec` = '原味',`invoice_name` = '提盒-品牌(橘)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-02-27',`create_date` = '2024-02-24 16:34:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070651' and product_code = 'DG010204-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070754' and product_code = 'DG010523-07' 2024-02-24 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,'229062','8','O24020070754','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-02-27','2024-02-24 16:51:12','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229062',`firm_id` = '8',`ordernumber` = 'O24020070754', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-02-27',`create_date` = '2024-02-24 16:51:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070754' and product_code = 'DG010523-07' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070897' and product_code = 'DG010101-03' 2024-02-24 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,'229063','8','O24020070897','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2024-02-27','2024-02-24 17:15:14','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229063',`firm_id` = '8',`ordernumber` = 'O24020070897', `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` = '4',`total_price` = '1120',`etd` = '2024-02-27',`create_date` = '2024-02-24 17:15:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070897' and product_code = 'DG010101-03' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020070955' and product_code = 'DG010261-05' 2024-02-24 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,'229064','8','O24020070955','【SNOOPY聯名】美好食光-8結提盒','DG010261-05','DG010261','40入巧克力蛋捲','提盒-SNOOPY-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-02-27','2024-02-24 17:19:03','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229064',`firm_id` = '8',`ordernumber` = 'O24020070955', `product_name` = '【SNOOPY聯名】美好食光-8結提盒',`product_code` = 'DG010261-05',`product_sn` = 'DG010261',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-SNOOPY-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-27',`create_date` = '2024-02-24 17:19:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020070955' and product_code = 'DG010261-05' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071062' and product_code = 'LS010103-01' 2024-02-24 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,'229065','8','O24020071062','【預購品,3/4後出貨】厚切椒鹽海苔(純素)','LS010103-01','LS010103','椒鹽海苔40g','椒鹽海苔片','120','120','0','0','0','0','1','0.0','3','360','2024-03-08','2024-02-24 21:33:44','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229065',`firm_id` = '8',`ordernumber` = 'O24020071062', `product_name` = '【預購品,3/4後出貨】厚切椒鹽海苔(純素)',`product_code` = 'LS010103-01',`product_sn` = 'LS010103',`product_spec` = '椒鹽海苔40g',`invoice_name` = '椒鹽海苔片',`listprice` = '120',`sellingprice` = '120',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '360',`etd` = '2024-03-08',`create_date` = '2024-02-24 21:33:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020071062' and product_code = 'LS010103-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071062' and product_code = 'DG010101-03' 2024-02-24 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,'229065','8','O24020071062','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-03-08','2024-02-24 21:33:44','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229065',`firm_id` = '8',`ordernumber` = 'O24020071062', `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-03-08',`create_date` = '2024-02-24 21:33:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020071062' and product_code = 'DG010101-03' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071156' and product_code = 'DG010101-01' 2024-02-24 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,'229066','8','O24020071156','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-02-27','2024-02-24 22:42:40','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229066',`firm_id` = '8',`ordernumber` = 'O24020071156', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-02-27',`create_date` = '2024-02-24 22:42:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020071156' and product_code = 'DG010101-01' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071156' and product_code = 'DG010101-02' 2024-02-24 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,'229066','8','O24020071156','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-24 22:42:40','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229066',`firm_id` = '8',`ordernumber` = 'O24020071156', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-27',`create_date` = '2024-02-24 22:42:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020071156' and product_code = 'DG010101-02' 2024-02-24 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24020071156' and product_code = 'DG010101-05' 2024-02-24 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,'229066','8','O24020071156','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-02-27','2024-02-24 22:42:40','2024-02-24 23:59:05',null,'1','2024-01-15') 2024-02-24 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '229066',`firm_id` = '8',`ordernumber` = 'O24020071156', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-02-27',`create_date` = '2024-02-24 22:42:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-01-15'where ordernumber = 'O24020071156' and product_code = 'DG010101-05' 2024-02-24 23:59:05 -- == sync_order_detail end == 2024-02-24 23:59:05 -- == sync_order start == 2024-02-24 23:59:05 -- start:2024-02-24,end:2024-02-24 2024-02-24 23:59:05 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-02-24%' OR l.modify_date like '2024-02-24%'; 2024-02-24 23:59:05 -- == sync omo_order_list == 2024-02-24 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '222534', process_status = '3', pay_status = '1', totalprice_after = '600', lunar_date = '2023-12-27', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020003625' 2024-02-24 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '377410', process_status = '3', pay_status = '8', totalprice_after = '800', lunar_date = '2024-01-07', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020009548' 2024-02-24 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '377640', process_status = '3', pay_status = '8', totalprice_after = '1200', lunar_date = '2024-01-08', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24020012449' 2024-02-24 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '377673', process_status = '3', pay_status = '1', totalprice_after = '800', lunar_date = '2024-01-08', invoice_status = '1', category_name = '彌月試吃,LINE@訂單,美村門市訂單', category_id = '2,9,21' where ordernumber = 'M24020012638' 2024-02-24 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '378447', process_status = '3', pay_status = '8', totalprice_after = '800', lunar_date = '2024-01-13', invoice_status = '1', category_name = 'LINE@訂單,彌月試吃', category_id = '9,2' where ordernumber = 'M24020017734' 2024-02-24 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('102106','378692',2,'正式彌,永康門市訂單','1,22','M24020019152','1','2','7','1','1','','','0','2024-02-27','0','465','0','','0','0','9300','114','台北市','內湖區','114','台北市','內湖區','8835','2024-02-24 13:55:12','2024-01-15') 2024-02-24 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('87109','363853',2,'','','B24020019291','1','11','1','1','1','','','0','0000-00-00','825','0','0','','0','0','16500','708','台南市','安平區','708','台南市','安平區','15675','2024-02-24 15:09:39','2024-01-15') 2024-02-24 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('102205','378791',2,'','','B24020019352','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','990','540','南投縣','南投市','540','南投縣','南投市','1110','2024-02-24 18:43:42','2024-01-15') 2024-02-24 23:59:05 -- == sync_order end == 2024-02-24 23:59:05 -- == sync_order_detail start == 2024-02-24 23:59:05 -- start:2024-02-24,end:2024-02-24 2024-02-24 23:59:05 -- == sync omo_order_detail == 2024-02-24 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-02-24%' OR modify_date like '2024-02-24%' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020003625' and product_code = 'DG010264-05' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30183',`firm_id` = '11',`ordernumber` = 'M24020003625', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-05',`product_sn` = 'DG010264',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-24',`create_date` = '2024-02-06 12:56:22',`modify_date` = '2024-02-24 15:43:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003625' and product_code = 'DG010264-05', `lunar_date` = '2023-12-27' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020003625' and product_code = 'DG0103157-03' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30183',`firm_id` = '11',`ordernumber` = 'M24020003625', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-03',`product_sn` = 'DG0103157',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY【原味+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-24',`create_date` = '2024-02-06 12:56:22',`modify_date` = '2024-02-24 15:43:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020003625' and product_code = 'DG0103157-03', `lunar_date` = '2023-12-27' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020009548' and product_code = 'DG010243-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30247',`firm_id` = '11',`ordernumber` = 'M24020009548', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月年輪-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-16 10:42:53',`modify_date` = '2024-02-24 13:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009548' and product_code = 'DG010243-02', `lunar_date` = '2024-01-07' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020009548' and product_code = 'DG010264-05' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30247',`firm_id` = '11',`ordernumber` = 'M24020009548', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-05',`product_sn` = 'DG010264',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-16 10:42:53',`modify_date` = '2024-02-24 13:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009548' and product_code = 'DG010264-05', `lunar_date` = '2024-01-07' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020009548' and product_code = 'DG010253-03' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30247',`firm_id` = '11',`ordernumber` = 'M24020009548', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-03',`product_sn` = 'DG010253',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月小王子(紅)-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-16 10:42:53',`modify_date` = '2024-02-24 13:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009548' and product_code = 'DG010253-03', `lunar_date` = '2024-01-07' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020009548' and product_code = 'DG010244-01' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30247',`firm_id` = '11',`ordernumber` = 'M24020009548', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-19',`create_date` = '2024-02-16 10:42:53',`modify_date` = '2024-02-24 13:04:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020009548' and product_code = 'DG010244-01', `lunar_date` = '2024-01-07' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012449' and product_code = 'DG0103147-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30276',`firm_id` = '11',`ordernumber` = 'M24020012449', `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-02',`product_sn` = 'DG0103147',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月都會LUCK【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-17 13:58:58',`modify_date` = '2024-02-24 13:52:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012449' and product_code = 'DG0103147-02', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012449' and product_code = 'DG0103157-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30276',`firm_id` = '11',`ordernumber` = 'M24020012449', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-02',`product_sn` = 'DG0103157',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月SNOOPY【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-17 13:58:58',`modify_date` = '2024-02-24 13:52:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012449' and product_code = 'DG0103157-02', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012449' and product_code = 'DG0103145-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30276',`firm_id` = '11',`ordernumber` = 'M24020012449', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-02',`product_sn` = 'DG0103145',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月小王子(紅)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-02-22',`create_date` = '2024-02-17 13:58:58',`modify_date` = '2024-02-24 13:52:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012449' and product_code = 'DG0103145-02', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010248-01' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-01',`product_sn` = 'DG010248',`product_spec` = '原味',`invoice_name` = '提盒-彌月香頌日光-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-24 14:36:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010248-01', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010244-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-02',`product_sn` = 'DG010244',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-24 14:36:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010244-02', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010253-05' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-05',`product_sn` = 'DG010253',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月小王子(紅)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-24 14:36:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010253-05', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020012638' and product_code = 'DG010264-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30278',`firm_id` = '11',`ordernumber` = 'M24020012638', `product_name` = '【SNOOPY聯名】美好食光-8結彌月提盒(試吃)',`product_code` = 'DG010264-02',`product_sn` = 'DG010264',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-24',`create_date` = '2024-02-17 15:49:14',`modify_date` = '2024-02-24 14:36:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020012638' and product_code = 'DG010264-02', `lunar_date` = '2024-01-08' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020017734' and product_code = 'DG010243-02' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30340',`firm_id` = '11',`ordernumber` = 'M24020017734', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月年輪-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-23',`create_date` = '2024-02-22 11:46:18',`modify_date` = '2024-02-24 18:18:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020017734' and product_code = 'DG010243-02', `lunar_date` = '2024-01-13' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020017734' and product_code = 'DG010248-05' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30340',`firm_id` = '11',`ordernumber` = 'M24020017734', `product_name` = '彌月試吃提盒-香頌日光',`product_code` = 'DG010248-05',`product_sn` = 'DG010248',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月香頌日光-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-23',`create_date` = '2024-02-22 11:46:18',`modify_date` = '2024-02-24 18:18:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020017734' and product_code = 'DG010248-05', `lunar_date` = '2024-01-13' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020017734' and product_code = 'DG010244-01' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30340',`firm_id` = '11',`ordernumber` = 'M24020017734', `product_name` = '小王子彌月試吃提盒',`product_code` = 'DG010244-01',`product_sn` = 'DG010244',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-23',`create_date` = '2024-02-22 11:46:18',`modify_date` = '2024-02-24 18:18:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020017734' and product_code = 'DG010244-01', `lunar_date` = '2024-01-13' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020017734' and product_code = 'DG010253-03' 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30340',`firm_id` = '11',`ordernumber` = 'M24020017734', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒(試吃)',`product_code` = 'DG010253-03',`product_sn` = 'DG010253',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月小王子(紅)-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-23',`create_date` = '2024-02-22 11:46:18',`modify_date` = '2024-02-24 18:18:26',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020017734' and product_code = 'DG010253-03', `lunar_date` = '2024-01-13' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020019152' and product_code = 'DG010222-01' 2024-02-24 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, 2,'30354','8','M24020019152','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-02-27','2024-02-24 13:55:12','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30354',`firm_id` = '8',`ordernumber` = 'M24020019152', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-27',`create_date` = '2024-02-24 13:55:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020019152' and product_code = 'DG010222-01', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020019152' and product_code = 'DG010222-02' 2024-02-24 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, 2,'30354','8','M24020019152','【小王子聯名】夢想旅程8結彌月提盒','DG010222-02','DG010222','芝麻','提盒-小王子(紅)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-02-27','2024-02-24 13:55:12','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30354',`firm_id` = '8',`ordernumber` = 'M24020019152', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-02',`product_sn` = 'DG010222',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(紅)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-02-27',`create_date` = '2024-02-24 13:55:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020019152' and product_code = 'DG010222-02', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020019152' and product_code = 'DG010222-03' 2024-02-24 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, 2,'30354','8','M24020019152','【小王子聯名】夢想旅程8結彌月提盒','DG010222-03','DG010222','咖啡','提盒-小王子(紅)-40入咖啡','300','300','0','0','0','0','1','0.0','1','300','2024-02-27','2024-02-24 13:55:12','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30354',`firm_id` = '8',`ordernumber` = 'M24020019152', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-03',`product_sn` = 'DG010222',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(紅)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-02-27',`create_date` = '2024-02-24 13:55:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020019152' and product_code = 'DG010222-03', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020019152' and product_code = 'DG010222-05' 2024-02-24 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, 2,'30354','8','M24020019152','【小王子聯名】夢想旅程8結彌月提盒','DG010222-05','DG010222','巧克力','提盒-小王子(紅)-40入巧克力','300','300','0','0','0','0','1','0.0','26','7800','2024-02-27','2024-02-24 13:55:12','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30354',`firm_id` = '8',`ordernumber` = 'M24020019152', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-05',`product_sn` = 'DG010222',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(紅)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '26',`total_price` = '7800',`etd` = '2024-02-27',`create_date` = '2024-02-24 13:55:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020019152' and product_code = 'DG010222-05', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24020019152' and product_code = 'ZP010151-01' 2024-02-24 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, 2,'30354','8','M24020019152','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-02-27','2024-02-24 13:55:12','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30354',`firm_id` = '8',`ordernumber` = 'M24020019152', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-02-27',`create_date` = '2024-02-24 13:55:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24020019152' and product_code = 'ZP010151-01', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019291' and product_code = 'DG010222-01' 2024-02-24 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, 2,'30355','8','B24020019291','【小王子聯名】夢想旅程8結彌月提盒','DG010222-01','DG010222','原味','提盒-小王子(紅)-40入原味','300','300','0','1','0','0','1','0.0','55','16500','2024-03-06','2024-02-24 15:09:39','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30355',`firm_id` = '8',`ordernumber` = 'B24020019291', `product_name` = '【小王子聯名】夢想旅程8結彌月提盒',`product_code` = 'DG010222-01',`product_sn` = 'DG010222',`product_spec` = '原味',`invoice_name` = '提盒-小王子(紅)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '55',`total_price` = '16500',`etd` = '2024-03-06',`create_date` = '2024-02-24 15:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019291' and product_code = 'DG010222-01', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019291' and product_code = 'ZP010152-01' 2024-02-24 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, 2,'30355','8','B24020019291','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-03-06','2024-02-24 15:09:39','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30355',`firm_id` = '8',`ordernumber` = 'B24020019291', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-03-06',`create_date` = '2024-02-24 15:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019291' and product_code = 'ZP010152-01', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24020019352' and product_code = 'DG010523-21' 2024-02-24 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, 2,'30356','8','B24020019352','SNOOPY帶走心意-蛋捲三入組','DG010523-21','DG010523','芝麻+咖啡+海苔','組合-32入(芝麻+咖啡+海苔)+SNOOPY心意提袋','990','990','0','1','0','0','1','0.0','1','990','2024-03-01','2024-02-24 18:43:42','2024-02-24 23:59:06',null,'1','2024-01-15') 2024-02-24 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '30356',`firm_id` = '8',`ordernumber` = 'B24020019352', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-21',`product_sn` = 'DG010523',`product_spec` = '芝麻+咖啡+海苔',`invoice_name` = '組合-32入(芝麻+咖啡+海苔)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-03-01',`create_date` = '2024-02-24 18:43:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24020019352' and product_code = 'DG010523-21', `lunar_date` = '2024-01-15' 2024-02-24 23:59:06 -- == sync_order_detail end == 2024-02-24 23:59:06 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-02-24' OR o.updated_at = '2024-02-24') and o.deleted_at is null 2024-02-24 23:59:06 -- == sync_order_detail start == 2024-02-24 23:59:06 -- start:2024-02-24,end:2024-02-24 2024-02-24 23:59:06 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-02-24 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-02-24 23:59:08 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-02-24%';