2024-10-26 23:59:01 -- == sync_order start == 2024-10-26 23:59:01 -- start:2024-10-26,end:2024-10-26 2024-10-26 23:59:01 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-10-26%' OR l.modify_date like '2024-10-26%'; 2024-10-26 23:59:02 -- == sync omo_order_list == 2024-10-26 23:59:02 -- == update lake.omo_order_list == update omo_order_list set userId = '425938', process_status = '3', pay_status = '1', totalprice_after = '5320', lunar_date = '2024-09-14', invoice_status = '1',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24100049925RB' 2024-10-26 23:59:02 -- == 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 ('391346','427618',1,'','','O24100081891','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2400','813','高雄市','左營區','813','高雄市','左營區','2520','2024-10-26 08:59:41','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('373940','225121',1,'','','O24100081996','1','11','1','1','1','76211194','國立中山大學','0','0000-00-00','0','0','0','','150','0','2030','804','高雄市','鼓山區','804','高雄市','鼓山區','2180','2024-10-26 10:28:32','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('364941','401516',1,'','','O24100082087','1','1','1','1','1','97355029','嘉健醫療器材有限公司','0','0000-00-00','0','0','0','','150','0','1630','234','新北市','永和區','234','新北市','永和區','1780','2024-10-26 12:24:39','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('372166','408663',1,'','','O24100082127','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1450','269','宜蘭縣','冬山鄉','242','新北市','新莊區','1600','2024-10-26 15:26:28','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('391442','427714',1,'','','O24100082257','1','11','1','1','1','50792105','亞億健康管理顧問有限公司','0','0000-00-00','0','0','0','','150','30','2920','106','台北市','大安區','106','台北市','大安區','3040','2024-10-26 15:44:32','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('388448','424735',1,'','','O24100082373','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','0','625','608','嘉義縣','水上鄉','608','嘉義縣','水上鄉','775','2024-10-26 15:48:09','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('386098','422411',1,'','','O24100082449','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1600','242','新北市','新莊區','242','新北市','新莊區','1750','2024-10-26 16:08:15','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('89804','61571',1,'','','O24100082578','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1450','302','新竹縣','竹北市','302','新竹縣','竹北市','1600','2024-10-26 18:59:59','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('391519','427791',1,'','','O24100082650','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1120','504','彰化縣','秀水鄉','504','彰化縣','秀水鄉','1240','2024-10-26 20:18:00','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('391533','427805',1,'','','O24100082749','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','234','新北市','永和區','234','新北市','永和區','620','2024-10-26 22:11:01','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('376220','412671',1,'','','O24100082898','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','500','302','新竹縣','竹北市','302','新竹縣','竹北市','650','2024-10-26 22:56:47','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('388730','425015',1,'','','O24100082986','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1080','326','桃園市','楊梅區','326','桃園市','楊梅區','1200','2024-10-26 23:06:09','2024-09-24') 2024-10-26 23:59:02 -- == 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 ('388448','424735',1,'','','O24100083044','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','1495','608','嘉義縣','水上鄉','608','嘉義縣','水上鄉','1645','2024-10-26 23:14:39','2024-09-24') 2024-10-26 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 ('391339','427611',1,'','','O24100083174','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2200','704','台南市','北區','704','台南市','北區','2320','2024-10-26 23:30:17','2024-09-24') 2024-10-26 23:59:03 -- == sync_order end == 2024-10-26 23:59:03 -- == sync_order_detail start == 2024-10-26 23:59:03 -- start:2024-10-26,end:2024-10-26 2024-10-26 23:59:03 -- == sync omo_order_detail == 2024-10-26 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-26%' OR modify_date like '2024-10-26%' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100049925RB' and product_code = 'BP010183-01' 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249857',`firm_id` = '8',`ordernumber` = 'S24100049925RB', `product_name` = '贈品-SNOOPY飲料提袋',`product_code` = 'BP010183-01',`product_sn` = 'BP010183',`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-26',`create_date` = '2024-10-15 11:39:49',`modify_date` = '2024-10-26 13:56:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100049925RB' and product_code = 'BP010183-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100049925RB' and product_code = 'BP010186-01' 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249857',`firm_id` = '8',`ordernumber` = 'S24100049925RB', `product_name` = '贈品-SNOOPY盥洗收納包',`product_code` = 'BP010186-01',`product_sn` = 'BP010186',`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-26',`create_date` = '2024-10-15 11:39:49',`modify_date` = '2024-10-26 13:56:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100049925RB' and product_code = 'BP010186-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100049925RB' and product_code = 'DG010101-01' 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249857',`firm_id` = '8',`ordernumber` = 'S24100049925RB', `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` = '18',`total_price` = '5040',`etd` = '2024-10-26',`create_date` = '2024-10-15 11:39:49',`modify_date` = '2024-10-26 13:56:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100049925RB' and product_code = 'DG010101-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100049925RB' and product_code = 'DG010404-01' 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249857',`firm_id` = '8',`ordernumber` = 'S24100049925RB', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '160',`etd` = '2024-10-26',`create_date` = '2024-10-15 11:39:49',`modify_date` = '2024-10-26 13:56:01',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-13'where ordernumber = 'S24100049925RB' and product_code = 'DG010404-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100081891' and product_code = 'DG010312-03' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250147','8','O24100081891','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','3','1440','2024-10-28','2024-10-26 08:59:41','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250147',`firm_id` = '8',`ordernumber` = 'O24100081891', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-10-28',`create_date` = '2024-10-26 08:59:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100081891' and product_code = 'DG010312-03' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100081891' and product_code = 'DG010312-07' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250147','8','O24100081891','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-10-28','2024-10-26 08:59:41','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250147',`firm_id` = '8',`ordernumber` = 'O24100081891', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-10-28',`create_date` = '2024-10-26 08:59:41',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100081891' and product_code = 'DG010312-07' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100081996' and product_code = 'DG010527-01' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250148','8','O24100081996','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','7','2030','2024-10-28','2024-10-26 10:28:32','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250148',`firm_id` = '8',`ordernumber` = 'O24100081996', `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` = '7',`total_price` = '2030',`etd` = '2024-10-28',`create_date` = '2024-10-26 10:28:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100081996' and product_code = 'DG010527-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082087' and product_code = 'DG0105103-03' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250149','8','O24100082087','SNOOPY美好心意-蛋捲三入組','DG0105103-03','DG0105103','原味+原味+咖啡','組合-32入(原味+原味+咖啡)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-28','2024-10-26 12:24:39','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250149',`firm_id` = '8',`ordernumber` = 'O24100082087', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-03',`product_sn` = 'DG0105103',`product_spec` = '原味+原味+咖啡',`invoice_name` = '組合-32入(原味+原味+咖啡)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-28',`create_date` = '2024-10-26 12:24:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082087' and product_code = 'DG0105103-03' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082087' and product_code = 'BP010179-01' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250149','8','O24100082087','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-10-28','2024-10-26 12:24:39','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250149',`firm_id` = '8',`ordernumber` = 'O24100082087', `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-10-28',`create_date` = '2024-10-26 12:24:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082087' and product_code = 'BP010179-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082087' and product_code = 'BP010185-01' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250149','8','O24100082087','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-28','2024-10-26 12:24:39','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250149',`firm_id` = '8',`ordernumber` = 'O24100082087', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-28',`create_date` = '2024-10-26 12:24:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082087' and product_code = 'BP010185-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082127' and product_code = '13656' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250150','8','O24100082127','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2024-10-28','2024-10-26 15:26:28','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250150',`firm_id` = '8',`ordernumber` = 'O24100082127', `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` = '5',`total_price` = '1450',`etd` = '2024-10-28',`create_date` = '2024-10-26 15:26:28',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082127' and product_code = '13656' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082257' and product_code = 'DG010312-01' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250151','8','O24100082257','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','1','480','2024-11-08','2024-10-26 15:44:32','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250151',`firm_id` = '8',`ordernumber` = 'O24100082257', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-11-08',`create_date` = '2024-10-26 15:44:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082257' and product_code = 'DG010312-01' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082257' and product_code = 'DG010312-09' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250151','8','O24100082257','【芝麻+巧克力】金8結禮盒','DG010312-09','DG010312','金8結盒','禮盒-金8結【芝麻+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-11-08','2024-10-26 15:44:32','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:04 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250151',`firm_id` = '8',`ordernumber` = 'O24100082257', `product_name` = '【芝麻+巧克力】金8結禮盒',`product_code` = 'DG010312-09',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-11-08',`create_date` = '2024-10-26 15:44:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082257' and product_code = 'DG010312-09' 2024-10-26 23:59:04 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082257' and product_code = 'DG010394-03' 2024-10-26 23:59:04 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'250151','8','O24100082257','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-03','DG010394','原味蛋捲,咖啡蛋捲','禮盒-故宮(文物款)【原味+咖啡】','500','500','0','0','0','0','1','0.0','2','1000','2024-11-08','2024-10-26 15:44:32','2024-10-26 23:59:04',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250151',`firm_id` = '8',`ordernumber` = 'O24100082257', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-03',`product_sn` = 'DG010394',`product_spec` = '原味蛋捲,咖啡蛋捲',`invoice_name` = '禮盒-故宮(文物款)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-11-08',`create_date` = '2024-10-26 15:44:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082257' and product_code = 'DG010394-03' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082257' and product_code = 'DG010312-02' 2024-10-26 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,'250151','8','O24100082257','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2024-11-08','2024-10-26 15:44:32','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250151',`firm_id` = '8',`ordernumber` = 'O24100082257', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2024-11-08',`create_date` = '2024-10-26 15:44:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082257' and product_code = 'DG010312-02' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082373' and product_code = 'DG0103182-422' 2024-10-26 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,'250152','8','O24100082373','金巧8結禮盒','DG0103182-422','DG0103182','巧克力,鳳梨酥,鳳梅酥','禮盒-金巧8結【(巧克力)-鳳梨酥+鳳梅酥】','625','625','0','0','0','0','1','0.0','1','625','2024-10-31','2024-10-26 15:48:09','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250152',`firm_id` = '8',`ordernumber` = 'O24100082373', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-422',`product_sn` = 'DG0103182',`product_spec` = '巧克力,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-金巧8結【(巧克力)-鳳梨酥+鳳梅酥】',`listprice` = '625',`sellingprice` = '625',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '625',`etd` = '2024-10-31',`create_date` = '2024-10-26 15:48:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082373' and product_code = 'DG0103182-422' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082449' and product_code = 'TE010101-01' 2024-10-26 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,'250153','8','O24100082449','棗香枸杞茶','TE010101-01','TE010101','6入紅棗枸杞茶包','(盒)枸杞茶','160','160','0','0','0','0','1','160.0','10','1600','2024-10-28','2024-10-26 16:08:15','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250153',`firm_id` = '8',`ordernumber` = 'O24100082449', `product_name` = '棗香枸杞茶',`product_code` = 'TE010101-01',`product_sn` = 'TE010101',`product_spec` = '6入紅棗枸杞茶包',`invoice_name` = '(盒)枸杞茶',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '10',`total_price` = '1600',`etd` = '2024-10-28',`create_date` = '2024-10-26 16:08:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082449' and product_code = 'TE010101-01' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082578' and product_code = 'DG010527-01' 2024-10-26 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,'250154','8','O24100082578','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','5','1450','2024-10-28','2024-10-26 18:59:59','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250154',`firm_id` = '8',`ordernumber` = 'O24100082578', `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` = '5',`total_price` = '1450',`etd` = '2024-10-28',`create_date` = '2024-10-26 18:59:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082578' and product_code = 'DG010527-01' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082650' and product_code = 'DG010101-03' 2024-10-26 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,'250155','8','O24100082650','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-10-28','2024-10-26 20:18:00','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250155',`firm_id` = '8',`ordernumber` = 'O24100082650', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-10-28',`create_date` = '2024-10-26 20:18:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082650' and product_code = 'DG010101-03' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082650' and product_code = 'DG010101-05' 2024-10-26 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,'250155','8','O24100082650','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-10-28','2024-10-26 20:18:00','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250155',`firm_id` = '8',`ordernumber` = 'O24100082650', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-10-28',`create_date` = '2024-10-26 20:18:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082650' and product_code = 'DG010101-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082749' and product_code = 'DG0103188-12' 2024-10-26 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,'250156','8','O24100082749','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-12','DG0103188','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-10-28','2024-10-26 22:11:01','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250156',`firm_id` = '8',`ordernumber` = 'O24100082749', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-12',`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-28',`create_date` = '2024-10-26 22:11:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082749' and product_code = 'DG0103188-12' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082898' and product_code = 'DG0103188-10' 2024-10-26 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,'250157','8','O24100082898','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-10','DG0103188','芝麻蛋捲,咖啡蛋捲','禮盒-SNOOPY(橘)【芝麻+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-10-28','2024-10-26 22:56:47','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250157',`firm_id` = '8',`ordernumber` = 'O24100082898', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-10',`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-28',`create_date` = '2024-10-26 22:56:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082898' and product_code = 'DG0103188-10' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082986' and product_code = 'DG010265-01' 2024-10-26 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,'250158','8','O24100082986','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-10-28','2024-10-26 23:06:09','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250158',`firm_id` = '8',`ordernumber` = 'O24100082986', `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` = '2',`total_price` = '600',`etd` = '2024-10-28',`create_date` = '2024-10-26 23:06:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082986' and product_code = 'DG010265-01' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082986' and product_code = 'DG010312-05' 2024-10-26 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,'250158','8','O24100082986','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-10-28','2024-10-26 23:06:09','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250158',`firm_id` = '8',`ordernumber` = 'O24100082986', `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-28',`create_date` = '2024-10-26 23:06:09',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082986' and product_code = 'DG010312-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083044' and product_code = '13656' 2024-10-26 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,'250159','8','O24100083044','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2024-10-31','2024-10-26 23:14:39','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250159',`firm_id` = '8',`ordernumber` = 'O24100083044', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2024-10-31',`create_date` = '2024-10-26 23:14:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100083044' and product_code = '13656' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083044' and product_code = 'DG0103182-02' 2024-10-26 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,'250159','8','O24100083044','金巧8結禮盒','DG0103182-02','DG0103182','原味,鳳梨酥,鳳梅酥','禮盒-金巧8結【(原味)-鳳梨酥+鳳梅酥】','625','625','0','0','0','0','1','0.0','1','625','2024-10-31','2024-10-26 23:14:39','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250159',`firm_id` = '8',`ordernumber` = 'O24100083044', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-02',`product_sn` = 'DG0103182',`product_spec` = '原味,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-金巧8結【(原味)-鳳梨酥+鳳梅酥】',`listprice` = '625',`sellingprice` = '625',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '625',`etd` = '2024-10-31',`create_date` = '2024-10-26 23:14:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100083044' and product_code = 'DG0103182-02' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083174' and product_code = 'DG0103188-12' 2024-10-26 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,'250160','8','O24100083174','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-12','DG0103188','芝麻蛋捲,巧克力蛋捲','禮盒-SNOOPY(橘)【芝麻+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2024-10-28','2024-10-26 23:30:17','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250160',`firm_id` = '8',`ordernumber` = 'O24100083174', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-12',`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` = '2',`total_price` = '1000',`etd` = '2024-10-28',`create_date` = '2024-10-26 23:30:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100083174' and product_code = 'DG0103188-12' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083174' and product_code = 'GG010201-01' 2024-10-26 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,'250160','8','O24100083174','皇家黑松露堅果提盒','GG010201-01','01305','10入黑松露腰果','提盒-堅果【腰果】','950','950','0','0','0','0','1','0.0','1','950','2024-10-28','2024-10-26 23:30:17','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250160',`firm_id` = '8',`ordernumber` = 'O24100083174', `product_name` = '皇家黑松露堅果提盒',`product_code` = 'GG010201-01',`product_sn` = '01305',`product_spec` = '10入黑松露腰果',`invoice_name` = '提盒-堅果【腰果】',`listprice` = '950',`sellingprice` = '950',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '950',`etd` = '2024-10-28',`create_date` = '2024-10-26 23:30:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100083174' and product_code = 'GG010201-01' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083174' and product_code = 'BP010185-01' 2024-10-26 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,'250160','8','O24100083174','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-28','2024-10-26 23:30:17','2024-10-26 23:59:05',null,'1','2024-09-24') 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250160',`firm_id` = '8',`ordernumber` = 'O24100083174', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-28',`create_date` = '2024-10-26 23:30:17',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100083174' and product_code = 'BP010185-01' 2024-10-26 23:59:05 -- == sync_order_detail end == 2024-10-26 23:59:05 -- == sync_order start == 2024-10-26 23:59:05 -- start:2024-10-26,end:2024-10-26 2024-10-26 23:59:05 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-10-26%' OR l.modify_date like '2024-10-26%'; 2024-10-26 23:59:05 -- == sync omo_order_list == 2024-10-26 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '423714', process_status = '3', pay_status = '1', totalprice_after = '40915', lunar_date = '2024-09-05', invoice_status = '1', category_name = '正式彌,迪化門市訂單', category_id = '1,28' where ordernumber = 'M24100004563' 2024-10-26 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '427221', process_status = '3', pay_status = '8', totalprice_after = '1270', lunar_date = '2024-09-21', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24100019125' 2024-10-26 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '200006', process_status = '3', pay_status = '8', totalprice_after = '1440', lunar_date = '2024-09-22', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24100020367' 2024-10-26 23:59:05 -- == update lake.omo_order_list == update omo_order_list set userId = '427389', process_status = '3', pay_status = '1', totalprice_after = '400', lunar_date = '2024-09-22', invoice_status = '1', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24100020723' 2024-10-26 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('151588','427625',2,'','','B24100022274','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','590','621','嘉義縣','民雄鄉','712','台南市','新化區','710','2024-10-26 11:05:44','2024-09-24') 2024-10-26 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('150283','426329',2,'正式彌,永康門市訂單','1,22','M24100022366','1','6','7','1','1','','','1','2024-11-05','0','1155','0','','0','0','23100','106','台北市','大安區','106','台北市','大安區','21945','2024-10-26 16:38:25','2024-09-24') 2024-10-26 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('150292','426338',2,'','','B24100022425','1','11','1','1','1','','','0','0000-00-00','1000','0','0','','0','30','20000','324','桃園市','平鎮區','324','桃園市','平鎮區','18970','2024-10-26 18:05:15','2024-09-24') 2024-10-26 23:59:05 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('151328','427367',2,'','','B24100022575','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2100','832','高雄市','林園區','832','高雄市','林園區','2220','2024-10-26 20:44:08','2024-09-24') 2024-10-26 23:59:05 -- == sync_order end == 2024-10-26 23:59:05 -- == sync_order_detail start == 2024-10-26 23:59:05 -- start:2024-10-26,end:2024-10-26 2024-10-26 23:59:05 -- == sync omo_order_detail == 2024-10-26 23:59:05 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-26%' OR modify_date like '2024-10-26%' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100004563' and product_code = 'DG010269-01' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32995',`firm_id` = '8',`ordernumber` = 'M24100004563', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-01',`product_sn` = 'DG010269',`product_spec` = '原味',`invoice_name` = '提盒-彌月吳淡如-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '27',`total_price` = '8100',`etd` = '2024-10-10',`create_date` = '2024-10-07 12:27:22',`modify_date` = '2024-10-26 12:04:50',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100004563' and product_code = 'DG010269-01', `lunar_date` = '2024-09-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100004563' and product_code = 'DG010269-02' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32995',`firm_id` = '8',`ordernumber` = 'M24100004563', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-02',`product_sn` = 'DG010269',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月吳淡如-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-10-10',`create_date` = '2024-10-07 12:27:22',`modify_date` = '2024-10-26 12:04:50',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100004563' and product_code = 'DG010269-02', `lunar_date` = '2024-09-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100004563' and product_code = 'DG010269-04' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32995',`firm_id` = '8',`ordernumber` = 'M24100004563', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-04',`product_sn` = 'DG010269',`product_spec` = '海苔',`invoice_name` = '提盒-彌月吳淡如-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-10',`create_date` = '2024-10-07 12:27:22',`modify_date` = '2024-10-26 12:04:50',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100004563' and product_code = 'DG010269-04', `lunar_date` = '2024-09-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100004563' and product_code = 'DG010269-05' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32995',`firm_id` = '8',`ordernumber` = 'M24100004563', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-05',`product_sn` = 'DG010269',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月吳淡如-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '97',`total_price` = '29100',`etd` = '2024-10-10',`create_date` = '2024-10-07 12:27:22',`modify_date` = '2024-10-26 12:04:50',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100004563' and product_code = 'DG010269-05', `lunar_date` = '2024-09-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100004563' and product_code = 'DG010316-05' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32995',`firm_id` = '8',`ordernumber` = 'M24100004563', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-05',`product_sn` = 'DG010316',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月樂芙【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '7',`total_price` = '3500',`etd` = '2024-10-10',`create_date` = '2024-10-07 12:27:22',`modify_date` = '2024-10-26 12:04:50',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100004563' and product_code = 'DG010316-05', `lunar_date` = '2024-09-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100004563' and product_code = 'DG010316-09' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '32995',`firm_id` = '8',`ordernumber` = 'M24100004563', `product_name` = '8結彌月禮盒-樂芙',`product_code` = 'DG010316-09',`product_sn` = 'DG010316',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月樂芙【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-10-10',`create_date` = '2024-10-07 12:27:22',`modify_date` = '2024-10-26 12:04:50',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100004563' and product_code = 'DG010316-09', `lunar_date` = '2024-09-05' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100019125' and product_code = 'DG010267-01' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33151',`firm_id` = '11',`ordernumber` = 'M24100019125', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`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-25',`create_date` = '2024-10-23 14:35:19',`modify_date` = '2024-10-26 11:35:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100019125' and product_code = 'DG010267-01', `lunar_date` = '2024-09-21' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100019125' and product_code = 'DG010270-04' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33151',`firm_id` = '11',`ordernumber` = 'M24100019125', `product_name` = '吳淡如提盒-彌月試吃【A3】',`product_code` = 'DG010270-04',`product_sn` = 'DG010270',`product_spec` = '海苔',`invoice_name` = '提盒-彌月吳淡如-40入海苔(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-25',`create_date` = '2024-10-23 14:35:19',`modify_date` = '2024-10-26 11:35:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100019125' and product_code = 'DG010270-04', `lunar_date` = '2024-09-21' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100019125' and product_code = 'DG0103190-09' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33151',`firm_id` = '11',`ordernumber` = 'M24100019125', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-09',`product_sn` = 'DG0103190',`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-25',`create_date` = '2024-10-23 14:35:19',`modify_date` = '2024-10-26 11:35:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100019125' and product_code = 'DG0103190-09', `lunar_date` = '2024-09-21' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100019125' and product_code = 'DG0103206-244' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33151',`firm_id` = '11',`ordernumber` = 'M24100019125', `product_name` = '新生彌月試吃禮盒【C1】',`product_code` = 'DG0103206-244',`product_sn` = 'DG0103206',`product_spec` = '原味+咖啡.南棗核桃糕+枸杞茶',`invoice_name` = '禮盒-彌月新生【原味+咖啡】+南棗核桃糕+枸杞茶(試吃)',`listprice` = '570',`sellingprice` = '570',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '570',`etd` = '2024-10-25',`create_date` = '2024-10-23 14:35:19',`modify_date` = '2024-10-26 11:35:27',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100019125' and product_code = 'DG0103206-244', `lunar_date` = '2024-09-21' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100020367' and product_code = 'DG0103137-02' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33163',`firm_id` = '11',`ordernumber` = 'M24100020367', `product_name` = '樂芙禮盒彌月試吃【B1】',`product_code` = 'DG0103137-02',`product_sn` = 'DG0103137',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月樂芙【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '500.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-25',`create_date` = '2024-10-24 09:47:43',`modify_date` = '2024-10-26 12:02:03',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100020367' and product_code = 'DG0103137-02', `lunar_date` = '2024-09-22' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100020367' and product_code = 'DG0103190-12' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33163',`firm_id` = '11',`ordernumber` = 'M24100020367', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-12',`product_sn` = 'DG0103190',`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-25',`create_date` = '2024-10-24 09:47:43',`modify_date` = '2024-10-26 12:02:03',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100020367' and product_code = 'DG0103190-12', `lunar_date` = '2024-09-22' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100020367' and product_code = 'DG0103206-781' 2024-10-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33163',`firm_id` = '11',`ordernumber` = 'M24100020367', `product_name` = '新生彌月試吃禮盒【C1】',`product_code` = 'DG0103206-781',`product_sn` = 'DG0103206',`product_spec` = '芝麻+海苔.芝麻糕+國寶茶',`invoice_name` = '禮盒-彌月新生【芝麻+海苔】+芝麻糕+國寶茶(試吃)',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '540',`etd` = '2024-10-25',`create_date` = '2024-10-24 09:47:43',`modify_date` = '2024-10-26 12:02:03',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100020367' and product_code = 'DG0103206-781', `lunar_date` = '2024-09-22' 2024-10-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100020367' and product_code = 'DG010270-03' 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33163',`firm_id` = '11',`ordernumber` = 'M24100020367', `product_name` = '吳淡如提盒-彌月試吃【A3】',`product_code` = 'DG010270-03',`product_sn` = 'DG010270',`product_spec` = '咖啡',`invoice_name` = '提盒-彌月吳淡如-40入咖啡(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-25',`create_date` = '2024-10-24 09:47:43',`modify_date` = '2024-10-26 12:02:03',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100020367' and product_code = 'DG010270-03', `lunar_date` = '2024-09-22' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100020723' and product_code = 'DG0103190-02' 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33167',`firm_id` = '11',`ordernumber` = 'M24100020723', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-02',`product_sn` = 'DG0103190',`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-25',`create_date` = '2024-10-24 15:20:34',`modify_date` = '2024-10-26 17:09:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100020723' and product_code = 'DG0103190-02', `lunar_date` = '2024-09-22' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022274' and product_code = 'DG0103203-107' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33182','8','B24100022274','【喜悅】8結彌月隨享禮盒','DG0103203-107','DG0103203','原味+芝麻,鳳梨酥+鳳梅酥','禮盒-彌月喜悅【原味+芝麻】+鳳梨酥+鳳梅酥','590','590','0','1','0','0','1','0.0','1','590','2024-11-06','2024-10-26 11:05:44','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33182',`firm_id` = '8',`ordernumber` = 'B24100022274', `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` = '1',`total_price` = '590',`etd` = '2024-11-06',`create_date` = '2024-10-26 11:05:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022274' and product_code = 'DG0103203-107', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022366' and product_code = 'DG010266-04' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33183','8','M24100022366','SNOOPY獨特心意-8結彌月提盒','DG010266-04','DG010266','海苔','提盒-彌月SNOOPY(粉)-40入海苔','300','300','0','0','0','0','1','0.0','77','23100','2024-11-05','2024-10-26 16:38:25','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33183',`firm_id` = '8',`ordernumber` = 'M24100022366', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-04',`product_sn` = 'DG010266',`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` = '77',`total_price` = '23100',`etd` = '2024-11-05',`create_date` = '2024-10-26 16:38:25',`modify_date` = '2024-10-26 16:42:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022366' and product_code = 'DG010266-04', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022366' and product_code = 'ZP0101106-01' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33183','8','M24100022366','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-11-05','2024-10-26 16:38:25','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33183',`firm_id` = '8',`ordernumber` = 'M24100022366', `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-11-05',`create_date` = '2024-10-26 16:38:25',`modify_date` = '2024-10-26 16:42:18',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022366' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'DG010266-02' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','SNOOPY獨特心意-8結彌月提盒','DG010266-02','DG010266','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻','300','300','0','1','0','0','1','0.0','23','6900','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '23',`total_price` = '6900',`etd` = '2024-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'DG010266-02', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'DG010266-01' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','1','0','0','1','0.0','36','10800','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '36',`total_price` = '10800',`etd` = '2024-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'DG010266-01', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'DG010266-05' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','1','0','0','1','0.0','1','300','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `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` = '1',`total_price` = '300',`etd` = '2024-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'DG010266-05', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'DG0103189-05' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','SNOOPY美好探尋-8結彌月禮盒','DG0103189-05','DG0103189','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】','500','500','0','1','0','0','1','0.0','2','1000','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-05',`product_sn` = 'DG0103189',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'DG0103189-05', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'DG0103189-02' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','SNOOPY美好探尋-8結彌月禮盒','DG0103189-02','DG0103189','原味+芝麻','禮盒-彌月SNOOPY(橘)【原味+芝麻】','500','500','0','1','0','0','1','0.0','1','500','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-02',`product_sn` = 'DG0103189',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'DG0103189-02', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'DG0103189-09' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','SNOOPY美好探尋-8結彌月禮盒','DG0103189-09','DG0103189','芝麻+巧克力','禮盒-彌月SNOOPY(橘)【芝麻+巧克力】','500','500','0','1','0','0','1','0.0','1','500','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-09',`product_sn` = 'DG0103189',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'DG0103189-09', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022425' and product_code = 'ZP0101106-01' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33184','8','B24100022425','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-11-06','2024-10-26 18:05:15','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33184',`firm_id` = '8',`ordernumber` = 'B24100022425', `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-11-06',`create_date` = '2024-10-26 18:05:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022425' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022575' and product_code = 'DG010266-05' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33185','8','B24100022575','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','1','0','0','1','0.0','3','900','2024-11-06','2024-10-26 20:44:08','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33185',`firm_id` = '8',`ordernumber` = 'B24100022575', `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` = '3',`total_price` = '900',`etd` = '2024-11-06',`create_date` = '2024-10-26 20:44:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022575' and product_code = 'DG010266-05', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022575' and product_code = 'DG010266-01' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33185','8','B24100022575','SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','1','0','0','1','0.0','3','900','2024-11-06','2024-10-26 20:44:08','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33185',`firm_id` = '8',`ordernumber` = 'B24100022575', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '900',`etd` = '2024-11-06',`create_date` = '2024-10-26 20:44:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022575' and product_code = 'DG010266-01', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100022575' and product_code = 'DG010266-03' 2024-10-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'33185','8','B24100022575','SNOOPY獨特心意-8結彌月提盒','DG010266-03','DG010266','咖啡','提盒-彌月SNOOPY(粉)-40入咖啡','300','300','0','1','0','0','1','0.0','1','300','2024-11-06','2024-10-26 20:44:08','2024-10-26 23:59:06',null,'1','2024-09-24') 2024-10-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33185',`firm_id` = '8',`ordernumber` = 'B24100022575', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-03',`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` = '1',`total_price` = '300',`etd` = '2024-11-06',`create_date` = '2024-10-26 20:44:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100022575' and product_code = 'DG010266-03', `lunar_date` = '2024-09-24' 2024-10-26 23:59:06 -- == sync_order_detail end == 2024-10-26 23:59:06 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-10-26' OR o.updated_at = '2024-10-26') and o.deleted_at is null 2024-10-26 23:59:06 -- == sync_order_detail start == 2024-10-26 23:59:06 -- start:2024-10-26,end:2024-10-26 2024-10-26 23:59:06 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-10-26 23:59:07 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-10-26 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-26%';