diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs index e4f2ade..25fa454 100644 --- a/24Hour/Controllers/Common/LawyerArchivesController.cs +++ b/24Hour/Controllers/Common/LawyerArchivesController.cs @@ -362,7 +362,7 @@ namespace _24Hour.Controllers.Common { try { - var lawsvc =await _db.Queryable().Where(x => x.Id == dto.Id).FirstAsync(); + var lawsvc =await _db.Queryable().Where(x => x.Id == dto.lawyerserviceId).FirstAsync(); if (lawsvc==null) { return Result.Error("预约信息不存在");