2025-01-31 23:59:02 -- == sync_order start == 2025-01-31 23:59:02 -- start:2025-01-31,end:2025-01-31 2025-01-31 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 '2025-01-31%' OR l.modify_date like '2025-01-31%'; 2025-01-31 23:59:04 -- == sync omo_order_list == 2025-01-31 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 ('418262','454509',1,'','','O25010992439','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','885','701','台南市','東區','717','台南市','仁德區','1005','2025-01-31 00:05:18','2025-01-03') 2025-01-31 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 ('418340','454587',1,'','','O25010992566','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1000','234','新北市','永和區','234','新北市','永和區','1120','2025-01-31 08:44:50','2025-01-03') 2025-01-31 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 ('410795','446851',1,'','','O25010992692','1','11','1','1','1','','','0','0000-00-00','485','0','0','','0','0','9705','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','9220','2025-01-31 10:03:08','2025-01-03') 2025-01-31 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 ('418341','454588',1,'','','O25010992738','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','900','屏東縣','屏東市','900','屏東縣','屏東市','960','2025-01-31 11:40:54','2025-01-03') 2025-01-31 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 ('231211','259220',1,'','','O25010992831','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','540','807','高雄市','三民區','710','台南市','永康區','690','2025-01-31 12:00:16','2025-01-03') 2025-01-31 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 ('418342','454589',1,'','','O25010992972','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','960','116','台北市','文山區','116','台北市','文山區','1080','2025-01-31 13:34:19','2025-01-03') 2025-01-31 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 ('418343','454590',1,'','','O25010993073','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1740','351','苗栗縣','頭份市','351','苗栗縣','頭份市','1860','2025-01-31 13:51:47','2025-01-03') 2025-01-31 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 ('41333','189503',1,'','','O25010993126','1','1','1','1','1','27812261','育旌股份有限公司','0','0000-00-00','624','0','0','','0','0','12480','302','新竹縣','竹北市','302','新竹縣','竹北市','11856','2025-01-31 15:11:32','2025-01-03') 2025-01-31 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 ('418349','454596',1,'','','O25010993244','2','1','1','1','1','91160878','谷烽企業社','0','0000-00-00','0','0','0','','280','30','4680','212','連江縣','東引鄉','212','連江縣','東引鄉','4930','2025-01-31 20:12:57','2025-01-03') 2025-01-31 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 ('418350','454597',1,'','','O25010993377','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','840','973','花蓮縣','吉安鄉','973','花蓮縣','吉安鄉','960','2025-01-31 20:27:01','2025-01-03') 2025-01-31 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 ('418351','454598',1,'','','O25010993423','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1440','404','台中市','北區','404','台中市','北區','1560','2025-01-31 20:42:25','2025-01-03') 2025-01-31 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 ('194685','160796',1,'','','O25010993566','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1120','106','台北市','大安區','106','台北市','大安區','1170','2025-01-31 21:10:35','2025-01-03') 2025-01-31 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 ('413330','449365',1,'','','O25010993640','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1680','116','台北市','文山區','625','嘉義縣','布袋鎮','1830','2025-01-31 21:11:11','2025-01-03') 2025-01-31 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 ('418353','454600',1,'','','O25010993789','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','810','320','桃園市','中壢區','320','桃園市','中壢區','930','2025-01-31 22:16:32','2025-01-03') 2025-01-31 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 ('418354','454601',1,'','','O25010993834','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','30','5995','114','台北市','內湖區','104','台北市','中山區','5965','2025-01-31 22:38:32','2025-01-03') 2025-01-31 23:59:04 -- == sync_order end == 2025-01-31 23:59:04 -- == sync_order_detail start == 2025-01-31 23:59:04 -- start:2025-01-31,end:2025-01-31 2025-01-31 23:59:04 -- == sync omo_order_detail == 2025-01-31 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-31%' OR modify_date like '2025-01-31%' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992439' and product_code = 'DG010206-01' 2025-01-31 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,'268942','8','O25010992439','8結蛋捲【紅提盒裝】','DG010206-01','DG010206','原味','提盒-品牌(紅)-40入原味蛋捲','295','295','0','0','0','0','1','0.0','3','885','2025-02-03','2025-01-31 00:05:18','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268942',`firm_id` = '8',`ordernumber` = 'O25010992439', `product_name` = '8結蛋捲【紅提盒裝】',`product_code` = 'DG010206-01',`product_sn` = 'DG010206',`product_spec` = '原味',`invoice_name` = '提盒-品牌(紅)-40入原味蛋捲',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '885',`etd` = '2025-02-03',`create_date` = '2025-01-31 00:05:18',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992439' and product_code = 'DG010206-01' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992566' and product_code = 'DG0103223-05' 2025-01-31 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,'268943','8','O25010992566','【小王子聯名】玫瑰星球8結禮盒','DG0103223-05','DG0103223','原味+巧克力','禮盒-小王子(NEW)【原味+巧克力】','500','500','0','0','0','0','1','0.0','2','1000','2025-02-03','2025-01-31 08:44:50','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268943',`firm_id` = '8',`ordernumber` = 'O25010992566', `product_name` = '【小王子聯名】玫瑰星球8結禮盒',`product_code` = 'DG0103223-05',`product_sn` = 'DG0103223',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-小王子(NEW)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2025-02-03',`create_date` = '2025-01-31 08:44:50',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992566' and product_code = 'DG0103223-05' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-05' 2025-01-31 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,'268944','8','O25010992692','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','7','3360','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '7',`total_price` = '3360',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-05' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-02' 2025-01-31 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,'268944','8','O25010992692','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','3','1440','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `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` = '3',`total_price` = '1440',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-02' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-03' 2025-01-31 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,'268944','8','O25010992692','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '【原味+咖啡】金8結禮盒',`product_code` = 'DG010312-03',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-03' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-07' 2025-01-31 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,'268944','8','O25010992692','【芝麻+咖啡】金8結禮盒','DG010312-07','DG010312','金8結盒','禮盒-金8結【芝麻+咖啡】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '【芝麻+咖啡】金8結禮盒',`product_code` = 'DG010312-07',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【芝麻+咖啡】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-07' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-04' 2025-01-31 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,'268944','8','O25010992692','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','2','960','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`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` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-04' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-12' 2025-01-31 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,'268944','8','O25010992692','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-12' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'DG010312-11' 2025-01-31 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,'268944','8','O25010992692','【咖啡+海苔】金8結禮盒','DG010312-11','DG010312','金8結盒','禮盒-金8結【咖啡+海苔】','590','480','0','0','0','0','1','480.0','3','1440','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '【咖啡+海苔】金8結禮盒',`product_code` = 'DG010312-11',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+海苔】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'DG010312-11' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992692' and product_code = 'FL010309-01' 2025-01-31 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,'268944','8','O25010992692','一口酥24入家庭號禮盒','FL010309-01','12586','24入鳳梅酥','禮盒-24入家庭號【鳳梅酥】','585','585','0','0','0','0','1','0.0','1','585','2025-02-03','2025-01-31 10:03:08','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268944',`firm_id` = '8',`ordernumber` = 'O25010992692', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010309-01',`product_sn` = '12586',`product_spec` = '24入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梅酥】',`listprice` = '585',`sellingprice` = '585',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '585',`etd` = '2025-02-03',`create_date` = '2025-01-31 10:03:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992692' and product_code = 'FL010309-01' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992738' and product_code = 'DG010101-05' 2025-01-31 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,'268945','8','O25010992738','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2025-02-03','2025-01-31 11:40:54','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268945',`firm_id` = '8',`ordernumber` = 'O25010992738', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '3',`total_price` = '840',`etd` = '2025-02-03',`create_date` = '2025-01-31 11:40:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992738' and product_code = 'DG010101-05' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992831' and product_code = 'FL010310-01' 2025-01-31 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,'268946','8','O25010992831','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','540','540','0','0','0','0','1','0.0','1','540','2025-02-03','2025-01-31 12:00:16','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268946',`firm_id` = '8',`ordernumber` = 'O25010992831', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '540',`etd` = '2025-02-03',`create_date` = '2025-01-31 12:00:16',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992831' and product_code = 'FL010310-01' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992972' and product_code = 'DG010312-12' 2025-01-31 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,'268947','8','O25010992972','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-31 13:34:19','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268947',`firm_id` = '8',`ordernumber` = 'O25010992972', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2025-02-03',`create_date` = '2025-01-31 13:34:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992972' and product_code = 'DG010312-12' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010992972' and product_code = 'DG010312-04' 2025-01-31 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,'268947','8','O25010992972','【原味+海苔】金8結禮盒','DG010312-04','DG010312','金8結盒','禮盒-金8結【原味+海苔】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-31 13:34:19','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268947',`firm_id` = '8',`ordernumber` = 'O25010992972', `product_name` = '【原味+海苔】金8結禮盒',`product_code` = 'DG010312-04',`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` = '2025-02-03',`create_date` = '2025-01-31 13:34:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010992972' and product_code = 'DG010312-04' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993073' and product_code = '13656' 2025-01-31 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,'268948','8','O25010993073','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2025-02-13','2025-01-31 13:51:47','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268948',`firm_id` = '8',`ordernumber` = 'O25010993073', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2025-02-13',`create_date` = '2025-01-31 13:51:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993073' and product_code = '13656' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993073' and product_code = '13657' 2025-01-31 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,'268948','8','O25010993073','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','3','870','2025-02-13','2025-01-31 13:51:47','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268948',`firm_id` = '8',`ordernumber` = 'O25010993073', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13657',`product_sn` = '13656',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '870',`etd` = '2025-02-13',`create_date` = '2025-01-31 13:51:47',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993073' and product_code = '13657' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993126' and product_code = 'DG010312-01' 2025-01-31 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,'268949','8','O25010993126','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','12','5760','2025-02-04','2025-01-31 15:11:32','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268949',`firm_id` = '8',`ordernumber` = 'O25010993126', `product_name` = '【原味+原味】金8結禮盒',`product_code` = 'DG010312-01',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+原味】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '12',`total_price` = '5760',`etd` = '2025-02-04',`create_date` = '2025-01-31 15:11:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993126' and product_code = 'DG010312-01' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993126' and product_code = 'DG010312-06' 2025-01-31 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,'268949','8','O25010993126','【芝麻+芝麻】金8結禮盒','DG010312-06','DG010312','金8結盒','禮盒-金8結【芝麻+芝麻】','590','480','0','0','0','0','1','480.0','8','3840','2025-02-04','2025-01-31 15:11:32','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268949',`firm_id` = '8',`ordernumber` = 'O25010993126', `product_name` = '【芝麻+芝麻】金8結禮盒',`product_code` = 'DG010312-06',`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` = '8',`total_price` = '3840',`etd` = '2025-02-04',`create_date` = '2025-01-31 15:11:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993126' and product_code = 'DG010312-06' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993126' and product_code = 'DG010312-15' 2025-01-31 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,'268949','8','O25010993126','【巧克力+巧克力】金8結禮盒','DG010312-15','DG010312','金8結盒','禮盒-金8結【巧克力+巧克力】','590','480','0','0','0','0','1','480.0','6','2880','2025-02-04','2025-01-31 15:11:32','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268949',`firm_id` = '8',`ordernumber` = 'O25010993126', `product_name` = '【巧克力+巧克力】金8結禮盒',`product_code` = 'DG010312-15',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【巧克力+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '6',`total_price` = '2880',`etd` = '2025-02-04',`create_date` = '2025-01-31 15:11:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993126' and product_code = 'DG010312-15' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993244' and product_code = 'DG0103152-01' 2025-01-31 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,'268950','8','O25010993244','金典8結乳酪絲禮盒','DG0103152-01','DG0103152','原味蛋捲,原味乳酪絲','禮盒-金典(紅)【原味+乳酪絲(原味)】','655','655','0','0','0','0','1','0.0','2','1310','2025-02-03','2025-01-31 20:12:57','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268950',`firm_id` = '8',`ordernumber` = 'O25010993244', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-01',`product_sn` = 'DG0103152',`product_spec` = '原味蛋捲,原味乳酪絲',`invoice_name` = '禮盒-金典(紅)【原味+乳酪絲(原味)】',`listprice` = '655',`sellingprice` = '655',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1310',`etd` = '2025-02-03',`create_date` = '2025-01-31 20:12:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993244' and product_code = 'DG0103152-01' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993244' and product_code = 'DG010312-02' 2025-01-31 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,'268950','8','O25010993244','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','2','960','2025-02-03','2025-01-31 20:12:57','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268950',`firm_id` = '8',`ordernumber` = 'O25010993244', `product_name` = '【原味+芝麻】金8結禮盒',`product_code` = 'DG010312-02',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+芝麻】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2025-02-03',`create_date` = '2025-01-31 20:12:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993244' and product_code = 'DG010312-02' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993244' and product_code = 'DG010312-12' 2025-01-31 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,'268950','8','O25010993244','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2025-02-03','2025-01-31 20:12:57','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268950',`firm_id` = '8',`ordernumber` = 'O25010993244', `product_name` = '【咖啡+巧克力】金8結禮盒',`product_code` = 'DG010312-12',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【咖啡+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '2',`total_price` = '960',`etd` = '2025-02-03',`create_date` = '2025-01-31 20:12:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993244' and product_code = 'DG010312-12' 2025-01-31 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993244' and product_code = '13656' 2025-01-31 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,'268950','8','O25010993244','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','5','1450','2025-02-03','2025-01-31 20:12:57','2025-01-31 23:59:06',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268950',`firm_id` = '8',`ordernumber` = 'O25010993244', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1450',`etd` = '2025-02-03',`create_date` = '2025-01-31 20:12:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993244' and product_code = '13656' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993377' and product_code = 'DG010101-01' 2025-01-31 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,'268951','8','O25010993377','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-08','2025-01-31 20:27:01','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268951',`firm_id` = '8',`ordernumber` = 'O25010993377', `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` = '2025-02-08',`create_date` = '2025-01-31 20:27:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993377' and product_code = 'DG010101-01' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993377' and product_code = 'DG010101-02' 2025-01-31 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,'268951','8','O25010993377','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-08','2025-01-31 20:27:01','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268951',`firm_id` = '8',`ordernumber` = 'O25010993377', `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` = '2025-02-08',`create_date` = '2025-01-31 20:27:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993377' and product_code = 'DG010101-02' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993377' and product_code = 'DG010101-04' 2025-01-31 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,'268951','8','O25010993377','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-08','2025-01-31 20:27:01','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268951',`firm_id` = '8',`ordernumber` = 'O25010993377', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`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` = '2025-02-08',`create_date` = '2025-01-31 20:27:01',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993377' and product_code = 'DG010101-04' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993423' and product_code = 'DG010312-05' 2025-01-31 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,'268952','8','O25010993423','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-04','2025-01-31 20:42:25','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268952',`firm_id` = '8',`ordernumber` = 'O25010993423', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2025-02-04',`create_date` = '2025-01-31 20:42:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993423' and product_code = 'DG010312-05' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993423' and product_code = 'DG0103148-11' 2025-01-31 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,'268952','8','O25010993423','金典8結禮盒','DG0103148-11','DG0103148','咖啡+海苔','禮盒-金典(紅)【咖啡+海苔】','480','480','0','0','0','0','1','0.0','1','480','2025-02-04','2025-01-31 20:42:25','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268952',`firm_id` = '8',`ordernumber` = 'O25010993423', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-11',`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` = '2025-02-04',`create_date` = '2025-01-31 20:42:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993423' and product_code = 'DG0103148-11' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993423' and product_code = 'DG0103148-07' 2025-01-31 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,'268952','8','O25010993423','金典8結禮盒','DG0103148-07','DG0103148','芝麻+咖啡','禮盒-金典(紅)【芝麻+咖啡】','480','480','0','0','0','0','1','0.0','1','480','2025-02-04','2025-01-31 20:42:25','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268952',`firm_id` = '8',`ordernumber` = 'O25010993423', `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` = '2025-02-04',`create_date` = '2025-01-31 20:42:25',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993423' and product_code = 'DG0103148-07' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993566' and product_code = 'DG010101-05' 2025-01-31 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,'268953','8','O25010993566','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','4','1120','2025-02-07','2025-01-31 21:10:35','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268953',`firm_id` = '8',`ordernumber` = 'O25010993566', `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` = '4',`total_price` = '1120',`etd` = '2025-02-07',`create_date` = '2025-01-31 21:10:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993566' and product_code = 'DG010101-05' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993640' and product_code = 'DG010101-01' 2025-01-31 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,'268954','8','O25010993640','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-04','2025-01-31 21:11:11','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268954',`firm_id` = '8',`ordernumber` = 'O25010993640', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2025-02-04',`create_date` = '2025-01-31 21:11:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993640' and product_code = 'DG010101-01' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993640' and product_code = 'DG010101-02' 2025-01-31 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,'268954','8','O25010993640','香醇芝麻蛋捲','DG010101-02','DG010101','芝麻','40入芝麻蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-04','2025-01-31 21:11:11','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268954',`firm_id` = '8',`ordernumber` = 'O25010993640', `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` = '2',`total_price` = '560',`etd` = '2025-02-04',`create_date` = '2025-01-31 21:11:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993640' and product_code = 'DG010101-02' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993640' and product_code = 'DG010101-04' 2025-01-31 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,'268954','8','O25010993640','日式海苔蛋捲','DG010101-04','DG010101','單盒','40入海苔蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-04','2025-01-31 21:11:11','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268954',`firm_id` = '8',`ordernumber` = 'O25010993640', `product_name` = '日式海苔蛋捲',`product_code` = 'DG010101-04',`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` = '2025-02-04',`create_date` = '2025-01-31 21:11:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993640' and product_code = 'DG010101-04' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993640' and product_code = 'DG010101-03' 2025-01-31 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,'268954','8','O25010993640','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-04','2025-01-31 21:11:11','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268954',`firm_id` = '8',`ordernumber` = 'O25010993640', `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` = '2025-02-04',`create_date` = '2025-01-31 21:11:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993640' and product_code = 'DG010101-03' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993789' and product_code = 'DG010101-01' 2025-01-31 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,'268955','8','O25010993789','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-04','2025-01-31 22:16:32','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268955',`firm_id` = '8',`ordernumber` = 'O25010993789', `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` = '2025-02-04',`create_date` = '2025-01-31 22:16:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993789' and product_code = 'DG010101-01' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993789' and product_code = 'DG0103223-02' 2025-01-31 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,'268955','8','O25010993789','【小王子聯名】玫瑰星球8結禮盒','DG0103223-02','DG0103223','原味+芝麻','禮盒-小王子(NEW)【原味+芝麻】','500','500','0','0','0','0','1','0.0','1','500','2025-02-04','2025-01-31 22:16:32','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268955',`firm_id` = '8',`ordernumber` = 'O25010993789', `product_name` = '【小王子聯名】玫瑰星球8結禮盒',`product_code` = 'DG0103223-02',`product_sn` = 'DG0103223',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(NEW)【原味+芝麻】',`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` = '2025-02-04',`create_date` = '2025-01-31 22:16:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993789' and product_code = 'DG0103223-02' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993789' and product_code = 'DG010404-01' 2025-01-31 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,'268955','8','O25010993789','[加購]紅色提袋','DG010404-01','DG010404','-','紅色提袋','10','10','1','0','10','0','0','0.0','3','30','2025-02-04','2025-01-31 22:16:32','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268955',`firm_id` = '8',`ordernumber` = 'O25010993789', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2025-02-04',`create_date` = '2025-01-31 22:16:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993789' and product_code = 'DG010404-01' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993834' and product_code = 'DG010315-01' 2025-01-31 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,'268956','8','O25010993834','金8結肉酥酥禮盒','DG010315-01','DG010315','原味肉酥酥【原味蛋捲】','禮盒-金8結【原味+原味肉酥酥】','555','555','0','0','0','0','1','555.0','5','2775','2025-02-04','2025-01-31 22:38:32','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268956',`firm_id` = '8',`ordernumber` = 'O25010993834', `product_name` = '金8結肉酥酥禮盒',`product_code` = 'DG010315-01',`product_sn` = 'DG010315',`product_spec` = '原味肉酥酥【原味蛋捲】',`invoice_name` = '禮盒-金8結【原味+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '555.0',`amount` = '5',`total_price` = '2775',`etd` = '2025-02-04',`create_date` = '2025-01-31 22:38:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993834' and product_code = 'DG010315-01' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993834' and product_code = 'FL010310-01' 2025-01-31 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,'268956','8','O25010993834','一口酥24入家庭號禮盒','FL010310-01','12586','12入鳳梨酥+12入鳳梅酥','禮盒-24入家庭號【鳳梨酥+鳳梅酥】','540','540','0','0','0','0','1','0.0','5','2700','2025-02-04','2025-01-31 22:38:32','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268956',`firm_id` = '8',`ordernumber` = 'O25010993834', `product_name` = '一口酥24入家庭號禮盒',`product_code` = 'FL010310-01',`product_sn` = '12586',`product_spec` = '12入鳳梨酥+12入鳳梅酥',`invoice_name` = '禮盒-24入家庭號【鳳梨酥+鳳梅酥】',`listprice` = '540',`sellingprice` = '540',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2700',`etd` = '2025-02-04',`create_date` = '2025-01-31 22:38:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993834' and product_code = 'FL010310-01' 2025-01-31 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010993834' and product_code = '12525' 2025-01-31 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,'268956','8','O25010993834','心意禮盒','12525','FL010301','【芝麻糕+核棗糕+枸杞茶】','禮盒-心意【芝麻糕+核棗糕+枸杞茶】','520','520','0','0','0','0','1','0.0','1','520','2025-02-04','2025-01-31 22:38:32','2025-01-31 23:59:07',null,'1','2025-01-03') 2025-01-31 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268956',`firm_id` = '8',`ordernumber` = 'O25010993834', `product_name` = '心意禮盒',`product_code` = '12525',`product_sn` = 'FL010301',`product_spec` = '【芝麻糕+核棗糕+枸杞茶】',`invoice_name` = '禮盒-心意【芝麻糕+核棗糕+枸杞茶】',`listprice` = '520',`sellingprice` = '520',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '520',`etd` = '2025-02-04',`create_date` = '2025-01-31 22:38:32',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2025-01-03'where ordernumber = 'O25010993834' and product_code = '12525' 2025-01-31 23:59:07 -- == sync_order_detail end == 2025-01-31 23:59:07 -- == sync_order start == 2025-01-31 23:59:07 -- start:2025-01-31,end:2025-01-31 2025-01-31 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 '2025-01-31%' OR l.modify_date like '2025-01-31%'; 2025-01-31 23:59:07 -- == sync omo_order_list == 2025-01-31 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 ('178487','454594',2,'','','B25010022732','1','2','1','0','0','','','0','0000-00-00','450','0','0','','0','30','9000','632','雲林縣','虎尾鎮','632','雲林縣','虎尾鎮','8520','2025-01-31 19:01:54','2025-01-03') 2025-01-31 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 ('178487','454594',2,'','','B25010022873','1','11','1','1','1','','','0','0000-00-00','450','0','0','','0','30','9000','632','雲林縣','虎尾鎮','632','雲林縣','虎尾鎮','8520','2025-01-31 19:09:39','2025-01-03') 2025-01-31 23:59:07 -- == sync_order end == 2025-01-31 23:59:07 -- == sync_order_detail start == 2025-01-31 23:59:07 -- start:2025-01-31,end:2025-01-31 2025-01-31 23:59:07 -- == sync omo_order_detail == 2025-01-31 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-31%' OR modify_date like '2025-01-31%' 2025-01-31 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022732' and product_code = 'DG010269-01' 2025-01-31 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,'34114','8','B25010022732','【吳淡如聯名】築夢-8結彌月提盒','DG010269-01','DG010269','原味','提盒-彌月吳淡如-40入原味','300','300','0','0','0','0','1','0.0','30','9000','2025-02-13','2025-01-31 19:01:54','2025-01-31 23:59:08',null,'1','2025-01-03') 2025-01-31 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34114',`firm_id` = '8',`ordernumber` = 'B25010022732', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-01',`product_sn` = 'DG010269',`product_spec` = '原味',`invoice_name` = '提盒-彌月吳淡如-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2025-02-13',`create_date` = '2025-01-31 19:01:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022732' and product_code = 'DG010269-01', `lunar_date` = '2025-01-03' 2025-01-31 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022732' and product_code = 'ZP010151-01' 2025-01-31 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,'34114','8','B25010022732','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2025-02-13','2025-01-31 19:01:54','2025-01-31 23:59:08',null,'1','2025-01-03') 2025-01-31 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34114',`firm_id` = '8',`ordernumber` = 'B25010022732', `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` = '2025-02-13',`create_date` = '2025-01-31 19:01:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022732' and product_code = 'ZP010151-01', `lunar_date` = '2025-01-03' 2025-01-31 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022873' and product_code = 'DG010269-01' 2025-01-31 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,'34115','8','B25010022873','【吳淡如聯名】築夢-8結彌月提盒','DG010269-01','DG010269','原味','提盒-彌月吳淡如-40入原味','300','300','0','0','0','0','1','0.0','30','9000','2025-02-13','2025-01-31 19:09:39','2025-01-31 23:59:08',null,'1','2025-01-03') 2025-01-31 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34115',`firm_id` = '8',`ordernumber` = 'B25010022873', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-01',`product_sn` = 'DG010269',`product_spec` = '原味',`invoice_name` = '提盒-彌月吳淡如-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '30',`total_price` = '9000',`etd` = '2025-02-13',`create_date` = '2025-01-31 19:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022873' and product_code = 'DG010269-01', `lunar_date` = '2025-01-03' 2025-01-31 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022873' and product_code = 'ZP010151-01' 2025-01-31 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,'34115','8','B25010022873','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2025-02-13','2025-01-31 19:09:39','2025-01-31 23:59:08',null,'1','2025-01-03') 2025-01-31 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34115',`firm_id` = '8',`ordernumber` = 'B25010022873', `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` = '2025-02-13',`create_date` = '2025-01-31 19:09:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022873' and product_code = 'ZP010151-01', `lunar_date` = '2025-01-03' 2025-01-31 23:59:08 -- == sync_order_detail end == 2025-01-31 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) = '2025-01-31' OR o.updated_at = '2025-01-31') and o.deleted_at is null 2025-01-31 23:59:08 -- == sync_order_detail start == 2025-01-31 23:59:08 -- start:2025-01-31,end:2025-01-31 2025-01-31 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2025-01-31 23:59:09 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2025-01-31 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 '2025-01-31%';