|
|
@ -270,7 +270,7 @@ namespace Shentun.Peis.PatientRegisters |
|
|
entlist = entlist.Where(m => m.PatientRegisterNo == input.PatientRegisterNo); |
|
|
entlist = entlist.Where(m => m.PatientRegisterNo == input.PatientRegisterNo); |
|
|
|
|
|
|
|
|
if (input.SexId != null) |
|
|
if (input.SexId != null) |
|
|
if (input.SexId.ToString() != Enum.GetName(typeof(ForSexEnum), ForSexEnum.A)) |
|
|
|
|
|
|
|
|
if (input.SexId.ToString() != ForSexFlag.All) |
|
|
entlist = entlist.Where(m => m.SexId == input.SexId); |
|
|
entlist = entlist.Where(m => m.SexId == input.SexId); |
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(input.StartDate) && !string.IsNullOrEmpty(input.EndDate)) |
|
|
if (!string.IsNullOrEmpty(input.StartDate) && !string.IsNullOrEmpty(input.EndDate)) |
|
|
@ -603,7 +603,7 @@ namespace Shentun.Peis.PatientRegisters |
|
|
/// <returns></returns>
|
|
|
/// <returns></returns>
|
|
|
public override async Task DeleteAsync(Guid id) |
|
|
public override async Task DeleteAsync(Guid id) |
|
|
{ |
|
|
{ |
|
|
await _manager.CheckAndDeleteAsync(id); |
|
|
|
|
|
|
|
|
await _manager.CheckDeleteAsync(id); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -623,7 +623,7 @@ namespace Shentun.Peis.PatientRegisters |
|
|
{ |
|
|
{ |
|
|
foreach (var ent in entlist) |
|
|
foreach (var ent in entlist) |
|
|
{ |
|
|
{ |
|
|
await _manager.CheckAndDeleteAsync(ent.Id); |
|
|
|
|
|
|
|
|
await _manager.CheckDeleteAsync(ent.Id); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|