2024-07-14 23:59:02 -- == sync_order start == 2024-07-14 23:59:02 -- start:2024-07-14,end:2024-07-14 2024-07-14 23:59:02 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-07-14%' OR l.modify_date like '2024-07-14%'; 2024-07-14 23:59:03 -- == sync omo_order_list == 2024-07-14 23:59:04 -- == update lake.omo_order_list == update omo_order_list set userId = '400629', process_status = '3', pay_status = '1', totalprice_after = '2070', lunar_date = '2024-06-05', invoice_status = '0',category_name = 'LINE@訂單,迪化門市訂單', category_id = '9,43' where ordernumber = 'S24070034962' 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364633','401213',1,'','','O24070050699','1','1','1','1','1','82966748','佰億建設有限公司','0','0000-00-00','0','0','0','','0','30','6510','500','彰化縣','彰化市','500','彰化縣','彰化市','6480','2024-07-14 00:01:33','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364638','401217',1,'','','O24070050713','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','2400','111','台北市','士林區','111','台北市','士林區','2450','2024-07-14 02:00:25','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364447','401028',1,'','','O24070050828','1','2','1','1','1','','','0','0000-00-00','769','0','0','','0','30','16385','640','雲林縣','斗六市','640','雲林縣','斗六市','15586','2024-07-14 08:06:02','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364641','401220',1,'','','O24070050986','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1680','800','高雄市','新興區','800','高雄市','新興區','1800','2024-07-14 10:07:16','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('324693','361677',1,'','','O24070051027','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','0','8580','613','嘉義縣','朴子市','625','嘉義縣','布袋鎮','8580','2024-07-14 13:23:58','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345236','381992',1,',永康當日宅配',',19','S24070051130','1','1','7','0','6','','','0','2024-07-14','0','428','0','','0','0','8555','100','台北市','中正區','100','台北市','中正區','8127','2024-07-14 14:05:13','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364683','401262',1,'','','O24070051252','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1250','324','桃園市','平鎮區','324','桃園市','平鎮區','1370','2024-07-14 14:07:08','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364685','401264',1,'','','O24070051377','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','885','350','苗栗縣','竹南鎮','350','苗栗縣','竹南鎮','1005','2024-07-14 14:18:19','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345236','381992',1,'永康當日宅配','19','S24070051495','1','1','7','0','6','','','0','2024-07-15','0','428','0','','0','0','8555','100','台北市','中正區','100','台北市','中正區','8127','2024-07-14 14:23:08','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('345236','381992',1,'永康當日宅配','19','S24070051523','1','1','7','1','3','','','1','2024-07-14','0','428','0','','0','0','8555','100','台北市','中正區','100','台北市','中正區','8127','2024-07-14 14:36:15','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364713','401292',1,'','','O24070051694','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','811','高雄市','楠梓區','811','高雄市','楠梓區','620','2024-07-14 15:23:29','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('288977','326439',1,'','','O24070051780','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','4335','640','雲林縣','斗六市','646','雲林縣','古坑鄉','4485','2024-07-14 16:35:19','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364759','401339',1,'','','O24070051838','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','0','795','545','南投縣','埔里鎮','545','南投縣','埔里鎮','945','2024-07-14 18:26:26','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364776','401356',1,'','','O24070051967','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1770','247','新北市','蘆洲區','247','新北市','蘆洲區','1890','2024-07-14 19:04:02','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364770','401350',1,'','','O24070052027','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','6970','427','台中市','潭子區','721','台南市','麻豆區','6940','2024-07-14 19:08:30','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364781','401361',1,'','','O24070052156','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','325','桃園市','龍潭區','647','雲林縣','莿桐鄉','1080','2024-07-14 20:07:22','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('316505','353606',1,'','','O24070052218','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','480','205','基隆市','暖暖區','205','基隆市','暖暖區','630','2024-07-14 20:17:21','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364627','401207',1,'','','O24070052314','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','333','桃園市','龜山區','333','桃園市','龜山區','960','2024-07-14 20:45:58','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364790','401370',1,'','','O24070052447','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','885','114','台北市','內湖區','114','台北市','內湖區','1005','2024-07-14 22:33:27','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364791','401371',1,'','','O24070052584','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','880','300','新竹市','東區','112','台北市','北投區','1000','2024-07-14 22:39:59','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('352045','388729',1,'','','O24070052668','1','11','1','0','0','13675999','高雄市私立小太陽菁英幼兒園','0','0000-00-00','0','0','0','','150','0','3540','815','高雄市','大社區','815','高雄市','大社區','3690','2024-07-14 23:15:49','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('352045','388729',1,'','','O24070052780','1','11','1','0','0','13675999','高雄市私立小太陽菁英幼兒園','0','0000-00-00','0','0','0','','150','0','3600','815','高雄市','大社區','815','高雄市','大社區','3750','2024-07-14 23:20:31','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('352045','388729',1,'','','O24070052876','1','11','1','1','1','13675999','高雄市私立小太陽菁英幼兒園','0','0000-00-00','0','0','0','','150','0','3600','815','高雄市','大社區','815','高雄市','大社區','3750','2024-07-14 23:24:56','2024-06-09') 2024-07-14 23:59:04 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('364630','401210',1,'','','O24070052910','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','500','630','雲林縣','斗南鎮','630','雲林縣','斗南鎮','620','2024-07-14 23:52:42','2024-06-09') 2024-07-14 23:59:04 -- == sync_order end == 2024-07-14 23:59:04 -- == sync_order_detail start == 2024-07-14 23:59:04 -- start:2024-07-14,end:2024-07-14 2024-07-14 23:59:04 -- == sync omo_order_detail == 2024-07-14 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-14%' OR modify_date like '2024-07-14%' 2024-07-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070034962' and product_code = 'DG010203-01' 2024-07-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234757',`firm_id` = '8',`ordernumber` = 'S24070034962', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '2100',`etd` = '2024-07-12',`create_date` = '2024-07-10 14:26:19',`modify_date` = '2024-07-14 11:01:48',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-05'where ordernumber = 'S24070034962' and product_code = 'DG010203-01' 2024-07-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050699' and product_code = 'DG010523-09' 2024-07-14 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,'234914','8','O24070050699','SNOOPY帶走心意-蛋捲三入組','DG010523-09','DG010523','原味+芝麻+巧克力','組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','3','2970','2024-09-04','2024-07-14 00:01:33','2024-07-14 23:59:05',null,'1','2024-06-09') 2024-07-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234914',`firm_id` = '8',`ordernumber` = 'O24070050699', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-09',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+巧克力',`invoice_name` = '組合-32入(原味+芝麻+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '2970',`etd` = '2024-09-04',`create_date` = '2024-07-14 00:01:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050699' and product_code = 'DG010523-09' 2024-07-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050699' and product_code = 'DG010523-07' 2024-07-14 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,'234914','8','O24070050699','SNOOPY帶走心意-蛋捲三入組','DG010523-07','DG010523','原味+芝麻+咖啡','組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','3','2970','2024-09-04','2024-07-14 00:01:33','2024-07-14 23:59:05',null,'1','2024-06-09') 2024-07-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234914',`firm_id` = '8',`ordernumber` = 'O24070050699', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-07',`product_sn` = 'DG010523',`product_spec` = '原味+芝麻+咖啡',`invoice_name` = '組合-32入(原味+芝麻+咖啡)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '2970',`etd` = '2024-09-04',`create_date` = '2024-07-14 00:01:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050699' and product_code = 'DG010523-07' 2024-07-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050699' and product_code = 'BP010128-01' 2024-07-14 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,'234914','8','O24070050699','8結小禮袋','BP010128-01','BP010128','提袋/個','8結小禮袋','10','10','0','0','0','0','1','0.0','1','10','2024-09-04','2024-07-14 00:01:33','2024-07-14 23:59:05',null,'1','2024-06-09') 2024-07-14 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234914',`firm_id` = '8',`ordernumber` = 'O24070050699', `product_name` = '8結小禮袋',`product_code` = 'BP010128-01',`product_sn` = 'BP010128',`product_spec` = '提袋/個',`invoice_name` = '8結小禮袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '10',`etd` = '2024-09-04',`create_date` = '2024-07-14 00:01:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050699' and product_code = 'BP010128-01' 2024-07-14 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050699' and product_code = 'DG010101-02' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234914','8','O24070050699','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-04','2024-07-14 00:01:33','2024-07-14 23:59:05',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234914',`firm_id` = '8',`ordernumber` = 'O24070050699', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-09-04',`create_date` = '2024-07-14 00:01:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050699' and product_code = 'DG010101-02' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050699' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234914','8','O24070050699','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-09-04','2024-07-14 00:01:33','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234914',`firm_id` = '8',`ordernumber` = 'O24070050699', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-09-04',`create_date` = '2024-07-14 00:01:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050699' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050713' and product_code = 'DG010225-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234915','8','O24070050713','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-01','DG010225','40入原味蛋捲','提盒-故宮(人物款)-40入原味','300','300','0','0','0','0','1','0.0','8','2400','2024-07-18','2024-07-14 02:00:25','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234915',`firm_id` = '8',`ordernumber` = 'O24070050713', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '8',`total_price` = '2400',`etd` = '2024-07-18',`create_date` = '2024-07-14 02:00:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050713' and product_code = 'DG010225-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050828' and product_code = 'DG0103148-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234916','8','O24070050828','金典8結禮盒','DG0103148-05','DG0103148','原味+巧克力','禮盒-金典(紅)【原味+巧克力】','480','480','0','0','0','0','1','0.0','10','4800','2024-07-26','2024-07-14 08:06:02','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234916',`firm_id` = '8',`ordernumber` = 'O24070050828', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-05',`product_sn` = 'DG0103148',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-金典(紅)【原味+巧克力】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '4800',`etd` = '2024-07-26',`create_date` = '2024-07-14 08:06:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050828' and product_code = 'DG0103148-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050828' and product_code = 'DG0103148-04' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234916','8','O24070050828','金典8結禮盒','DG0103148-04','DG0103148','原味+海苔','禮盒-金典(紅)【原味+海苔】','480','480','0','0','0','0','1','0.0','10','4800','2024-07-26','2024-07-14 08:06:02','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234916',`firm_id` = '8',`ordernumber` = 'O24070050828', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-04',`product_sn` = 'DG0103148',`product_spec` = '原味+海苔',`invoice_name` = '禮盒-金典(紅)【原味+海苔】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '4800',`etd` = '2024-07-26',`create_date` = '2024-07-14 08:06:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050828' and product_code = 'DG0103148-04' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050828' and product_code = 'DG0103148-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234916','8','O24070050828','金典8結禮盒','DG0103148-03','DG0103148','原味+咖啡','禮盒-金典(紅)【原味+咖啡】','480','480','0','0','0','0','1','0.0','9','4320','2024-07-26','2024-07-14 08:06:02','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234916',`firm_id` = '8',`ordernumber` = 'O24070050828', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-03',`product_sn` = 'DG0103148',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-金典(紅)【原味+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '4320',`etd` = '2024-07-26',`create_date` = '2024-07-14 08:06:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050828' and product_code = 'DG0103148-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050828' and product_code = 'DG010523-14' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234916','8','O24070050828','SNOOPY帶走心意-蛋捲三入組','DG010523-14','DG010523','原味+巧克力+海苔','組合-32入(原味+海苔+巧克力)+SNOOPY心意提袋','990','990','0','0','0','1','1','0.0','1','990','2024-07-26','2024-07-14 08:06:02','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234916',`firm_id` = '8',`ordernumber` = 'O24070050828', `product_name` = 'SNOOPY帶走心意-蛋捲三入組',`product_code` = 'DG010523-14',`product_sn` = 'DG010523',`product_spec` = '原味+巧克力+海苔',`invoice_name` = '組合-32入(原味+海苔+巧克力)+SNOOPY心意提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-07-26',`create_date` = '2024-07-14 08:06:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050828' and product_code = 'DG010523-14' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050828' and product_code = 'DG010258-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234916','8','O24070050828','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','5','1475','2024-07-26','2024-07-14 08:06:02','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234916',`firm_id` = '8',`ordernumber` = 'O24070050828', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1475',`etd` = '2024-07-26',`create_date` = '2024-07-14 08:06:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050828' and product_code = 'DG010258-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050986' and product_code = 'DG010225-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234917','8','O24070050986','唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】','DG010225-01','DG010225','40入原味蛋捲','提盒-故宮(人物款)-40入原味','300','300','0','0','0','0','1','0.0','5','1500','2024-07-18','2024-07-14 10:07:16','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234917',`firm_id` = '8',`ordernumber` = 'O24070050986', `product_name` = '唐人宮樂8結蛋捲提盒【國立故宮博物院聯名】',`product_code` = 'DG010225-01',`product_sn` = 'DG010225',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-故宮(人物款)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-07-18',`create_date` = '2024-07-14 10:07:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050986' and product_code = 'DG010225-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070050986' and product_code = 'GG010104-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234917','8','O24070050986','[加購]加購-義式皇家黑松露腰果','GG010104-01','GG010104','-','加購-(盒)堅果【腰果】','180','180','1','1','180','0','0','0.0','1','180','2024-07-18','2024-07-14 10:07:16','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234917',`firm_id` = '8',`ordernumber` = 'O24070050986', `product_name` = '[加購]加購-義式皇家黑松露腰果',`product_code` = 'GG010104-01',`product_sn` = 'GG010104',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【腰果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '180',`etd` = '2024-07-18',`create_date` = '2024-07-14 10:07:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070050986' and product_code = 'GG010104-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051027' and product_code = '13991' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234918','8','O24070051027','【官網限定】小王子小提袋蛋捲組','13991','13987','巧克力','組合-32入巧克力+小王子小提袋','390','390','0','0','0','1','1','0.0','6','2340','2024-07-29','2024-07-14 13:23:58','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234918',`firm_id` = '8',`ordernumber` = 'O24070051027', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13991',`product_sn` = '13987',`product_spec` = '巧克力',`invoice_name` = '組合-32入巧克力+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '2340',`etd` = '2024-07-29',`create_date` = '2024-07-14 13:23:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051027' and product_code = '13991' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051027' and product_code = '13987' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234918','8','O24070051027','【官網限定】小王子小提袋蛋捲組','13987','13987','原味','組合-32入原味+小王子小提袋','390','390','0','0','0','1','1','0.0','6','2340','2024-07-29','2024-07-14 13:23:58','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234918',`firm_id` = '8',`ordernumber` = 'O24070051027', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13987',`product_sn` = '13987',`product_spec` = '原味',`invoice_name` = '組合-32入原味+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '2340',`etd` = '2024-07-29',`create_date` = '2024-07-14 13:23:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051027' and product_code = '13987' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051027' and product_code = '13988' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234918','8','O24070051027','【官網限定】小王子小提袋蛋捲組','13988','13987','芝麻','組合-32入芝麻+小王子小提袋','390','390','0','0','0','1','1','0.0','5','1950','2024-07-29','2024-07-14 13:23:58','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234918',`firm_id` = '8',`ordernumber` = 'O24070051027', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13988',`product_sn` = '13987',`product_spec` = '芝麻',`invoice_name` = '組合-32入芝麻+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1950',`etd` = '2024-07-29',`create_date` = '2024-07-14 13:23:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051027' and product_code = '13988' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051027' and product_code = '13990' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234918','8','O24070051027','【官網限定】小王子小提袋蛋捲組','13990','13987','海苔','組合-32入海苔+小王子小提袋','390','390','0','0','0','1','1','0.0','5','1950','2024-07-29','2024-07-14 13:23:58','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234918',`firm_id` = '8',`ordernumber` = 'O24070051027', `product_name` = '【官網限定】小王子小提袋蛋捲組',`product_code` = '13990',`product_sn` = '13987',`product_spec` = '海苔',`invoice_name` = '組合-32入海苔+小王子小提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1950',`etd` = '2024-07-29',`create_date` = '2024-07-14 13:23:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051027' and product_code = '13990' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051130' and product_code = 'DG010431-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234919','8','S24070051130','金豐收提盒','DG010431-01','DG010431','金豐收藍提盒包材','金豐收藍提盒包材','15','15','0','0','0','1','1','0.0','29','435','2024-07-14','2024-07-14 14:00:56','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234919',`firm_id` = '8',`ordernumber` = 'S24070051130', `product_name` = '金豐收提盒',`product_code` = 'DG010431-01',`product_sn` = 'DG010431',`product_spec` = '金豐收藍提盒包材',`invoice_name` = '金豐收藍提盒包材',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '29',`total_price` = '435',`etd` = '2024-07-14',`create_date` = '2024-07-14 14:00:56',`modify_date` = '2024-07-14 14:14:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051130' and product_code = 'DG010431-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051130' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234919','8','S24070051130','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-07-14','2024-07-14 14:00:56','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234919',`firm_id` = '8',`ordernumber` = 'S24070051130', `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` = '8',`total_price` = '2240',`etd` = '2024-07-14',`create_date` = '2024-07-14 14:00:56',`modify_date` = '2024-07-14 14:14:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051130' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051130' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234919','8','S24070051130','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','21','5880','2024-07-14','2024-07-14 14:00:56','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234919',`firm_id` = '8',`ordernumber` = 'S24070051130', `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` = '21',`total_price` = '5880',`etd` = '2024-07-14',`create_date` = '2024-07-14 14:00:56',`modify_date` = '2024-07-14 14:14:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051130' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051252' and product_code = '13656' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234920','8','O24070051252','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-07-16','2024-07-14 14:07:08','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234920',`firm_id` = '8',`ordernumber` = 'O24070051252', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-07-16',`create_date` = '2024-07-14 14:07:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051252' and product_code = '13656' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051252' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234920','8','O24070051252','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-16','2024-07-14 14:07:08','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234920',`firm_id` = '8',`ordernumber` = 'O24070051252', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-16',`create_date` = '2024-07-14 14:07:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051252' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051252' and product_code = 'FL010101-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234920','8','O24070051252','一口鳳梅酥','FL010101-01','FL010101','8入鳳梅酥','(盒)鳳梅酥','195','195','0','0','0','0','1','160.0','2','390','2024-07-16','2024-07-14 14:07:08','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234920',`firm_id` = '8',`ordernumber` = 'O24070051252', `product_name` = '一口鳳梅酥',`product_code` = 'FL010101-01',`product_sn` = 'FL010101',`product_spec` = '8入鳳梅酥',`invoice_name` = '(盒)鳳梅酥',`listprice` = '195',`sellingprice` = '195',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '2',`total_price` = '390',`etd` = '2024-07-16',`create_date` = '2024-07-14 14:07:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051252' and product_code = 'FL010101-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051377' and product_code = 'DG010258-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234921','8','O24070051377','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','3','885','2024-07-16','2024-07-14 14:18:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234921',`firm_id` = '8',`ordernumber` = 'O24070051377', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-07-16',`create_date` = '2024-07-14 14:18:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051377' and product_code = 'DG010258-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051495' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234922','8','S24070051495','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-07-15','2024-07-14 14:23:08','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234922',`firm_id` = '8',`ordernumber` = 'S24070051495', `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` = '8',`total_price` = '2240',`etd` = '2024-07-15',`create_date` = '2024-07-14 14:23:08',`modify_date` = '2024-07-14 14:25:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051495' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051495' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234922','8','S24070051495','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','21','5880','2024-07-15','2024-07-14 14:23:08','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234922',`firm_id` = '8',`ordernumber` = 'S24070051495', `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` = '21',`total_price` = '5880',`etd` = '2024-07-15',`create_date` = '2024-07-14 14:23:08',`modify_date` = '2024-07-14 14:25:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051495' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051495' and product_code = 'DG010431-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234922','8','S24070051495','金豐收提盒','DG010431-01','DG010431','金豐收藍提盒包材','金豐收藍提盒包材','15','15','0','0','0','1','1','0.0','29','435','2024-07-15','2024-07-14 14:23:08','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234922',`firm_id` = '8',`ordernumber` = 'S24070051495', `product_name` = '金豐收提盒',`product_code` = 'DG010431-01',`product_sn` = 'DG010431',`product_spec` = '金豐收藍提盒包材',`invoice_name` = '金豐收藍提盒包材',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '29',`total_price` = '435',`etd` = '2024-07-15',`create_date` = '2024-07-14 14:23:08',`modify_date` = '2024-07-14 14:25:22',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051495' and product_code = 'DG010431-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051523' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234923','8','S24070051523','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','8','2240','2024-07-14','2024-07-14 14:36:15','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234923',`firm_id` = '8',`ordernumber` = 'S24070051523', `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` = '8',`total_price` = '2240',`etd` = '2024-07-14',`create_date` = '2024-07-14 14:36:15',`modify_date` = '2024-07-14 15:00:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051523' and product_code = 'DG010101-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051523' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234923','8','S24070051523','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','21','5880','2024-07-14','2024-07-14 14:36:15','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234923',`firm_id` = '8',`ordernumber` = 'S24070051523', `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` = '21',`total_price` = '5880',`etd` = '2024-07-14',`create_date` = '2024-07-14 14:36:15',`modify_date` = '2024-07-14 15:00:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051523' and product_code = 'DG010101-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24070051523' and product_code = 'DG010431-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234923','8','S24070051523','金豐收提盒','DG010431-01','DG010431','金豐收藍提盒包材','金豐收藍提盒包材','15','15','0','0','0','1','1','0.0','29','435','2024-07-14','2024-07-14 14:36:15','2024-07-14 23:59:06',0,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234923',`firm_id` = '8',`ordernumber` = 'S24070051523', `product_name` = '金豐收提盒',`product_code` = 'DG010431-01',`product_sn` = 'DG010431',`product_spec` = '金豐收藍提盒包材',`invoice_name` = '金豐收藍提盒包材',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '29',`total_price` = '435',`etd` = '2024-07-14',`create_date` = '2024-07-14 14:36:15',`modify_date` = '2024-07-14 15:00:49',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'S24070051523' and product_code = 'DG010431-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051694' and product_code = 'DG0103155-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234924','8','O24070051694','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-05','DG0103155','原味蛋捲,巧克力蛋捲','禮盒-SNOOPY【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-07-16','2024-07-14 15:23:29','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234924',`firm_id` = '8',`ordernumber` = 'O24070051694', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-16',`create_date` = '2024-07-14 15:23:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051694' and product_code = 'DG0103155-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051780' and product_code = 'DG010327-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234925','8','O24070051780','【小王子聯名】仰望星空8結禮盒 ','DG010327-03','DG010327','原味,咖啡','禮盒-小王子(藍)【原味+咖啡】','500','500','0','0','0','0','1','0.0','1','500','2024-07-16','2024-07-14 16:35:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234925',`firm_id` = '8',`ordernumber` = 'O24070051780', `product_name` = '【小王子聯名】仰望星空8結禮盒 ',`product_code` = 'DG010327-03',`product_sn` = 'DG010327',`product_spec` = '原味,咖啡',`invoice_name` = '禮盒-小王子(藍)【原味+咖啡】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-16',`create_date` = '2024-07-14 16:35:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051780' and product_code = 'DG010327-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051780' and product_code = 'DG010204-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234925','8','O24070051780','8結蛋捲【品牌提盒裝】','DG010204-01','DG010204','原味','提盒-品牌(橘)-40入原味','295','295','0','0','0','0','1','0.0','3','885','2024-07-16','2024-07-14 16:35:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234925',`firm_id` = '8',`ordernumber` = 'O24070051780', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`product_spec` = '原味',`invoice_name` = '提盒-品牌(橘)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-07-16',`create_date` = '2024-07-14 16:35:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051780' and product_code = 'DG010204-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051780' and product_code = 'DG010204-02' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234925','8','O24070051780','8結蛋捲【品牌提盒裝】','DG010204-02','DG010204','芝麻','提盒-品牌(橘)-40入芝麻','295','295','0','0','0','0','1','0.0','3','885','2024-07-16','2024-07-14 16:35:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234925',`firm_id` = '8',`ordernumber` = 'O24070051780', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-02',`product_sn` = 'DG010204',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(橘)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-07-16',`create_date` = '2024-07-14 16:35:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051780' and product_code = 'DG010204-02' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051780' and product_code = 'DG010204-03' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234925','8','O24070051780','8結蛋捲【品牌提盒裝】','DG010204-03','DG010204','咖啡','提盒-品牌(橘)-40入咖啡','295','295','0','0','0','0','1','0.0','3','885','2024-07-16','2024-07-14 16:35:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234925',`firm_id` = '8',`ordernumber` = 'O24070051780', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-03',`product_sn` = 'DG010204',`product_spec` = '咖啡',`invoice_name` = '提盒-品牌(橘)-40入咖啡',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-07-16',`create_date` = '2024-07-14 16:35:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051780' and product_code = 'DG010204-03' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051780' and product_code = 'DG010204-04' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234925','8','O24070051780','8結蛋捲【品牌提盒裝】','DG010204-04','DG010204','海苔','提盒-品牌(橘)-40入海苔','295','295','0','0','0','0','1','0.0','2','590','2024-07-16','2024-07-14 16:35:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234925',`firm_id` = '8',`ordernumber` = 'O24070051780', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-04',`product_sn` = 'DG010204',`product_spec` = '海苔',`invoice_name` = '提盒-品牌(橘)-40入海苔',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-07-16',`create_date` = '2024-07-14 16:35:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051780' and product_code = 'DG010204-04' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051780' and product_code = 'DG010204-05' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234925','8','O24070051780','8結蛋捲【品牌提盒裝】','DG010204-05','DG010204','巧克力','提盒-品牌(橘)-40入巧克力','295','295','0','0','0','0','1','0.0','2','590','2024-07-16','2024-07-14 16:35:19','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234925',`firm_id` = '8',`ordernumber` = 'O24070051780', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-05',`product_sn` = 'DG010204',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(橘)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '590',`etd` = '2024-07-16',`create_date` = '2024-07-14 16:35:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051780' and product_code = 'DG010204-05' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051838' and product_code = 'DG010206-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234926','8','O24070051838','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','1','295','2024-07-17','2024-07-14 18:26:26','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234926',`firm_id` = '8',`ordernumber` = 'O24070051838', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-07-17',`create_date` = '2024-07-14 18:26:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051838' and product_code = 'DG010206-01' 2024-07-14 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051838' and product_code = 'DG0103155-01' 2024-07-14 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234926','8','O24070051838','【SNOOPY聯名】友你相伴-8結禮盒','DG0103155-01','DG0103155','原味蛋捲,原味蛋捲','禮盒-SNOOPY【原味+原味】','500','500','0','0','0','0','1','0.0','1','500','2024-07-17','2024-07-14 18:26:26','2024-07-14 23:59:06',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234926',`firm_id` = '8',`ordernumber` = 'O24070051838', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-01',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,原味蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+原味】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-17',`create_date` = '2024-07-14 18:26:26',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051838' and product_code = 'DG0103155-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070051967' and product_code = 'DG010206-02' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234927','8','O24070051967','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','6','1770','2024-07-19','2024-07-14 19:04:02','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234927',`firm_id` = '8',`ordernumber` = 'O24070051967', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1770',`etd` = '2024-07-19',`create_date` = '2024-07-14 19:04:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070051967' and product_code = 'DG010206-02' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052027' and product_code = 'DG010204-01' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234928','8','O24070052027','8結蛋捲【品牌提盒裝】','DG010204-01','DG010204','原味','提盒-品牌(橘)-40入原味','295','295','0','0','0','0','1','0.0','11','3245','2024-07-16','2024-07-14 19:08:30','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234928',`firm_id` = '8',`ordernumber` = 'O24070052027', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-01',`product_sn` = 'DG010204',`product_spec` = '原味',`invoice_name` = '提盒-品牌(橘)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3245',`etd` = '2024-07-16',`create_date` = '2024-07-14 19:08:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052027' and product_code = 'DG010204-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052027' and product_code = 'DG010204-05' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234928','8','O24070052027','8結蛋捲【品牌提盒裝】','DG010204-05','DG010204','巧克力','提盒-品牌(橘)-40入巧克力','295','295','0','0','0','0','1','0.0','11','3245','2024-07-16','2024-07-14 19:08:30','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234928',`firm_id` = '8',`ordernumber` = 'O24070052027', `product_name` = '8結蛋捲【品牌提盒裝】',`product_code` = 'DG010204-05',`product_sn` = 'DG010204',`product_spec` = '巧克力',`invoice_name` = '提盒-品牌(橘)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '11',`total_price` = '3245',`etd` = '2024-07-16',`create_date` = '2024-07-14 19:08:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052027' and product_code = 'DG010204-05' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052027' and product_code = 'DG010312-02' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234928','8','O24070052027','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','1','480','2024-07-16','2024-07-14 19:08:30','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234928',`firm_id` = '8',`ordernumber` = 'O24070052027', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-16',`create_date` = '2024-07-14 19:08:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052027' and product_code = 'DG010312-02' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052156' and product_code = 'DG010312-07' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234929','8','O24070052156','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','2','960','2024-09-06','2024-07-14 20:07:22','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234929',`firm_id` = '8',`ordernumber` = 'O24070052156', `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-09-06',`create_date` = '2024-07-14 20:07:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052156' and product_code = 'DG010312-07' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052218' and product_code = 'DG0103148-07' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234930','8','O24070052218','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2024-07-16','2024-07-14 20:17:21','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234930',`firm_id` = '8',`ordernumber` = 'O24070052218', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-07',`product_sn` = 'DG0103148',`product_spec` = '芝麻+咖啡',`invoice_name` = '禮盒-金典(紅)【芝麻+咖啡】',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2024-07-16',`create_date` = '2024-07-14 20:17:21',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052218' and product_code = 'DG0103148-07' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052314' and product_code = 'DG010101-05' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234931','8','O24070052314','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-16','2024-07-14 20:45:58','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234931',`firm_id` = '8',`ordernumber` = 'O24070052314', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-16',`create_date` = '2024-07-14 20:45:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052314' and product_code = 'DG010101-05' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052314' and product_code = 'DG010101-01' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234931','8','O24070052314','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-16','2024-07-14 20:45:58','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234931',`firm_id` = '8',`ordernumber` = 'O24070052314', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-16',`create_date` = '2024-07-14 20:45:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052314' and product_code = 'DG010101-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052314' and product_code = 'DG010101-02' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234931','8','O24070052314','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2024-07-16','2024-07-14 20:45:58','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234931',`firm_id` = '8',`ordernumber` = 'O24070052314', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-07-16',`create_date` = '2024-07-14 20:45:58',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052314' and product_code = 'DG010101-02' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052447' and product_code = 'DG010258-01' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234932','8','O24070052447','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','3','885','2024-07-16','2024-07-14 22:33:27','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234932',`firm_id` = '8',`ordernumber` = 'O24070052447', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2024-07-16',`create_date` = '2024-07-14 22:33:27',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052447' and product_code = 'DG010258-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052584' and product_code = 'DG0103168-03' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234933','8','O24070052584','隨享唐寧茶禮盒','DG0103168-03','DG0103168','原味+咖啡','禮盒-隨享唐寧茶【原味+咖啡】+唐寧早餐茶+茶葉匙','880','880','0','0','0','0','1','0.0','1','880','2024-07-16','2024-07-14 22:39:59','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234933',`firm_id` = '8',`ordernumber` = 'O24070052584', `product_name` = '隨享唐寧茶禮盒',`product_code` = 'DG0103168-03',`product_sn` = 'DG0103168',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-隨享唐寧茶【原味+咖啡】+唐寧早餐茶+茶葉匙',`listprice` = '880',`sellingprice` = '880',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '880',`etd` = '2024-07-16',`create_date` = '2024-07-14 22:39:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052584' and product_code = 'DG0103168-03' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052668' and product_code = 'DG010258-01' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234934','8','O24070052668','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','6','1770','2024-07-16','2024-07-14 23:15:49','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234934',`firm_id` = '8',`ordernumber` = 'O24070052668', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1770',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:15:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052668' and product_code = 'DG010258-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052668' and product_code = 'DG010206-02' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234934','8','O24070052668','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','6','1770','2024-07-16','2024-07-14 23:15:49','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234934',`firm_id` = '8',`ordernumber` = 'O24070052668', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-02',`product_sn` = 'DG010206',`product_spec` = '芝麻',`invoice_name` = '提盒-品牌(紅)-40入芝麻蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1770',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:15:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052668' and product_code = 'DG010206-02' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052780' and product_code = 'DG010203-01' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234935','8','O24070052780','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','6','1800','2024-07-16','2024-07-14 23:20:31','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234935',`firm_id` = '8',`ordernumber` = 'O24070052780', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:20:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052780' and product_code = 'DG010203-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052780' and product_code = 'DG010203-02' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234935','8','O24070052780','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','6','1800','2024-07-16','2024-07-14 23:20:31','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234935',`firm_id` = '8',`ordernumber` = 'O24070052780', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:20:31',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052780' and product_code = 'DG010203-02' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052876' and product_code = 'DG010203-01' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234936','8','O24070052876','【小王子聯名】閃耀星空8結提盒','DG010203-01','DG010203','40入原味蛋捲','提盒-小王子(藍)-40入原味','300','300','0','0','0','0','1','0.0','6','1800','2024-07-16','2024-07-14 23:24:56','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234936',`firm_id` = '8',`ordernumber` = 'O24070052876', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:24:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052876' and product_code = 'DG010203-01' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052876' and product_code = 'DG010203-02' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234936','8','O24070052876','【小王子聯名】閃耀星空8結提盒','DG010203-02','DG010203','40入芝麻蛋捲','提盒-小王子(藍)-40入芝麻','300','300','0','0','0','0','1','0.0','6','1800','2024-07-16','2024-07-14 23:24:56','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234936',`firm_id` = '8',`ordernumber` = 'O24070052876', `product_name` = '【小王子聯名】閃耀星空8結提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '1800',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:24:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052876' and product_code = 'DG010203-02' 2024-07-14 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24070052910' and product_code = 'DG010394-05' 2024-07-14 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'234937','8','O24070052910','游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】','DG010394-05','DG010394','原味蛋捲,巧克力蛋捲','禮盒-故宮(文物款)【原味+巧克力】','500','500','0','0','0','0','1','0.0','1','500','2024-07-16','2024-07-14 23:52:42','2024-07-14 23:59:07',null,'1','2024-06-09') 2024-07-14 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '234937',`firm_id` = '8',`ordernumber` = 'O24070052910', `product_name` = '游魚轉心瓶8結蛋捲禮盒【國立故宮博物院聯名】',`product_code` = 'DG010394-05',`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` = '1',`total_price` = '500',`etd` = '2024-07-16',`create_date` = '2024-07-14 23:52:42',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-06-09'where ordernumber = 'O24070052910' and product_code = 'DG010394-05' 2024-07-14 23:59:07 -- == sync_order_detail end == 2024-07-14 23:59:07 -- == sync_order start == 2024-07-14 23:59:07 -- start:2024-07-14,end:2024-07-14 2024-07-14 23:59:07 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-07-14%' OR l.modify_date like '2024-07-14%'; 2024-07-14 23:59:07 -- == sync omo_order_list == 2024-07-14 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '8', totalprice_after = '400', lunar_date = '2024-06-04', invoice_status = '0', category_name = '彌月試吃,迪化門市訂單', category_id = '2,28' where ordernumber = 'M24070009346' 2024-07-14 23:59:07 -- == update lake.omo_order_list == update omo_order_list set userId = '193580', process_status = '3', pay_status = '8', totalprice_after = '400', lunar_date = '2024-06-06', invoice_status = '0', category_name = '彌月試吃,LINE@訂單', category_id = '2,9' where ordernumber = 'M24070012298' 2024-07-14 23:59:07 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('121153','397500',2,'','','B24070014190','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','6000','114','台北市','內湖區','114','台北市','內湖區','5970','2024-07-14 12:05:19','2024-06-09') 2024-07-14 23:59:07 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('124990','22289',2,'','','B24070014276','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1000','260','宜蘭縣','宜蘭市','260','宜蘭縣','宜蘭市','1150','2024-07-14 15:42:29','2024-06-09') 2024-07-14 23:59:07 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('125059','401366',2,'','','B24070014317','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5200','732','台南市','白河區','324','桃園市','平鎮區','5170','2024-07-14 21:23:49','2024-06-09') 2024-07-14 23:59:07 -- == sync_order end == 2024-07-14 23:59:07 -- == sync_order_detail start == 2024-07-14 23:59:07 -- start:2024-07-14,end:2024-07-14 2024-07-14 23:59:07 -- == sync omo_order_detail == 2024-07-14 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-07-14%' OR modify_date like '2024-07-14%' 2024-07-14 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070009346' and product_code = 'DG0103157-09' 2024-07-14 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31726',`firm_id` = '11',`ordernumber` = 'M24070009346', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`product_code` = 'DG0103157-09',`product_sn` = 'DG0103157',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-14',`create_date` = '2024-07-09 17:54:19',`modify_date` = '2024-07-14 16:53:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070009346' and product_code = 'DG0103157-09', `lunar_date` = '2024-06-04' 2024-07-14 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24070012298' and product_code = 'DG0103157-05' 2024-07-14 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31756',`firm_id` = '11',`ordernumber` = 'M24070012298', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B4】',`product_code` = 'DG0103157-05',`product_sn` = 'DG0103157',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-07-12',`create_date` = '2024-07-11 16:03:10',`modify_date` = '2024-07-14 14:40:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24070012298' and product_code = 'DG0103157-05', `lunar_date` = '2024-06-06' 2024-07-14 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070014190' and product_code = 'DG010213-02' 2024-07-14 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31778','8','B24070014190','8結彌月提盒-香頌日光','DG010213-02','DG010213','芝麻','提盒-彌月香頌日光-40入芝麻','300','300','0','1','0','0','1','0.0','20','6000','2024-07-19','2024-07-14 12:05:19','2024-07-14 23:59:08',null,'1','2024-06-09') 2024-07-14 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31778',`firm_id` = '8',`ordernumber` = 'B24070014190', `product_name` = '8結彌月提盒-香頌日光',`product_code` = 'DG010213-02',`product_sn` = 'DG010213',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月香頌日光-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-07-19',`create_date` = '2024-07-14 12:05:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070014190' and product_code = 'DG010213-02', `lunar_date` = '2024-06-09' 2024-07-14 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070014190' and product_code = 'ZP010151-01' 2024-07-14 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31778','8','B24070014190','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-07-19','2024-07-14 12:05:19','2024-07-14 23:59:08',null,'1','2024-06-09') 2024-07-14 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31778',`firm_id` = '8',`ordernumber` = 'B24070014190', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-07-19',`create_date` = '2024-07-14 12:05:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070014190' and product_code = 'ZP010151-01', `lunar_date` = '2024-06-09' 2024-07-14 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070014276' and product_code = 'DG0103156-05' 2024-07-14 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31779','8','B24070014276','【SNOOPY聯名】友你相伴-8結彌月禮盒','DG0103156-05','DG0103156','原味+巧克力','禮盒-彌月SNOOPY【原味+巧克力】','500','500','0','1','0','0','1','0.0','2','1000','2024-07-25','2024-07-14 15:42:29','2024-07-14 23:59:08',null,'1','2024-06-09') 2024-07-14 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31779',`firm_id` = '8',`ordernumber` = 'B24070014276', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒',`product_code` = 'DG0103156-05',`product_sn` = 'DG0103156',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-07-25',`create_date` = '2024-07-14 15:42:29',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070014276' and product_code = 'DG0103156-05', `lunar_date` = '2024-06-09' 2024-07-14 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24070014317' and product_code = 'SS010102-01' 2024-07-14 23:59:08 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'31780','8','B24070014317','品純萃鱸魚精30入','SS010102-01','SS010102','品純萃鱸魚精30入','品純萃鱸魚精30入','5200','5200','0','1','0','0','1','1.0','1','5200','2024-07-19','2024-07-14 21:23:49','2024-07-14 23:59:08',null,'1','2024-06-09') 2024-07-14 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '31780',`firm_id` = '8',`ordernumber` = 'B24070014317', `product_name` = '品純萃鱸魚精30入',`product_code` = 'SS010102-01',`product_sn` = 'SS010102',`product_spec` = '品純萃鱸魚精30入',`invoice_name` = '品純萃鱸魚精30入',`listprice` = '5200',`sellingprice` = '5200',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '1.0',`amount` = '1',`total_price` = '5200',`etd` = '2024-07-19',`create_date` = '2024-07-14 21:23:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24070014317' and product_code = 'SS010102-01', `lunar_date` = '2024-06-09' 2024-07-14 23:59:08 -- == sync_order_detail end == 2024-07-14 23:59:08 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-07-14' OR o.updated_at = '2024-07-14') and o.deleted_at is null 2024-07-14 23:59:08 -- == sync_order_detail start == 2024-07-14 23:59:08 -- start:2024-07-14,end:2024-07-14 2024-07-14 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-07-14 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-07-14 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-07-14%';