2025-01-26 23:59:02 -- == sync_order start == 2025-01-26 23:59:02 -- start:2025-01-26,end:2025-01-26 2025-01-26 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-26%' OR l.modify_date like '2025-01-26%'; 2025-01-26 23:59:03 -- == sync omo_order_list == 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '433971', process_status = '3', pay_status = '1', totalprice_after = '5585', lunar_date = '2024-11-15', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24120207357' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '434942', process_status = '3', pay_status = '1', totalprice_after = '12282', lunar_date = '2024-11-15', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24120220767' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '83643', process_status = '3', pay_status = '1', totalprice_after = '12825', lunar_date = '2024-11-17', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24120263442' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '439653', process_status = '3', pay_status = '1', totalprice_after = '7785', lunar_date = '2024-11-26', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24120484535' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '433295', process_status = '3', pay_status = '1', totalprice_after = '4545', lunar_date = '2024-12-01', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24120659376' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '437127', process_status = '3', pay_status = '1', totalprice_after = '5770', lunar_date = '2024-12-03', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S24120547912RB' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '445133', process_status = '3', pay_status = '1', totalprice_after = '5610', lunar_date = '2024-12-07', invoice_status = '0',category_name = '迪化當日宅配', category_id = '44' where ordernumber = 'S25010294844' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '1', totalprice_after = '4090', lunar_date = '2024-12-09', invoice_status = '0',category_name = '迪化當日宅配', category_id = '44' where ordernumber = 'S25010413584' 2025-01-26 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '220948', process_status = '3', pay_status = '1', totalprice_after = '28928', lunar_date = '2024-12-24', invoice_status = '1',category_name = '插單群訂單,永康當日宅配', category_id = '14,19' where ordernumber = 'S25010983368' 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('417972','454224',1,'','','O25010986681','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','3165','235','新北市','中和區','235','新北市','中和區','3315','2025-01-26 01:52:08','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('417973','454225',1,'','','O25010986780','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1120','709','台南市','安南區','709','台南市','安南區','1240','2025-01-26 02:53:10','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('417976','454228',1,'','','O25010986852','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','2950','407','台中市','西屯區','407','台中市','西屯區','3000','2025-01-26 09:14:55','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('417978','454230',1,'','','O25010986934','1','1','1','1','1','84855894','偉同科技股份有限公司','0','0000-00-00','0','0','0','','150','0','3000','815','高雄市','大社區','815','高雄市','大社區','3150','2025-01-26 09:55:14','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('417981','454233',1,'','','O25010987012','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1590','615','嘉義縣','六腳鄉','615','嘉義縣','六腳鄉','1710','2025-01-26 10:58:56','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('417672','453928',1,'','','O25010987113','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2020','950','台東縣','台東市','950','台東縣','台東市','2140','2025-01-26 14:32:10','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('418244','454493',1,'','','O25010987213','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','100','3200','100','台北市','中正區','100','台北市','中正區','3250','2025-01-26 21:16:35','2024-12-27') 2025-01-26 23:59:03 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('418245','454494',1,'','','O25010987385','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','950','330','桃園市','桃園區','545','南投縣','埔里鎮','1070','2025-01-26 21:52:49','2024-12-27') 2025-01-26 23:59:03 -- == sync_order end == 2025-01-26 23:59:03 -- == sync_order_detail start == 2025-01-26 23:59:03 -- start:2025-01-26,end:2025-01-26 2025-01-26 23:59:03 -- == sync omo_order_detail == 2025-01-26 23:59:03 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-26%' OR modify_date like '2025-01-26%' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120207357' and product_code = 'DG010527-02' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '253750',`firm_id` = '8',`ordernumber` = 'S24120207357', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-02',`product_sn` = 'DG010527',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '組合-40入芝麻+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '4350',`etd` = '2025-01-25',`create_date` = '2024-12-15 11:21:25',`modify_date` = '2025-01-26 18:11:18',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-15'where ordernumber = 'S24120207357' and product_code = 'DG010527-02' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120207357' and product_code = 'DG0103182-161' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '253750',`firm_id` = '8',`ordernumber` = 'S24120207357', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-161',`product_sn` = 'DG0103182',`product_spec` = '芝麻.夏威夷豆軟糖.國寶茶',`invoice_name` = '禮盒-金巧8結【(芝麻)-夏威夷豆軟糖+國寶茶】',`listprice` = '645',`sellingprice` = '645',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '645',`etd` = '2025-01-25',`create_date` = '2024-12-15 11:21:25',`modify_date` = '2025-01-26 18:11:18',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-15'where ordernumber = 'S24120207357' and product_code = 'DG0103182-161' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120207357' and product_code = 'FL010104-01' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '253750',`firm_id` = '8',`ordernumber` = 'S24120207357', `product_name` = '加購-一口鳳梨酥',`product_code` = 'FL010104-01',`product_sn` = 'FL010104',`product_spec` = '8入鳳梨酥',`invoice_name` = '加購-(盒)鳳梨酥',`listprice` = '155',`sellingprice` = '155',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '620',`etd` = '2025-01-25',`create_date` = '2024-12-15 11:21:25',`modify_date` = '2025-01-26 18:11:18',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-15'where ordernumber = 'S24120207357' and product_code = 'FL010104-01' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120220767' and product_code = 'DG010312-02' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '253885',`firm_id` = '8',`ordernumber` = 'S24120220767', `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` = '27',`total_price` = '12960',`etd` = '2025-01-20',`create_date` = '2024-12-15 19:53:42',`modify_date` = '2025-01-26 18:10:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-15'where ordernumber = 'S24120220767' and product_code = 'DG010312-02' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120263442' and product_code = 'DG0103182-18' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '254343',`firm_id` = '8',`ordernumber` = 'S24120263442', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-18',`product_sn` = 'DG0103182',`product_spec` = '原味.鳳梅酥.夏威夷豆軟糖',`invoice_name` = '禮盒-金巧8結【(原味)-鳳梅酥+夏威夷豆軟糖】',`listprice` = '680',`sellingprice` = '680',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '6800',`etd` = '2025-01-07',`create_date` = '2024-12-17 16:53:08',`modify_date` = '2025-01-26 18:09:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-17'where ordernumber = 'S24120263442' and product_code = 'DG0103182-18' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120263442' and product_code = 'DG0103182-116' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '254343',`firm_id` = '8',`ordernumber` = 'S24120263442', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-116',`product_sn` = 'DG0103182',`product_spec` = '芝麻.鳳梨酥.成真咖啡',`invoice_name` = '禮盒-金巧8結【(芝麻)-鳳梨酥+成真咖啡】',`listprice` = '670',`sellingprice` = '670',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '10',`total_price` = '6700',`etd` = '2025-01-07',`create_date` = '2024-12-17 16:53:08',`modify_date` = '2025-01-26 18:09:58',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-17'where ordernumber = 'S24120263442' and product_code = 'DG0103182-116' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120484535' and product_code = 'DG010101-02' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '256634',`firm_id` = '8',`ordernumber` = 'S24120484535', `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` = '5',`total_price` = '1400',`etd` = '2025-01-08',`create_date` = '2024-12-26 12:37:44',`modify_date` = '2025-01-26 18:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-26'where ordernumber = 'S24120484535' and product_code = 'DG010101-02' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120484535' and product_code = 'DG010431-01' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '256634',`firm_id` = '8',`ordernumber` = 'S24120484535', `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` = '5',`total_price` = '75',`etd` = '2025-01-08',`create_date` = '2024-12-26 12:37:44',`modify_date` = '2025-01-26 18:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-26'where ordernumber = 'S24120484535' and product_code = 'DG010431-01' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120484535' and product_code = 'DG0103148-02' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '256634',`firm_id` = '8',`ordernumber` = 'S24120484535', `product_name` = '金典8結禮盒',`product_code` = 'DG0103148-02',`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` = '2',`total_price` = '960',`etd` = '2025-01-08',`create_date` = '2024-12-26 12:37:44',`modify_date` = '2025-01-26 18:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-26'where ordernumber = 'S24120484535' and product_code = 'DG0103148-02' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120484535' and product_code = 'DG0103152-02' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '256634',`firm_id` = '8',`ordernumber` = 'S24120484535', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-02',`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` = '6',`total_price` = '3930',`etd` = '2025-01-08',`create_date` = '2024-12-26 12:37:44',`modify_date` = '2025-01-26 18:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-26'where ordernumber = 'S24120484535' and product_code = 'DG0103152-02' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120484535' and product_code = 'DG0103182-138' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '256634',`firm_id` = '8',`ordernumber` = 'S24120484535', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-138',`product_sn` = 'DG0103182',`product_spec` = '芝麻.南棗核桃糕.黑松露夏威夷果',`invoice_name` = '禮盒-金巧8結【(芝麻)-南棗核桃糕+黑松露夏威夷果】',`listprice` = '725',`sellingprice` = '725',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1450',`etd` = '2025-01-08',`create_date` = '2024-12-26 12:37:44',`modify_date` = '2025-01-26 18:09:21',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-26'where ordernumber = 'S24120484535' and product_code = 'DG0103182-138' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120659376' and product_code = 'DG010101-02' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258436',`firm_id` = '8',`ordernumber` = 'S24120659376', `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` = '9',`total_price` = '2520',`etd` = '2025-01-08',`create_date` = '2024-12-31 13:22:39',`modify_date` = '2025-01-26 18:08:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120659376' and product_code = 'DG010101-02' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120659376' and product_code = 'DG010101-03' 2025-01-26 23:59:05 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258436',`firm_id` = '8',`ordernumber` = 'S24120659376', `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-01-08',`create_date` = '2024-12-31 13:22:39',`modify_date` = '2025-01-26 18:08:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120659376' and product_code = 'DG010101-03' 2025-01-26 23:59:05 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120659376' and product_code = 'DG010101-04' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258436',`firm_id` = '8',`ordernumber` = 'S24120659376', `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` = '2',`total_price` = '560',`etd` = '2025-01-08',`create_date` = '2024-12-31 13:22:39',`modify_date` = '2025-01-26 18:08:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120659376' and product_code = 'DG010101-04' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120659376' and product_code = 'DG010101-05' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258436',`firm_id` = '8',`ordernumber` = 'S24120659376', `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-01-08',`create_date` = '2024-12-31 13:22:39',`modify_date` = '2025-01-26 18:08:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120659376' and product_code = 'DG010101-05' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120659376' and product_code = 'DG010405-01' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '258436',`firm_id` = '8',`ordernumber` = 'S24120659376', `product_name` = '單入紅提盒',`product_code` = 'DG010405-01',`product_sn` = 'DG010405',`product_spec` = '單入紅提盒包材',`invoice_name` = '單入紅提盒',`listprice` = '15',`sellingprice` = '15',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '15',`total_price` = '225',`etd` = '2025-01-08',`create_date` = '2024-12-31 13:22:39',`modify_date` = '2025-01-26 18:08:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-01'where ordernumber = 'S24120659376' and product_code = 'DG010405-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120547912RB' and product_code = 'DG010101-01' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '259263',`firm_id` = '8',`ordernumber` = 'S24120547912RB', `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` = '20',`total_price` = '5600',`etd` = '2025-01-04',`create_date` = '2024-12-28 12:40:31',`modify_date` = '2025-01-26 18:08:18',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-28'where ordernumber = 'S24120547912RB' and product_code = 'DG010101-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24120547912RB' and product_code = 'DG010404-01' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '259263',`firm_id` = '8',`ordernumber` = 'S24120547912RB', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '200',`etd` = '2025-01-04',`create_date` = '2024-12-28 12:40:31',`modify_date` = '2025-01-26 18:08:18',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-11-28'where ordernumber = 'S24120547912RB' and product_code = 'DG010404-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010294844' and product_code = 'DG0103149-10' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261727',`firm_id` = '8',`ordernumber` = 'S25010294844', `product_name` = '金典8結肉酥酥禮盒',`product_code` = 'DG0103149-10',`product_sn` = '02945',`product_spec` = '海苔+原原肉酥酥',`invoice_name` = '禮盒-金典(紅)【海苔+原味肉酥酥】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '2775',`etd` = '2025-01-07',`create_date` = '2025-01-06 16:37:50',`modify_date` = '2025-01-26 18:16:16',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-07'where ordernumber = 'S25010294844' and product_code = 'DG0103149-10' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010294844' and product_code = 'DG010101-03' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261727',`firm_id` = '8',`ordernumber` = 'S25010294844', `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` = '6',`total_price` = '1680',`etd` = '2025-01-07',`create_date` = '2025-01-06 16:37:50',`modify_date` = '2025-01-26 18:16:16',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-07'where ordernumber = 'S25010294844' and product_code = 'DG010101-03' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010294844' and product_code = 'DG010101-04' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261727',`firm_id` = '8',`ordernumber` = 'S25010294844', `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` = '2',`total_price` = '560',`etd` = '2025-01-07',`create_date` = '2025-01-06 16:37:50',`modify_date` = '2025-01-26 18:16:16',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-07'where ordernumber = 'S25010294844' and product_code = 'DG010101-04' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010294844' and product_code = 'DG010404-01' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '261727',`firm_id` = '8',`ordernumber` = 'S25010294844', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2025-01-07',`create_date` = '2025-01-06 16:37:50',`modify_date` = '2025-01-26 18:16:16',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-07'where ordernumber = 'S25010294844' and product_code = 'DG010404-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010413584' and product_code = 'DG010312-11' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '262960',`firm_id` = '8',`ordernumber` = 'S25010413584', `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` = '8',`total_price` = '3840',`etd` = '2025-01-08',`create_date` = '2025-01-08 14:22:04',`modify_date` = '2025-01-26 18:14:31',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-09'where ordernumber = 'S25010413584' and product_code = 'DG010312-11' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13656' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `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` = '15',`total_price` = '4350',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '2025-01-26 10:57:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13656' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13658' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13658',`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` = '15',`total_price` = '4350',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '2025-01-26 10:57:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13658' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13659' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13659',`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` = '40',`total_price` = '11600',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '2025-01-26 10:57:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13659' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S25010983368' and product_code = '13660' 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268851',`firm_id` = '8',`ordernumber` = 'S25010983368', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13660',`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` = '35',`total_price` = '10150',`etd` = '2025-01-26',`create_date` = '2025-01-23 17:46:34',`modify_date` = '2025-01-26 10:57:09',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-12-24'where ordernumber = 'S25010983368' and product_code = '13660' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986681' and product_code = 'DG0103152-27' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268884','8','O25010986681','金典8結乳酪絲禮盒','DG0103152-27','DG0103152','芝麻蛋捲,黑松露乳酪絲','禮盒-金典(紅)【芝麻+乳酪絲(黑松露)】','655','655','0','0','0','0','1','0.0','1','655','2025-02-27','2025-01-26 01:52:08','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268884',`firm_id` = '8',`ordernumber` = 'O25010986681', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-27',`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` = '1',`total_price` = '655',`etd` = '2025-02-27',`create_date` = '2025-01-26 01:52:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986681' and product_code = 'DG0103152-27' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986681' and product_code = 'DG0103152-26' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268884','8','O25010986681','金典8結乳酪絲禮盒','DG0103152-26','DG0103152','原味蛋捲,黑松露乳酪絲','禮盒-金典(紅)【原味+乳酪絲(黑松露)】','655','655','0','0','0','0','1','0.0','1','655','2025-02-27','2025-01-26 01:52:08','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268884',`firm_id` = '8',`ordernumber` = 'O25010986681', `product_name` = '金典8結乳酪絲禮盒',`product_code` = 'DG0103152-26',`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` = '1',`total_price` = '655',`etd` = '2025-02-27',`create_date` = '2025-01-26 01:52:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986681' and product_code = 'DG0103152-26' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986681' and product_code = 'DG010312-05' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268884','8','O25010986681','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','2','960','2025-02-27','2025-01-26 01:52:08','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268884',`firm_id` = '8',`ordernumber` = 'O25010986681', `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` = '2',`total_price` = '960',`etd` = '2025-02-27',`create_date` = '2025-01-26 01:52:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986681' and product_code = 'DG010312-05' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986681' and product_code = 'DG010258-05' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268884','8','O25010986681','金豐收8結提盒','DG010258-05','DG010258','40入巧克力蛋捲','提盒-金豐收(藍)-40入巧克力','295','295','0','0','0','0','1','0.0','1','295','2025-02-27','2025-01-26 01:52:08','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268884',`firm_id` = '8',`ordernumber` = 'O25010986681', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-05',`product_sn` = 'DG010258',`product_spec` = '40入巧克力蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入巧克力',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2025-02-27',`create_date` = '2025-01-26 01:52:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986681' and product_code = 'DG010258-05' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986681' and product_code = 'TG010106-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268884','8','O25010986681','分享包-黑曜芝麻糕','TG010106-01','TG010106','25入芝麻糕分享包','(紅袋)芝麻糕','300','300','0','0','0','0','1','0.0','1','300','2025-02-27','2025-01-26 01:52:08','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268884',`firm_id` = '8',`ordernumber` = 'O25010986681', `product_name` = '分享包-黑曜芝麻糕',`product_code` = 'TG010106-01',`product_sn` = 'TG010106',`product_spec` = '25入芝麻糕分享包',`invoice_name` = '(紅袋)芝麻糕',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-27',`create_date` = '2025-01-26 01:52:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986681' and product_code = 'TG010106-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986681' and product_code = 'DG010268-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268884','8','O25010986681','【吳淡如聯名】築夢-8結提盒','DG010268-01','DG010268','原味','提盒-吳淡如-40入原味','300','300','0','0','0','0','1','0.0','1','300','2025-02-27','2025-01-26 01:52:08','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268884',`firm_id` = '8',`ordernumber` = 'O25010986681', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-01',`product_sn` = 'DG010268',`product_spec` = '原味',`invoice_name` = '提盒-吳淡如-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2025-02-27',`create_date` = '2025-01-26 01:52:08',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986681' and product_code = 'DG010268-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986780' and product_code = 'DG010101-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268885','8','O25010986780','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-26 02:53:10','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268885',`firm_id` = '8',`ordernumber` = 'O25010986780', `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-03',`create_date` = '2025-01-26 02:53:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986780' and product_code = 'DG010101-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986780' and product_code = 'DG010101-05' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268885','8','O25010986780','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2025-02-03','2025-01-26 02:53:10','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268885',`firm_id` = '8',`ordernumber` = 'O25010986780', `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-26 02:53:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986780' and product_code = 'DG010101-05' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986852' and product_code = 'DG010206-02' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268886','8','O25010986852','8結蛋捲【紅提盒裝】','DG010206-02','DG010206','芝麻','提盒-品牌(紅)-40入芝麻蛋捲','295','295','0','0','0','0','1','0.0','10','2950','2025-02-03','2025-01-26 09:14:55','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268886',`firm_id` = '8',`ordernumber` = 'O25010986852', `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` = '10',`total_price` = '2950',`etd` = '2025-02-03',`create_date` = '2025-01-26 09:14:55',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986852' and product_code = 'DG010206-02' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986934' and product_code = 'DG010265-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268887','8','O25010986934','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','5','1500','2025-02-03','2025-01-26 09:55:14','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268887',`firm_id` = '8',`ordernumber` = 'O25010986934', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2025-02-03',`create_date` = '2025-01-26 09:55:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986934' and product_code = 'DG010265-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010986934' and product_code = 'DG010275-02' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268887','8','O25010986934','【小王子聯名】玫瑰星球8結提盒','DG010275-02','DG010275','芝麻','提盒-小王子(NEW)-40入芝麻','300','300','0','0','0','0','1','0.0','5','1500','2025-02-03','2025-01-26 09:55:14','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268887',`firm_id` = '8',`ordernumber` = 'O25010986934', `product_name` = '【小王子聯名】玫瑰星球8結提盒',`product_code` = 'DG010275-02',`product_sn` = 'DG010275',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(NEW)-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` = '2025-02-03',`create_date` = '2025-01-26 09:55:14',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010986934' and product_code = 'DG010275-02' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987012' and product_code = 'DG0105103-30' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268888','8','O25010987012','SNOOPY美好心意-蛋捲三入組','DG0105103-30','DG0105103','咖啡+海苔+巧克力','組合-32入(咖啡+海苔+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2025-02-03','2025-01-26 10:58:56','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268888',`firm_id` = '8',`ordernumber` = 'O25010987012', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-30',`product_sn` = 'DG0105103',`product_spec` = '咖啡+海苔+巧克力',`invoice_name` = '組合-32入(咖啡+海苔+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2025-02-03',`create_date` = '2025-01-26 10:58:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987012' and product_code = 'DG0105103-30' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987012' and product_code = 'DG010312-14' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268888','8','O25010987012','【海苔+巧克力】金8結禮盒','DG010312-14','DG010312','金8結盒','禮盒-金8結【海苔+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2025-02-03','2025-01-26 10:58:56','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268888',`firm_id` = '8',`ordernumber` = 'O25010987012', `product_name` = '【海苔+巧克力】金8結禮盒',`product_code` = 'DG010312-14',`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-26 10:58:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987012' and product_code = 'DG010312-14' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987012' and product_code = 'BP010182-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268888','8','O25010987012','[加購]加購-SNOOPY飲料提袋','BP010182-01','BP010182','-','加購-SNOOPY飲料提袋','120','120','1','1','120','0','0','0.0','1','120','2025-02-03','2025-01-26 10:58:56','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268888',`firm_id` = '8',`ordernumber` = 'O25010987012', `product_name` = '[加購]加購-SNOOPY飲料提袋',`product_code` = 'BP010182-01',`product_sn` = 'BP010182',`product_spec` = '-',`invoice_name` = '加購-SNOOPY飲料提袋',`listprice` = '120',`sellingprice` = '120',`isadd` = '1',`isbaby` = '1',`addprice` = '120',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '120',`etd` = '2025-02-03',`create_date` = '2025-01-26 10:58:56',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987012' and product_code = 'BP010182-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987113' and product_code = 'ZS010201-02' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268889','8','O25010987113','提盒裝肉酥酥','ZS010201-02','ZS010201','原味+辣味','提盒-肉酥酥【原+辣】','300','300','0','0','0','0','1','300.0','3','900','2025-02-03','2025-01-26 14:32:10','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268889',`firm_id` = '8',`ordernumber` = 'O25010987113', `product_name` = '提盒裝肉酥酥',`product_code` = 'ZS010201-02',`product_sn` = 'ZS010201',`product_spec` = '原味+辣味',`invoice_name` = '提盒-肉酥酥【原+辣】',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '3',`total_price` = '900',`etd` = '2025-02-03',`create_date` = '2025-01-26 14:32:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987113' and product_code = 'ZS010201-02' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987113' and product_code = 'DG010101-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268889','8','O25010987113','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','2','560','2025-02-03','2025-01-26 14:32:10','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268889',`firm_id` = '8',`ordernumber` = 'O25010987113', `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-03',`create_date` = '2025-01-26 14:32:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987113' and product_code = 'DG010101-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987113' and product_code = 'DG010101-03' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268889','8','O25010987113','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-26 14:32:10','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268889',`firm_id` = '8',`ordernumber` = 'O25010987113', `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-03',`create_date` = '2025-01-26 14:32:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987113' and product_code = 'DG010101-03' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987113' and product_code = 'DG010101-05' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268889','8','O25010987113','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','1','280','2025-02-03','2025-01-26 14:32:10','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268889',`firm_id` = '8',`ordernumber` = 'O25010987113', `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` = '2025-02-03',`create_date` = '2025-01-26 14:32:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987113' and product_code = 'DG010101-05' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987213' and product_code = 'DG0103188-08' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268890','8','O25010987213','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-08','DG0103188','原味蛋捲,海苔蛋捲','禮盒-SNOOPY(橘)【原味+海苔】','500','500','0','0','0','0','1','0.0','4','2000','2025-02-03','2025-01-26 21:16:35','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268890',`firm_id` = '8',`ordernumber` = 'O25010987213', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-08',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,海苔蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+海苔】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '2000',`etd` = '2025-02-03',`create_date` = '2025-01-26 21:16:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987213' and product_code = 'DG0103188-08' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987213' and product_code = 'DG010265-01' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268890','8','O25010987213','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','4','1200','2025-02-03','2025-01-26 21:16:35','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268890',`firm_id` = '8',`ordernumber` = 'O25010987213', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2025-02-03',`create_date` = '2025-01-26 21:16:35',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987213' and product_code = 'DG010265-01' 2025-01-26 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O25010987385' and product_code = 'DG0103100-02' 2025-01-26 23:59:06 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`, `lunar_date`) VALUES (null, 1,'268891','8','O25010987385','【官網限定】游魚轉心瓶8結蛋捲茶禮盒','DG0103100-02','DG010399','芝麻蛋捲,梨紅佳人','禮盒-故宮(文物款)【芝麻+梨紅佳人】','950','950','0','0','0','0','1','0.0','1','950','2025-02-03','2025-01-26 21:52:49','2025-01-26 23:59:06',null,'1','2024-12-27') 2025-01-26 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '268891',`firm_id` = '8',`ordernumber` = 'O25010987385', `product_name` = '【官網限定】游魚轉心瓶8結蛋捲茶禮盒',`product_code` = 'DG0103100-02',`product_sn` = 'DG010399',`product_spec` = '芝麻蛋捲,梨紅佳人',`invoice_name` = '禮盒-故宮(文物款)【芝麻+梨紅佳人】',`listprice` = '950',`sellingprice` = '950',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '950',`etd` = '2025-02-03',`create_date` = '2025-01-26 21:52:49',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-12-27'where ordernumber = 'O25010987385' and product_code = 'DG0103100-02' 2025-01-26 23:59:06 -- == sync_order_detail end == 2025-01-26 23:59:06 -- == sync_order start == 2025-01-26 23:59:06 -- start:2025-01-26,end:2025-01-26 2025-01-26 23:59:06 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2025-01-26%' OR l.modify_date like '2025-01-26%'; 2025-01-26 23:59:07 -- == sync omo_order_list == 2025-01-26 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 ('178200','454312',2,'','','B25010022547','1','1','1','1','1','','','0','0000-00-00','0','0','0','','0','100','6190','324','桃園市','平鎮區','324','桃園市','平鎮區','6090','2025-01-26 13:06:34','2024-12-27') 2025-01-26 23:59:07 -- == sync_order end == 2025-01-26 23:59:07 -- == sync_order_detail start == 2025-01-26 23:59:07 -- start:2025-01-26,end:2025-01-26 2025-01-26 23:59:07 -- == sync omo_order_detail == 2025-01-26 23:59:07 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2025-01-26%' OR modify_date like '2025-01-26%' 2025-01-26 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022547' and product_code = '05401' 2025-01-26 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'34112','8','B25010022547','品純萃鱸魚精5入試飲組※每帳號限購1組※','05401','05401','5入鱸魚精','品純萃鱸魚精5入試飲組','1100','990','0','1','0','1','1','0.0','1','990','2025-02-13','2025-01-26 13:06:34','2025-01-26 23:59:07',null,'1','2024-12-27') 2025-01-26 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34112',`firm_id` = '8',`ordernumber` = 'B25010022547', `product_name` = '品純萃鱸魚精5入試飲組※每帳號限購1組※',`product_code` = '05401',`product_sn` = '05401',`product_spec` = '5入鱸魚精',`invoice_name` = '品純萃鱸魚精5入試飲組',`listprice` = '1100',`sellingprice` = '990',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2025-02-13',`create_date` = '2025-01-26 13:06:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022547' and product_code = '05401', `lunar_date` = '2024-12-27' 2025-01-26 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022547' and product_code = 'SS010102-01' 2025-01-26 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'34112','8','B25010022547','品純萃鱸魚精30入','SS010102-01','SS010102','品純萃鱸魚精30入','品純萃鱸魚精30入','5200','5200','0','1','0','0','1','1.0','1','5200','2025-02-13','2025-01-26 13:06:34','2025-01-26 23:59:07',null,'1','2024-12-27') 2025-01-26 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34112',`firm_id` = '8',`ordernumber` = 'B25010022547', `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` = '2025-02-13',`create_date` = '2025-01-26 13:06:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022547' and product_code = 'SS010102-01', `lunar_date` = '2024-12-27' 2025-01-26 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B25010022547' and product_code = 'ZP010151-01' 2025-01-26 23:59:07 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `isbaby`, `addprice`, `is_exclude`, `freight_type`, `commission`, `amount`, `total_price`, `etd`, `create_date`, `modify_date`, `points_use_id`, `item_status`,`lunar_date`) VALUES (null, 2,'34112','8','B25010022547','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2025-02-13','2025-01-26 13:06:34','2025-01-26 23:59:07',null,'1','2024-12-27') 2025-01-26 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '34112',`firm_id` = '8',`ordernumber` = 'B25010022547', `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-26 13:06:34',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B25010022547' and product_code = 'ZP010151-01', `lunar_date` = '2024-12-27' 2025-01-26 23:59:07 -- == sync_order_detail end == 2025-01-26 23:59:07 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2025-01-26' OR o.updated_at = '2025-01-26') and o.deleted_at is null 2025-01-26 23:59:07 -- == sync_order_detail start == 2025-01-26 23:59:07 -- start:2025-01-26,end:2025-01-26 2025-01-26 23:59:08 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2025-01-26 23:59:08 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2025-01-26 23:59:12 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2025-01-26%';