修改bug

master
he 2025-04-09 11:20:14 +08:00
parent a4c69e9a93
commit 7d01763a7e
1 changed files with 1 additions and 2 deletions

View File

@ -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
});