2024-10-29 23:59:01 -- == sync_order start == 2024-10-29 23:59:01 -- start:2024-10-29,end:2024-10-29 2024-10-29 23:59:01 -- == select june1.order_list == SELECT l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-10-29%' OR l.modify_date like '2024-10-29%'; 2024-10-29 23:59:03 -- == sync omo_order_list == 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '423783', process_status = '2', pay_status = '1', totalprice_after = '1640', lunar_date = '2024-08-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100000438' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '43680', lunar_date = '2024-09-07', invoice_status = '1',category_name = '境外訂單', category_id = '18' where ordernumber = 'S24100030954' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '425258', process_status = '2', pay_status = '1', totalprice_after = '19470', lunar_date = '2024-09-08', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100035777' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '425271', process_status = '2', pay_status = '1', totalprice_after = '42720', lunar_date = '2024-09-09', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24100037753' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '425271', process_status = '1', pay_status = '1', totalprice_after = '42750', lunar_date = '2024-09-09', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24100038182' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '425039', process_status = '2', pay_status = '1', totalprice_after = '6720', lunar_date = '2024-09-10', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100040274' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '425578', process_status = '3', pay_status = '1', totalprice_after = '2370', lunar_date = '2024-09-10', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24100040995' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '425649', process_status = '2', pay_status = '1', totalprice_after = '10975', lunar_date = '2024-09-11', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100044790' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427175', process_status = '2', pay_status = '1', totalprice_after = '1530', lunar_date = '2024-09-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100073134' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '397273', process_status = '2', pay_status = '1', totalprice_after = '4440', lunar_date = '2024-09-21', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100073410' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427298', process_status = '2', pay_status = '1', totalprice_after = '10002', lunar_date = '2024-09-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100076115' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '86551', process_status = '3', pay_status = '0', totalprice_after = '139968', lunar_date = '2024-09-22', invoice_status = '1',category_name = ',LINE@訂單', category_id = ',9' where ordernumber = 'S24100077710' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '1', totalprice_after = '23478', lunar_date = '2024-09-22', invoice_status = '0',category_name = '正式彌月,FB訂單', category_id = '1,10' where ordernumber = 'S24100077970' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427407', process_status = '2', pay_status = '1', totalprice_after = '6180', lunar_date = '2024-09-22', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100078253' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427455', process_status = '3', pay_status = '1', totalprice_after = '420', lunar_date = '2024-09-23', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24100079137' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427407', process_status = '2', pay_status = '1', totalprice_after = '30', lunar_date = '2024-09-23', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24100080039' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '179946', process_status = '2', pay_status = '1', totalprice_after = '24225', lunar_date = '2024-09-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100080270' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427479', process_status = '3', pay_status = '1', totalprice_after = '9120', lunar_date = '2024-09-23', invoice_status = '1',category_name = '美村門市訂單', category_id = '32' where ordernumber = 'S24100080428' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427559', process_status = '2', pay_status = '1', totalprice_after = '930', lunar_date = '2024-09-23', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100081590' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '424735', process_status = '6', pay_status = '6', totalprice_after = '775', lunar_date = '2024-09-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100082373' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '424735', process_status = '2', pay_status = '1', totalprice_after = '1645', lunar_date = '2024-09-24', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100083044' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427824', process_status = '1', pay_status = '1', totalprice_after = '1995', lunar_date = '2024-09-25', invoice_status = '0',category_name = 'FB訂單', category_id = '10' where ordernumber = 'O24100083535' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427859', process_status = '3', pay_status = '1', totalprice_after = '420', lunar_date = '2024-09-25', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24100083922' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427924', process_status = '2', pay_status = '1', totalprice_after = '1800', lunar_date = '2024-09-25', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100084219' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427444', process_status = '3', pay_status = '1', totalprice_after = '600', lunar_date = '2024-09-25', invoice_status = '1',category_name = '', category_id = '' where ordernumber = 'O24100084658' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427989', process_status = '2', pay_status = '1', totalprice_after = '1260', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100085137' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427176', process_status = '6', pay_status = '6', totalprice_after = '62001', lunar_date = '2024-09-26', invoice_status = '0',category_name = '企業訂單', category_id = '4' where ordernumber = 'S24100074448RB' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427998', process_status = '1', pay_status = '1', totalprice_after = '129456', lunar_date = '2024-09-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24100085466' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427997', process_status = '2', pay_status = '1', totalprice_after = '2520', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100085568' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428011', process_status = '2', pay_status = '1', totalprice_after = '29607', lunar_date = '2024-09-26', invoice_status = '0',category_name = '電話訂單', category_id = '12' where ordernumber = 'S24100085981' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427336', process_status = '2', pay_status = '1', totalprice_after = '7296', lunar_date = '2024-09-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24100086085' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427306', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100086259' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428025', process_status = '2', pay_status = '1', totalprice_after = '750', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100086467' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428030', process_status = '2', pay_status = '1', totalprice_after = '700', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100086525' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428034', process_status = '2', pay_status = '1', totalprice_after = '670', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100086771' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428023', process_status = '2', pay_status = '1', totalprice_after = '70092', lunar_date = '2024-09-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24100086832' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '168397', process_status = '3', pay_status = '0', totalprice_after = '14065', lunar_date = '2024-09-26', invoice_status = '1',category_name = '通路訂單', category_id = '5' where ordernumber = 'S24100087072' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428063', process_status = '2', pay_status = '1', totalprice_after = '520', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087259' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427998', process_status = '2', pay_status = '1', totalprice_after = '1791', lunar_date = '2024-09-26', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S24100087385' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '420296', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087441' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427282', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087589' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '426909', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087660' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '428085', process_status = '2', pay_status = '1', totalprice_after = '990', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087771' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '426745', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087852' 2024-10-29 23:59:03 -- == update lake.omo_order_list == update omo_order_list set userId = '427613', process_status = '1', pay_status = '1', totalprice_after = '1110', lunar_date = '2024-09-26', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O24100087995' 2024-10-29 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 ('391828','428100',1,'','','O24100088160','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','550','802','高雄市','苓雅區','802','高雄市','苓雅區','670','2024-10-29 00:30:05','2024-09-27') 2024-10-29 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 ('387604','423900',1,'','','O24100088225','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','100','1610','235','新北市','中和區','235','新北市','中和區','1660','2024-10-29 02:20:53','2024-09-27') 2024-10-29 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 ('305348','342602',1,'','','O24100088367','1','2','1','1','1','','','0','0000-00-00','0','0','0','','150','0','2175','302','新竹縣','竹北市','302','新竹縣','竹北市','2325','2024-10-29 03:46:12','2024-09-27') 2024-10-29 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 ('391836','428108',1,'','','O24100088417','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','900','328','桃園市','觀音區','328','桃園市','觀音區','1020','2024-10-29 09:04:44','2024-09-27') 2024-10-29 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 ('390293','426569',1,'','','O24100088579','1','11','1','1','2','','','0','0000-00-00','0','0','0','','0','30','6000','239','新北市','鶯歌區','324','桃園市','平鎮區','5970','2024-10-29 09:10:19','2024-09-27') 2024-10-29 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 ('165726','0',1,'快閃櫃宅配','33','S24100088671','1','10','1','1','1','','','1','2024-11-01','0','0','0','','905','0','8595','900','屏東縣','屏東市','800','高雄市','新興區','9500','2024-10-29 09:26:48','2024-09-27') 2024-10-29 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 ('391840','428112',1,'','','O24100088778','1','1','1','1','2','','','0','0000-00-00','0','0','0','','150','30','295','831','高雄市','大寮區','831','高雄市','大寮區','415','2024-10-29 09:57:11','2024-09-27') 2024-10-29 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 ('391844','428116',1,'','','O24100088895','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1440','436','台中市','清水區','436','台中市','清水區','1590','2024-10-29 10:25:10','2024-09-27') 2024-10-29 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 ('391845','202843',1,'LINE@訂單,正式彌月','9,1','S24100088925','1','11','6','1','1','','','0','2024-11-04','0','1075','0','','0','0','21740','402','台中市','南區','402','台中市','南區','20665','2024-10-29 10:33:56','2024-09-27') 2024-10-29 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 ('391845','202843',1,'正式彌月,LINE@訂單','1,9','S24100089040','1','11','1','1','3','','','0','2024-10-29','0','86','0','','0','0','1720','402','台中市','南區','236','新北市','土城區','1634','2024-10-29 10:51:54','2024-09-27') 2024-10-29 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 ('391825','428097',1,'','','O24100089118','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','4590','231','新北市','新店區','231','新北市','新店區','4710','2024-10-29 10:57:39','2024-09-27') 2024-10-29 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 ('391854','428125',1,'','','O24100089279','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1920','261','宜蘭縣','頭城鎮','261','宜蘭縣','頭城鎮','2040','2024-10-29 11:31:54','2024-09-27') 2024-10-29 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 ('221154','237755',1,'永康當日宅配','19','S24100089395','1','4','7','1','1','04169079','中華民國全國建築師公會','1','2024-10-30','0','450','0','','0','0','9000','110','台北市','信義區','110','台北市','信義區','8550','2024-10-29 11:38:55','2024-09-27') 2024-10-29 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 ('391866','428137',1,'','','O24100089418','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','2840','600','嘉義市','西區','600','嘉義市','西區','2960','2024-10-29 13:10:15','2024-09-27') 2024-10-29 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 ('391870','428141',1,'','','O24100089590','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1585','235','新北市','中和區','235','新北市','中和區','1705','2024-10-29 13:29:10','2024-09-27') 2024-10-29 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 ('391879','428150',1,'','','O24100089619','1','1','1','1','1','','','0','0000-00-00','0','0','0','','150','30','300','423','台中市','東勢區','220','新北市','板橋區','420','2024-10-29 13:56:59','2024-09-27') 2024-10-29 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 ('239221','270756',1,'','','O24100089775','1','1','1','1','1','83784458','益恆科技股份有限公司','0','0000-00-00','480','0','0','','0','0','9600','248','新北市','五股區','831','高雄市','大寮區','9120','2024-10-29 14:05:43','2024-09-27') 2024-10-29 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 ('391845','202843',1,'LINE@訂單,正式彌月','9,1','S24100089812','1','11','3','1','1','','','0','2024-11-01','0','15','0','','0','0','300','402','台中市','南區','412','台中市','大里區','285','2024-10-29 14:06:25','2024-09-27') 2024-10-29 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 ('177305','144023',1,'FB訂單','10','S24100089920','1','2','1','0','0','13301866','新北市林口國民小學學生家長會','0','2024-11-19','0','0','0','','0','0','6000','244','新北市','林口區','244','新北市','林口區','6000','2024-10-29 14:40:03','2024-09-27') 2024-10-29 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 ('105871','76337',1,'','','O24100090051','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','1450','708','台南市','安平區','708','台南市','安平區','1600','2024-10-29 15:55:20','2024-09-27') 2024-10-29 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 ('390902','427176',1,'企業訂單','4','S24100074448RB2','1','1','1','1','1','91002999','酷澎股份有限公司','0','2024-11-19','0','4669','0','','0','30','66700','100','台北市','中正區','100','台北市','中正區','62001','2024-10-29 16:53:52','2024-09-27') 2024-10-29 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 ('343775','0',1,'LINE@訂單','9','S24100090150','1','2','1','0','0','','','0','2024-10-31','0','0','0','','150','0','2240','802','高雄市','苓雅區','802','高雄市','苓雅區','2390','2024-10-29 17:41:51','2024-09-27') 2024-10-29 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 ('391927','428197',1,'','','O24100090220','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','0','150','814','高雄市','仁武區','632','雲林縣','虎尾鎮','300','2024-10-29 18:21:43','2024-09-27') 2024-10-29 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 ('391936','428206',1,'','','O24100090373','1','11','1','1','1','90236490','玥居室內設計有限公司','0','0000-00-00','0','0','0','','150','30','1440','702','台南市','南區','702','台南市','南區','1560','2024-10-29 19:09:30','2024-09-27') 2024-10-29 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 ('391923','428193',1,'','','O24100090470','1','11','1','1','1','','','0','0000-00-00','0','0','0','','150','30','1250','600','嘉義市','東區','600','嘉義市','東區','1370','2024-10-29 19:30:23','2024-09-27') 2024-10-29 23:59:04 -- == sync_order end == 2024-10-29 23:59:04 -- == sync_order_detail start == 2024-10-29 23:59:04 -- start:2024-10-29,end:2024-10-29 2024-10-29 23:59:04 -- == sync omo_order_detail == 2024-10-29 23:59:04 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-29%' OR modify_date like '2024-10-29%' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100000438' and product_code = 'FL010316-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249317',`firm_id` = '8',`ordernumber` = 'O24100000438', `product_name` = '剛好一口酥禮盒',`product_code` = 'FL010316-02',`product_sn` = 'FL010316',`product_spec` = '鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-剛好一口酥【鳳梨酥+鳳梅酥】',`listprice` = '390',`sellingprice` = '390',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-10-31',`create_date` = '2024-10-01 04:32:44',`modify_date` = '2024-10-29 10:24:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-29'where ordernumber = 'O24100000438' and product_code = 'FL010316-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100000438' and product_code = 'DG0103181-455' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249317',`firm_id` = '8',`ordernumber` = 'O24100000438', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-455',`product_sn` = 'DG0103181',`product_spec` = '原味+巧克力,南棗核桃糕,黑松露腰果',`invoice_name` = '禮盒-隨享茶點【原味+巧克力】【南棗核桃糕+黑松露腰果】',`listprice` = '570',`sellingprice` = '570',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '570',`etd` = '2024-10-31',`create_date` = '2024-10-01 04:32:44',`modify_date` = '2024-10-29 10:24:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-29'where ordernumber = 'O24100000438' and product_code = 'DG0103181-455' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100000438' and product_code = 'DG0103181-19' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249317',`firm_id` = '8',`ordernumber` = 'O24100000438', `product_name` = '8結隨享茶點禮盒',`product_code` = 'DG0103181-19',`product_sn` = 'DG0103181',`product_spec` = '原味+海苔,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-隨享茶點【原味+海苔】【鳳梨酥+鳳梅酥】',`listprice` = '560',`sellingprice` = '560',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '560',`etd` = '2024-10-31',`create_date` = '2024-10-01 04:32:44',`modify_date` = '2024-10-29 10:24:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-08-29'where ordernumber = 'O24100000438' and product_code = 'DG0103181-19' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100030954' and product_code = 'DG010113-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249629',`firm_id` = '8',`ordernumber` = 'S24100030954', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '96',`total_price` = '21600',`etd` = '2024-11-04',`create_date` = '2024-10-09 11:11:54',`modify_date` = '2024-10-29 09:48:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100030954' and product_code = 'DG010113-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100030954' and product_code = 'DG010113-05' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249629',`firm_id` = '8',`ordernumber` = 'S24100030954', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-11-04',`create_date` = '2024-10-09 11:11:54',`modify_date` = '2024-10-29 09:48:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100030954' and product_code = 'DG010113-05' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100030954' and product_code = 'DG010113-03' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249629',`firm_id` = '8',`ordernumber` = 'S24100030954', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '48',`total_price` = '10800',`etd` = '2024-11-04',`create_date` = '2024-10-09 11:11:54',`modify_date` = '2024-10-29 09:48:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100030954' and product_code = 'DG010113-03' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100030954' and product_code = 'DG010113-04' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249629',`firm_id` = '8',`ordernumber` = 'S24100030954', `product_name` = '海苔小盒',`product_code` = 'DG010113-04',`product_sn` = 'DG010113',`product_spec` = '海苔',`invoice_name` = '32入海苔',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5400',`etd` = '2024-11-04',`create_date` = '2024-10-09 11:11:54',`modify_date` = '2024-10-29 09:48:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100030954' and product_code = 'DG010113-04' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100030954' and product_code = 'DG010113-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249629',`firm_id` = '8',`ordernumber` = 'S24100030954', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5400',`etd` = '2024-11-04',`create_date` = '2024-10-09 11:11:54',`modify_date` = '2024-10-29 09:48:54',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-07'where ordernumber = 'S24100030954' and product_code = 'DG010113-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100037753' and product_code = 'DG0105137-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249697',`firm_id` = '8',`ordernumber` = 'S24100037753', `product_name` = '澎派蛋捲10入組(原味x10)',`product_code` = 'DG0105137-01',`product_sn` = 'DG0105137',`product_spec` = '32入原味蛋捲+32入原味蛋捲+32入原味蛋捲+32入原味蛋',`invoice_name` = '組合-32入(原味x10)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '15750',`etd` = '2024-10-30',`create_date` = '2024-10-11 13:30:42',`modify_date` = '2024-10-29 16:34:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100037753' and product_code = 'DG0105137-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100037753' and product_code = 'ZP010545-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249697',`firm_id` = '8',`ordernumber` = 'S24100037753', `product_name` = '贈品-南棗核桃糕分享包x24',`product_code` = 'ZP010545-01',`product_sn` = 'ZP010545',`product_spec` = '一組',`invoice_name` = '贈品-(紅袋)南棗核桃糕x24',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-30',`create_date` = '2024-10-11 13:30:42',`modify_date` = '2024-10-29 16:34:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100037753' and product_code = 'ZP010545-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100037753' and product_code = 'DG0105143-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249697',`firm_id` = '8',`ordernumber` = 'S24100037753', `product_name` = '澎派蛋捲10入組(芝麻x10)',`product_code` = 'DG0105143-01',`product_sn` = 'DG0105143',`product_spec` = '32入芝麻蛋捲+32入芝麻蛋捲+32入芝麻蛋捲+32入芝麻蛋',`invoice_name` = '組合-32入(芝麻x10)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '15750',`etd` = '2024-10-30',`create_date` = '2024-10-11 16:01:12',`modify_date` = '2024-10-29 16:34:59',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100037753' and product_code = 'DG0105143-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100037753' and product_code = 'DG0105144-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249697',`firm_id` = '8',`ordernumber` = 'S24100037753', `product_name` = '澎派蛋捲10入組(巧克力x10)',`product_code` = 'DG0105144-01',`product_sn` = 'DG0105144',`product_spec` = '32入巧克力蛋捲+32入巧克力蛋捲+32入巧克力蛋捲+32入',`invoice_name` = '組合-32入(巧克力x10)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '11250',`etd` = '2024-10-30',`create_date` = '2024-10-11 16:01:12',`modify_date` = '2024-10-29 16:34:59',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100037753' and product_code = 'DG0105144-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100038182' and product_code = 'DG0105144-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249702',`firm_id` = '8',`ordernumber` = 'S24100038182', `product_name` = '澎派蛋捲10入組(巧克力x10)',`product_code` = 'DG0105144-01',`product_sn` = 'DG0105144',`product_spec` = '32入巧克力蛋捲+32入巧克力蛋捲+32入巧克力蛋捲+32入',`invoice_name` = '組合-32入(巧克力x10)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '11250',`etd` = '2024-11-11',`create_date` = '2024-10-11 16:07:59',`modify_date` = '2024-10-29 16:28:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100038182' and product_code = 'DG0105144-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100038182' and product_code = 'DG0105143-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249702',`firm_id` = '8',`ordernumber` = 'S24100038182', `product_name` = '澎派蛋捲10入組(芝麻x10)',`product_code` = 'DG0105143-01',`product_sn` = 'DG0105143',`product_spec` = '32入芝麻蛋捲+32入芝麻蛋捲+32入芝麻蛋捲+32入芝麻蛋',`invoice_name` = '組合-32入(芝麻x10)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '15750',`etd` = '2024-11-11',`create_date` = '2024-10-11 16:07:59',`modify_date` = '2024-10-29 16:28:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100038182' and product_code = 'DG0105143-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100038182' and product_code = 'DG0105137-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249702',`firm_id` = '8',`ordernumber` = 'S24100038182', `product_name` = '澎派蛋捲10入組(原味x10)',`product_code` = 'DG0105137-01',`product_sn` = 'DG0105137',`product_spec` = '32入原味蛋捲+32入原味蛋捲+32入原味蛋捲+32入原味蛋',`invoice_name` = '組合-32入(原味x10)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '7',`total_price` = '15750',`etd` = '2024-11-11',`create_date` = '2024-10-11 16:07:59',`modify_date` = '2024-10-29 16:28:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-09'where ordernumber = 'S24100038182' and product_code = 'DG0105137-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100040995' and product_code = 'DG0105135-10' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '249730',`firm_id` = '8',`ordernumber` = 'O24100040995', `product_name` = '【官網限定】澎派蛋捲10入組',`product_code` = 'DG0105135-10',`product_sn` = 'DG0105135',`product_spec` = '原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2',`invoice_name` = '組合-32入(原味x2+芝麻x2+咖啡x2+海苔x2+巧克力x2)',`listprice` = '2250',`sellingprice` = '2250',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '2250',`etd` = '2024-10-29',`create_date` = '2024-10-12 16:45:07',`modify_date` = '2024-10-29 08:23:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-10'where ordernumber = 'O24100040995' and product_code = 'DG0105135-10' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077710' and product_code = 'DG010312-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250106',`firm_id` = '8',`ordernumber` = 'S24100077710', `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` = '132',`total_price` = '63360',`etd` = '2024-10-29',`create_date` = '2024-10-24 14:35:35',`modify_date` = '2024-10-29 11:48:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077710' and product_code = 'DG010312-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077710' and product_code = 'DG010312-06' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250106',`firm_id` = '8',`ordernumber` = 'S24100077710', `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` = '96',`total_price` = '46080',`etd` = '2024-10-29',`create_date` = '2024-10-24 14:35:35',`modify_date` = '2024-10-29 11:48:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077710' and product_code = 'DG010312-06' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077710' and product_code = 'DG010312-10' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250106',`firm_id` = '8',`ordernumber` = 'S24100077710', `product_name` = '【咖啡+咖啡】金8結禮盒',`product_code` = 'DG010312-10',`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` = '2024-10-29',`create_date` = '2024-10-24 14:35:35',`modify_date` = '2024-10-29 11:48:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077710' and product_code = 'DG010312-10' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077710' and product_code = 'DG010312-15' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250106',`firm_id` = '8',`ordernumber` = 'S24100077710', `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` = '84',`total_price` = '40320',`etd` = '2024-10-29',`create_date` = '2024-10-24 14:35:35',`modify_date` = '2024-10-29 11:48:13',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077710' and product_code = 'DG010312-15' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077710' and product_code = 'DG010404-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250106',`firm_id` = '8',`ordernumber` = 'S24100077710', `product_name` = '紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '0',`isadd` = '1',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '648',`total_price` = '0',`etd` = '2024-10-29',`create_date` = '2024-10-24 14:35:35',`modify_date` = '2024-10-29 11:48:13',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077710' and product_code = 'DG010404-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010269-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `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` = '9',`total_price` = '2700',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010269-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010269-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-02',`product_sn` = 'DG010269',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月吳淡如-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010269-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010269-03' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-03',`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` = '18',`total_price` = '5400',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010269-03' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010269-04' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-04',`product_sn` = 'DG010269',`product_spec` = '海苔',`invoice_name` = '提盒-彌月吳淡如-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '12',`total_price` = '3600',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010269-04' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010269-05' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-05',`product_sn` = 'DG010269',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月吳淡如-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '16',`total_price` = '4800',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010269-05' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010527-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `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` = '2',`total_price` = '580',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010527-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'DG010527-03' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`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` = '1',`total_price` = '290',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'DG010527-03' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = '13659' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `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` = '1',`total_price` = '290',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = '13659' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = '13660' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `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` = '2',`total_price` = '580',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = '13660' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = 'ZP0101106-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = 'ZP0101106-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100077970' and product_code = '40009' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250108',`firm_id` = '8',`ordernumber` = 'S24100077970', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '6',`total_price` = '480',`etd` = '2024-11-08',`create_date` = '2024-10-24 15:31:05',`modify_date` = '2024-10-29 17:08:27',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-22'where ordernumber = 'S24100077970' and product_code = '40009' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100079137' and product_code = 'BP010184-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250120',`firm_id` = '8',`ordernumber` = 'O24100079137', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-29',`create_date` = '2024-10-25 04:21:06',`modify_date` = '2024-10-29 16:53:33',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-23'where ordernumber = 'O24100079137' and product_code = 'BP010184-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100080428' and product_code = 'DG010312-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250133',`firm_id` = '8',`ordernumber` = 'S24100080428', `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` = '7',`total_price` = '3360',`etd` = '2024-10-29',`create_date` = '2024-10-25 12:02:03',`modify_date` = '2024-10-29 13:36:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-23'where ordernumber = 'S24100080428' and product_code = 'DG010312-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100080428' and product_code = 'DG010312-03' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250133',`firm_id` = '8',`ordernumber` = 'S24100080428', `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` = '7',`total_price` = '3360',`etd` = '2024-10-29',`create_date` = '2024-10-25 12:02:03',`modify_date` = '2024-10-29 13:36:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-23'where ordernumber = 'S24100080428' and product_code = 'DG010312-03' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100080428' and product_code = 'DG010312-04' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250133',`firm_id` = '8',`ordernumber` = 'S24100080428', `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` = '6',`total_price` = '2880',`etd` = '2024-10-29',`create_date` = '2024-10-25 12:02:03',`modify_date` = '2024-10-29 13:36:57',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-23'where ordernumber = 'S24100080428' and product_code = 'DG010312-04' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100082373' and product_code = 'DG0103182-422' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250152',`firm_id` = '8',`ordernumber` = 'O24100082373', `product_name` = '金巧8結禮盒',`product_code` = 'DG0103182-422',`product_sn` = 'DG0103182',`product_spec` = '巧克力,鳳梨酥,鳳梅酥',`invoice_name` = '禮盒-金巧8結【(巧克力)-鳳梨酥+鳳梅酥】',`listprice` = '625',`sellingprice` = '625',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '625',`etd` = '2024-10-31',`create_date` = '2024-10-26 15:48:09',`modify_date` = '2024-10-29 14:39:58',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-24'where ordernumber = 'O24100082373' and product_code = 'DG0103182-422' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'FL010102-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '(盒)鳳梨酥',`listprice` = '165',`sellingprice` = '165',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '1',`total_price` = '165',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '2024-10-29 14:31:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'FL010102-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'DG010101-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `product_name` = '香醇芝麻蛋捲',`product_code` = 'DG010101-02',`product_sn` = 'DG010101',`product_spec` = '芝麻',`invoice_name` = '40入芝麻蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '2024-10-29 14:31:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'DG010101-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'DG010101-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `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` = '4',`total_price` = '1120',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '2024-10-29 14:31:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'DG010101-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083535' and product_code = 'DG010101-03' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250164',`firm_id` = '8',`ordernumber` = 'O24100083535', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2024-11-01',`create_date` = '2024-10-27 08:20:00',`modify_date` = '2024-10-29 14:31:31',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083535' and product_code = 'DG010101-03' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100083922' and product_code = 'BP010184-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250168',`firm_id` = '8',`ordernumber` = 'O24100083922', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-29',`create_date` = '2024-10-27 13:08:12',`modify_date` = '2024-10-29 16:52:44',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100083922' and product_code = 'BP010184-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100084658' and product_code = 'DG010312-03' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250175',`firm_id` = '8',`ordernumber` = 'O24100084658', `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` = '2024-10-29',`create_date` = '2024-10-27 21:15:21',`modify_date` = '2024-10-29 16:51:30',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-25'where ordernumber = 'O24100084658' and product_code = 'DG010312-03' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB' and product_code = 'DG010527-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250183',`firm_id` = '8',`ordernumber` = 'S24100074448RB', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '80',`total_price` = '23200',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB' and product_code = 'DG010527-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB' and product_code = 'DG010527-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250183',`firm_id` = '8',`ordernumber` = 'S24100074448RB', `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` = '80',`total_price` = '23200',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB' and product_code = 'DG010527-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB' and product_code = 'DG010527-05' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250183',`firm_id` = '8',`ordernumber` = 'S24100074448RB', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`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` = '70',`total_price` = '20300',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB' and product_code = 'DG010527-05' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB' and product_code = 'BP010189-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250183',`firm_id` = '8',`ordernumber` = 'S24100074448RB', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '0',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB' and product_code = 'BP010189-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100085466' and product_code = '13656' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250184',`firm_id` = '8',`ordernumber` = 'S24100085466', `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` = '496',`total_price` = '143840',`etd` = '2024-10-31',`create_date` = '2024-10-28 11:04:00',`modify_date` = '2024-10-29 14:13:15',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-26'where ordernumber = 'S24100085466' and product_code = '13656' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100087072' and product_code = 'DG010113-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250201',`firm_id` = '8',`ordernumber` = 'S24100087072', `product_name` = '原味小盒',`product_code` = 'DG010113-01',`product_sn` = 'DG010113',`product_spec` = '原味',`invoice_name` = '32入原味',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5400',`etd` = '2024-10-29',`create_date` = '2024-10-28 15:28:19',`modify_date` = '2024-10-29 11:11:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-26'where ordernumber = 'S24100087072' and product_code = 'DG010113-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100087072' and product_code = 'DG010113-02' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250201',`firm_id` = '8',`ordernumber` = 'S24100087072', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5400',`etd` = '2024-10-29',`create_date` = '2024-10-28 15:28:19',`modify_date` = '2024-10-29 11:11:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-26'where ordernumber = 'S24100087072' and product_code = 'DG010113-02' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100087072' and product_code = 'DG010107-01' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250201',`firm_id` = '8',`ordernumber` = 'S24100087072', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '5760',`etd` = '2024-10-29',`create_date` = '2024-10-28 15:28:19',`modify_date` = '2024-10-29 11:11:51',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-26'where ordernumber = 'S24100087072' and product_code = 'DG010107-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100087995' and product_code = 'DG0105103-14' 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250210',`firm_id` = '8',`ordernumber` = 'O24100087995', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-14',`product_sn` = 'DG0105103',`product_spec` = '原味+海苔+巧克力',`invoice_name` = '組合-32入(原味+海苔+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-11-01',`create_date` = '2024-10-28 21:15:31',`modify_date` = '2024-10-29 13:08:06',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-26'where ordernumber = 'O24100087995' and product_code = 'DG0105103-14' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088160' and product_code = 'BP010184-01' 2024-10-29 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,'250212','8','O24100088160','SNOOPY盥洗收納包','BP010184-01','BP010184','SNOOPY盥洗收納包','SNOOPY盥洗收納包','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 00:30:05','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250212',`firm_id` = '8',`ordernumber` = 'O24100088160', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 00:30:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088160' and product_code = 'BP010184-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088160' and product_code = 'BP010188-01' 2024-10-29 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,'250212','8','O24100088160','[加購]加購-SNOOPY面紙套','BP010188-01','BP010188','-','加購-SNOOPY面紙套','250','250','1','1','250','0','0','0.0','1','250','2024-11-01','2024-10-29 00:30:05','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250212',`firm_id` = '8',`ordernumber` = 'O24100088160', `product_name` = '[加購]加購-SNOOPY面紙套',`product_code` = 'BP010188-01',`product_sn` = 'BP010188',`product_spec` = '-',`invoice_name` = '加購-SNOOPY面紙套',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-11-01',`create_date` = '2024-10-29 00:30:05',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088160' and product_code = 'BP010188-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088225' and product_code = 'DG010312-11' 2024-10-29 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,'250213','8','O24100088225','【咖啡+海苔】金8結禮盒','DG010312-11','DG010312','金8結盒','禮盒-金8結【咖啡+海苔】','590','480','0','0','0','0','1','480.0','1','480','2024-11-01','2024-10-29 02:20:53','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250213',`firm_id` = '8',`ordernumber` = 'O24100088225', `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` = '1',`total_price` = '480',`etd` = '2024-11-01',`create_date` = '2024-10-29 02:20:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088225' and product_code = 'DG010312-11' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088225' and product_code = 'DG010312-05' 2024-10-29 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,'250213','8','O24100088225','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','1','480','2024-11-01','2024-10-29 02:20:53','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250213',`firm_id` = '8',`ordernumber` = 'O24100088225', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '1',`total_price` = '480',`etd` = '2024-11-01',`create_date` = '2024-10-29 02:20:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088225' and product_code = 'DG010312-05' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088225' and product_code = 'LS010143-01' 2024-10-29 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,'250213','8','O24100088225','香酥岩烤海苔(純素)','LS010143-01','LS010143','一組','香酥岩烤海苔','150','150','0','0','0','0','1','0.0','1','150','2024-11-01','2024-10-29 02:20:53','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250213',`firm_id` = '8',`ordernumber` = 'O24100088225', `product_name` = '香酥岩烤海苔(純素)',`product_code` = 'LS010143-01',`product_sn` = 'LS010143',`product_spec` = '一組',`invoice_name` = '香酥岩烤海苔',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-11-01',`create_date` = '2024-10-29 02:20:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088225' and product_code = 'LS010143-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088225' and product_code = 'GG010104-01' 2024-10-29 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,'250213','8','O24100088225','[加購]加購-義式皇家黑松露腰果','GG010104-01','GG010104','-','加購-(盒)堅果【腰果】','180','180','1','1','180','0','0','0.0','2','360','2024-11-01','2024-10-29 02:20:53','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:06 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250213',`firm_id` = '8',`ordernumber` = 'O24100088225', `product_name` = '[加購]加購-義式皇家黑松露腰果',`product_code` = 'GG010104-01',`product_sn` = 'GG010104',`product_spec` = '-',`invoice_name` = '加購-(盒)堅果【腰果】',`listprice` = '180',`sellingprice` = '180',`isadd` = '1',`isbaby` = '1',`addprice` = '180',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '360',`etd` = '2024-11-01',`create_date` = '2024-10-29 02:20:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088225' and product_code = 'GG010104-01' 2024-10-29 23:59:06 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088225' and product_code = '13045' 2024-10-29 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,'250213','8','O24100088225','[加購]加購-厚切椒鹽海苔(純素)','13045','13045','-','加購-厚切椒鹽海苔(純素)','140','140','1','1','140','0','0','0.0','1','140','2024-11-01','2024-10-29 02:20:53','2024-10-29 23:59:06',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250213',`firm_id` = '8',`ordernumber` = 'O24100088225', `product_name` = '[加購]加購-厚切椒鹽海苔(純素)',`product_code` = '13045',`product_sn` = '13045',`product_spec` = '-',`invoice_name` = '加購-厚切椒鹽海苔(純素)',`listprice` = '140',`sellingprice` = '140',`isadd` = '1',`isbaby` = '1',`addprice` = '140',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '140',`etd` = '2024-11-01',`create_date` = '2024-10-29 02:20:53',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088225' and product_code = '13045' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088367' and product_code = 'DG010265-01' 2024-10-29 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,'250214','8','O24100088367','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','3','900','2024-11-04','2024-10-29 03:46:12','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250214',`firm_id` = '8',`ordernumber` = 'O24100088367', `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` = '3',`total_price` = '900',`etd` = '2024-11-04',`create_date` = '2024-10-29 03:46:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088367' and product_code = 'DG010265-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088367' and product_code = 'DG010226-02' 2024-10-29 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,'250214','8','O24100088367','蓮花式溫碗8結蛋捲提盒【國立故宮博物院】','DG010226-02','DG010226','40入芝麻蛋捲','提盒-故宮(文物款)-40入芝麻','300','300','0','0','0','0','1','0.0','2','600','2024-11-04','2024-10-29 03:46:12','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250214',`firm_id` = '8',`ordernumber` = 'O24100088367', `product_name` = '蓮花式溫碗8結蛋捲提盒【國立故宮博物院】',`product_code` = 'DG010226-02',`product_sn` = 'DG010226',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-故宮(文物款)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '600',`etd` = '2024-11-04',`create_date` = '2024-10-29 03:46:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088367' and product_code = 'DG010226-02' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088367' and product_code = 'DG010304-01' 2024-10-29 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,'250214','8','O24100088367','8結老梅肉禮盒','DG010304-01','DG010304','原味蛋捲+老梅肉','禮盒-藍金【原味+老梅肉】','740','675','0','0','0','0','1','0.0','1','675','2024-11-04','2024-10-29 03:46:12','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250214',`firm_id` = '8',`ordernumber` = 'O24100088367', `product_name` = '8結老梅肉禮盒',`product_code` = 'DG010304-01',`product_sn` = 'DG010304',`product_spec` = '原味蛋捲+老梅肉',`invoice_name` = '禮盒-藍金【原味+老梅肉】',`listprice` = '740',`sellingprice` = '675',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '675',`etd` = '2024-11-04',`create_date` = '2024-10-29 03:46:12',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088367' and product_code = 'DG010304-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088417' and product_code = 'BP010181-01' 2024-10-29 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,'250215','8','O24100088417','SNOOPY飲料提袋','BP010181-01','BP010181','SNOOPY飲料提袋','SNOOPY飲料提袋','150','150','0','0','0','0','1','0.0','1','150','2024-10-31','2024-10-29 09:04:44','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250215',`firm_id` = '8',`ordernumber` = 'O24100088417', `product_name` = 'SNOOPY飲料提袋',`product_code` = 'BP010181-01',`product_sn` = 'BP010181',`product_spec` = 'SNOOPY飲料提袋',`invoice_name` = 'SNOOPY飲料提袋',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-10-31',`create_date` = '2024-10-29 09:04:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088417' and product_code = 'BP010181-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088417' and product_code = 'BP010185-01' 2024-10-29 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,'250215','8','O24100088417','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','3','750','2024-10-31','2024-10-29 09:04:44','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250215',`firm_id` = '8',`ordernumber` = 'O24100088417', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '3',`total_price` = '750',`etd` = '2024-10-31',`create_date` = '2024-10-29 09:04:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088417' and product_code = 'BP010185-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088579' and product_code = 'DG010268-02' 2024-10-29 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,'250216','8','O24100088579','【吳淡如聯名】築夢-8結提盒','DG010268-02','DG010268','芝麻','提盒-吳淡如-40入芝麻','300','300','0','0','0','0','1','0.0','10','3000','2024-10-31','2024-10-29 09:10:19','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250216',`firm_id` = '8',`ordernumber` = 'O24100088579', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-02',`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` = '10',`total_price` = '3000',`etd` = '2024-10-31',`create_date` = '2024-10-29 09:10:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088579' and product_code = 'DG010268-02' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088579' and product_code = 'DG010268-03' 2024-10-29 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,'250216','8','O24100088579','【吳淡如聯名】築夢-8結提盒','DG010268-03','DG010268','咖啡','提盒-吳淡如-40入咖啡','300','300','0','0','0','0','1','0.0','10','3000','2024-10-31','2024-10-29 09:10:19','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250216',`firm_id` = '8',`ordernumber` = 'O24100088579', `product_name` = '【吳淡如聯名】築夢-8結提盒',`product_code` = 'DG010268-03',`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` = '10',`total_price` = '3000',`etd` = '2024-10-31',`create_date` = '2024-10-29 09:10:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088579' and product_code = 'DG010268-03' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088579' and product_code = 'BP010189-01' 2024-10-29 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,'250216','8','O24100088579','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','1','0','2024-10-31','2024-10-29 09:10:19','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250216',`firm_id` = '8',`ordernumber` = 'O24100088579', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-31',`create_date` = '2024-10-29 09:10:19',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088579' and product_code = 'BP010189-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088671' and product_code = 'DG010113-02' 2024-10-29 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,'250217','8','S24100088671','芝麻小盒','DG010113-02','DG010113','芝麻','32入芝麻','225','225','0','0','0','0','1','0.0','9','2025','2024-11-01','2024-10-29 09:26:48','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250217',`firm_id` = '8',`ordernumber` = 'S24100088671', `product_name` = '芝麻小盒',`product_code` = 'DG010113-02',`product_sn` = 'DG010113',`product_spec` = '芝麻',`invoice_name` = '32入芝麻',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2025',`etd` = '2024-11-01',`create_date` = '2024-10-29 09:26:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088671' and product_code = 'DG010113-02' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088671' and product_code = 'DG010113-03' 2024-10-29 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,'250217','8','S24100088671','咖啡小盒','DG010113-03','DG010113','咖啡','32入咖啡','225','225','0','0','0','0','1','0.0','9','2025','2024-11-01','2024-10-29 09:26:48','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250217',`firm_id` = '8',`ordernumber` = 'S24100088671', `product_name` = '咖啡小盒',`product_code` = 'DG010113-03',`product_sn` = 'DG010113',`product_spec` = '咖啡',`invoice_name` = '32入咖啡',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2025',`etd` = '2024-11-01',`create_date` = '2024-10-29 09:26:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088671' and product_code = 'DG010113-03' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088671' and product_code = 'DG010113-05' 2024-10-29 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,'250217','8','S24100088671','巧克力小盒','DG010113-05','DG010113','巧克力','32入巧克力','225','225','0','0','0','0','1','0.0','9','2025','2024-11-01','2024-10-29 09:26:48','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250217',`firm_id` = '8',`ordernumber` = 'S24100088671', `product_name` = '巧克力小盒',`product_code` = 'DG010113-05',`product_sn` = 'DG010113',`product_spec` = '巧克力',`invoice_name` = '32入巧克力',`listprice` = '225',`sellingprice` = '225',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2025',`etd` = '2024-11-01',`create_date` = '2024-10-29 09:26:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088671' and product_code = 'DG010113-05' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088671' and product_code = 'DG010107-01' 2024-10-29 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,'250217','8','S24100088671','【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)','DG010107-01','DG010107','32入阿薩姆蛋捲','32入阿薩姆紅茶','240','240','0','0','0','1','1','0.0','9','2160','2024-11-01','2024-10-29 09:26:48','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250217',`firm_id` = '8',`ordernumber` = 'S24100088671', `product_name` = '【限定口味】阿薩姆紅茶蛋捲(32入蛋捲x1)',`product_code` = 'DG010107-01',`product_sn` = 'DG010107',`product_spec` = '32入阿薩姆蛋捲',`invoice_name` = '32入阿薩姆紅茶',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '2160',`etd` = '2024-11-01',`create_date` = '2024-10-29 09:26:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088671' and product_code = 'DG010107-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088671' and product_code = 'DG010404-01' 2024-10-29 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,'250217','8','S24100088671','紅色提袋','DG010404-01','DG010404','提袋/個','紅色提袋','10','10','0','0','0','0','1','0.0','36','360','2024-11-01','2024-10-29 09:26:48','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250217',`firm_id` = '8',`ordernumber` = 'S24100088671', `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` = '36',`total_price` = '360',`etd` = '2024-11-01',`create_date` = '2024-10-29 09:26:48',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088671' and product_code = 'DG010404-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088778' and product_code = 'DG010258-02' 2024-10-29 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,'250218','8','O24100088778','金豐收8結提盒','DG010258-02','DG010258','40入芝麻蛋捲','提盒-金豐收(藍)-40入芝麻','295','295','0','0','0','0','1','0.0','1','295','2024-10-31','2024-10-29 09:57:11','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250218',`firm_id` = '8',`ordernumber` = 'O24100088778', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-02',`product_sn` = 'DG010258',`product_spec` = '40入芝麻蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入芝麻',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2024-10-31',`create_date` = '2024-10-29 09:57:11',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088778' and product_code = 'DG010258-02' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100088895' and product_code = 'DG010312-12' 2024-10-29 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,'250219','8','O24100088895','【咖啡+巧克力】金8結禮盒','DG010312-12','DG010312','金8結盒','禮盒-金8結【咖啡+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-10-31','2024-10-29 10:25:10','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250219',`firm_id` = '8',`ordernumber` = 'O24100088895', `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` = '3',`total_price` = '1440',`etd` = '2024-10-31',`create_date` = '2024-10-29 10:25:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100088895' and product_code = 'DG010312-12' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG010202-01' 2024-10-29 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,'250220','8','S24100088925','8結彌月提盒-年輪','DG010202-01','DG010202','原味','提盒-彌月年輪-40入原味','300','300','0','0','0','0','1','0.0','16','4800','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-01',`product_sn` = 'DG010202',`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` = '16',`total_price` = '4800',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG010202-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG010202-05' 2024-10-29 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,'250220','8','S24100088925','8結彌月提盒-年輪','DG010202-05','DG010202','巧克力','提盒-彌月年輪-40入巧克力','300','300','0','0','0','0','1','0.0','16','4800','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-05',`product_sn` = 'DG010202',`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` = '16',`total_price` = '4800',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG010202-05' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG010202-02' 2024-10-29 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,'250220','8','S24100088925','8結彌月提盒-年輪','DG010202-02','DG010202','芝麻','提盒-彌月年輪-40入芝麻','300','300','0','0','0','0','1','0.0','15','4500','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-02',`product_sn` = 'DG010202',`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` = '15',`total_price` = '4500',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG010202-02' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG010202-03' 2024-10-29 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,'250220','8','S24100088925','8結彌月提盒-年輪','DG010202-03','DG010202','咖啡','提盒-彌月年輪-40入咖啡','300','300','0','0','0','0','1','0.0','10','3000','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-03',`product_sn` = 'DG010202',`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` = '10',`total_price` = '3000',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG010202-03' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG010202-04' 2024-10-29 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,'250220','8','S24100088925','8結彌月提盒-年輪','DG010202-04','DG010202','海苔','提盒-彌月年輪-40入海苔','300','300','0','0','0','0','1','0.0','8','2400','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-04',`product_sn` = 'DG010202',`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` = '8',`total_price` = '2400',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG010202-04' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG0103189-03' 2024-10-29 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,'250220','8','S24100088925','【SNOOPY聯名】美好探尋-8結彌月禮盒','DG0103189-03','DG0103189','原味+咖啡','禮盒-彌月SNOOPY(橘)【雙蛋捲】','500','500','0','0','0','0','1','0.0','2','1000','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '【SNOOPY聯名】美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-03',`product_sn` = 'DG0103189',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY(橘)【雙蛋捲】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG0103189-03' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'DG0103189-09' 2024-10-29 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,'250220','8','S24100088925','【SNOOPY聯名】美好探尋-8結彌月禮盒','DG0103189-09','DG0103189','芝麻+巧克力','禮盒-彌月SNOOPY(橘)【雙蛋捲】','500','500','0','0','0','0','1','0.0','2','1000','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '【SNOOPY聯名】美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-09',`product_sn` = 'DG0103189',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【雙蛋捲】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'DG0103189-09' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'TG010117-01' 2024-10-29 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,'250220','8','S24100088925','分享包-南棗核桃糕','TG010117-01','TG010117','25入核棗糕分享包','(紅袋)南棗核桃糕','300','300','0','0','0','0','1','0.0','0','0','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'0','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '分享包-南棗核桃糕',`product_code` = 'TG010117-01',`product_sn` = 'TG010117',`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` = '0',`total_price` = '0',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 11:24:44',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'TG010117-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'TG010104-01' 2024-10-29 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,'250220','8','S24100088925','夏威夷豆軟糖','TG010104-01','TG010104','10入夏威夷豆軟糖','(盒)夏威夷豆軟糖','220','220','0','0','0','0','1','220.0','0','0','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'0','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '夏威夷豆軟糖',`product_code` = 'TG010104-01',`product_sn` = 'TG010104',`product_spec` = '10入夏威夷豆軟糖',`invoice_name` = '(盒)夏威夷豆軟糖',`listprice` = '220',`sellingprice` = '220',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '220.0',`amount` = '0',`total_price` = '0',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 11:24:44',`points_use_id` = 0,`item_status` = '0', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'TG010104-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = '40009' 2024-10-29 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,'250220','8','S24100088925','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','3','240','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '240',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = '40009' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100088925' and product_code = 'ZP0101106-01' 2024-10-29 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,'250220','8','S24100088925','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-11-04','2024-10-29 10:33:56','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250220',`firm_id` = '8',`ordernumber` = 'S24100088925', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:33:56',`modify_date` = '2024-10-29 17:35:43',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100088925' and product_code = 'ZP0101106-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089040' and product_code = 'DG010202-01' 2024-10-29 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,'250221','8','S24100089040','8結彌月提盒-年輪','DG010202-01','DG010202','原味','提盒-彌月年輪-40入原味','300','300','0','0','0','0','1','0.0','2','600','2024-10-29','2024-10-29 10:51:54','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250221',`firm_id` = '8',`ordernumber` = 'S24100089040', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-01',`product_sn` = 'DG010202',`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` = '2',`total_price` = '600',`etd` = '2024-10-29',`create_date` = '2024-10-29 10:51:54',`modify_date` = '2024-10-29 11:47:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089040' and product_code = 'DG010202-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089040' and product_code = 'DG010202-05' 2024-10-29 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,'250221','8','S24100089040','8結彌月提盒-年輪','DG010202-05','DG010202','巧克力','提盒-彌月年輪-40入巧克力','300','300','0','0','0','0','1','0.0','2','600','2024-10-29','2024-10-29 10:51:54','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250221',`firm_id` = '8',`ordernumber` = 'S24100089040', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-05',`product_sn` = 'DG010202',`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` = '2',`total_price` = '600',`etd` = '2024-10-29',`create_date` = '2024-10-29 10:51:54',`modify_date` = '2024-10-29 11:47:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089040' and product_code = 'DG010202-05' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089040' and product_code = 'TG010117-01' 2024-10-29 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,'250221','8','S24100089040','分享包-南棗核桃糕','TG010117-01','TG010117','25入核棗糕分享包','(紅袋)南棗核桃糕','300','300','0','0','0','0','1','0.0','1','300','2024-10-29','2024-10-29 10:51:54','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250221',`firm_id` = '8',`ordernumber` = 'S24100089040', `product_name` = '分享包-南棗核桃糕',`product_code` = 'TG010117-01',`product_sn` = 'TG010117',`product_spec` = '25入核棗糕分享包',`invoice_name` = '(紅袋)南棗核桃糕',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-29',`create_date` = '2024-10-29 10:51:54',`modify_date` = '2024-10-29 11:47:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089040' and product_code = 'TG010117-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089040' and product_code = 'TG010104-01' 2024-10-29 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,'250221','8','S24100089040','夏威夷豆軟糖','TG010104-01','TG010104','10入夏威夷豆軟糖','(盒)夏威夷豆軟糖','220','220','0','0','0','0','1','220.0','1','220','2024-10-29','2024-10-29 10:51:54','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250221',`firm_id` = '8',`ordernumber` = 'S24100089040', `product_name` = '夏威夷豆軟糖',`product_code` = 'TG010104-01',`product_sn` = 'TG010104',`product_spec` = '10入夏威夷豆軟糖',`invoice_name` = '(盒)夏威夷豆軟糖',`listprice` = '220',`sellingprice` = '220',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '220.0',`amount` = '1',`total_price` = '220',`etd` = '2024-10-29',`create_date` = '2024-10-29 10:51:54',`modify_date` = '2024-10-29 11:47:47',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089040' and product_code = 'TG010104-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089118' and product_code = 'DG010265-01' 2024-10-29 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,'250222','8','O24100089118','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','12','3600','2024-10-31','2024-10-29 10:57:39','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250222',`firm_id` = '8',`ordernumber` = 'O24100089118', `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` = '12',`total_price` = '3600',`etd` = '2024-10-31',`create_date` = '2024-10-29 10:57:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089118' and product_code = 'DG010265-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089118' and product_code = 'DG0105103-12' 2024-10-29 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,'250222','8','O24100089118','SNOOPY美好心意-蛋捲三入組','DG0105103-12','DG0105103','原味+咖啡+巧克力','組合-32入(原味+咖啡+巧克力)+SNOOPY美好提袋','990','990','0','0','0','1','1','0.0','1','990','2024-10-31','2024-10-29 10:57:39','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250222',`firm_id` = '8',`ordernumber` = 'O24100089118', `product_name` = 'SNOOPY美好心意-蛋捲三入組',`product_code` = 'DG0105103-12',`product_sn` = 'DG0105103',`product_spec` = '原味+咖啡+巧克力',`invoice_name` = '組合-32入(原味+咖啡+巧克力)+SNOOPY美好提袋',`listprice` = '990',`sellingprice` = '990',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '990',`etd` = '2024-10-31',`create_date` = '2024-10-29 10:57:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089118' and product_code = 'DG0105103-12' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089118' and product_code = 'BP010189-01' 2024-10-29 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,'250222','8','O24100089118','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','1','0','2024-10-31','2024-10-29 10:57:39','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250222',`firm_id` = '8',`ordernumber` = 'O24100089118', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-31',`create_date` = '2024-10-29 10:57:39',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089118' and product_code = 'BP010189-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089279' and product_code = 'DG010312-01' 2024-10-29 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,'250223','8','O24100089279','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','4','1920','2024-11-07','2024-10-29 11:31:54','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250223',`firm_id` = '8',`ordernumber` = 'O24100089279', `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` = '4',`total_price` = '1920',`etd` = '2024-11-07',`create_date` = '2024-10-29 11:31:54',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089279' and product_code = 'DG010312-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089395' and product_code = 'DG0103188-09' 2024-10-29 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,'250224','8','S24100089395','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-09','DG0103188','原味蛋捲.巧克力蛋捲','禮盒-SNOOPY(橘)【原味+巧克力】','500','500','0','0','0','0','1','0.0','18','9000','2024-10-30','2024-10-29 11:38:55','2024-10-29 23:59:07',0,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250224',`firm_id` = '8',`ordernumber` = 'S24100089395', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-09',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲.巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '9000',`etd` = '2024-10-30',`create_date` = '2024-10-29 11:38:55',`modify_date` = '2024-10-29 15:36:23',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089395' and product_code = 'DG0103188-09' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089418' and product_code = 'DG010101-01' 2024-10-29 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,'250225','8','O24100089418','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','6','1680','2024-11-04','2024-10-29 13:10:15','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250225',`firm_id` = '8',`ordernumber` = 'O24100089418', `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` = '6',`total_price` = '1680',`etd` = '2024-11-04',`create_date` = '2024-10-29 13:10:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089418' and product_code = 'DG010101-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089418' and product_code = 'DG010527-01' 2024-10-29 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,'250225','8','O24100089418','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-11-04','2024-10-29 13:10:15','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250225',`firm_id` = '8',`ordernumber` = 'O24100089418', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '290',`etd` = '2024-11-04',`create_date` = '2024-10-29 13:10:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089418' and product_code = 'DG010527-01' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089418' and product_code = 'DG010527-03' 2024-10-29 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,'250225','8','O24100089418','8結蛋捲【小禮袋裝】','DG010527-03','DG010527','40入咖啡蛋捲','組合-40入咖啡+8結小禮袋','290','290','0','0','0','0','1','0.0','2','580','2024-11-04','2024-10-29 13:10:15','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250225',`firm_id` = '8',`ordernumber` = 'O24100089418', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-03',`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` = '2',`total_price` = '580',`etd` = '2024-11-04',`create_date` = '2024-10-29 13:10:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089418' and product_code = 'DG010527-03' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089418' and product_code = 'DG010527-02' 2024-10-29 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,'250225','8','O24100089418','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','1','290','2024-11-04','2024-10-29 13:10:15','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:07 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250225',`firm_id` = '8',`ordernumber` = 'O24100089418', `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` = '1',`total_price` = '290',`etd` = '2024-11-04',`create_date` = '2024-10-29 13:10:15',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089418' and product_code = 'DG010527-02' 2024-10-29 23:59:07 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089590' and product_code = 'DG0103191-04' 2024-10-29 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,'250226','8','O24100089590','【SNOOPY 聯名】美好探尋-8結肉酥酥禮盒','DG0103191-04','DG0103191','芝麻蛋捲,原味肉酥酥','禮盒-SNOOPY(橘)【芝麻+原味肉酥酥】','575','575','0','0','0','0','1','0.0','1','575','2024-11-05','2024-10-29 13:29:10','2024-10-29 23:59:07',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250226',`firm_id` = '8',`ordernumber` = 'O24100089590', `product_name` = '【SNOOPY 聯名】美好探尋-8結肉酥酥禮盒',`product_code` = 'DG0103191-04',`product_sn` = 'DG0103191',`product_spec` = '芝麻蛋捲,原味肉酥酥',`invoice_name` = '禮盒-SNOOPY(橘)【芝麻+原味肉酥酥】',`listprice` = '575',`sellingprice` = '575',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '575',`etd` = '2024-11-05',`create_date` = '2024-10-29 13:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089590' and product_code = 'DG0103191-04' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089590' and product_code = 'BP010179-01' 2024-10-29 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, 1,'250226','8','O24100089590','[加購]加購-SNOOPY美好提袋','BP010179-01','BP010179','-','加購-SNOOPY美好提袋','390','390','1','1','390','0','0','0.0','1','390','2024-11-05','2024-10-29 13:29:10','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250226',`firm_id` = '8',`ordernumber` = 'O24100089590', `product_name` = '[加購]加購-SNOOPY美好提袋',`product_code` = 'BP010179-01',`product_sn` = 'BP010179',`product_spec` = '-',`invoice_name` = '加購-SNOOPY美好提袋',`listprice` = '390',`sellingprice` = '390',`isadd` = '1',`isbaby` = '1',`addprice` = '390',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '390',`etd` = '2024-11-05',`create_date` = '2024-10-29 13:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089590' and product_code = 'BP010179-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089590' and product_code = 'BP010182-01' 2024-10-29 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, 1,'250226','8','O24100089590','[加購]加購-SNOOPY飲料提袋','BP010182-01','BP010182','-','加購-SNOOPY飲料提袋','120','120','1','1','120','0','0','0.0','1','120','2024-11-05','2024-10-29 13:29:10','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250226',`firm_id` = '8',`ordernumber` = 'O24100089590', `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` = '2024-11-05',`create_date` = '2024-10-29 13:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089590' and product_code = 'BP010182-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089590' and product_code = 'BP010185-01' 2024-10-29 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, 1,'250226','8','O24100089590','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-11-05','2024-10-29 13:29:10','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250226',`firm_id` = '8',`ordernumber` = 'O24100089590', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-11-05',`create_date` = '2024-10-29 13:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089590' and product_code = 'BP010185-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089590' and product_code = 'BP010188-01' 2024-10-29 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, 1,'250226','8','O24100089590','[加購]加購-SNOOPY面紙套','BP010188-01','BP010188','-','加購-SNOOPY面紙套','250','250','1','1','250','0','0','0.0','1','250','2024-11-05','2024-10-29 13:29:10','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250226',`firm_id` = '8',`ordernumber` = 'O24100089590', `product_name` = '[加購]加購-SNOOPY面紙套',`product_code` = 'BP010188-01',`product_sn` = 'BP010188',`product_spec` = '-',`invoice_name` = '加購-SNOOPY面紙套',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-11-05',`create_date` = '2024-10-29 13:29:10',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089590' and product_code = 'BP010188-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089619' and product_code = 'DG010265-01' 2024-10-29 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, 1,'250227','8','O24100089619','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','1','300','2024-10-31','2024-10-29 13:56:59','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250227',`firm_id` = '8',`ordernumber` = 'O24100089619', `product_name` = '【SNOOPY 聯名】獨特心意-8結提盒',`product_code` = 'DG010265-01',`product_sn` = 'DG010265',`product_spec` = '原味',`invoice_name` = '提盒-SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-31',`create_date` = '2024-10-29 13:56:59',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089619' and product_code = 'DG010265-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089775' and product_code = 'DG010312-03' 2024-10-29 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, 1,'250228','8','O24100089775','【原味+咖啡】金8結禮盒','DG010312-03','DG010312','金8結盒','禮盒-金8結【原味+咖啡】','590','480','0','0','0','0','1','480.0','7','3360','2024-10-31','2024-10-29 14:05:43','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250228',`firm_id` = '8',`ordernumber` = 'O24100089775', `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` = '7',`total_price` = '3360',`etd` = '2024-10-31',`create_date` = '2024-10-29 14:05:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089775' and product_code = 'DG010312-03' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089775' and product_code = 'DG010312-02' 2024-10-29 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, 1,'250228','8','O24100089775','【原味+芝麻】金8結禮盒','DG010312-02','DG010312','金8結盒','禮盒-金8結【原味+芝麻】','590','480','0','0','0','0','1','480.0','7','3360','2024-10-31','2024-10-29 14:05:43','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250228',`firm_id` = '8',`ordernumber` = 'O24100089775', `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` = '7',`total_price` = '3360',`etd` = '2024-10-31',`create_date` = '2024-10-29 14:05:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089775' and product_code = 'DG010312-02' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089775' and product_code = 'DG010312-01' 2024-10-29 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, 1,'250228','8','O24100089775','【原味+原味】金8結禮盒','DG010312-01','DG010312','金8結盒','禮盒-金8結【原味+原味】','590','480','0','0','0','0','1','480.0','6','2880','2024-10-31','2024-10-29 14:05:43','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250228',`firm_id` = '8',`ordernumber` = 'O24100089775', `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` = '6',`total_price` = '2880',`etd` = '2024-10-31',`create_date` = '2024-10-29 14:05:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089775' and product_code = 'DG010312-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100089775' and product_code = 'BP010189-01' 2024-10-29 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, 1,'250228','8','O24100089775','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','2','0','2024-10-31','2024-10-29 14:05:43','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250228',`firm_id` = '8',`ordernumber` = 'O24100089775', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '0',`etd` = '2024-10-31',`create_date` = '2024-10-29 14:05:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100089775' and product_code = 'BP010189-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089812' and product_code = 'DG010202-05' 2024-10-29 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, 1,'250229','8','S24100089812','8結彌月提盒-年輪','DG010202-05','DG010202','巧克力','提盒-彌月年輪-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 14:06:25','2024-10-29 23:59:08',0,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250229',`firm_id` = '8',`ordernumber` = 'S24100089812', `product_name` = '8結彌月提盒-年輪',`product_code` = 'DG010202-05',`product_sn` = 'DG010202',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月年輪-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 14:06:25',`modify_date` = '2024-10-29 14:45:45',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089812' and product_code = 'DG010202-05' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089920' and product_code = 'DG010265-01' 2024-10-29 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, 1,'250230','8','S24100089920','【SNOOPY 聯名】獨特心意-8結提盒','DG010265-01','DG010265','原味','提盒-SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','20','6000','2024-11-19','2024-10-29 14:40:03','2024-10-29 23:59:08',0,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250230',`firm_id` = '8',`ordernumber` = 'S24100089920', `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` = '20',`total_price` = '6000',`etd` = '2024-11-19',`create_date` = '2024-10-29 14:40:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089920' and product_code = 'DG010265-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100089920' and product_code = 'BP010189-01' 2024-10-29 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, 1,'250230','8','S24100089920','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','1','0','2024-11-19','2024-10-29 14:40:03','2024-10-29 23:59:08',0,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250230',`firm_id` = '8',`ordernumber` = 'S24100089920', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-19',`create_date` = '2024-10-29 14:40:03',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100089920' and product_code = 'BP010189-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090051' and product_code = '13656' 2024-10-29 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, 1,'250231','8','O24100090051','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-11-04','2024-10-29 15:55:20','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250231',`firm_id` = '8',`ordernumber` = 'O24100090051', `product_name` = '8結蛋捲【紅提袋裝】',`product_code` = '13656',`product_sn` = '13656',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '580',`etd` = '2024-11-04',`create_date` = '2024-10-29 15:55:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090051' and product_code = '13656' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090051' and product_code = '13657' 2024-10-29 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, 1,'250231','8','O24100090051','8結蛋捲【紅提袋裝】','13657','13656','40入芝麻蛋捲','組合-40入芝麻+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2024-11-04','2024-10-29 15:55:20','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250231',`firm_id` = '8',`ordernumber` = 'O24100090051', `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` = '2',`total_price` = '580',`etd` = '2024-11-04',`create_date` = '2024-10-29 15:55:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090051' and product_code = '13657' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090051' and product_code = '13660' 2024-10-29 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, 1,'250231','8','O24100090051','8結蛋捲【紅提袋裝】','13660','13656','40入巧克力蛋捲','組合-40入巧克力+紅提袋','290','290','0','0','0','0','1','0.0','1','290','2024-11-04','2024-10-29 15:55:20','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250231',`firm_id` = '8',`ordernumber` = 'O24100090051', `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` = '1',`total_price` = '290',`etd` = '2024-11-04',`create_date` = '2024-10-29 15:55:20',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090051' and product_code = '13660' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB2' and product_code = 'DG010527-01' 2024-10-29 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, 1,'250232','8','S24100074448RB2','8結蛋捲【小禮袋裝】','DG010527-01','DG010527','40入原味蛋捲','組合-40入原味+8結小禮袋','290','290','0','0','0','0','1','0.0','80','23200','2024-11-19','2024-10-23 15:46:01','2024-10-29 23:59:08',0,'1','2024-09-21') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250232',`firm_id` = '8',`ordernumber` = 'S24100074448RB2', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-01',`product_sn` = 'DG010527',`product_spec` = '40入原味蛋捲',`invoice_name` = '組合-40入原味+8結小禮袋',`listprice` = '290',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '80',`total_price` = '23200',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB2' and product_code = 'DG010527-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB2' and product_code = 'DG010527-02' 2024-10-29 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, 1,'250232','8','S24100074448RB2','8結蛋捲【小禮袋裝】','DG010527-02','DG010527','40入芝麻蛋捲','組合-40入芝麻+8結小禮袋','290','290','0','0','0','0','1','0.0','80','23200','2024-11-19','2024-10-23 15:46:01','2024-10-29 23:59:08',0,'1','2024-09-21') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250232',`firm_id` = '8',`ordernumber` = 'S24100074448RB2', `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` = '80',`total_price` = '23200',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB2' and product_code = 'DG010527-02' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB2' and product_code = 'DG010527-05' 2024-10-29 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, 1,'250232','8','S24100074448RB2','8結蛋捲【小禮袋裝】','DG010527-05','DG010527','40入巧克力蛋捲','組合-40入巧克力+8結小禮袋','290','290','0','0','0','0','1','0.0','70','20300','2024-11-19','2024-10-23 15:46:01','2024-10-29 23:59:08',0,'1','2024-09-21') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250232',`firm_id` = '8',`ordernumber` = 'S24100074448RB2', `product_name` = '8結蛋捲【小禮袋裝】',`product_code` = 'DG010527-05',`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` = '70',`total_price` = '20300',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB2' and product_code = 'DG010527-05' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100074448RB2' and product_code = 'BP010189-01' 2024-10-29 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, 1,'250232','8','S24100074448RB2','贈品-SNOOPY面紙套','BP010189-01','BP010189','贈品-SNOOPY面紙套','贈品-SNOOPY面紙套','0','0','0','0','0','0','1','0.0','19','0','2024-11-19','2024-10-23 15:46:01','2024-10-29 23:59:08',0,'1','2024-09-21') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250232',`firm_id` = '8',`ordernumber` = 'S24100074448RB2', `product_name` = '贈品-SNOOPY面紙套',`product_code` = 'BP010189-01',`product_sn` = 'BP010189',`product_spec` = '贈品-SNOOPY面紙套',`invoice_name` = '贈品-SNOOPY面紙套',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '19',`total_price` = '0',`etd` = '2024-11-19',`create_date` = '2024-10-23 15:46:01',`modify_date` = '2024-10-29 16:53:52',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-21'where ordernumber = 'S24100074448RB2' and product_code = 'BP010189-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100090150' and product_code = 'DG010101-01' 2024-10-29 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, 1,'250233','8','S24100090150','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-10-31','2024-10-29 17:41:51','2024-10-29 23:59:08',0,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250233',`firm_id` = '8',`ordernumber` = 'S24100090150', `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` = '3',`total_price` = '840',`etd` = '2024-10-31',`create_date` = '2024-10-29 17:41:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100090150' and product_code = 'DG010101-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100090150' and product_code = 'DG010101-03' 2024-10-29 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, 1,'250233','8','S24100090150','極上咖啡蛋捲','DG010101-03','DG010101','咖啡','40入咖啡蛋捲','320','280','0','0','0','0','1','280.0','2','560','2024-10-31','2024-10-29 17:41:51','2024-10-29 23:59:08',0,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250233',`firm_id` = '8',`ordernumber` = 'S24100090150', `product_name` = '極上咖啡蛋捲',`product_code` = 'DG010101-03',`product_sn` = 'DG010101',`product_spec` = '咖啡',`invoice_name` = '40入咖啡蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2024-10-31',`create_date` = '2024-10-29 17:41:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100090150' and product_code = 'DG010101-03' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S24100090150' and product_code = 'DG010101-05' 2024-10-29 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, 1,'250233','8','S24100090150','濃情巧克力蛋捲','DG010101-05','DG010101','巧克力','40入巧克力蛋捲','320','280','0','0','0','0','1','280.0','3','840','2024-10-31','2024-10-29 17:41:51','2024-10-29 23:59:08',0,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250233',`firm_id` = '8',`ordernumber` = 'S24100090150', `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` = '2024-10-31',`create_date` = '2024-10-29 17:41:51',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'S24100090150' and product_code = 'DG010101-05' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090220' and product_code = 'BP010181-01' 2024-10-29 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, 1,'250234','8','O24100090220','SNOOPY飲料提袋','BP010181-01','BP010181','SNOOPY飲料提袋','SNOOPY飲料提袋','150','150','0','0','0','0','1','0.0','1','150','2024-10-31','2024-10-29 18:21:43','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250234',`firm_id` = '8',`ordernumber` = 'O24100090220', `product_name` = 'SNOOPY飲料提袋',`product_code` = 'BP010181-01',`product_sn` = 'BP010181',`product_spec` = 'SNOOPY飲料提袋',`invoice_name` = 'SNOOPY飲料提袋',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2024-10-31',`create_date` = '2024-10-29 18:21:43',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090220' and product_code = 'BP010181-01' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090373' and product_code = 'DG010312-05' 2024-10-29 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, 1,'250235','8','O24100090373','【原味+巧克力】金8結禮盒','DG010312-05','DG010312','金8結盒','禮盒-金8結【原味+巧克力】','590','480','0','0','0','0','1','480.0','3','1440','2024-10-31','2024-10-29 19:09:30','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250235',`firm_id` = '8',`ordernumber` = 'O24100090373', `product_name` = '【原味+巧克力】金8結禮盒',`product_code` = 'DG010312-05',`product_sn` = 'DG010312',`product_spec` = '金8結盒',`invoice_name` = '禮盒-金8結【原味+巧克力】',`listprice` = '590',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '480.0',`amount` = '3',`total_price` = '1440',`etd` = '2024-10-31',`create_date` = '2024-10-29 19:09:30',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090373' and product_code = 'DG010312-05' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090470' and product_code = 'DG0103188-06' 2024-10-29 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, 1,'250236','8','O24100090470','【SNOOPY 聯名】美好探尋-8結禮盒','DG0103188-06','DG0103188','原味蛋捲,芝麻蛋捲','禮盒-SNOOPY(橘)【原味+芝麻】','500','500','0','0','0','0','1','0.0','2','1000','2024-10-31','2024-10-29 19:30:23','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250236',`firm_id` = '8',`ordernumber` = 'O24100090470', `product_name` = '【SNOOPY 聯名】美好探尋-8結禮盒',`product_code` = 'DG0103188-06',`product_sn` = 'DG0103188',`product_spec` = '原味蛋捲,芝麻蛋捲',`invoice_name` = '禮盒-SNOOPY(橘)【原味+芝麻】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '1000',`etd` = '2024-10-31',`create_date` = '2024-10-29 19:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090470' and product_code = 'DG0103188-06' 2024-10-29 23:59:08 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O24100090470' and product_code = 'BP010185-01' 2024-10-29 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, 1,'250236','8','O24100090470','[加購]加購-SNOOPY盥洗收納包','BP010185-01','BP010185','-','加購-SNOOPY盥洗收納包','250','250','1','1','250','0','0','0.0','1','250','2024-10-31','2024-10-29 19:30:23','2024-10-29 23:59:08',null,'1','2024-09-27') 2024-10-29 23:59:08 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '250236',`firm_id` = '8',`ordernumber` = 'O24100090470', `product_name` = '[加購]加購-SNOOPY盥洗收納包',`product_code` = 'BP010185-01',`product_sn` = 'BP010185',`product_spec` = '-',`invoice_name` = '加購-SNOOPY盥洗收納包',`listprice` = '250',`sellingprice` = '250',`isadd` = '1',`isbaby` = '1',`addprice` = '250',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '1',`total_price` = '250',`etd` = '2024-10-31',`create_date` = '2024-10-29 19:30:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2024-09-27'where ordernumber = 'O24100090470' and product_code = 'BP010185-01' 2024-10-29 23:59:08 -- == sync_order_detail end == 2024-10-29 23:59:08 -- == sync_order start == 2024-10-29 23:59:08 -- start:2024-10-29,end:2024-10-29 2024-10-29 23:59:08 -- == select june1.order_list == select l.mid,m.uid,l.category_name,l.category_id,l.ordernumber,l.location,l.payway,l.delivery_way,l.pay_status,l.process_status,l.company_number,l.company_title,l.invoice_status,l.etd,l.web_discount,l.class_discount,l.member_discount,l.web_gift,l.freight,l.entity_discount,l.totalprice,l.orderzip,l.orderaddresscity,l.orderaddressarea,l.recipientzip,l.recipientaddresscity,l.recipientaddressarea,l.totalprice_after-web_discount-class_discount-member_discount-entity_discount as totalprice_after,l.create_date FROM `order_list` l LEFT JOIN member_list m on l.mid = m.id WHERE l.create_date like '2024-10-29%' OR l.modify_date like '2024-10-29%'; 2024-10-29 23:59:08 -- == sync omo_order_list == 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '414199', process_status = '2', pay_status = '1', totalprice_after = '17820', lunar_date = '2024-09-12', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'B24100010667' 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '421623', process_status = '2', pay_status = '1', totalprice_after = '8550', lunar_date = '2024-09-18', invoice_status = '0', category_name = '', category_id = '' where ordernumber = 'B24100014533' 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '426969', process_status = '2', pay_status = '1', totalprice_after = '18970', lunar_date = '2024-09-19', invoice_status = '0', category_name = '正式彌,FB訂單', category_id = '1,10' where ordernumber = 'M24100016049' 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '26220', lunar_date = '2024-09-19', invoice_status = '0', category_name = 'LINE@訂單,正式彌', category_id = '9,1' where ordernumber = 'M24100016397' 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '400', lunar_date = '2024-09-20', invoice_status = '0', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M24100016933' 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '202915', process_status = '2', pay_status = '1', totalprice_after = '3450', lunar_date = '2024-09-22', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24100020018' 2024-10-29 23:59:08 -- == update lake.omo_order_list == update omo_order_list set userId = '428113', process_status = '3', pay_status = '1', totalprice_after = '2550', lunar_date = '2024-09-23', invoice_status = '1', category_name = 'LINE@訂單,正式彌,美村門市訂單', category_id = '1,9,21' where ordernumber = 'M24100021612' 2024-10-29 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '411012', process_status = '3', pay_status = '1', totalprice_after = '8550', lunar_date = '2024-09-23', invoice_status = '1', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24100021815' 2024-10-29 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '426329', process_status = '1', pay_status = '1', totalprice_after = '21945', lunar_date = '2024-09-24', invoice_status = '1', category_name = '正式彌,永康門市訂單', category_id = '1,22' where ordernumber = 'M24100022366' 2024-10-29 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '200693', process_status = '3', pay_status = '1', totalprice_after = '1300', lunar_date = '2024-09-26', invoice_status = '1', category_name = 'LINE@訂單,彌月試吃', category_id = '9,2' where ordernumber = 'M24100023064' 2024-10-29 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '428051', process_status = '3', pay_status = '1', totalprice_after = '300', lunar_date = '2024-09-26', invoice_status = '1', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M24100023937' 2024-10-29 23:59:09 -- == update lake.omo_order_list == update omo_order_list set userId = '411012', process_status = '3', pay_status = '1', totalprice_after = '5700', lunar_date = '2024-09-26', invoice_status = '1', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M24100024271' 2024-10-29 23:59:09 -- == 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 ('152028','0',2,'彌月試吃','2','B24100024376','1','2','1','1','2','','','0','2024-10-30','0','0','0','','0','0','500','260','宜蘭縣','宜蘭市','260','宜蘭縣','宜蘭市','500','2024-10-29 09:02:34','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('138035','414199',2,'正式彌,LINE@訂單','1,9','M24100024428','1','2','1','1','1','','','0','2024-11-04','0','15','0','','0','0','300','710','台南市','永康區','600','嘉義市','東區','285','2024-10-29 10:13:55','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152082','428114',2,'正式彌,FB訂單','1,10','M24100024555','1','1','1','0','6','','','0','2024-11-14','0','1200','0','','0','30','24000','235','新北市','中和區','235','新北市','中和區','22770','2024-10-29 10:14:17','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152082','428114',2,'正式彌,FB訂單','1,10','M24100024555RB','1','1','1','1','1','','','0','2024-11-14','0','1200','0','','0','30','24000','235','新北市','中和區','235','新北市','中和區','22770','2024-10-29 10:15:17','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('151776','427811',2,'彌月試吃,LINE@訂單','2,9','M24100024624','1','2','1','1','2','','','0','2024-10-30','0','0','0','','0','0','500','238','新北市','樹林區','238','新北市','樹林區','500','2024-10-29 10:59:02','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152112','428145',2,'彌月試吃,LINE@訂單','2,9','M24100024722','1','6','6','8','8','','','0','2024-11-01','0','300','0','','0','0','1100','103','台北市','大同區','103','台北市','大同區','800','2024-10-29 13:31:04','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('19082','283899',2,'正式彌,LINE@訂單','1,9','M24100024871','1','1','1','1','1','','','0','2024-11-07','0','3850','0','','0','0','55000','402','台中市','南區','402','台中市','南區','51150','2024-10-29 13:54:44','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152106','428138',2,',彌月試吃,FB訂單',',2,10','M24100024951','1','6','6','8','8','','','0','2024-11-01','0','300','0','','0','0','900','103','台北市','大同區','103','台北市','大同區','600','2024-10-29 14:03:32','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152130','428161',2,'正式彌,LINE@訂單,美村門市訂單','1,9,21','M24100025076','1','1','1','1','1','','','0','2024-11-07','0','195','0','','0','0','3900','402','台中市','南區','402','台中市','南區','3705','2024-10-29 14:38:18','2024-09-27') 2024-10-29 23:59:09 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('148518','424577',2,'','','B24100025166','1','1','1','1','1','80043760','萬銓精機股份有限公司','0','2024-11-12','1530','0','0','','0','0','30600','500','彰化縣','彰化市','500','彰化縣','彰化市','29070','2024-10-29 16:01:07','2024-09-27') 2024-10-29 23:59:09 -- == inster lake.omo_order_list == INSERT INTO `omo_order_list` (mid,userId,channel,category_name,category_id,ordernumber,location,payway,delivery_way,pay_status,process_status,company_number,company_title,invoice_status,etd,web_discount,class_discount,member_discount,web_gift,freight,entity_discount,totalprice,orderzip,orderaddresscity,orderaddressarea,recipientzip,recipientaddresscity,recipientaddressarea,totalprice_after,create_date,lunar_date) VALUES ('148518','424577',2,'','','M24100025270','1','1','1','1','1','80043760','萬銓精機股份有限公司','0','2024-10-31','0','255','0','','0','0','5100','500','彰化縣','彰化市','500','彰化縣','彰化市','4845','2024-10-29 16:17:36','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152153','428184',2,'正式彌,LINE@訂單','1,9','M24100025332','1','2','1','0','0','','','0','2024-11-07','0','945','0','','0','0','18900','220','新北市','板橋區','220','新北市','板橋區','17955','2024-10-29 16:49:38','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152130','428161',2,'正式彌,LINE@訂單,美村門市訂單','1,9,21','M24100025429','1','1','6','1','1','','','0','2024-11-11','0','780','0','','0','0','15600','402','台中市','南區','402','台中市','南區','14820','2024-10-29 17:34:47','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('152164','428195',2,'彌月試吃,LINE@訂單','2,9','M24100025539','1','6','6','0','8','','','0','2024-11-01','0','300','0','','0','0','1100','402','台中市','南區','402','台中市','南區','800','2024-10-29 17:53:27','2024-09-27') 2024-10-29 23:59:09 -- == 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 ('151409','427449',2,'','','B24100025620','1','1','1','1','1','','','0','0000-00-00','495','0','0','','0','0','9900','106','台北市','大安區','106','台北市','大安區','9405','2024-10-29 22:04:23','2024-09-27') 2024-10-29 23:59:09 -- == sync_order end == 2024-10-29 23:59:09 -- == sync_order_detail start == 2024-10-29 23:59:09 -- start:2024-10-29,end:2024-10-29 2024-10-29 23:59:09 -- == sync omo_order_detail == 2024-10-29 23:59:09 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2024-10-29%' OR modify_date like '2024-10-29%' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100010667' and product_code = 'DG010266-01' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33061',`firm_id` = '8',`ordernumber` = 'B24100010667', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '12000',`etd` = '2024-10-31',`create_date` = '2024-10-14 14:46:30',`modify_date` = '2024-10-29 10:16:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100010667' and product_code = 'DG010266-01', `lunar_date` = '2024-09-12' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100010667' and product_code = 'DG010266-02' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33061',`firm_id` = '8',`ordernumber` = 'B24100010667', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '14',`total_price` = '4200',`etd` = '2024-10-31',`create_date` = '2024-10-14 14:46:30',`modify_date` = '2024-10-29 10:16:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100010667' and product_code = 'DG010266-02', `lunar_date` = '2024-09-12' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100010667' and product_code = 'DG010266-05' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33061',`firm_id` = '8',`ordernumber` = 'B24100010667', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2024-10-31',`create_date` = '2024-10-14 14:46:30',`modify_date` = '2024-10-29 10:16:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100010667' and product_code = 'DG010266-05', `lunar_date` = '2024-09-12' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100010667' and product_code = 'BP010184-01' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33061',`firm_id` = '8',`ordernumber` = 'B24100010667', `product_name` = 'SNOOPY盥洗收納包',`product_code` = 'BP010184-01',`product_sn` = 'BP010184',`product_spec` = 'SNOOPY盥洗收納包',`invoice_name` = 'SNOOPY盥洗收納包',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-10-31',`create_date` = '2024-10-14 14:46:30',`modify_date` = '2024-10-29 10:16:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100010667' and product_code = 'BP010184-01', `lunar_date` = '2024-09-12' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100010667' and product_code = 'ZP010520-01' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33061',`firm_id` = '8',`ordernumber` = 'B24100010667', `product_name` = '贈品-SNOOPY寶寶貼心組',`product_code` = 'ZP010520-01',`product_sn` = 'ZP010520',`product_spec` = 'SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6',`invoice_name` = '組合-SNOOPY提把水瓶+sNug寶寶襪*3',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-10-31',`create_date` = '2024-10-14 14:46:30',`modify_date` = '2024-10-29 10:16:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100010667' and product_code = 'ZP010520-01', `lunar_date` = '2024-09-12' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100010667' and product_code = '40009' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33061',`firm_id` = '8',`ordernumber` = 'B24100010667', `product_name` = '運費',`product_code` = '40009',`product_sn` = '40000',`product_spec` = '80運費',`invoice_name` = '80運費',`listprice` = '80',`sellingprice` = '80',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '9',`total_price` = '720',`etd` = '2024-10-31',`create_date` = '2024-10-23 16:58:14',`modify_date` = '2024-10-29 10:16:49',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100010667' and product_code = '40009', `lunar_date` = '2024-09-21' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100021612' and product_code = 'DG010213-02' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33176',`firm_id` = '8',`ordernumber` = 'M24100021612', `product_name` = '【官網限定】8結彌月提盒-香頌日光',`product_code` = 'DG010213-02',`product_sn` = 'DG010213',`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` = '8',`total_price` = '2400',`etd` = '2024-10-25',`create_date` = '2024-10-25 11:50:25',`modify_date` = '2024-10-29 10:59:40',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100021612' and product_code = 'DG010213-02', `lunar_date` = '2024-09-23' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022366' and product_code = 'DG010266-04' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33183',`firm_id` = '8',`ordernumber` = 'M24100022366', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-04',`product_sn` = 'DG010266',`product_spec` = '海苔',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '77',`total_price` = '23100',`etd` = '2024-11-05',`create_date` = '2024-10-26 16:38:25',`modify_date` = '2024-10-29 14:15:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022366' and product_code = 'DG010266-04', `lunar_date` = '2024-09-24' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100022366' and product_code = 'ZP0101106-01' 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33183',`firm_id` = '8',`ordernumber` = 'M24100022366', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-05',`create_date` = '2024-10-26 16:38:25',`modify_date` = '2024-10-29 14:15:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100022366' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-24' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100024376' and product_code = 'DG0103190-05' 2024-10-29 23:59:09 -- == 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,'33204','11','B24100024376','SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】','DG0103190-05','DG0103190','原味+巧克力','禮盒-彌月SNOOPY(橘)【原味+巧克力】(試吃)','500','500','0','1','0','0','1','0.0','1','500','2024-10-30','2024-10-29 09:02:34','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33204',`firm_id` = '11',`ordernumber` = 'B24100024376', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-05',`product_sn` = 'DG0103190',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-30',`create_date` = '2024-10-29 09:02:34',`modify_date` = '2024-10-29 09:02:42',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100024376' and product_code = 'DG0103190-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024428' and product_code = 'DG010266-02' 2024-10-29 23:59:09 -- == 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,'33205','8','M24100024428','SNOOPY獨特心意-8結彌月提盒','DG010266-02','DG010266','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','1','300','2024-11-04','2024-10-29 10:13:55','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33205',`firm_id` = '8',`ordernumber` = 'M24100024428', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-04',`create_date` = '2024-10-29 10:13:55',`modify_date` = '2024-10-29 10:17:15',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024428' and product_code = 'DG010266-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024555' and product_code = 'DG010266-01' 2024-10-29 23:59:09 -- == 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,'33206','8','M24100024555','SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','80','24000','2024-11-14','2024-10-29 10:14:17','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33206',`firm_id` = '8',`ordernumber` = 'M24100024555', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '80',`total_price` = '24000',`etd` = '2024-11-14',`create_date` = '2024-10-29 10:14:17',`modify_date` = '2024-10-29 10:15:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024555' and product_code = 'DG010266-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024555' and product_code = 'ZP0101106-01' 2024-10-29 23:59:09 -- == 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,'33206','8','M24100024555','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-11-14','2024-10-29 10:14:17','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33206',`firm_id` = '8',`ordernumber` = 'M24100024555', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-14',`create_date` = '2024-10-29 10:14:17',`modify_date` = '2024-10-29 10:15:10',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024555' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024555RB' and product_code = 'DG010266-01' 2024-10-29 23:59:09 -- == 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,'33207','8','M24100024555RB','SNOOPY獨特心意-8結彌月提盒','DG010266-01','DG010266','原味','提盒-彌月SNOOPY(粉)-40入原味','300','300','0','0','0','0','1','0.0','80','24000','2024-11-14','2024-10-29 10:14:17','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33207',`firm_id` = '8',`ordernumber` = 'M24100024555RB', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-01',`product_sn` = 'DG010266',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '80',`total_price` = '24000',`etd` = '2024-11-14',`create_date` = '2024-10-29 10:14:17',`modify_date` = '2024-10-29 10:15:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024555RB' and product_code = 'DG010266-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024555RB' and product_code = 'ZP0101106-01' 2024-10-29 23:59:09 -- == 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,'33207','8','M24100024555RB','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-11-14','2024-10-29 10:14:17','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33207',`firm_id` = '8',`ordernumber` = 'M24100024555RB', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-14',`create_date` = '2024-10-29 10:14:17',`modify_date` = '2024-10-29 10:15:17',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024555RB' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024624' and product_code = 'DG0103157-09' 2024-10-29 23:59:09 -- == 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,'33208','11','M24100024624','SNOOPY(藍)禮盒-彌月試吃【B2】','DG0103157-09','DG0103157','芝麻+巧克力','禮盒-彌月SNOOPY(藍)【芝麻+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-10-30','2024-10-29 10:59:02','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33208',`firm_id` = '11',`ordernumber` = 'M24100024624', `product_name` = 'SNOOPY(藍)禮盒-彌月試吃【B2】',`product_code` = 'DG0103157-09',`product_sn` = 'DG0103157',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(藍)【芝麻+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-10-30',`create_date` = '2024-10-29 10:59:02',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024624' and product_code = 'DG0103157-09', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024722' and product_code = 'DG010267-05' 2024-10-29 23:59:09 -- == 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,'33209','11','M24100024722','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-05','DG010267','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 13:31:04','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33209',`firm_id` = '11',`ordernumber` = 'M24100024722', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-05',`product_sn` = 'DG010267',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 13:31:04',`modify_date` = '2024-10-29 13:31:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024722' and product_code = 'DG010267-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024722' and product_code = 'DG010270-02' 2024-10-29 23:59:09 -- == 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,'33209','11','M24100024722','吳淡如提盒-彌月試吃【A3】','DG010270-02','DG010270','芝麻','提盒-彌月吳淡如-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 13:31:04','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33209',`firm_id` = '11',`ordernumber` = 'M24100024722', `product_name` = '吳淡如提盒-彌月試吃【A3】',`product_code` = 'DG010270-02',`product_sn` = 'DG010270',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月吳淡如-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 13:31:04',`modify_date` = '2024-10-29 13:31:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024722' and product_code = 'DG010270-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024722' and product_code = 'DG0103190-03' 2024-10-29 23:59:09 -- == 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,'33209','11','M24100024722','SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】','DG0103190-03','DG0103190','原味+咖啡','禮盒-彌月SNOOPY(橘)【原味+咖啡】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-11-01','2024-10-29 13:31:04','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33209',`firm_id` = '11',`ordernumber` = 'M24100024722', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-03',`product_sn` = 'DG0103190',`product_spec` = '原味+咖啡',`invoice_name` = '禮盒-彌月SNOOPY(橘)【原味+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-11-01',`create_date` = '2024-10-29 13:31:04',`modify_date` = '2024-10-29 13:31:29',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024722' and product_code = 'DG0103190-03', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024871' and product_code = 'DG0103189-02' 2024-10-29 23:59:09 -- == 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,'33210','8','M24100024871','SNOOPY美好探尋-8結彌月禮盒','DG0103189-02','DG0103189','原味+芝麻','禮盒-彌月SNOOPY(橘)【原味+芝麻】','500','500','0','0','0','0','1','0.0','110','55000','2024-11-07','2024-10-29 13:54:44','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33210',`firm_id` = '8',`ordernumber` = 'M24100024871', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-02',`product_sn` = 'DG0103189',`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` = '110',`total_price` = '55000',`etd` = '2024-11-07',`create_date` = '2024-10-29 13:54:44',`modify_date` = '2024-10-29 13:57:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024871' and product_code = 'DG0103189-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024871' and product_code = 'ZP010520-01' 2024-10-29 23:59:09 -- == 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,'33210','8','M24100024871','贈品-SNOOPY寶寶貼心組','ZP010520-01','ZP010520','SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6','組合-SNOOPY提把水瓶+sNug寶寶襪*3','0','0','0','0','0','0','1','0.0','1','0','2024-11-07','2024-10-29 13:54:44','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33210',`firm_id` = '8',`ordernumber` = 'M24100024871', `product_name` = '贈品-SNOOPY寶寶貼心組',`product_code` = 'ZP010520-01',`product_sn` = 'ZP010520',`product_spec` = 'SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6',`invoice_name` = '組合-SNOOPY提把水瓶+sNug寶寶襪*3',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-07',`create_date` = '2024-10-29 13:54:44',`modify_date` = '2024-10-29 13:57:07',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024871' and product_code = 'ZP010520-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024871' and product_code = 'ZP010134-01' 2024-10-29 23:59:09 -- == 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,'33210','8','M24100024871','贈品-recolte氣炸鍋(顏色隨機)','ZP010134-01','ZP010134','贈品-recolte氣炸鍋(顏色隨機)','贈品-recolte氣炸鍋(顏色隨機)','0','0','0','0','0','0','1','0.0','0','0','2024-11-07','2024-10-29 13:54:44','2024-10-29 23:59:09',null,'0','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33210',`firm_id` = '8',`ordernumber` = 'M24100024871', `product_name` = '贈品-recolte氣炸鍋(顏色隨機)',`product_code` = 'ZP010134-01',`product_sn` = 'ZP010134',`product_spec` = '贈品-recolte氣炸鍋(顏色隨機)',`invoice_name` = '贈品-recolte氣炸鍋(顏色隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-11-07',`create_date` = '2024-10-29 13:54:44',`modify_date` = '2024-10-29 13:57:07',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M24100024871' and product_code = 'ZP010134-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024871' and product_code = 'ZP0101106-01' 2024-10-29 23:59:09 -- == 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,'33210','8','M24100024871','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','2','0','2024-11-07','2024-10-29 13:57:07','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33210',`firm_id` = '8',`ordernumber` = 'M24100024871', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '0',`etd` = '2024-11-07',`create_date` = '2024-10-29 13:57:07',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024871' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024951' and product_code = 'DG010267-01' 2024-10-29 23:59:09 -- == 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,'33211','11','M24100024951','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-01','DG010267','原味','提盒-彌月SNOOPY(粉)-40入原味(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 14:03:32','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33211',`firm_id` = '11',`ordernumber` = 'M24100024951', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-01',`product_sn` = 'DG010267',`product_spec` = '原味',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 14:03:32',`modify_date` = '2024-10-29 14:04:31',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024951' and product_code = 'DG010267-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024951' and product_code = 'DG010243-02' 2024-10-29 23:59:09 -- == 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,'33211','11','M24100024951','年輪提盒彌月試吃【A1】','DG010243-02','DG010243','芝麻','提盒-彌月年輪-40入芝麻(試吃)','300','300','0','0','0','0','1','300.0','1','300','2024-11-01','2024-10-29 14:03:32','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33211',`firm_id` = '11',`ordernumber` = 'M24100024951', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月年輪-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 14:03:32',`modify_date` = '2024-10-29 14:04:31',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024951' and product_code = 'DG010243-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100024951' and product_code = 'DG010270-05' 2024-10-29 23:59:09 -- == 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,'33211','11','M24100024951','吳淡如提盒-彌月試吃【A3】','DG010270-05','DG010270','巧克力','提盒-彌月吳淡如-40入巧克力(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 14:03:32','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33211',`firm_id` = '11',`ordernumber` = 'M24100024951', `product_name` = '吳淡如提盒-彌月試吃【A3】',`product_code` = 'DG010270-05',`product_sn` = 'DG010270',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月吳淡如-40入巧克力(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 14:03:32',`modify_date` = '2024-10-29 14:04:31',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100024951' and product_code = 'DG010270-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025076' and product_code = 'DG010269-01' 2024-10-29 23:59:09 -- == 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,'33212','8','M24100025076','【吳淡如聯名】築夢-8結彌月提盒','DG010269-01','DG010269','原味','提盒-彌月吳淡如-40入原味','300','300','0','0','0','0','1','0.0','12','3600','2024-11-07','2024-10-29 14:38:18','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33212',`firm_id` = '8',`ordernumber` = 'M24100025076', `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` = '12',`total_price` = '3600',`etd` = '2024-11-07',`create_date` = '2024-10-29 14:38:18',`modify_date` = '2024-10-29 17:37:23',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025076' and product_code = 'DG010269-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025076' and product_code = 'DG010269-05' 2024-10-29 23:59:09 -- == 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,'33212','8','M24100025076','【吳淡如聯名】築夢-8結彌月提盒','DG010269-05','DG010269','巧克力','提盒-彌月吳淡如-40入巧克力','300','300','0','0','0','0','1','0.0','1','300','2024-11-07','2024-10-29 14:38:18','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33212',`firm_id` = '8',`ordernumber` = 'M24100025076', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-05',`product_sn` = 'DG010269',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月吳淡如-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-07',`create_date` = '2024-10-29 14:38:18',`modify_date` = '2024-10-29 17:37:23',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025076' and product_code = 'DG010269-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025076' and product_code = 'ZP010520-01' 2024-10-29 23:59:09 -- == 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,'33212','8','M24100025076','贈品-SNOOPY寶寶貼心組','ZP010520-01','ZP010520','SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6','組合-SNOOPY提把水瓶+sNug寶寶襪*3','0','0','0','0','0','0','1','0.0','1','0','2024-11-07','2024-10-29 14:38:18','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33212',`firm_id` = '8',`ordernumber` = 'M24100025076', `product_name` = '贈品-SNOOPY寶寶貼心組',`product_code` = 'ZP010520-01',`product_sn` = 'ZP010520',`product_spec` = 'SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6',`invoice_name` = '組合-SNOOPY提把水瓶+sNug寶寶襪*3',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-07',`create_date` = '2024-10-29 14:38:18',`modify_date` = '2024-10-29 17:37:23',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025076' and product_code = 'ZP010520-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100025166' and product_code = 'DG010266-02' 2024-10-29 23:59:09 -- == 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,'33213','8','B24100025166','SNOOPY獨特心意-8結彌月提盒','DG010266-02','DG010266','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻','300','300','0','1','0','0','1','0.0','0','0','2024-11-12','2024-10-29 16:01:07','2024-10-29 23:59:09',null,'0','2024-09-27') 2024-10-29 23:59:09 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33213',`firm_id` = '8',`ordernumber` = 'B24100025166', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2024-11-12',`create_date` = '2024-10-29 16:01:07',`modify_date` = '2024-10-29 16:19:56',`points_use_id` = null,`item_status` = '0' where ordernumber = 'B24100025166' and product_code = 'DG010266-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:09 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100025166' and product_code = 'DG010266-05' 2024-10-29 23:59:09 -- == 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,'33213','8','B24100025166','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','1','0','0','1','0.0','102','30600','2024-11-12','2024-10-29 16:01:07','2024-10-29 23:59:09',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33213',`firm_id` = '8',`ordernumber` = 'B24100025166', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '102',`total_price` = '30600',`etd` = '2024-11-12',`create_date` = '2024-10-29 16:01:07',`modify_date` = '2024-10-29 16:19:56',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100025166' and product_code = 'DG010266-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100025166' and product_code = 'ZP0101106-01' 2024-10-29 23:59:10 -- == 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,'33213','8','B24100025166','贈品-SNOOPY熱壓三明治機','ZP0101106-01','ZP0101106','贈品-SNOOPY熱壓三明治機','贈品-SNOOPY熱壓三明治機','0','0','0','0','0','0','1','0.0','1','0','2024-11-12','2024-10-29 16:01:07','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33213',`firm_id` = '8',`ordernumber` = 'B24100025166', `product_name` = '贈品-SNOOPY熱壓三明治機',`product_code` = 'ZP0101106-01',`product_sn` = 'ZP0101106',`product_spec` = '贈品-SNOOPY熱壓三明治機',`invoice_name` = '贈品-SNOOPY熱壓三明治機',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-12',`create_date` = '2024-10-29 16:01:07',`modify_date` = '2024-10-29 16:19:56',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100025166' and product_code = 'ZP0101106-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025270' and product_code = 'DG010266-05' 2024-10-29 23:59:10 -- == 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,'33214','8','M24100025270','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','0','0','0','1','0.0','13','3900','2024-10-31','2024-10-29 16:17:36','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33214',`firm_id` = '8',`ordernumber` = 'M24100025270', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '13',`total_price` = '3900',`etd` = '2024-10-31',`create_date` = '2024-10-29 16:17:36',`modify_date` = '2024-10-29 16:18:02',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025270' and product_code = 'DG010266-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025270' and product_code = 'DG010266-02' 2024-10-29 23:59:10 -- == 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,'33214','8','M24100025270','SNOOPY獨特心意-8結彌月提盒','DG010266-02','DG010266','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻','300','300','0','0','0','0','1','0.0','4','1200','2024-10-31','2024-10-29 16:17:36','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33214',`firm_id` = '8',`ordernumber` = 'M24100025270', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-02',`product_sn` = 'DG010266',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2024-10-31',`create_date` = '2024-10-29 16:17:36',`modify_date` = '2024-10-29 16:18:02',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025270' and product_code = 'DG010266-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025332' and product_code = 'DG0103189-11' 2024-10-29 23:59:10 -- == 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,'33215','8','M24100025332','SNOOPY美好探尋-8結彌月禮盒','DG0103189-11','DG0103189','咖啡+海苔','禮盒-彌月SNOOPY(橘)【咖啡+海苔】','500','500','0','0','0','0','1','0.0','27','13500','2024-11-07','2024-10-29 16:49:38','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33215',`firm_id` = '8',`ordernumber` = 'M24100025332', `product_name` = 'SNOOPY美好探尋-8結彌月禮盒',`product_code` = 'DG0103189-11',`product_sn` = 'DG0103189',`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` = '27',`total_price` = '13500',`etd` = '2024-11-07',`create_date` = '2024-10-29 16:49:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025332' and product_code = 'DG0103189-11', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025332' and product_code = 'DG010266-04' 2024-10-29 23:59:10 -- == 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,'33215','8','M24100025332','SNOOPY獨特心意-8結彌月提盒','DG010266-04','DG010266','海苔','提盒-彌月SNOOPY(粉)-40入海苔','300','300','0','0','0','0','1','0.0','18','5400','2024-11-07','2024-10-29 16:49:38','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33215',`firm_id` = '8',`ordernumber` = 'M24100025332', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-04',`product_sn` = 'DG010266',`product_spec` = '海苔',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入海苔',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '18',`total_price` = '5400',`etd` = '2024-11-07',`create_date` = '2024-10-29 16:49:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025332' and product_code = 'DG010266-04', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025332' and product_code = 'ZP010520-01' 2024-10-29 23:59:10 -- == 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,'33215','8','M24100025332','贈品-SNOOPY寶寶貼心組','ZP010520-01','ZP010520','SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6','組合-SNOOPY提把水瓶+sNug寶寶襪*3','0','0','0','0','0','0','1','0.0','1','0','2024-11-07','2024-10-29 16:49:38','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33215',`firm_id` = '8',`ordernumber` = 'M24100025332', `product_name` = '贈品-SNOOPY寶寶貼心組',`product_code` = 'ZP010520-01',`product_sn` = 'ZP010520',`product_spec` = 'SNOOPY提把水瓶+sNug寶寶襪/童襪(款式隨機)0~6',`invoice_name` = '組合-SNOOPY提把水瓶+sNug寶寶襪*3',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-07',`create_date` = '2024-10-29 16:49:38',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025332' and product_code = 'ZP010520-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025429' and product_code = 'DG010269-01' 2024-10-29 23:59:10 -- == 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,'33216','8','M24100025429','【吳淡如聯名】築夢-8結彌月提盒','DG010269-01','DG010269','原味','提盒-彌月吳淡如-40入原味','300','300','0','0','0','0','1','0.0','48','14400','2024-11-11','2024-10-29 17:34:47','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33216',`firm_id` = '8',`ordernumber` = 'M24100025429', `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` = '48',`total_price` = '14400',`etd` = '2024-11-11',`create_date` = '2024-10-29 17:34:47',`modify_date` = '2024-10-29 17:35:45',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025429' and product_code = 'DG010269-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025429' and product_code = 'DG010269-05' 2024-10-29 23:59:10 -- == 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,'33216','8','M24100025429','【吳淡如聯名】築夢-8結彌月提盒','DG010269-05','DG010269','巧克力','提盒-彌月吳淡如-40入巧克力','300','300','0','0','0','0','1','0.0','4','1200','2024-11-11','2024-10-29 17:34:47','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33216',`firm_id` = '8',`ordernumber` = 'M24100025429', `product_name` = '【吳淡如聯名】築夢-8結彌月提盒',`product_code` = 'DG010269-05',`product_sn` = 'DG010269',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月吳淡如-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2024-11-11',`create_date` = '2024-10-29 17:34:47',`modify_date` = '2024-10-29 17:35:45',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025429' and product_code = 'DG010269-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025539' and product_code = 'DG010243-01' 2024-10-29 23:59:10 -- == 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,'33217','11','M24100025539','年輪提盒彌月試吃【A1】','DG010243-01','DG010243','原味','提盒-彌月年輪-40入原味(試吃)','300','300','0','0','0','0','1','300.0','1','300','2024-11-01','2024-10-29 17:53:27','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33217',`firm_id` = '11',`ordernumber` = 'M24100025539', `product_name` = '年輪提盒彌月試吃【A1】',`product_code` = 'DG010243-01',`product_sn` = 'DG010243',`product_spec` = '原味',`invoice_name` = '提盒-彌月年輪-40入原味(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 17:53:27',`modify_date` = '2024-10-29 18:20:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025539' and product_code = 'DG010243-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025539' and product_code = 'DG010267-02' 2024-10-29 23:59:10 -- == 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,'33217','11','M24100025539','SNOOPY獨特心意提盒(粉)-彌月試吃【A2】','DG010267-02','DG010267','芝麻','提盒-彌月SNOOPY(粉)-40入芝麻(試吃)','300','300','0','0','0','0','1','0.0','1','300','2024-11-01','2024-10-29 17:53:27','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33217',`firm_id` = '11',`ordernumber` = 'M24100025539', `product_name` = 'SNOOPY獨特心意提盒(粉)-彌月試吃【A2】',`product_code` = 'DG010267-02',`product_sn` = 'DG010267',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '300',`etd` = '2024-11-01',`create_date` = '2024-10-29 17:53:27',`modify_date` = '2024-10-29 18:20:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025539' and product_code = 'DG010267-02', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M24100025539' and product_code = 'DG0103190-12' 2024-10-29 23:59:10 -- == 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,'33217','11','M24100025539','SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】','DG0103190-12','DG0103190','咖啡+巧克力','禮盒-彌月SNOOPY(橘)【咖啡+巧克力】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2024-11-01','2024-10-29 17:53:27','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33217',`firm_id` = '11',`ordernumber` = 'M24100025539', `product_name` = 'SNOOPY美好探尋禮盒(橘)-彌月試吃【B2】',`product_code` = 'DG0103190-12',`product_sn` = 'DG0103190',`product_spec` = '咖啡+巧克力',`invoice_name` = '禮盒-彌月SNOOPY(橘)【咖啡+巧克力】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2024-11-01',`create_date` = '2024-10-29 17:53:27',`modify_date` = '2024-10-29 18:20:37',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M24100025539' and product_code = 'DG0103190-12', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100025620' and product_code = 'DG010266-05' 2024-10-29 23:59:10 -- == 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,'33218','8','B24100025620','SNOOPY獨特心意-8結彌月提盒','DG010266-05','DG010266','巧克力','提盒-彌月SNOOPY(粉)-40入巧克力','300','300','0','1','0','0','1','0.0','33','9900','2024-11-08','2024-10-29 22:04:23','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33218',`firm_id` = '8',`ordernumber` = 'B24100025620', `product_name` = 'SNOOPY獨特心意-8結彌月提盒',`product_code` = 'DG010266-05',`product_sn` = 'DG010266',`product_spec` = '巧克力',`invoice_name` = '提盒-彌月SNOOPY(粉)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '33',`total_price` = '9900',`etd` = '2024-11-08',`create_date` = '2024-10-29 22:04:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100025620' and product_code = 'DG010266-05', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B24100025620' and product_code = 'ZP010151-01' 2024-10-29 23:59:10 -- == 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,'33218','8','B24100025620','贈品-給足呵護童襪組','ZP010151-01','ZP010151','一組','贈品-sNug寶寶襪/童襪x4(款式隨機)','0','0','0','0','0','0','1','0.0','1','0','2024-11-08','2024-10-29 22:04:23','2024-10-29 23:59:10',null,'1','2024-09-27') 2024-10-29 23:59:10 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '33218',`firm_id` = '8',`ordernumber` = 'B24100025620', `product_name` = '贈品-給足呵護童襪組',`product_code` = 'ZP010151-01',`product_sn` = 'ZP010151',`product_spec` = '一組',`invoice_name` = '贈品-sNug寶寶襪/童襪x4(款式隨機)',`listprice` = '0',`sellingprice` = '0',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '0',`etd` = '2024-11-08',`create_date` = '2024-10-29 22:04:23',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B24100025620' and product_code = 'ZP010151-01', `lunar_date` = '2024-09-27' 2024-10-29 23:59:10 -- == sync_order_detail end == 2024-10-29 23:59:10 -- == select one.order_list == SELECT o.code,o.pay_status,o.order_status,o.user_id,o.pay_method_id,o.activity_freight_id,o.freight_fee,o.items_total,o.total,DATE(o.shipped_at) as shipped_at,o.created_at as create_date, inv.company_number,inv.company_title,inv.invoice_status, cust.zipcode,cust.county,cust.district, rec.zipcode as recipientzip,rec.county as recipientaddresscity,rec.district as recipientaddressarea, af.type as freight_type FROM `orders` o LEFT JOIN systemlead_invoices inv on o.id = inv.order_id LEFT JOIN order_customers cust on o.id = cust.order_id LEFT JOIN order_receivers rec on o.id = rec.order_id LEFT JOIN activity_freights af on o.activity_freight_id = af.id WHERE (DATE(o.created_at) = '2024-10-29' OR o.updated_at = '2024-10-29') and o.deleted_at is null 2024-10-29 23:59:10 -- == sync_order_detail start == 2024-10-29 23:59:10 -- start:2024-10-29,end:2024-10-29 2024-10-29 23:59:10 -- step1: SELECT id,sku,combinations_product_spec_id FROM `product_specs` 2024-10-29 23:59:11 -- step2: SELECT * FROM `product_specs` WHERE combinations_product_spec_id is not null 2024-10-29 23:59:15 -- step3: SELECT id,product_code,product_sn FROM `omo_order_detail` WHERE `channel` = 6 and product_code like '%,%' and create_date LIKE '2024-10-29%';