修改bug
parent
a4c69e9a93
commit
7d01763a7e
|
@ -938,14 +938,13 @@ namespace IRaCIS.Application.Services
|
||||||
doctorList.ForEach(x =>
|
doctorList.ForEach(x =>
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!workloadlist.Any(y => y.DoctorId == x))
|
if (!workloadlist.Any(y => y.DoctorId == x)&& yearMonth!=string.Empty)
|
||||||
{
|
{
|
||||||
workloadlist.Add(new CalculateNeededDTO()
|
workloadlist.Add(new CalculateNeededDTO()
|
||||||
{
|
{
|
||||||
DoctorId = x,
|
DoctorId = x,
|
||||||
IsLock = false,
|
IsLock = false,
|
||||||
YearMonth = yearMonth,
|
YearMonth = yearMonth,
|
||||||
|
|
||||||
DataFrom= (int)WorkLoadFromStatus.FinalConfirm
|
DataFrom= (int)WorkLoadFromStatus.FinalConfirm
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue