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