From 99688df4460ea6cd4c374a0ee7fd6091ce071747 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 11 Mar 2024 14:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Allocation/TaskMedicalReviewService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs index e41d09f05..0bc4606b5 100644 --- a/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Allocation/TaskMedicalReviewService.cs @@ -203,7 +203,7 @@ namespace IRaCIS.Core.Application.Service .WhereIf(inQuery.IsGetNextMedicalReviewTask, x=>x.AuditState!= MedicalReviewAuditState.HaveSigned & - ( x.ReadingMedicalReviewDialogList.Count()==0|| + ( x.ReadingMedicalReviewDialogList.Count()!=0&& x.ReadingMedicalReviewDialogList.Count()>0&& x.ReadingMedicalReviewDialogList.OrderByDescending(x=>x.CreateTime).FirstOrDefault().UserTypeEnumInt==(int)UserTypeEnum.IndependentReviewer))