Compare commits
No commits in common. "7d096e79177bedc7e6a4cf2e712f83bb22053988" and "cb6cfe271afa3affb8a10cf8d1393fcbff3021dc" have entirely different histories.
7d096e7917
...
cb6cfe271a
|
|
@ -498,14 +498,7 @@ namespace Learn.Archives.API.Controllers
|
||||||
}, ex => { throw ex; });
|
}, 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)
|
if (userCenterUpdate.Count > 0)
|
||||||
{
|
|
||||||
await userService.AsUpdateable(userCenterUpdate)
|
await userService.AsUpdateable(userCenterUpdate)
|
||||||
.UpdateColumns(s => new
|
.UpdateColumns(s => new
|
||||||
{
|
{
|
||||||
|
|
@ -518,7 +511,6 @@ namespace Learn.Archives.API.Controllers
|
||||||
.IgnoreColumns(ignoreAllNullColumns: true, ignoreAllDefaultValue: true)
|
.IgnoreColumns(ignoreAllNullColumns: true, ignoreAllDefaultValue: true)
|
||||||
.WhereColumns(it => new { it.Id })
|
.WhereColumns(it => new { it.Id })
|
||||||
.ExecuteCommandAsync();
|
.ExecuteCommandAsync();
|
||||||
}
|
|
||||||
return Ok();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue