This commit is contained in:
2026-09-17 14:33:20 +08:00
parent c8d0a1f717
commit 9efa1d7db2
2 changed files with 6 additions and 3 deletions

View File

@@ -1431,7 +1431,8 @@ namespace Appointment.Repository
DateTime now = DateTime.Now;
var userList =await Db.Queryable<UcLogin>().ToListAsync().Replace();
var userList =await Db.Queryable<UcLogin>().ToListAsync();
userList = userList.Replace();
var user = userList.Where(t => t.OpId == appt.Info.UserId).FirstOrDefault();
if (user == null && user.Locked == "T") return ApiResult.Failed("生成正式预订失败,提交人不存在!");