修改bug
parent
a4c69e9a93
commit
7d01763a7e
|
@ -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
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue