From e55488197b2ef198ab6b7cbc78cf8359c25a3980 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 1 Dec 2023 10:43:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=ADid=E4=B8=BA?= =?UTF-8?q?=E9=A2=84=E7=BA=A6id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24Hour/Controllers/Common/LawyerArchivesController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("预约信息不存在");