Compare commits
No commits in common. "69a888553f32473fd4ce84c85eadfd0c07d26e02" and "119a48b5e53e8c8d24bf755aea5bef7bcc16b43f" have entirely different histories.
69a888553f
...
119a48b5e5
|
|
@ -424,18 +424,14 @@ namespace Learn.Archives.API.Controllers
|
||||||
var subjectArr = row.高考选科.Split(",")
|
var subjectArr = row.高考选科.Split(",")
|
||||||
.Select(s => s.ToEnum<SubjectEnum>())
|
.Select(s => s.ToEnum<SubjectEnum>())
|
||||||
.ToArray();
|
.ToArray();
|
||||||
var upUser = new User
|
userCenterUpdate.Add(new User
|
||||||
{
|
{
|
||||||
Id = uid,
|
Id = uid,
|
||||||
Phone = row.Phone,
|
Phone = row.Phone,
|
||||||
};
|
GLSubject = (int?)subjectArr[0],
|
||||||
if (subjectArr.Length > 0)
|
GSubject1 = (int?)subjectArr[1],
|
||||||
upUser.GLSubject = (int?)subjectArr[0];
|
GSubject2 = (int?)subjectArr[2],
|
||||||
if (subjectArr.Length > 1)
|
});
|
||||||
upUser.GSubject1 = (int?)subjectArr[1];
|
|
||||||
if (subjectArr.Length > 2)
|
|
||||||
upUser.GSubject2 = (int?)subjectArr[2];
|
|
||||||
userCenterUpdate.Add(upUser);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue