From 7d01763a7e0fb61bf4d2e9912ac9d2cfe62461eb Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 9 Apr 2025 11:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Financial/CalculateService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Financial/CalculateService.cs b/IRaCIS.Core.Application/Financial/CalculateService.cs index 5729644..e6f7ea1 100644 --- a/IRaCIS.Core.Application/Financial/CalculateService.cs +++ b/IRaCIS.Core.Application/Financial/CalculateService.cs @@ -938,14 +938,13 @@ namespace IRaCIS.Application.Services doctorList.ForEach(x => { - if (!workloadlist.Any(y => y.DoctorId == x)) + if (!workloadlist.Any(y => y.DoctorId == x)&& yearMonth!=string.Empty) { workloadlist.Add(new CalculateNeededDTO() { DoctorId = x, IsLock = false, YearMonth = yearMonth, - DataFrom= (int)WorkLoadFromStatus.FinalConfirm });