有时候给了一个白名单,需要导入到白名单表
可使用如下方式导入
INSERT INTO white_list ( id, activity_id, `state`, `sale_id`, `expiry_time`, `create_time`, `amount`, `activation_code_id`, `activity_name`, `year`, `month`, `day`, `white_name`, `boc_address`, `create_user_id`, `create_user_name`, `customer_id`, `customer_name`, num_code )( SELECT id, 'e01341fed082489c96d9bdc51cf1ee49', 1, NULL, '2021-12-31 23:59:59', '2021-01-08 17:16:41', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, num_code FROM honghang_1month_list );