2023-11-27 10:47:48 -- == sync_order start == 2023-11-27 10:47:48 -- start:2023-11-27,end:2023-11-27 2023-11-27 10:47:48 -- == 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 '2023-11-27%' OR l.modify_date like '2023-11-27%'; 2023-11-27 10:47:49 -- == sync omo_order_list == 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '0', totalprice_after = '24564', lunar_date = '2023-09-24', invoice_status = '0',category_name = '團媽訂單', category_id = '3' where ordernumber = 'S23110030535' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '256556', process_status = '2', pay_status = '1', totalprice_after = '1500', lunar_date = '2023-09-29', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110043484' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '245422', process_status = '2', pay_status = '1', totalprice_after = '1590', lunar_date = '2023-10-01', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110046542' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '3', pay_status = '0', totalprice_after = '1075712', lunar_date = '2023-10-04', invoice_status = '0',category_name = '通路訂單', category_id = '5' where ordernumber = 'S23110059779' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '325306', process_status = '2', pay_status = '1', totalprice_after = '1760', lunar_date = '2023-10-10', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110084588' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '348847', process_status = '2', pay_status = '1', totalprice_after = '2495', lunar_date = '2023-10-11', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110085188' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349000', process_status = '2', pay_status = '1', totalprice_after = '1299', lunar_date = '2023-10-12', invoice_status = '0',category_name = '免運專區活動', category_id = '27' where ordernumber = 'O23110090923' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349007', process_status = '2', pay_status = '1', totalprice_after = '635', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110091184' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349002', process_status = '2', pay_status = '1', totalprice_after = '1299', lunar_date = '2023-10-12', invoice_status = '0',category_name = '免運專區活動', category_id = '27' where ordernumber = 'O23110091283' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349005', process_status = '2', pay_status = '1', totalprice_after = '1299', lunar_date = '2023-10-12', invoice_status = '0',category_name = '免運專區活動', category_id = '27' where ordernumber = 'O23110091378' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349022', process_status = '2', pay_status = '1', totalprice_after = '5810', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110091450' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349035', process_status = '2', pay_status = '1', totalprice_after = '1660', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110091683' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349048', process_status = '2', pay_status = '1', totalprice_after = '2608', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110091740' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '348996', process_status = '2', pay_status = '1', totalprice_after = '899', lunar_date = '2023-10-12', invoice_status = '0',category_name = '免運專區活動', category_id = '27' where ordernumber = 'O23110091883' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2023-10-12', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S23110091985' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349054', process_status = '2', pay_status = '1', totalprice_after = '2920', lunar_date = '2023-10-12', invoice_status = '0',category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'S23110092156' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2023-10-12', invoice_status = '2',category_name = '公關訂單', category_id = '6' where ordernumber = 'S23110092245' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '450', lunar_date = '2023-10-12', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S23110092442' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '630', lunar_date = '2023-10-12', invoice_status = '2',category_name = 'line禮物', category_id = '38' where ordernumber = 'S23110092517' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349066', process_status = '2', pay_status = '1', totalprice_after = '1890', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110092625' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349069', process_status = '2', pay_status = '1', totalprice_after = '1299', lunar_date = '2023-10-12', invoice_status = '0',category_name = '免運專區活動', category_id = '27' where ordernumber = 'O23110092799' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349088', process_status = '6', pay_status = '0', totalprice_after = '10920', lunar_date = '2023-10-12', invoice_status = '0',category_name = '迪化門市訂單', category_id = '43' where ordernumber = 'S23110092852' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '7', totalprice_after = '0', lunar_date = '2023-10-12', invoice_status = '0',category_name = '公關訂單', category_id = '6' where ordernumber = 'S23110092960' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349090', process_status = '2', pay_status = '1', totalprice_after = '1299', lunar_date = '2023-10-12', invoice_status = '0',category_name = '免運專區活動', category_id = '27' where ordernumber = 'O23110093045' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349102', process_status = '2', pay_status = '1', totalprice_after = '960', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093147' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '108242', process_status = '2', pay_status = '1', totalprice_after = '870', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093277' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349136', process_status = '2', pay_status = '1', totalprice_after = '570', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093362' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349141', process_status = '2', pay_status = '1', totalprice_after = '11870', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093469' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349144', process_status = '2', pay_status = '1', totalprice_after = '600', lunar_date = '2023-10-12', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093588' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349149', process_status = '2', pay_status = '1', totalprice_after = '630', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093642' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349197', process_status = '2', pay_status = '1', totalprice_after = '2450', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093715' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349231', process_status = '2', pay_status = '1', totalprice_after = '1240', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093871' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '349235', process_status = '2', pay_status = '1', totalprice_after = '1620', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110093939' 2023-11-27 10:47:49 -- == update lake.omo_order_list == update omo_order_list set userId = '325687', process_status = '2', pay_status = '1', totalprice_after = '1010', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110094199' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '269990', process_status = '2', pay_status = '1', totalprice_after = '1010', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110094217' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349336', process_status = '2', pay_status = '1', totalprice_after = '980', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110094487' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '348588', process_status = '2', pay_status = '1', totalprice_after = '1150', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110094649' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '211014', process_status = '2', pay_status = '1', totalprice_after = '10042', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110094888' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '303234', process_status = '2', pay_status = '1', totalprice_after = '1965', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110094988' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349353', process_status = '2', pay_status = '1', totalprice_after = '1275', lunar_date = '2023-10-13', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095041' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349370', process_status = '2', pay_status = '1', totalprice_after = '1285', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095325' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '348517', process_status = '2', pay_status = '1', totalprice_after = '620', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095480' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '311581', process_status = '2', pay_status = '1', totalprice_after = '740', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095539' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349400', process_status = '2', pay_status = '1', totalprice_after = '5970', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095676' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349372', process_status = '2', pay_status = '1', totalprice_after = '1565', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095766' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '82071', process_status = '2', pay_status = '1', totalprice_after = '2405', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095863' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '289475', process_status = '2', pay_status = '1', totalprice_after = '740', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110095918' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349431', process_status = '2', pay_status = '1', totalprice_after = '2360', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096042' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349511', process_status = '2', pay_status = '1', totalprice_after = '1110', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096267' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349500', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096398' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349521', process_status = '2', pay_status = '1', totalprice_after = '2510', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096425' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349523', process_status = '2', pay_status = '1', totalprice_after = '975', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096519' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349524', process_status = '2', pay_status = '1', totalprice_after = '710', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096695' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349527', process_status = '2', pay_status = '1', totalprice_after = '1080', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096756' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '69093', process_status = '2', pay_status = '1', totalprice_after = '2570', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096823' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '348611', process_status = '2', pay_status = '1', totalprice_after = '21660', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110096980' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349530', process_status = '2', pay_status = '1', totalprice_after = '450', lunar_date = '2023-10-14', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110097018' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349533', process_status = '1', pay_status = '1', totalprice_after = '1220', lunar_date = '2023-10-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110097218' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '143218', process_status = '1', pay_status = '1', totalprice_after = '1490', lunar_date = '2023-10-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110097339' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349539', process_status = '1', pay_status = '1', totalprice_after = '380', lunar_date = '2023-10-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110097417' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '1', pay_status = '0', totalprice_after = '216000', lunar_date = '2023-10-15', invoice_status = '0',category_name = '境外訂單', category_id = '18' where ordernumber = 'S23110097524' 2023-11-27 10:47:50 -- == update lake.omo_order_list == update omo_order_list set userId = '349542', process_status = '1', pay_status = '1', totalprice_after = '1200', lunar_date = '2023-10-15', invoice_status = '0',category_name = '', category_id = '' where ordernumber = 'O23110097655' 2023-11-27 10:47:50 -- == 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 ('312368','349545',1,'','','O23110097786','1','2','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1930','302','新竹縣','竹北市','302','新竹縣','竹北市','2050','2023-11-27 09:54:33','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('210061','206364',1,'免運專區活動','27','O23110097858','1','2','1','1','1','','','0','2023-11-28','0','0','0','','0','0','999','112','台北市','北投區','112','台北市','北投區','999','2023-11-27 10:25:46','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311959','349137',1,'免運專區活動','27','O23110097998','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','2598','511','彰化縣','社頭鄉','511','彰化縣','社頭鄉','2598','2023-11-27 10:26:15','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311964','349142',1,'免運專區活動','27','O23110098085','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1329','220','新北市','板橋區','220','新北市','板橋區','1329','2023-11-27 10:26:37','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311918','349096',1,'免運專區活動','27','O23110098113','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','516','彰化縣','埔鹽鄉','516','彰化縣','埔鹽鄉','1299','2023-11-27 10:26:57','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311977','349154',1,'免運專區活動','27','O23110098279','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','4188','333','桃園市','龜山區','333','桃園市','龜山區','4188','2023-11-27 10:27:21','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312134','349311',1,'免運專區活動','27','O23110098368','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','899','242','新北市','新莊區','242','新北市','新莊區','899','2023-11-27 10:27:43','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('276442','314018',1,'免運專區活動','27','O23110098450','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','999','631','雲林縣','大埤鄉','631','雲林縣','大埤鄉','999','2023-11-27 10:28:03','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312148','349325',1,'免運專區活動','27','O23110098568','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','704','台南市','北區','704','台南市','北區','1299','2023-11-27 10:28:25','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312041','349218',1,'免運專區活動','27','O23110098662','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','802','高雄市','苓雅區','242','新北市','新莊區','1299','2023-11-27 10:28:46','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312179','349356',1,'免運專區活動','27','O23110098792','1','2','1','1','1','','','0','2023-11-28','0','0','0','','0','0','2598','231','新北市','新店區','231','新北市','新店區','2598','2023-11-27 10:29:09','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('221650','239590',1,'免運專區活動','27','O23110098892','1','1','1','1','1','78963987','財團法人成大研究發展基金會','0','2023-11-28','0','0','0','','0','0','899','701','台南市','東區','701','台南市','東區','899','2023-11-27 10:29:29','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312189','349366',1,'免運專區活動','27','O23110098962','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','899','621','嘉義縣','民雄鄉','621','嘉義縣','民雄鄉','899','2023-11-27 10:29:51','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312191','349368',1,'免運專區活動','27','O23110099033','1','1','1','1','1','24623196','八田與醫有限公司','0','2023-11-28','0','0','0','','0','0','1329','508','彰化縣','和美鎮','508','彰化縣','和美鎮','1329','2023-11-27 10:30:13','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('238370','269692',1,'免運專區活動','27','O23110099130','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','231','新北市','新店區','231','新北市','新店區','1299','2023-11-27 10:30:34','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('131786','100229',1,'免運專區活動','27','O23110099210','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','435','台中市','梧棲區','435','台中市','梧棲區','1299','2023-11-27 10:30:59','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312251','349427',1,'免運專區活動','27','O23110099338','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','999','616','嘉義縣','新港鄉','503','彰化縣','花壇鄉','999','2023-11-27 10:32:22','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('287211','324692',1,'免運專區活動','27','O23110099487','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','2598','408','台中市','南屯區','811','高雄市','楠梓區','2598','2023-11-27 10:32:49','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312227','349404',1,'','','O23110099568','1','1','1','0','0','','','0','0000-00-00','0','0','0','','150','30','1000','726','台南市','學甲區','726','台南市','學甲區','1120','2023-11-27 10:32:57','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('248392','281840',1,'免運專區活動','27','O23110099669','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','3897','701','台南市','東區','701','台南市','東區','3897','2023-11-27 10:33:10','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('26358','176793',1,'免運專區活動','27','O23110099773','1','1','1','1','1','','','0','2023-12-08','0','0','0','','0','0','2198','970','花蓮縣','花蓮市','970','花蓮縣','花蓮市','2198','2023-11-27 10:34:39','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311648','348831',1,'免運專區活動','27','O23110099820','1','2','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','814','高雄市','仁武區','814','高雄市','仁武區','1299','2023-11-27 10:36:56','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('307719','344948',1,'免運專區活動','27','O23110099917','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','231','新北市','新店區','231','新北市','新店區','1299','2023-11-27 10:37:14','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('223037','243747',1,'免運專區活動','27','O23110100015','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','4188','813','高雄市','左營區','813','高雄市','左營區','4188','2023-11-27 10:37:32','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('312129','349306',1,'免運專區活動','27','O23110100173','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','999','203','基隆市','中山區','203','基隆市','中山區','999','2023-11-27 10:37:48','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311905','349084',1,'免運專區活動','27','O23110100224','1','1','1','1','1','','','0','2023-11-28','0','0','0','','0','0','1299','300','新竹市','東區','300','新竹市','東區','1299','2023-11-27 10:40:46','2023-10-15') 2023-11-27 10:47:50 -- == 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 ('311910','349088',1,'迪化門市訂單','43','S23110092852RB','1','2','12','0','0','','','0','2023-11-29','0','0','0','','0','680','11600','238','新北市','樹林區','238','新北市','樹林區','10920','2023-11-27 10:47:41','2023-10-15') 2023-11-27 10:47:50 -- == sync_order end == 2023-11-27 10:47:50 -- == sync_order_detail start == 2023-11-27 10:47:50 -- start:2023-11-27,end:2023-11-27 2023-11-27 10:47:50 -- == sync omo_order_detail == 2023-11-27 10:47:50 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2023-11-27%' OR modify_date like '2023-11-27%' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110043484' and product_code = 'DG010399-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213143',`firm_id` = '8',`ordernumber` = 'O23110043484', `product_name` = '游魚轉心瓶8結蛋捲茶禮盒【國立故宮博物院】',`product_code` = 'DG010399-01',`product_sn` = 'DG010399',`product_spec` = '原味蛋捲,阿里山金萱',`invoice_name` = '禮盒-故宮(文物款)【原味+阿里山金萱】',`listprice` = '1350',`sellingprice` = '1350',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1350',`etd` = '2023-11-28',`create_date` = '2023-11-12 20:22:59',`modify_date` = '2023-11-27 09:54:43',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-09-29'where ordernumber = 'O23110043484' and product_code = 'DG010399-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110059779' and product_code = 'DG010113-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213312',`firm_id` = '8',`ordernumber` = 'S23110059779', `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` = '2816',`total_price` = '633600',`etd` = '2023-11-22',`create_date` = '2023-11-16 15:51:49',`modify_date` = '2023-11-27 10:07:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-04'where ordernumber = 'S23110059779' and product_code = 'DG010113-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110059779' and product_code = 'DG010113-05' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213312',`firm_id` = '8',`ordernumber` = 'S23110059779', `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` = '1920',`total_price` = '432000',`etd` = '2023-11-22',`create_date` = '2023-11-16 15:51:49',`modify_date` = '2023-11-27 10:07:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-04'where ordernumber = 'S23110059779' and product_code = 'DG010113-05' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110059779' and product_code = 'DG010104-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213312',`firm_id` = '8',`ordernumber` = 'S23110059779', `product_name` = '單盒 - 三星蔥蛋捲 (32入/盒)',`product_code` = 'DG010104-01',`product_sn` = 'DG010104',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '32入三星蔥蛋捲',`listprice` = '240',`sellingprice` = '240',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '896',`total_price` = '215040',`etd` = '2023-11-22',`create_date` = '2023-11-16 15:51:49',`modify_date` = '2023-11-27 10:07:59',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-04'where ordernumber = 'S23110059779' and product_code = 'DG010104-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110090923' and product_code = 'DG010533-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213630',`firm_id` = '12',`ordernumber` = 'O23110090923', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-27',`create_date` = '2023-11-24 10:11:07',`modify_date` = '2023-11-27 08:16:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-12'where ordernumber = 'O23110090923' and product_code = 'DG010533-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110095480' and product_code = 'DG0103155-12' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213675',`firm_id` = '8',`ordernumber` = 'O23110095480', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-12',`product_sn` = 'DG0103155',`product_spec` = '咖啡蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【咖啡+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2023-11-28',`create_date` = '2023-11-26 09:13:34',`modify_date` = '2023-11-27 09:46:53',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-14'where ordernumber = 'O23110095480' and product_code = 'DG0103155-12' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097218' and product_code = 'DG010540-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213693',`firm_id` = '8',`ordernumber` = 'O23110097218', `product_name` = '宜蘭三星蔥蛋捲x2入組',`product_code` = 'DG010540-01',`product_sn` = 'DG010540',`product_spec` = '32入三星蔥蛋捲+32入三星蔥蛋捲',`invoice_name` = '三星蔥蛋捲x2',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2023-11-29',`create_date` = '2023-11-27 00:35:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097218' and product_code = 'DG010540-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097218' and product_code = 'DG010129-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213693',`firm_id` = '8',`ordernumber` = 'O23110097218', `product_name` = '【期間限定】皇家伯爵茶蛋捲',`product_code` = 'DG010129-01',`product_sn` = 'DG010129',`product_spec` = '32入伯爵茶',`invoice_name` = '32入伯爵茶',`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` = '2023-11-29',`create_date` = '2023-11-27 00:35:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097218' and product_code = 'DG010129-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097218' and product_code = 'DG010404-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213693',`firm_id` = '8',`ordernumber` = 'O23110097218', `product_name` = '[加購]紅色提袋',`product_code` = 'DG010404-01',`product_sn` = 'DG010404',`product_spec` = '-',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '1',`isbaby` = '0',`addprice` = '10',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '20',`etd` = '2023-11-29',`create_date` = '2023-11-27 00:35:40',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097218' and product_code = 'DG010404-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097339' and product_code = 'DG0103155-05' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213694',`firm_id` = '8',`ordernumber` = 'O23110097339', `product_name` = '【SNOOPY聯名】友你相伴-8結禮盒',`product_code` = 'DG0103155-05',`product_sn` = 'DG0103155',`product_spec` = '原味蛋捲,巧克力蛋捲',`invoice_name` = '禮盒-SNOOPY【原味+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2023-11-29',`create_date` = '2023-11-27 00:52:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097339' and product_code = 'DG0103155-05' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097339' and product_code = 'DG010101-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213694',`firm_id` = '8',`ordernumber` = 'O23110097339', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2023-11-29',`create_date` = '2023-11-27 00:52:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097339' and product_code = 'DG010101-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097339' and product_code = 'DG010101-05' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213694',`firm_id` = '8',`ordernumber` = 'O23110097339', `product_name` = '濃情巧克力蛋捲',`product_code` = 'DG010101-05',`product_sn` = 'DG010101',`product_spec` = '巧克力',`invoice_name` = '40入巧克力蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '2',`total_price` = '560',`etd` = '2023-11-29',`create_date` = '2023-11-27 00:52:44',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097339' and product_code = 'DG010101-05' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097417' and product_code = 'FL010102-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213695',`firm_id` = '8',`ordernumber` = 'O23110097417', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '金巧鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '260',`etd` = '2023-11-29',`create_date` = '2023-11-27 04:05:22',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097417' and product_code = 'FL010102-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `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` = '300',`total_price` = '67500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-02' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `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` = '300',`total_price` = '67500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-02' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-03' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `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` = '240',`total_price` = '54000',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-03' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-04' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `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` = '180',`total_price` = '40500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-04' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110097524' and product_code = 'DG010113-05' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213696',`firm_id` = '8',`ordernumber` = 'S23110097524', `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` = '180',`total_price` = '40500',`etd` = '2023-12-14',`create_date` = '2023-11-27 08:32:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'S23110097524' and product_code = 'DG010113-05' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097655' and product_code = 'DG010129-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213697',`firm_id` = '8',`ordernumber` = 'O23110097655', `product_name` = '【期間限定】皇家伯爵茶蛋捲',`product_code` = 'DG010129-01',`product_sn` = 'DG010129',`product_spec` = '32入伯爵茶',`invoice_name` = '32入伯爵茶',`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` = '2023-11-29',`create_date` = '2023-11-27 09:02:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097655' and product_code = 'DG010129-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097655' and product_code = 'DG010540-01' 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213697',`firm_id` = '8',`ordernumber` = 'O23110097655', `product_name` = '宜蘭三星蔥蛋捲x2入組',`product_code` = 'DG010540-01',`product_sn` = 'DG010540',`product_spec` = '32入三星蔥蛋捲+32入三星蔥蛋捲',`invoice_name` = '三星蔥蛋捲x2',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2023-11-29',`create_date` = '2023-11-27 09:02:00',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097655' and product_code = 'DG010540-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097786' and product_code = 'DG0103169-03' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213698','8','O23110097786','【皇家伯爵茶】金8結禮盒','DG0103169-03','DG0103169','咖啡+32入皇家伯爵茶蛋捲','禮盒-金8結【伯爵茶+咖啡】','555','555','0','0','0','0','1','0.0','1','555','2023-11-30','2023-11-27 09:54:33','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213698',`firm_id` = '8',`ordernumber` = 'O23110097786', `product_name` = '【皇家伯爵茶】金8結禮盒',`product_code` = 'DG0103169-03',`product_sn` = 'DG0103169',`product_spec` = '咖啡+32入皇家伯爵茶蛋捲',`invoice_name` = '禮盒-金8結【伯爵茶+咖啡】',`listprice` = '555',`sellingprice` = '555',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '555',`etd` = '2023-11-30',`create_date` = '2023-11-27 09:54:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097786' and product_code = 'DG0103169-03' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097786' and product_code = 'DG010101-01' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213698','8','O23110097786','經典原味蛋捲','DG010101-01','DG010101','原味','40入原味蛋捲','320','280','0','0','0','0','1','280.0','1','280','2023-11-30','2023-11-27 09:54:33','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213698',`firm_id` = '8',`ordernumber` = 'O23110097786', `product_name` = '經典原味蛋捲',`product_code` = 'DG010101-01',`product_sn` = 'DG010101',`product_spec` = '原味',`invoice_name` = '40入原味蛋捲',`listprice` = '320',`sellingprice` = '280',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '280.0',`amount` = '1',`total_price` = '280',`etd` = '2023-11-30',`create_date` = '2023-11-27 09:54:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097786' and product_code = 'DG010101-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097786' and product_code = 'LS010113-01' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213698','8','O23110097786','家庭分享包-乳酪絲','LS010113-01','LS010113','原味','分享包-原味乳酪絲(紅)袋裝','480','480','0','0','0','0','1','0.0','1','480','2023-11-30','2023-11-27 09:54:33','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213698',`firm_id` = '8',`ordernumber` = 'O23110097786', `product_name` = '家庭分享包-乳酪絲',`product_code` = 'LS010113-01',`product_sn` = 'LS010113',`product_spec` = '原味',`invoice_name` = '分享包-原味乳酪絲(紅)袋裝',`listprice` = '480',`sellingprice` = '480',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '480',`etd` = '2023-11-30',`create_date` = '2023-11-27 09:54:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097786' and product_code = 'LS010113-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097786' and product_code = 'LS010104-01' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213698','8','O23110097786','分享包-乳酪絲','LS010104-01','LS010104','45g原味乳酪絲','分享包-原味乳酪絲(藍)袋裝','160','160','0','0','0','0','1','0.0','2','320','2023-11-30','2023-11-27 09:54:33','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213698',`firm_id` = '8',`ordernumber` = 'O23110097786', `product_name` = '分享包-乳酪絲',`product_code` = 'LS010104-01',`product_sn` = 'LS010104',`product_spec` = '45g原味乳酪絲',`invoice_name` = '分享包-原味乳酪絲(藍)袋裝',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '320',`etd` = '2023-11-30',`create_date` = '2023-11-27 09:54:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097786' and product_code = 'LS010104-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097786' and product_code = 'DG010258-01' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213698','8','O23110097786','金豐收8結提盒','DG010258-01','DG010258','40入原味蛋捲','提盒-金豐收(藍)-40入原味','295','295','0','0','0','0','1','0.0','1','295','2023-11-30','2023-11-27 09:54:33','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213698',`firm_id` = '8',`ordernumber` = 'O23110097786', `product_name` = '金豐收8結提盒',`product_code` = 'DG010258-01',`product_sn` = 'DG010258',`product_spec` = '40入原味蛋捲',`invoice_name` = '提盒-金豐收(藍)-40入原味',`listprice` = '295',`sellingprice` = '295',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '295',`etd` = '2023-11-30',`create_date` = '2023-11-27 09:54:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097786' and product_code = 'DG010258-01' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097858' and product_code = 'DG010537-06' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213699','12','O23110097858','異國午茶組B','DG010537-06','DG010537','原味+芝麻+芝麻+6入成真咖啡+紅色提袋','組合-32入(原味+芝麻+芝麻)+成真咖啡+紅色提袋','999','999','0','1','0','0','1','0.0','1','999','2023-11-28','2023-11-27 10:25:46','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213699',`firm_id` = '12',`ordernumber` = 'O23110097858', `product_name` = '異國午茶組B',`product_code` = 'DG010537-06',`product_sn` = 'DG010537',`product_spec` = '原味+芝麻+芝麻+6入成真咖啡+紅色提袋',`invoice_name` = '組合-32入(原味+芝麻+芝麻)+成真咖啡+紅色提袋',`listprice` = '999',`sellingprice` = '999',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '999',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:25:46',`modify_date` = '2023-11-27 10:25:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097858' and product_code = 'DG010537-06' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110097998' and product_code = 'DG010533-04' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213700','12','O23110097998','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','2','2598','2023-11-28','2023-11-27 10:26:15','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213700',`firm_id` = '12',`ordernumber` = 'O23110097998', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2598',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:26:15',`modify_date` = '2023-11-27 10:26:15',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110097998' and product_code = 'DG010533-04' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098085' and product_code = 'DG010533-04' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213701','12','O23110098085','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:26:37','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213701',`firm_id` = '12',`ordernumber` = 'O23110098085', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:26:37',`modify_date` = '2023-11-27 10:26:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098085' and product_code = 'DG010533-04' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098085' and product_code = '03466' 2023-11-27 10:47:52 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213701','12','O23110098085','紅色提袋(免運專區用)','03466','03466','提袋/個','紅色提袋','10','10','0','1','0','0','1','0.0','3','30','2023-11-28','2023-11-27 10:26:37','2023-11-27 10:47:52',null,'1','2023-10-15') 2023-11-27 10:47:52 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213701',`firm_id` = '12',`ordernumber` = 'O23110098085', `product_name` = '紅色提袋(免運專區用)',`product_code` = '03466',`product_sn` = '03466',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:26:37',`modify_date` = '2023-11-27 10:26:37',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098085' and product_code = '03466' 2023-11-27 10:47:52 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098113' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213702','12','O23110098113','台灣友好組','DG010533-01','DG010533','32入三星蔥蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:26:57','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213702',`firm_id` = '12',`ordernumber` = 'O23110098113', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:26:57',`modify_date` = '2023-11-27 10:26:57',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098113' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098279' and product_code = '13007' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213703','12','O23110098279','國際漫遊組','13007','03956','芝麻x4+咖啡x4+海海','組合-32入(芝麻x4+咖啡x4+海海)+小王子行李箱','4188','4188','0','1','0','0','1','0.0','1','4188','2023-11-28','2023-11-27 10:27:21','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213703',`firm_id` = '12',`ordernumber` = 'O23110098279', `product_name` = '國際漫遊組',`product_code` = '13007',`product_sn` = '03956',`product_spec` = '芝麻x4+咖啡x4+海海',`invoice_name` = '組合-32入(芝麻x4+咖啡x4+海海)+小王子行李箱',`listprice` = '4188',`sellingprice` = '4188',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '4188',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:27:21',`modify_date` = '2023-11-27 10:27:21',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098279' and product_code = '13007' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098368' and product_code = 'DG010536-08' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213704','12','O23110098368','異國午茶組A','DG010536-08','DG010536','原味+芝麻+海苔+紅色提袋+蕎麥國寶茶','組合-32入(原味+芝麻+海苔)+蕎麥國寶茶+紅色提袋','899','899','0','1','0','0','1','0.0','1','899','2023-11-28','2023-11-27 10:27:43','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213704',`firm_id` = '12',`ordernumber` = 'O23110098368', `product_name` = '異國午茶組A',`product_code` = 'DG010536-08',`product_sn` = 'DG010536',`product_spec` = '原味+芝麻+海苔+紅色提袋+蕎麥國寶茶',`invoice_name` = '組合-32入(原味+芝麻+海苔)+蕎麥國寶茶+紅色提袋',`listprice` = '899',`sellingprice` = '899',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '899',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:27:43',`modify_date` = '2023-11-27 10:27:43',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098368' and product_code = 'DG010536-08' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098450' and product_code = 'DG010535-08' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213705','12','O23110098450','台法浪漫饗宴','DG010535-08','DG010535','三星蔥+三星蔥+三星蔥','組合-32入(三星蔥+三星蔥+三星蔥)+SNOOPY心意提袋','999','999','0','1','0','0','1','0.0','1','999','2023-11-28','2023-11-27 10:28:03','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213705',`firm_id` = '12',`ordernumber` = 'O23110098450', `product_name` = '台法浪漫饗宴',`product_code` = 'DG010535-08',`product_sn` = 'DG010535',`product_spec` = '三星蔥+三星蔥+三星蔥',`invoice_name` = '組合-32入(三星蔥+三星蔥+三星蔥)+SNOOPY心意提袋',`listprice` = '999',`sellingprice` = '999',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '999',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:28:03',`modify_date` = '2023-11-27 10:28:03',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098450' and product_code = 'DG010535-08' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098568' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213706','12','O23110098568','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:28:25','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213706',`firm_id` = '12',`ordernumber` = 'O23110098568', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:28:25',`modify_date` = '2023-11-27 10:28:25',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098568' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098662' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213707','12','O23110098662','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:28:46','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213707',`firm_id` = '12',`ordernumber` = 'O23110098662', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:28:46',`modify_date` = '2023-11-27 10:28:46',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098662' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098792' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213708','12','O23110098792','台灣友好組','DG010533-01','DG010533','32入三星蔥蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)','1299','1299','0','1','0','0','1','0.0','2','2598','2023-11-28','2023-11-27 10:29:09','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213708',`firm_id` = '12',`ordernumber` = 'O23110098792', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2598',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:29:09',`modify_date` = '2023-11-27 10:29:09',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098792' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098892' and product_code = 'DG010536-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213709','12','O23110098892','異國午茶組A','DG010536-01','DG010536','原味+原味+原味+紅色提袋+蕎麥國寶茶','組合-32入(原味+原味+原味)+蕎麥國寶茶+紅色提袋','899','899','0','1','0','0','1','0.0','1','899','2023-11-28','2023-11-27 10:29:29','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213709',`firm_id` = '12',`ordernumber` = 'O23110098892', `product_name` = '異國午茶組A',`product_code` = 'DG010536-01',`product_sn` = 'DG010536',`product_spec` = '原味+原味+原味+紅色提袋+蕎麥國寶茶',`invoice_name` = '組合-32入(原味+原味+原味)+蕎麥國寶茶+紅色提袋',`listprice` = '899',`sellingprice` = '899',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '899',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:29:29',`modify_date` = '2023-11-27 10:29:29',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098892' and product_code = 'DG010536-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110098962' and product_code = 'DG010536-05' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213710','12','O23110098962','異國午茶組A','DG010536-05','DG010536','原味+原味+巧克力+紅色提袋+蕎麥國寶茶','組合-32入(原味+原味+巧克力)+蕎麥國寶茶+紅色提袋','899','899','0','1','0','0','1','0.0','1','899','2023-11-28','2023-11-27 10:29:51','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213710',`firm_id` = '12',`ordernumber` = 'O23110098962', `product_name` = '異國午茶組A',`product_code` = 'DG010536-05',`product_sn` = 'DG010536',`product_spec` = '原味+原味+巧克力+紅色提袋+蕎麥國寶茶',`invoice_name` = '組合-32入(原味+原味+巧克力)+蕎麥國寶茶+紅色提袋',`listprice` = '899',`sellingprice` = '899',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '899',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:29:51',`modify_date` = '2023-11-27 10:29:51',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110098962' and product_code = 'DG010536-05' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099033' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213711','12','O23110099033','台灣友好組','DG010533-01','DG010533','32入三星蔥蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:30:13','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213711',`firm_id` = '12',`ordernumber` = 'O23110099033', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:30:13',`modify_date` = '2023-11-27 10:30:13',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099033' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099033' and product_code = '03466' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213711','12','O23110099033','紅色提袋(免運專區用)','03466','03466','提袋/個','紅色提袋','10','10','0','1','0','0','1','0.0','3','30','2023-11-28','2023-11-27 10:30:13','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213711',`firm_id` = '12',`ordernumber` = 'O23110099033', `product_name` = '紅色提袋(免運專區用)',`product_code` = '03466',`product_sn` = '03466',`product_spec` = '提袋/個',`invoice_name` = '紅色提袋',`listprice` = '10',`sellingprice` = '10',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '3',`total_price` = '30',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:30:13',`modify_date` = '2023-11-27 10:30:13',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099033' and product_code = '03466' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099130' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213712','12','O23110099130','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:30:34','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213712',`firm_id` = '12',`ordernumber` = 'O23110099130', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:30:34',`modify_date` = '2023-11-27 10:30:34',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099130' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099210' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213713','12','O23110099210','台灣友好組','DG010533-01','DG010533','32入三星蔥蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:30:59','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213713',`firm_id` = '12',`ordernumber` = 'O23110099210', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:30:59',`modify_date` = '2023-11-27 10:31:59',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099210' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099338' and product_code = 'DG010535-08' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213714','12','O23110099338','台法浪漫饗宴','DG010535-08','DG010535','三星蔥+三星蔥+三星蔥','組合-32入(三星蔥+三星蔥+三星蔥)+SNOOPY心意提袋','999','999','0','1','0','0','1','0.0','1','999','2023-11-28','2023-11-27 10:32:22','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213714',`firm_id` = '12',`ordernumber` = 'O23110099338', `product_name` = '台法浪漫饗宴',`product_code` = 'DG010535-08',`product_sn` = 'DG010535',`product_spec` = '三星蔥+三星蔥+三星蔥',`invoice_name` = '組合-32入(三星蔥+三星蔥+三星蔥)+SNOOPY心意提袋',`listprice` = '999',`sellingprice` = '999',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '999',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:32:22',`modify_date` = '2023-11-27 10:32:22',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099338' and product_code = 'DG010535-08' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099487' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213715','12','O23110099487','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','2','2598','2023-11-28','2023-11-27 10:32:49','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213715',`firm_id` = '12',`ordernumber` = 'O23110099487', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2598',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:32:49',`modify_date` = '2023-11-27 10:32:49',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099487' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099568' and product_code = '13656' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213716','8','O23110099568','8結蛋捲【紅提袋裝】','13656','13656','40入原味蛋捲','組合-40入原味+紅提袋','290','290','0','0','0','0','1','0.0','2','580','2023-11-29','2023-11-27 10:32:57','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213716',`firm_id` = '8',`ordernumber` = 'O23110099568', `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` = '2023-11-29',`create_date` = '2023-11-27 10:32:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099568' and product_code = '13656' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099568' and product_code = 'FL010102-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213716','8','O23110099568','一口鳳梨酥','FL010102-01','FL010102','8入鳳梨酥','金巧鳳梨酥','130','130','0','0','0','0','1','130.0','2','260','2023-11-29','2023-11-27 10:32:57','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213716',`firm_id` = '8',`ordernumber` = 'O23110099568', `product_name` = '一口鳳梨酥',`product_code` = 'FL010102-01',`product_sn` = 'FL010102',`product_spec` = '8入鳳梨酥',`invoice_name` = '金巧鳳梨酥',`listprice` = '130',`sellingprice` = '130',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '130.0',`amount` = '2',`total_price` = '260',`etd` = '2023-11-29',`create_date` = '2023-11-27 10:32:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099568' and product_code = 'FL010102-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099568' and product_code = 'FL010101-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213716','8','O23110099568','一口鳳梅酥','FL010101-01','FL010101','8入鳳梅酥盒裝','金巧鳳梅酥','160','160','0','0','0','0','1','160.0','1','160','2023-11-29','2023-11-27 10:32:57','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213716',`firm_id` = '8',`ordernumber` = 'O23110099568', `product_name` = '一口鳳梅酥',`product_code` = 'FL010101-01',`product_sn` = 'FL010101',`product_spec` = '8入鳳梅酥盒裝',`invoice_name` = '金巧鳳梅酥',`listprice` = '160',`sellingprice` = '160',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '160.0',`amount` = '1',`total_price` = '160',`etd` = '2023-11-29',`create_date` = '2023-11-27 10:32:57',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099568' and product_code = 'FL010101-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099669' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213717','12','O23110099669','台灣友好組','DG010533-01','DG010533','32入三星蔥蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)','1299','1299','0','1','0','0','1','0.0','2','2598','2023-11-28','2023-11-27 10:33:10','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213717',`firm_id` = '12',`ordernumber` = 'O23110099669', `product_name` = '台灣友好組',`product_code` = 'DG010533-01',`product_sn` = 'DG010533',`product_spec` = '32入三星蔥蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+三星蔥)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '2',`total_price` = '2598',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:33:10',`modify_date` = '2023-11-27 10:33:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099669' and product_code = 'DG010533-01' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099669' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213717','12','O23110099669','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:33:10','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213717',`firm_id` = '12',`ordernumber` = 'O23110099669', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:33:10',`modify_date` = '2023-11-27 10:33:10',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099669' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099773' and product_code = 'DG010536-35' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213718','12','O23110099773','異國午茶組A','DG010536-35','DG010536','巧克力+巧克力+巧克力+紅色提袋+蕎麥國寶茶','組合-32入(巧克力+巧克力+巧克力)+蕎麥國寶茶+紅色提袋','899','899','0','1','0','0','1','0.0','1','899','2023-12-08','2023-11-27 10:34:39','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213718',`firm_id` = '12',`ordernumber` = 'O23110099773', `product_name` = '異國午茶組A',`product_code` = 'DG010536-35',`product_sn` = 'DG010536',`product_spec` = '巧克力+巧克力+巧克力+紅色提袋+蕎麥國寶茶',`invoice_name` = '組合-32入(巧克力+巧克力+巧克力)+蕎麥國寶茶+紅色提袋',`listprice` = '899',`sellingprice` = '899',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '899',`etd` = '2023-12-08',`create_date` = '2023-11-27 10:34:39',`modify_date` = '2023-11-27 10:36:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099773' and product_code = 'DG010536-35' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099773' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213718','12','O23110099773','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-12-08','2023-11-27 10:34:39','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213718',`firm_id` = '12',`ordernumber` = 'O23110099773', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-12-08',`create_date` = '2023-11-27 10:34:39',`modify_date` = '2023-11-27 10:36:24',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099773' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099820' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213719','12','O23110099820','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:36:56','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213719',`firm_id` = '12',`ordernumber` = 'O23110099820', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:36:56',`modify_date` = '2023-11-27 10:36:56',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099820' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110099917' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213720','12','O23110099917','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:37:14','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213720',`firm_id` = '12',`ordernumber` = 'O23110099917', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:37:14',`modify_date` = '2023-11-27 10:37:14',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110099917' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110100015' and product_code = '13018' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213721','12','O23110100015','國際漫遊組','13018','03956','芝麻x4+巧巧+咖咖+海海','組合-32入(芝麻x4+巧巧+咖咖+海海)+小王子行李箱','4188','4188','0','1','0','0','1','0.0','1','4188','2023-11-28','2023-11-27 10:37:32','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213721',`firm_id` = '12',`ordernumber` = 'O23110100015', `product_name` = '國際漫遊組',`product_code` = '13018',`product_sn` = '03956',`product_spec` = '芝麻x4+巧巧+咖咖+海海',`invoice_name` = '組合-32入(芝麻x4+巧巧+咖咖+海海)+小王子行李箱',`listprice` = '4188',`sellingprice` = '4188',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '4188',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:37:32',`modify_date` = '2023-11-27 10:37:32',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110100015' and product_code = '13018' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110100173' and product_code = 'DG010535-08' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213722','12','O23110100173','台法浪漫饗宴','DG010535-08','DG010535','三星蔥+三星蔥+三星蔥','組合-32入(三星蔥+三星蔥+三星蔥)+SNOOPY心意提袋','999','999','0','1','0','0','1','0.0','1','999','2023-11-28','2023-11-27 10:37:48','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213722',`firm_id` = '12',`ordernumber` = 'O23110100173', `product_name` = '台法浪漫饗宴',`product_code` = 'DG010535-08',`product_sn` = 'DG010535',`product_spec` = '三星蔥+三星蔥+三星蔥',`invoice_name` = '組合-32入(三星蔥+三星蔥+三星蔥)+SNOOPY心意提袋',`listprice` = '999',`sellingprice` = '999',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '999',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:37:48',`modify_date` = '2023-11-27 10:40:07',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110100173' and product_code = 'DG010535-08' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'O23110100224' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213723','12','O23110100224','台灣友好組','DG010533-04','DG010533','32入楓糖鬆餅蛋捲','組合-32入(原味+芝麻+咖啡+巧克力+楓糖)','1299','1299','0','1','0','0','1','0.0','1','1299','2023-11-28','2023-11-27 10:40:46','2023-11-27 10:47:53',null,'1','2023-10-15') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213723',`firm_id` = '12',`ordernumber` = 'O23110100224', `product_name` = '台灣友好組',`product_code` = 'DG010533-04',`product_sn` = 'DG010533',`product_spec` = '32入楓糖鬆餅蛋捲',`invoice_name` = '組合-32入(原味+芝麻+咖啡+巧克力+楓糖)',`listprice` = '1299',`sellingprice` = '1299',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '1299',`etd` = '2023-11-28',`create_date` = '2023-11-27 10:40:46',`modify_date` = '2023-11-27 10:41:47',`points_use_id` = null,`item_status` = '1', `lunar_date` = '2023-10-15'where ordernumber = 'O23110100224' and product_code = 'DG010533-04' 2023-11-27 10:47:53 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'S23110092852RB' and product_code = 'DG0103119-01' 2023-11-27 10:47:53 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`,`channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'213724','8','S23110092852RB','經典原味蛋捲','DG0103119-01','DG010101','單盒+提袋','組合-40入原味+紅提袋','330','290','0','0','0','0','1','0.0','40','11600','2023-11-29','2023-11-24 16:29:18','2023-11-27 10:47:53',0,'1','2023-10-12') 2023-11-27 10:47:53 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '213724',`firm_id` = '8',`ordernumber` = 'S23110092852RB', `product_name` = '經典原味蛋捲',`product_code` = 'DG0103119-01',`product_sn` = 'DG010101',`product_spec` = '單盒+提袋',`invoice_name` = '組合-40入原味+紅提袋',`listprice` = '330',`sellingprice` = '290',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '40',`total_price` = '11600',`etd` = '2023-11-29',`create_date` = '2023-11-24 16:29:18',`modify_date` = '2023-11-27 10:47:41',`points_use_id` = 0,`item_status` = '1', `lunar_date` = '2023-10-12'where ordernumber = 'S23110092852RB' and product_code = 'DG0103119-01' 2023-11-27 10:47:53 -- == sync_order_detail end == 2023-11-27 10:47:53 -- == sync_order start == 2023-11-27 10:47:53 -- start:2023-11-27,end:2023-11-27 2023-11-27 10:47:53 -- == 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 '2023-11-27%' OR l.modify_date like '2023-11-27%'; 2023-11-27 10:47:54 -- == sync omo_order_list == 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '338771', process_status = '2', pay_status = '1', totalprice_after = '17100', lunar_date = '2023-10-02', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M23110016682' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '346860', process_status = '3', pay_status = '1', totalprice_after = '710', lunar_date = '2023-10-02', invoice_status = '1', category_name = 'LINE@訂單', category_id = '9' where ordernumber = 'M23110017034' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '16595', lunar_date = '2023-10-04', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M23110019326' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '347873', process_status = '1', pay_status = '1', totalprice_after = '26715', lunar_date = '2023-10-09', invoice_status = '0', category_name = 'FB訂單,正式彌', category_id = '10,1' where ordernumber = 'B23110021411RB2' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '198301', process_status = '2', pay_status = '1', totalprice_after = '1000', lunar_date = '2023-10-12', invoice_status = '0', category_name = '彌月試吃,FB訂單', category_id = '2,10' where ordernumber = 'M23110031129' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '500', lunar_date = '2023-10-15', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B23110031431' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '349111', process_status = '2', pay_status = '1', totalprice_after = '1000', lunar_date = '2023-10-15', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B23110031554' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '0', process_status = '2', pay_status = '1', totalprice_after = '300', lunar_date = '2023-10-15', invoice_status = '0', category_name = '彌月試吃', category_id = '2' where ordernumber = 'B23110031613' 2023-11-27 10:47:54 -- == update lake.omo_order_list == update omo_order_list set userId = '91191', process_status = '6', pay_status = '0', totalprice_after = '80', lunar_date = '2023-10-15', invoice_status = '0', category_name = '正式彌,LINE@訂單', category_id = '1,9' where ordernumber = 'M23110031781' 2023-11-27 10:47:54 -- == 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 ('72449','349360',2,'','','B23110031873','1','1','1','1','1','','','0','2023-12-06','795','0','0','','0','30','16678','807','高雄市','三民區','807','高雄市','三民區','15853','2023-11-27 09:46:06','2023-10-15') 2023-11-27 10:47:54 -- == 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 ('72130','91191',2,'正式彌,LINE@訂單','1,9','M23110031781RB','1','1','1','1','1','','','0','2023-12-05','0','0','0','','0','0','80','237','新北市','三峽區','237','新北市','三峽區','80','2023-11-27 09:49:11','2023-10-15') 2023-11-27 10:47:54 -- == 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 ('72636','349546',2,'彌月試吃,LINE@訂單','2,9','M23110031937','1','6','6','8','8','','','0','2023-11-30','0','200','0','','0','0','1000','402','台中市','南區','402','台中市','南區','800','2023-11-27 10:08:37','2023-10-15') 2023-11-27 10:47:54 -- == sync_order end == 2023-11-27 10:47:54 -- == sync_order_detail start == 2023-11-27 10:47:54 -- start:2023-11-27,end:2023-11-27 2023-11-27 10:47:54 -- == sync omo_order_detail == 2023-11-27 10:47:54 -- == SELECT order_detail == SELECT * from order_detail WHERE create_date like '2023-11-27%' OR modify_date like '2023-11-27%' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110017034' and product_code = '40009' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29084',`firm_id` = '8',`ordernumber` = 'M23110017034', `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` = '7',`total_price` = '560',`etd` = '2023-11-24',`create_date` = '2023-11-14 12:18:31',`modify_date` = '2023-11-27 09:28:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110017034' and product_code = '40009', `lunar_date` = '2023-10-02' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110017034' and product_code = '40000' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29084',`firm_id` = '8',`ordernumber` = 'M23110017034', `product_name` = '運費',`product_code` = '40000',`product_sn` = '40000',`product_spec` = '150運費',`invoice_name` = '150運費',`listprice` = '150',`sellingprice` = '150',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '1',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '150',`etd` = '2023-11-24',`create_date` = '2023-11-14 12:18:31',`modify_date` = '2023-11-27 09:28:01',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110017034' and product_code = '40000', `lunar_date` = '2023-10-02' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110021411RB2' and product_code = 'DG010213-01' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29179',`firm_id` = '8',`ordernumber` = 'B23110021411RB2', `product_name` = '8結彌月提盒-香頌日光',`product_code` = 'DG010213-01',`product_sn` = 'DG010213',`product_spec` = '原味',`invoice_name` = '提盒-彌月香頌日光-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '93',`total_price` = '27900',`etd` = '2023-11-30',`create_date` = '2023-11-17 15:23:50',`modify_date` = '2023-11-27 10:16:32',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110021411RB2' and product_code = 'DG010213-01', `lunar_date` = '2023-10-05' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110021411RB2' and product_code = 'ZP010133-01' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29179',`firm_id` = '8',`ordernumber` = 'B23110021411RB2', `product_name` = '贈品-recolte花灑萃取咖啡機(顏色隨機)',`product_code` = 'ZP010133-01',`product_sn` = 'ZP010133',`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` = '1',`total_price` = '0',`etd` = '2023-11-30',`create_date` = '2023-11-17 15:23:50',`modify_date` = '2023-11-27 10:16:32',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110021411RB2' and product_code = 'ZP010133-01', `lunar_date` = '2023-10-05' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110021411RB2' and product_code = '40009' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29179',`firm_id` = '8',`ordernumber` = 'B23110021411RB2', `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` = '2023-11-30',`create_date` = '2023-11-17 15:35:33',`modify_date` = '2023-11-27 10:16:32',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110021411RB2' and product_code = '40009', `lunar_date` = '2023-10-05' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031431' and product_code = 'DG0103145-05' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29241',`firm_id` = '11',`ordernumber` = 'B23110031431', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-05',`product_sn` = 'DG0103145',`product_spec` = '原味+巧克力',`invoice_name` = '禮盒-彌月小王子(紅)【原味+巧克力】(試吃)',`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` = '2023-11-28',`create_date` = '2023-11-27 09:09:57',`modify_date` = '2023-11-27 09:09:57',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031431' and product_code = 'DG0103145-05', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031554' and product_code = 'DG0103147-15' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29242',`firm_id` = '11',`ordernumber` = 'B23110031554', `product_name` = '彌月試吃禮盒-都會LUCK',`product_code` = 'DG0103147-15',`product_sn` = 'DG0103147',`product_spec` = '巧克力+巧克力',`invoice_name` = '禮盒-彌月都會LUCK【巧克力+巧克力】(試吃)',`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` = '2023-11-28',`create_date` = '2023-11-27 09:10:35',`modify_date` = '2023-11-27 09:10:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031554' and product_code = 'DG0103147-15', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031554' and product_code = 'DG0103157-10' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29242',`firm_id` = '11',`ordernumber` = 'B23110031554', `product_name` = '【SNOOPY聯名】友你相伴-8結彌月禮盒(試吃)',`product_code` = 'DG0103157-10',`product_sn` = 'DG0103157',`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` = '2023-11-28',`create_date` = '2023-11-27 09:10:35',`modify_date` = '2023-11-27 09:10:35',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031554' and product_code = 'DG0103157-10', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031613' and product_code = 'DG010243-02' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29243',`firm_id` = '11',`ordernumber` = 'B23110031613', `product_name` = '彌月試吃提盒-年輪',`product_code` = 'DG010243-02',`product_sn` = 'DG010243',`product_spec` = '芝麻',`invoice_name` = '提盒-彌月年輪-40入芝麻(試吃)',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '300.0',`amount` = '1',`total_price` = '300',`etd` = '2023-11-28',`create_date` = '2023-11-27 09:10:48',`modify_date` = '2023-11-27 09:10:48',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031613' and product_code = 'DG010243-02', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110031781' and product_code = 'DG010383-09' 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29244',`firm_id` = '8',`ordernumber` = 'M23110031781', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒',`product_code` = 'DG010383-09',`product_sn` = 'DG010383',`product_spec` = '芝麻+巧克力',`invoice_name` = '禮盒-小王子(紅)【芝麻+巧克力】',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '0',`total_price` = '0',`etd` = '2023-12-05',`create_date` = '2023-11-27 09:20:48',`modify_date` = '2023-11-27 09:48:33',`points_use_id` = null,`item_status` = '0' where ordernumber = 'M23110031781' and product_code = 'DG010383-09', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031873' and product_code = 'DG010203-01' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29245','8','B23110031873','【小王子聯名】閃耀星空8結彌月提盒','DG010203-01','DG010203','原味','提盒-小王子(藍)-40入原味','300','300','0','1','0','0','1','0.0','24','7200','2023-12-06','2023-11-27 09:46:06','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29245',`firm_id` = '8',`ordernumber` = 'B23110031873', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-01',`product_sn` = 'DG010203',`product_spec` = '原味',`invoice_name` = '提盒-小王子(藍)-40入原味',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '24',`total_price` = '7200',`etd` = '2023-12-06',`create_date` = '2023-11-27 09:46:06',`modify_date` = '2023-11-27 10:38:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031873' and product_code = 'DG010203-01', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031873' and product_code = 'DG010203-05' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29245','8','B23110031873','【小王子聯名】閃耀星空8結彌月提盒','DG010203-05','DG010203','巧克力','提盒-小王子(藍)-40入巧克力','300','300','0','1','0','0','1','0.0','4','1200','2023-12-06','2023-11-27 09:46:06','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29245',`firm_id` = '8',`ordernumber` = 'B23110031873', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-05',`product_sn` = 'DG010203',`product_spec` = '巧克力',`invoice_name` = '提盒-小王子(藍)-40入巧克力',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '4',`total_price` = '1200',`etd` = '2023-12-06',`create_date` = '2023-11-27 09:46:06',`modify_date` = '2023-11-27 10:38:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031873' and product_code = 'DG010203-05', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031873' and product_code = 'DG010203-03' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29245','8','B23110031873','【小王子聯名】閃耀星空8結彌月提盒','DG010203-03','DG010203','咖啡','提盒-小王子(藍)-40入咖啡','300','300','0','1','0','0','1','0.0','5','1500','2023-12-06','2023-11-27 09:46:06','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29245',`firm_id` = '8',`ordernumber` = 'B23110031873', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-03',`product_sn` = 'DG010203',`product_spec` = '咖啡',`invoice_name` = '提盒-小王子(藍)-40入咖啡',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '5',`total_price` = '1500',`etd` = '2023-12-06',`create_date` = '2023-11-27 09:46:06',`modify_date` = '2023-11-27 10:38:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031873' and product_code = 'DG010203-03', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031873' and product_code = 'DG010203-02' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29245','8','B23110031873','【小王子聯名】閃耀星空8結彌月提盒','DG010203-02','DG010203','芝麻','提盒-小王子(藍)-40入芝麻','300','300','0','1','0','0','1','0.0','20','6000','2023-12-06','2023-11-27 09:46:06','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29245',`firm_id` = '8',`ordernumber` = 'B23110031873', `product_name` = '【小王子聯名】閃耀星空8結彌月提盒',`product_code` = 'DG010203-02',`product_sn` = 'DG010203',`product_spec` = '芝麻',`invoice_name` = '提盒-小王子(藍)-40入芝麻',`listprice` = '300',`sellingprice` = '300',`isadd` = '0',`isbaby` = '1',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '20',`total_price` = '6000',`etd` = '2023-12-06',`create_date` = '2023-11-27 09:46:06',`modify_date` = '2023-11-27 10:38:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031873' and product_code = 'DG010203-02', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031873' and product_code = 'ZP010152-01' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29245','8','B23110031873','贈品-rercolte潔膚儀(顏色隨機)','ZP010152-01','ZP010152','贈品-rercolte潔膚儀(顏色隨機)','贈品-rercolte潔膚儀(顏色隨機)','0','0','0','0','0','0','1','0.0','1','0','2023-12-06','2023-11-27 09:46:06','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29245',`firm_id` = '8',`ordernumber` = 'B23110031873', `product_name` = '贈品-rercolte潔膚儀(顏色隨機)',`product_code` = 'ZP010152-01',`product_sn` = 'ZP010152',`product_spec` = '贈品-rercolte潔膚儀(顏色隨機)',`invoice_name` = '贈品-rercolte潔膚儀(顏色隨機)',`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` = '2023-12-06',`create_date` = '2023-11-27 09:46:06',`modify_date` = '2023-11-27 10:38:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031873' and product_code = 'ZP010152-01', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'B23110031873' and product_code = 'BP010113-01' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29245','8','B23110031873','[加購]加購-小王子與狐狸折疊式大容量旅行袋','BP010113-01','BP010113','-','加購-小王子旅行袋','389','389','1','1','389','0','0','0.0','2','778','2023-12-06','2023-11-27 09:46:06','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29245',`firm_id` = '8',`ordernumber` = 'B23110031873', `product_name` = '[加購]加購-小王子與狐狸折疊式大容量旅行袋',`product_code` = 'BP010113-01',`product_sn` = 'BP010113',`product_spec` = '-',`invoice_name` = '加購-小王子旅行袋',`listprice` = '389',`sellingprice` = '389',`isadd` = '1',`isbaby` = '1',`addprice` = '389',`is_exclude` = '0',`freight_type` = '0',`commission` = '0.0',`amount` = '2',`total_price` = '778',`etd` = '2023-12-06',`create_date` = '2023-11-27 09:46:06',`modify_date` = '2023-11-27 10:38:51',`points_use_id` = null,`item_status` = '1' where ordernumber = 'B23110031873' and product_code = 'BP010113-01', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110031781' and product_code = '40009' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29244','8','M23110031781','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','1','80','2023-12-05','2023-11-27 09:48:33','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29244',`firm_id` = '8',`ordernumber` = 'M23110031781', `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` = '1',`total_price` = '80',`etd` = '2023-12-05',`create_date` = '2023-11-27 09:48:33',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110031781' and product_code = '40009', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110031781RB' and product_code = '40009' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29246','8','M23110031781RB','運費','40009','40000','80運費','80運費','80','80','0','0','0','1','1','0.0','1','80','2023-12-05','2023-11-27 09:48:33','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29246',`firm_id` = '8',`ordernumber` = 'M23110031781RB', `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` = '1',`total_price` = '80',`etd` = '2023-12-05',`create_date` = '2023-11-27 09:48:33',`modify_date` = '2023-11-27 09:49:11',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110031781RB' and product_code = '40009', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110031937' and product_code = 'DG0103138-02' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29247','11','M23110031937','小王子彌月試吃禮盒組','DG0103138-02','DG0103138','原味+芝麻','禮盒-小王子(藍)【原味+芝麻】(試吃)','500','500','0','0','0','0','1','0.0','1','500','2023-11-30','2023-11-27 10:08:37','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29247',`firm_id` = '11',`ordernumber` = 'M23110031937', `product_name` = '小王子彌月試吃禮盒組',`product_code` = 'DG0103138-02',`product_sn` = 'DG0103138',`product_spec` = '原味+芝麻',`invoice_name` = '禮盒-小王子(藍)【原味+芝麻】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '0.0',`amount` = '1',`total_price` = '500',`etd` = '2023-11-30',`create_date` = '2023-11-27 10:08:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110031937' and product_code = 'DG0103138-02', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == SELECT lake.omo_order_detail == select ordernumber from omo_order_detail where ordernumber = 'M23110031937' and product_code = 'DG0103145-12' 2023-11-27 10:47:54 -- == INSERT lake.omo_order_detail == INSERT INTO `omo_order_detail`(`id`, `channel`, `order_id`, `firm_id`, `ordernumber`, `product_name`, `product_code`, `product_sn`, `product_spec`, `invoice_name`, `listprice`, `sellingprice`, `isadd`, `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,'29247','11','M23110031937','【小王子聯名】星光飛行8結彌月禮盒(試吃)','DG0103145-12','DG0103145','咖啡+巧克力','禮盒-彌月小王子(紅)【巧克力+咖啡】(試吃)','500','500','0','0','0','0','1','1.0','1','500','2023-11-30','2023-11-27 10:08:37','2023-11-27 10:47:54',null,'1','2023-10-15') 2023-11-27 10:47:54 -- == UPDATE lake.order_detail == UPDATE `omo_order_detail` SET `order_id` = '29247',`firm_id` = '11',`ordernumber` = 'M23110031937', `product_name` = '【小王子聯名】星光飛行8結彌月禮盒(試吃)',`product_code` = 'DG0103145-12',`product_sn` = 'DG0103145',`product_spec` = '咖啡+巧克力',`invoice_name` = '禮盒-彌月小王子(紅)【巧克力+咖啡】(試吃)',`listprice` = '500',`sellingprice` = '500',`isadd` = '0',`isbaby` = '0',`addprice` = '0',`is_exclude` = '0',`freight_type` = '1',`commission` = '1.0',`amount` = '1',`total_price` = '500',`etd` = '2023-11-30',`create_date` = '2023-11-27 10:08:37',`modify_date` = '0000-00-00 00:00:00',`points_use_id` = null,`item_status` = '1' where ordernumber = 'M23110031937' and product_code = 'DG0103145-12', `lunar_date` = '2023-10-15' 2023-11-27 10:47:54 -- == sync_order_detail end == 2023-11-27 10:47:54 -- == 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) = '2023-11-27' OR o.updated_at = '2023-11-27') and o.deleted_at is null 2023-11-27 10:47:54 -- == sync_order_detail start == 2023-11-27 10:47:54 -- start:2023-11-27,end:2023-11-27