修复:创建多个成员修复

This commit is contained in:
yystopf 2025-07-24 10:55:16 +08:00
parent 300dd0c863
commit f942603117
1 changed files with 1 additions and 2 deletions

View File

@ -138,7 +138,7 @@ class CompetitionInfosController < ApplicationController
next if target_index.nil?
send_data[value] = row[target_index]
end
members_keys = column_names - enroll_fields.keys
members_keys = column_names - enroll_fields.keys - ["*用户标识"]
if EduSetting.get("is_local") == "true"
members_keys = members_keys.each_slice(3).to_a
else
@ -151,7 +151,6 @@ class CompetitionInfosController < ApplicationController
if index == 0
key_name = "key"
member[key_name] = index
next
else
key_name = "real_name" if i.end_with?("姓名")
key_name = "org_name" if i.end_with?("单位")