2024-10-06 23:59:02 -- == sync_order start == 2024-10-06 23:59:02 -- start:2024-10-06,end:2024-10-06 2024-10-06 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-10-06%' OR l.modify_date like '2024-10-06%'; 2024-10-06 23:59:03 -- == sync omo_order_list == 2024-10-06 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 ('388100','424390',1,'','','O24100019221','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','480','950','台東縣','台東市','950','台東縣','台東市','600','2024-10-06 00:52:59','2024-09-04') 2024-10-06 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 ('388108','424398',1,'','','O24100019357','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1300','741','台南市','善化區','741','台南市','善化區','1420','2024-10-06 09:47:04','2024-09-04') 2024-10-06 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 ('388115','424405',1,'','','O24100019490','1','11','1','1','1','28192090','霞飛廣告股份有限公司','0','0000-00-00','797','0','0','','0','30','15950','330','桃園市','桃園區','330','桃園市','桃園區','15123','2024-10-06 10:53:50','2024-09-04') 2024-10-06 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 ('169754','136801',1,'','','O24100019593','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1160','600','嘉義市','西區','600','嘉義市','西區','1310','2024-10-06 15:07:37','2024-09-04') 2024-10-06 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 ('292977','330408',1,'','','O24100019623','1','1','1','0','0','97012256','東利得圖書有限公司','0','0000-00-00','0','0','0','','150','0','2205','247','新北市','蘆洲區','247','新北市','蘆洲區','2355','2024-10-06 15:54:19','2024-09-04') 2024-10-06 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 ('388227','424517',1,'','','O24100019753','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1160','358','苗栗縣','苑裡鎮','358','苗栗縣','苑裡鎮','1280','2024-10-06 16:38:42','2024-09-04') 2024-10-06 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 ('387803','424094',1,'','','O24100019840','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','780','261','宜蘭縣','頭城鎮','261','宜蘭縣','頭城鎮','900','2024-10-06 18:03:50','2024-09-04') 2024-10-06 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 ('377707','414142',1,'','','O24100019947','1','1','1','0','0','29180229','昱力科技有限公司','0','0000-00-00','0','0','0','','150','0','3070','235','新北市','中和區','235','新北市','中和區','3220','2024-10-06 18:09:22','2024-09-04') 2024-10-06 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 ('388265','424555',1,'','','O24100020080','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2240','640','雲林縣','斗六市','640','雲林縣','斗六市','2360','2024-10-06 18:11:47','2024-09-04') 2024-10-06 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 ('377707','414142',1,'','','O24100020143','1','1','1','0','0','29180229','昱力科技有限公司','0','0000-00-00','0','0','0','','150','0','4440','235','新北市','中和區','235','新北市','中和區','4590','2024-10-06 18:19:39','2024-09-04') 2024-10-06 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 ('377707','414142',1,'','','O24100020223','1','1','1','1','1','29180229','昱力科技有限公司','0','0000-00-00','0','0','0','','150','0','4440','235','新北市','中和區','235','新北市','中和區','4590','2024-10-06 18:26:59','2024-09-04') 2024-10-06 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 ('388271','424561',1,'','','O24100020361','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','804','高雄市','鼓山區','804','高雄市','鼓山區','420','2024-10-06 18:31:37','2024-09-04') 2024-10-06 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 ('384716','421044',1,'','','O24100020438','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','3310','813','高雄市','左營區','813','高雄市','左營區','3430','2024-10-06 18:39:30','2024-09-04') 2024-10-06 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 ('13977','11946',1,'','','O24100020574','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1460','716','台南市','南化區','716','台南市','南化區','1610','2024-10-06 19:24:25','2024-09-04') 2024-10-06 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 ('388101','424391',1,'','','O24100020695','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2740','335','桃園市','大溪區','335','桃園市','大溪區','2860','2024-10-06 19:34:57','2024-09-04') 2024-10-06 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 ('134780','103146',1,'','','O24100020736','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1370','804','高雄市','鼓山區','411','台中市','太平區','1520','2024-10-06 19:35:39','2024-09-04') 2024-10-06 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 ('180150','146731',1,'','','O24100020854','1','1','1','1','1','45882555','崴達貿易有限公司','0','0000-00-00','0','0','0','','150','150','1930','429','台中市','神岡區','429','台中市','神岡區','1930','2024-10-06 19:42:16','2024-09-04') 2024-10-06 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 ('12472','10570',1,'','','O24100020933','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2250','900','屏東縣','屏東市','900','屏東縣','屏東市','2400','2024-10-06 19:46:29','2024-09-04') 2024-10-06 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 ('388291','424580',1,'','','O24100021072','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1550','813','高雄市','左營區','813','高雄市','左營區','1700','2024-10-06 23:54:13','2024-09-04') 2024-10-06 23:59:03 -- == sync_order end == 2024-10-06 23:59:03 -- == sync_order_detail start == 2024-10-06 23:59:03 -- start:2024-10-06,end:2024-10-06 2024-10-06 23:59:03 -- == sync omo_order_detail == 2024-10-06 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-06%' OR modify_date like '2024-10-06%' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019221' and product_code = 'DG010312-05' 2024-10-06 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,'249506','8','O24100019221','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-08','2024-10-06 00:52:59','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249506',`firm_id` = '8',`ordernumber` = 'O24100019221', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-08',`create_date` = '2024-10-06 00:52:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019221' and product_code = 'DG010312-05' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019357' and product_code = 'DG010589-04' 2024-10-06 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,'249507','8','O24100019357','梅好心意隨享禮盒','DG010589-04','DG010589','8入鳳梅酥盒裝+原味+芝麻+無籽梅肉','禮盒-梅好心意【原味+芝麻】【鳳梅酥+無籽梅肉】','650','650','0','0','0','0','1','0.0','1','650','2024-10-16','2024-10-06 09:47:04','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249507',`firm_id` = '8',`ordernumber` = 'O24100019357', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-04',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+原味+芝麻+無籽梅肉',`invoice_name` = '禮盒-梅好心意【原味+芝麻】【鳳梅酥+無籽梅肉】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '650',`etd` = '2024-10-16',`create_date` = '2024-10-06 09:47:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019357' and product_code = 'DG010589-04' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019357' and product_code = 'DG010589-33' 2024-10-06 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,'249507','8','O24100019357','梅好心意隨享禮盒','DG010589-33','DG010589','8入鳳梅酥盒裝+咖啡+海苔+烏梅絲','禮盒-梅好心意【咖啡+海苔】【鳳梅酥+烏梅絲】','650','650','0','0','0','0','1','0.0','1','650','2024-10-16','2024-10-06 09:47:04','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249507',`firm_id` = '8',`ordernumber` = 'O24100019357', `product_name` = '梅好心意隨享禮盒',`product_code` = 'DG010589-33',`product_sn` = 'DG010589',`product_spec` = '8入鳳梅酥盒裝+咖啡+海苔+烏梅絲',`invoice_name` = '禮盒-梅好心意【咖啡+海苔】【鳳梅酥+烏梅絲】',`listprice` = '650',`sellingprice` = '650',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '650',`etd` = '2024-10-16',`create_date` = '2024-10-06 09:47:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019357' and product_code = 'DG010589-33' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019490' and product_code = '13656' 2024-10-06 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,'249508','8','O24100019490','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','55','15950','2024-10-08','2024-10-06 10:53:50','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249508',`firm_id` = '8',`ordernumber` = 'O24100019490', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '55',`total_price` = '15950',`etd` = '2024-10-08',`create_date` = '2024-10-06 10:53:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019490' and product_code = '13656' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019490' and product_code = 'ZP010525-01' 2024-10-06 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,'249508','8','O24100019490','贈品-南棗核桃糕分享包x4','ZP010525-01','ZP010525','一組','贈品-(紅袋)南棗核桃糕x4','0','0','0','0','0','0','1','0.0','1','0','2024-10-08','2024-10-06 10:53:50','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249508',`firm_id` = '8',`ordernumber` = 'O24100019490', `product_name` = '贈品-南棗核桃糕分享包x4',`product_code` = 'ZP010525-01',`product_sn` = 'ZP010525',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕x4',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-08',`create_date` = '2024-10-06 10:53:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019490' and product_code = 'ZP010525-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019593' and product_code = 'DG0105103-24' 2024-10-06 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,'249509','8','O24100019593','SNOOPY美好心意-蛋捲三入組','DG0105103-24','DG0105103','芝麻+海苔+巧克力','組合-32入(芝麻+海苔+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-09','2024-10-06 15:07:37','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249509',`firm_id` = '8',`ordernumber` = 'O24100019593', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-24',`product_sn` = 'DG0105103',`product_spec` = '芝麻+海苔+巧克力',`invoice_name` = '組合-32入(芝麻+海苔+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-09',`create_date` = '2024-10-06 15:07:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019593' and product_code = 'DG0105103-24' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019593' and product_code = 'LS010510-02' 2024-10-06 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,'249509','8','O24100019593','梅子零嘴任選二入組','LS010510-02','LS010510','(袋)烏梅絲+(袋)無籽梅肉','(袋)烏梅絲+(袋)無籽梅肉','170','170','0','0','0','0','1','0.0','1','170','2024-10-09','2024-10-06 15:07:37','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249509',`firm_id` = '8',`ordernumber` = 'O24100019593', `product_name` = '梅子零嘴任選二入組',`product_code` = 'LS010510-02',`product_sn` = 'LS010510',`product_spec` = '(袋)烏梅絲+(袋)無籽梅肉',`invoice_name` = '(袋)烏梅絲+(袋)無籽梅肉',`listprice` = '170',`sellingprice` = '170',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '170',`etd` = '2024-10-09',`create_date` = '2024-10-06 15:07:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019593' and product_code = 'LS010510-02' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019623' and product_code = 'DG010527-01' 2024-10-06 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,'249510','8','O24100019623','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','3','870','2024-10-08','2024-10-06 15:54:19','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249510',`firm_id` = '8',`ordernumber` = 'O24100019623', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-10-08',`create_date` = '2024-10-06 15:54:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019623' and product_code = 'DG010527-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019623' and product_code = 'DG010258-03' 2024-10-06 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,'249510','8','O24100019623','金豐收8結提盒','DG010258-03','DG010258','40入咖啡蛋捲','提盒-金豐收(藍)-40入咖啡','295','295','0','0','0','0','1','0.0','1','295','2024-10-08','2024-10-06 15:54:19','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249510',`firm_id` = '8',`ordernumber` = 'O24100019623', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-03',`product_sn` = 'DG010258',`product_spec` = '40入咖啡蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-10-08',`create_date` = '2024-10-06 15:54:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019623' and product_code = 'DG010258-03' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019623' and product_code = 'LS010101-01' 2024-10-06 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,'249510','8','O24100019623','分享包-無糖芒果乾','LS010101-01','LS010101','180g芒果乾分享包','(紅袋)芒果乾','360','360','0','0','0','0','1','0.0','1','360','2024-10-08','2024-10-06 15:54:19','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249510',`firm_id` = '8',`ordernumber` = 'O24100019623', `product_name` = '分享包-無糖芒果乾',`product_code` = 'LS010101-01',`product_sn` = 'LS010101',`product_spec` = '180g芒果乾分享包',`invoice_name` = '(紅袋)芒果乾',`listprice` = '360',`sellingprice` = '360',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-10-08',`create_date` = '2024-10-06 15:54:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019623' and product_code = 'LS010101-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019623' and product_code = 'FL010104-01' 2024-10-06 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,'249510','8','O24100019623','[加購]加購-一口鳳梨酥','FL010104-01','FL010104','-','加購-(盒)鳳梨酥','155','155','1','1','155','0','0','0.0','2','310','2024-10-08','2024-10-06 15:54:19','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249510',`firm_id` = '8',`ordernumber` = 'O24100019623', `product_name` = '[加購]加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '1',`isbaby` = '1',`addprice` = '155',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '310',`etd` = '2024-10-08',`create_date` = '2024-10-06 15:54:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019623' and product_code = 'FL010104-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019623' and product_code = 'FL010103-01' 2024-10-06 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,'249510','8','O24100019623','[加購]加購-一口鳳梅酥','FL010103-01','FL010103','-','加購-(盒)鳳梅酥','185','185','1','1','185','0','0','0.0','2','370','2024-10-08','2024-10-06 15:54:19','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249510',`firm_id` = '8',`ordernumber` = 'O24100019623', `product_name` = '[加購]加購-一口鳳梅酥',`product_code` = 'FL010103-01',`product_sn` = 'FL010103',`product_spec` = '-',`invoice_name` = '加購-(盒)鳳梅酥',`listprice` = '185',`sellingprice` = '185',`isadd` = '1',`isbaby` = '1',`addprice` = '185',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '370',`etd` = '2024-10-08',`create_date` = '2024-10-06 15:54:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019623' and product_code = 'FL010103-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019753' and product_code = '13656' 2024-10-06 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,'249511','8','O24100019753','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','4','1160','2024-10-08','2024-10-06 16:38:42','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249511',`firm_id` = '8',`ordernumber` = 'O24100019753', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1160',`etd` = '2024-10-08',`create_date` = '2024-10-06 16:38:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019753' and product_code = '13656' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019840' and product_code = 'DG0103188-09' 2024-10-06 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,'249512','8','O24100019840','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-10-24','2024-10-06 18:03:50','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249512',`firm_id` = '8',`ordernumber` = 'O24100019840', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-24',`create_date` = '2024-10-06 18:03:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019840' and product_code = 'DG0103188-09' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019840' and product_code = 'DG010101-01' 2024-10-06 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,'249512','8','O24100019840','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-24','2024-10-06 18:03:50','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249512',`firm_id` = '8',`ordernumber` = 'O24100019840', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-10-24',`create_date` = '2024-10-06 18:03:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019840' and product_code = 'DG010101-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019947' and product_code = 'DG0105135-10' 2024-10-06 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,'249513','8','O24100019947','【官網限定】澎派蛋捲10入組','DG0105135-10','DG0105135','原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2','組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-08','2024-10-06 18:09:22','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249513',`firm_id` = '8',`ordernumber` = 'O24100019947', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-10',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:09:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019947' and product_code = 'DG0105135-10' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019947' and product_code = 'GG010110-01' 2024-10-06 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,'249513','8','O24100019947','手工腰果脆糖分享包','GG010110-01','GG010110','一組','手工腰果脆糖100g','270','270','0','0','0','0','1','0.0','1','270','2024-10-08','2024-10-06 18:09:22','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249513',`firm_id` = '8',`ordernumber` = 'O24100019947', `product_name` = '手工腰果脆糖分享包',`product_code` = 'GG010110-01',`product_sn` = 'GG010110',`product_spec` = '一組',`invoice_name` = '手工腰果脆糖100g',`listprice` = '270',`sellingprice` = '270',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:09:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019947' and product_code = 'GG010110-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019947' and product_code = 'LS010104-01' 2024-10-06 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,'249513','8','O24100019947','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','200','200','0','0','0','0','1','0.0','1','200','2024-10-08','2024-10-06 18:09:22','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249513',`firm_id` = '8',`ordernumber` = 'O24100019947', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '200',`sellingprice` = '200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '200',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:09:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019947' and product_code = 'LS010104-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100019947' and product_code = '03953' 2024-10-06 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,'249513','8','O24100019947','[加購]加購-無糖芒果乾分享包','03953','03953','-','加購-(紅袋)芒果乾','350','350','1','1','350','0','0','0.0','1','350','2024-10-08','2024-10-06 18:09:22','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249513',`firm_id` = '8',`ordernumber` = 'O24100019947', `product_name` = '[加購]加購-無糖芒果乾分享包',`product_code` = '03953',`product_sn` = '03953',`product_spec` = '-',`invoice_name` = '加購-(紅袋)芒果乾',`listprice` = '350',`sellingprice` = '350',`isadd` = '1',`isbaby` = '1',`addprice` = '350',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '350',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:09:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100019947' and product_code = '03953' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020080' and product_code = 'DG010101-01' 2024-10-06 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,'249514','8','O24100020080','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-10-08','2024-10-06 18:11:47','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249514',`firm_id` = '8',`ordernumber` = 'O24100020080', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '8',`total_price` = '2240',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:11:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020080' and product_code = 'DG010101-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020143' and product_code = 'DG0105135-10' 2024-10-06 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,'249515','8','O24100020143','【官網限定】澎派蛋捲10入組','DG0105135-10','DG0105135','原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2','組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-08','2024-10-06 18:19:39','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249515',`firm_id` = '8',`ordernumber` = 'O24100020143', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-10',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020143' and product_code = 'DG0105135-10' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020143' and product_code = 'LS010104-01' 2024-10-06 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,'249515','8','O24100020143','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','200','200','0','0','0','0','1','0.0','1','200','2024-10-08','2024-10-06 18:19:39','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249515',`firm_id` = '8',`ordernumber` = 'O24100020143', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '200',`sellingprice` = '200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '200',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020143' and product_code = 'LS010104-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020143' and product_code = 'GG010110-01' 2024-10-06 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,'249515','8','O24100020143','手工腰果脆糖分享包','GG010110-01','GG010110','一組','手工腰果脆糖100g','270','270','0','0','0','0','1','0.0','1','270','2024-10-08','2024-10-06 18:19:39','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249515',`firm_id` = '8',`ordernumber` = 'O24100020143', `product_name` = '手工腰果脆糖分享包',`product_code` = 'GG010110-01',`product_sn` = 'GG010110',`product_spec` = '一組',`invoice_name` = '手工腰果脆糖100g',`listprice` = '270',`sellingprice` = '270',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020143' and product_code = 'GG010110-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020143' and product_code = 'DG0105127-456' 2024-10-06 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,'249515','8','O24100020143','【官網限定】熱銷蛋捲6入組','DG0105127-456','DG0105127','巧克力x6+紅色提袋x2','組合-32入(巧克力x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-08','2024-10-06 18:19:39','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249515',`firm_id` = '8',`ordernumber` = 'O24100020143', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-456',`product_sn` = 'DG0105127',`product_spec` = '巧克力x6+紅色提袋x2',`invoice_name` = '組合-32入(巧克力x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020143' and product_code = 'DG0105127-456' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020143' and product_code = 'ZP010146-01' 2024-10-06 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,'249515','8','O24100020143','贈品-南棗核桃糕分享包','ZP010146-01','ZP010146','一組','贈品-(紅袋)南棗核桃糕','0','0','0','0','0','0','1','0.0','1','0','2024-10-08','2024-10-06 18:19:39','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249515',`firm_id` = '8',`ordernumber` = 'O24100020143', `product_name` = '贈品-南棗核桃糕分享包',`product_code` = 'ZP010146-01',`product_sn` = 'ZP010146',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020143' and product_code = 'ZP010146-01' 2024-10-06 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020143' and product_code = '03953' 2024-10-06 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,'249515','8','O24100020143','[加購]加購-無糖芒果乾分享包','03953','03953','-','加購-(紅袋)芒果乾','350','350','1','1','350','0','0','0.0','1','350','2024-10-08','2024-10-06 18:19:39','2024-10-06 23:59:05',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249515',`firm_id` = '8',`ordernumber` = 'O24100020143', `product_name` = '[加購]加購-無糖芒果乾分享包',`product_code` = '03953',`product_sn` = '03953',`product_spec` = '-',`invoice_name` = '加購-(紅袋)芒果乾',`listprice` = '350',`sellingprice` = '350',`isadd` = '1',`isbaby` = '1',`addprice` = '350',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '350',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:19:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020143' and product_code = '03953' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020223' and product_code = 'DG0105135-10' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249516','8','O24100020223','【官網限定】澎派蛋捲10入組','DG0105135-10','DG0105135','原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2','組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-08','2024-10-06 18:26:59','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249516',`firm_id` = '8',`ordernumber` = 'O24100020223', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-10',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:26:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020223' and product_code = 'DG0105135-10' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020223' and product_code = 'DG0105127-456' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249516','8','O24100020223','【官網限定】熱銷蛋捲6入組','DG0105127-456','DG0105127','巧克力x6+紅色提袋x2','組合-32入(巧克力x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-08','2024-10-06 18:26:59','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249516',`firm_id` = '8',`ordernumber` = 'O24100020223', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-456',`product_sn` = 'DG0105127',`product_spec` = '巧克力x6+紅色提袋x2',`invoice_name` = '組合-32入(巧克力x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:26:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020223' and product_code = 'DG0105127-456' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020223' and product_code = 'LS010104-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249516','8','O24100020223','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','(藍袋)乳酪絲【原味】','200','200','0','0','0','0','1','0.0','1','200','2024-10-08','2024-10-06 18:26:59','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249516',`firm_id` = '8',`ordernumber` = 'O24100020223', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '(藍袋)乳酪絲【原味】',`listprice` = '200',`sellingprice` = '200',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '200',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:26:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020223' and product_code = 'LS010104-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020223' and product_code = 'GG010110-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249516','8','O24100020223','手工腰果脆糖分享包','GG010110-01','GG010110','一組','手工腰果脆糖100g','270','270','0','0','0','0','1','0.0','1','270','2024-10-08','2024-10-06 18:26:59','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249516',`firm_id` = '8',`ordernumber` = 'O24100020223', `product_name` = '手工腰果脆糖分享包',`product_code` = 'GG010110-01',`product_sn` = 'GG010110',`product_spec` = '一組',`invoice_name` = '手工腰果脆糖100g',`listprice` = '270',`sellingprice` = '270',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '270',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:26:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020223' and product_code = 'GG010110-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020223' and product_code = 'ZP010146-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249516','8','O24100020223','贈品-南棗核桃糕分享包','ZP010146-01','ZP010146','一組','贈品-(紅袋)南棗核桃糕','0','0','0','0','0','0','1','0.0','1','0','2024-10-08','2024-10-06 18:26:59','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249516',`firm_id` = '8',`ordernumber` = 'O24100020223', `product_name` = '贈品-南棗核桃糕分享包',`product_code` = 'ZP010146-01',`product_sn` = 'ZP010146',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:26:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020223' and product_code = 'ZP010146-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020223' and product_code = '03953' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249516','8','O24100020223','[加購]加購-無糖芒果乾分享包','03953','03953','-','加購-(紅袋)芒果乾','350','350','1','1','350','0','0','0.0','1','350','2024-10-08','2024-10-06 18:26:59','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249516',`firm_id` = '8',`ordernumber` = 'O24100020223', `product_name` = '[加購]加購-無糖芒果乾分享包',`product_code` = '03953',`product_sn` = '03953',`product_spec` = '-',`invoice_name` = '加購-(紅袋)芒果乾',`listprice` = '350',`sellingprice` = '350',`isadd` = '1',`isbaby` = '1',`addprice` = '350',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '350',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:26:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020223' and product_code = '03953' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020361' and product_code = 'DG010265-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249517','8','O24100020361','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-10-08','2024-10-06 18:31:37','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249517',`firm_id` = '8',`ordernumber` = 'O24100020361', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:31:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020361' and product_code = 'DG010265-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020438' and product_code = 'DG010258-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249518','8','O24100020438','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','10','2950','2024-10-08','2024-10-06 18:39:30','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249518',`firm_id` = '8',`ordernumber` = 'O24100020438', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '2950',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:39:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020438' and product_code = 'DG010258-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020438' and product_code = '13525' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249518','8','O24100020438','[加購]加購-仕女帆布袋','13525','13525','-','加購-仕女帆布袋','360','360','1','1','360','0','0','0.0','1','360','2024-10-08','2024-10-06 18:39:30','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249518',`firm_id` = '8',`ordernumber` = 'O24100020438', `product_name` = '[加購]加購-仕女帆布袋',`product_code` = '13525',`product_sn` = '13525',`product_spec` = '-',`invoice_name` = '加購-仕女帆布袋',`listprice` = '360',`sellingprice` = '360',`isadd` = '1',`isbaby` = '1',`addprice` = '360',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '360',`etd` = '2024-10-08',`create_date` = '2024-10-06 18:39:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020438' and product_code = '13525' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020574' and product_code = 'ZS010201-02' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249519','8','O24100020574','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','2','600','2024-10-09','2024-10-06 19:24:25','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249519',`firm_id` = '8',`ordernumber` = 'O24100020574', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '2',`total_price` = '600',`etd` = '2024-10-09',`create_date` = '2024-10-06 19:24:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020574' and product_code = 'ZS010201-02' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020574' and product_code = 'TG010106-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249519','8','O24100020574','分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','1','300','2024-10-09','2024-10-06 19:24:25','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249519',`firm_id` = '8',`ordernumber` = 'O24100020574', `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-10-09',`create_date` = '2024-10-06 19:24:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020574' and product_code = 'TG010106-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020574' and product_code = 'DG010101-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249519','8','O24100020574','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-09','2024-10-06 19:24:25','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249519',`firm_id` = '8',`ordernumber` = 'O24100020574', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-10-09',`create_date` = '2024-10-06 19:24:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020574' and product_code = 'DG010101-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020574' and product_code = 'DG010101-02' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249519','8','O24100020574','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-10-09','2024-10-06 19:24:25','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249519',`firm_id` = '8',`ordernumber` = 'O24100020574', `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-10-09',`create_date` = '2024-10-06 19:24:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020574' and product_code = 'DG010101-02' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020695' and product_code = 'DG0105127-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249520','8','O24100020695','【官網限定】熱銷蛋捲6入組','DG0105127-01','DG0105127','原味x6+紅色提袋x2','組合-32入(原味x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-08','2024-10-06 19:34:57','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249520',`firm_id` = '8',`ordernumber` = 'O24100020695', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-01',`product_sn` = 'DG0105127',`product_spec` = '原味x6+紅色提袋x2',`invoice_name` = '組合-32入(原味x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-08',`create_date` = '2024-10-06 19:34:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020695' and product_code = 'DG0105127-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020695' and product_code = 'DG0105127-379' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249520','8','O24100020695','【官網限定】熱銷蛋捲6入組','DG0105127-379','DG0105127','咖啡x6+紅色提袋x2','組合-32入(咖啡x6)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-08','2024-10-06 19:34:57','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249520',`firm_id` = '8',`ordernumber` = 'O24100020695', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-379',`product_sn` = 'DG0105127',`product_spec` = '咖啡x6+紅色提袋x2',`invoice_name` = '組合-32入(咖啡x6)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-08',`create_date` = '2024-10-06 19:34:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020695' and product_code = 'DG0105127-379' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020736' and product_code = 'DG0105127-71' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249521','8','O24100020736','【官網限定】熱銷蛋捲6入組','DG0105127-71','DG0105127','原味x2+芝麻x2+阿薩姆紅茶x2+紅色提袋x2','組合-32入(原味x2+芝麻x2+阿薩姆紅茶x2)+紅色提袋x2','1370','1370','0','0','0','1','1','0.0','1','1370','2024-10-08','2024-10-06 19:35:39','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249521',`firm_id` = '8',`ordernumber` = 'O24100020736', `product_name` = '【官網限定】熱銷蛋捲6入組',`product_code` = 'DG0105127-71',`product_sn` = 'DG0105127',`product_spec` = '原味x2+芝麻x2+阿薩姆紅茶x2+紅色提袋x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+阿薩姆紅茶x2)+紅色提袋x2',`listprice` = '1370',`sellingprice` = '1370',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1370',`etd` = '2024-10-08',`create_date` = '2024-10-06 19:35:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020736' and product_code = 'DG0105127-71' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020854' and product_code = 'DG010312-05' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249522','8','O24100020854','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-10-08','2024-10-06 19:42:16','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249522',`firm_id` = '8',`ordernumber` = 'O24100020854', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-10-08',`create_date` = '2024-10-06 19:42:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020854' and product_code = 'DG010312-05' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020854' and product_code = 'ZS010201-02' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249522','8','O24100020854','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-10-08','2024-10-06 19:42:16','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249522',`firm_id` = '8',`ordernumber` = 'O24100020854', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-08',`create_date` = '2024-10-06 19:42:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020854' and product_code = 'ZS010201-02' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020854' and product_code = 'LS010108-01' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249522','8','O24100020854','[加購]加購-原味乳酪絲','LS010108-01','LS010108','-','加購-(藍袋)乳酪絲【原味】','190','190','1','1','190','0','0','0.0','1','190','2024-10-08','2024-10-06 19:42:16','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249522',`firm_id` = '8',`ordernumber` = 'O24100020854', `product_name` = '[加購]加購-原味乳酪絲',`product_code` = 'LS010108-01',`product_sn` = 'LS010108',`product_spec` = '-',`invoice_name` = '加購-(藍袋)乳酪絲【原味】',`listprice` = '190',`sellingprice` = '190',`isadd` = '1',`isbaby` = '1',`addprice` = '190',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '190',`etd` = '2024-10-08',`create_date` = '2024-10-06 19:42:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020854' and product_code = 'LS010108-01' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100020933' and product_code = 'DG0105135-10' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249523','8','O24100020933','【官網限定】澎派蛋捲10入組','DG0105135-10','DG0105135','原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2','組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)','2250','2250','0','0','0','1','1','0.0','1','2250','2024-10-15','2024-10-06 19:46:29','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249523',`firm_id` = '8',`ordernumber` = 'O24100020933', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-10',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-15',`create_date` = '2024-10-06 19:46:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100020933' and product_code = 'DG0105135-10' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100021072' and product_code = 'ZS010201-02' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249524','8','O24100021072','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','1','300','2024-10-08','2024-10-06 23:54:13','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249524',`firm_id` = '8',`ordernumber` = 'O24100021072', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-08',`create_date` = '2024-10-06 23:54:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100021072' and product_code = 'ZS010201-02' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100021072' and product_code = 'DG0105124-62' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249524','8','O24100021072','【期間限定】8結肉酥酥提袋組(32入蛋捲2+肉酥酥+品牌提袋','DG0105124-62','DG0105124','阿薩姆紅茶蛋捲x2+原辣肉酥酥','組合-32入阿薩姆紅茶x2+提盒-肉酥酥【原味+辣味】','770','770','0','0','0','1','1','0.0','1','770','2024-10-08','2024-10-06 23:54:13','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249524',`firm_id` = '8',`ordernumber` = 'O24100021072', `product_name` = '【期間限定】8結肉酥酥提袋組(32入蛋捲2+肉酥酥+品牌提袋',`product_code` = 'DG0105124-62',`product_sn` = 'DG0105124',`product_spec` = '阿薩姆紅茶蛋捲x2+原辣肉酥酥',`invoice_name` = '組合-32入阿薩姆紅茶x2+提盒-肉酥酥【原味+辣味】',`listprice` = '770',`sellingprice` = '770',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '770',`etd` = '2024-10-08',`create_date` = '2024-10-06 23:54:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100021072' and product_code = 'DG0105124-62' 2024-10-06 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100021072' and product_code = 'DG010312-08' 2024-10-06 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'249524','8','O24100021072','【芝麻+海苔】金8結禮盒','DG010312-08','DG010312','金8結盒','禮盒-金8結【芝麻+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-10-08','2024-10-06 23:54:13','2024-10-06 23:59:06',null,'1','2024-09-04') 2024-10-06 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249524',`firm_id` = '8',`ordernumber` = 'O24100021072', `product_name` = '【芝麻+海苔】金8結禮盒',`product_code` = 'DG010312-08',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-10-08',`create_date` = '2024-10-06 23:54:13',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-04'where ordernumber = 'O24100021072' and product_code = 'DG010312-08' 2024-10-06 23:59:06 -- == sync_order_detail end == 2024-10-06 23:59:06 -- == sync_order start == 2024-10-06 23:59:06 -- start:2024-10-06,end:2024-10-06 2024-10-06 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-10-06%' OR l.modify_date like '2024-10-06%'; 2024-10-06 23:59:06 -- == sync omo_order_list == 2024-10-06 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('147455','423526',2,'','','B24100002940','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2360','621','嘉義縣','民雄鄉','621','嘉義縣','民雄鄉','2480','2024-10-06 08:32:26','2024-09-04') 2024-10-06 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('148384','424443',2,'','','B24100003049','1','11','1','1','1','','','0','0000-00-00','0','0','0','','0','30','990','333','桃園市','龜山區','333','桃園市','龜山區','960','2024-10-06 12:57:25','2024-09-04') 2024-10-06 23:59:06 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('148518','424577',2,'','','B24100003152','1','1','1','1','1','80043760','萬銓精機股份有限公司','0','0000-00-00','1200','0','0','','0','30','24000','505','彰化縣','鹿港鎮','505','彰化縣','鹿港鎮','22770','2024-10-06 23:15:04','2024-09-04') 2024-10-06 23:59:06 -- == sync_order end == 2024-10-06 23:59:06 -- == sync_order_detail start == 2024-10-06 23:59:06 -- start:2024-10-06,end:2024-10-06 2024-10-06 23:59:06 -- == sync omo_order_detail == 2024-10-06 23:59:06 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-06%' OR modify_date like '2024-10-06%' 2024-10-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100002940' and product_code = 'DG0103203-107' 2024-10-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32979','8','B24100002940','【喜悅】8結彌月隨享禮盒','DG0103203-107','DG0103203','原味+芝麻,鳳梨酥+鳳梅酥','禮盒-彌月喜悅【原味+芝麻】+鳳梨酥+鳳梅酥','590','590','0','1','0','0','1','0.0','4','2360','2024-10-18','2024-10-06 08:32:26','2024-10-06 23:59:07',null,'1','2024-09-04') 2024-10-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32979',`firm_id` = '8',`ordernumber` = 'B24100002940', `product_name` = '【喜悅】8結彌月隨享禮盒',`product_code` = 'DG0103203-107',`product_sn` = 'DG0103203',`product_spec` = '原味+芝麻,鳳梨酥+鳳梅酥',`invoice_name` = '禮盒-彌月喜悅【原味+芝麻】+鳳梨酥+鳳梅酥',`listprice` = '590',`sellingprice` = '590',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '2360',`etd` = '2024-10-18',`create_date` = '2024-10-06 08:32:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100002940' and product_code = 'DG0103203-107', `lunar_date` = '2024-09-04' 2024-10-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100003049' and product_code = '05401' 2024-10-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32980','8','B24100003049','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2024-10-14','2024-10-06 12:57:25','2024-10-06 23:59:07',null,'1','2024-09-04') 2024-10-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32980',`firm_id` = '8',`ordernumber` = 'B24100003049', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-14',`create_date` = '2024-10-06 12:57:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100003049' and product_code = '05401', `lunar_date` = '2024-09-04' 2024-10-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100003152' and product_code = 'DG010266-05' 2024-10-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32981','8','B24100003152','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','1','0','0','1','0.0','80','24000','2024-10-18','2024-10-06 23:15:04','2024-10-06 23:59:07',null,'1','2024-09-04') 2024-10-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32981',`firm_id` = '8',`ordernumber` = 'B24100003152', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '80',`total_price` = '24000',`etd` = '2024-10-18',`create_date` = '2024-10-06 23:15:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100003152' and product_code = 'DG010266-05', `lunar_date` = '2024-09-04' 2024-10-06 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100003152' and product_code = 'ZP0101106-01' 2024-10-06 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'32981','8','B24100003152','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-10-18','2024-10-06 23:15:04','2024-10-06 23:59:07',null,'1','2024-09-04') 2024-10-06 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32981',`firm_id` = '8',`ordernumber` = 'B24100003152', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-18',`create_date` = '2024-10-06 23:15:04',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100003152' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-04' 2024-10-06 23:59:07 -- == sync_order_detail end == 2024-10-06 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-10-06' OR o.updated_at = '2024-10-06') and o.deleted_at is null 2024-10-06 23:59:07 -- == sync_order_detail start == 2024-10-06 23:59:07 -- start:2024-10-06,end:2024-10-06 2024-10-06 23:59:07 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-10-06 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-10-06 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-10-06%';