Compare commits

..

No commits in common. "7d096e79177bedc7e6a4cf2e712f83bb22053988" and "cb6cfe271afa3affb8a10cf8d1393fcbff3021dc" have entirely different histories.

1 changed files with 0 additions and 8 deletions

View File

@ -498,14 +498,7 @@ namespace Learn.Archives.API.Controllers
}, ex => { throw ex; });
}
//写入选科方向
userCenterUpdate = userCenterUpdate.Where(s =>
new object[] { s.Phone,
s.GLSubject,
s.GSubject1,
s.GSubject2,}
.Any(x => !(x == default || x == null))).ToList();
if (userCenterUpdate.Count > 0)
{
await userService.AsUpdateable(userCenterUpdate)
.UpdateColumns(s => new
{
@ -518,7 +511,6 @@ namespace Learn.Archives.API.Controllers
.IgnoreColumns(ignoreAllNullColumns: true, ignoreAllDefaultValue: true)
.WhereColumns(it => new { it.Id })
.ExecuteCommandAsync();
}
return Ok();
}