Browse Source

性别

master
wxd 2 months ago
parent
commit
3df7b2a7d7
  1. 5
      src/Shentun.Peis.Application.Contracts/PeisReports/GetPatientRegisterReportRequestDto.cs
  2. 3
      src/Shentun.Peis.Application/PeisReports/PeisReportAppService.cs

5
src/Shentun.Peis.Application.Contracts/PeisReports/GetPatientRegisterReportRequestDto.cs

@ -30,6 +30,11 @@ namespace Shentun.Peis.PeisReports
/// </summary>
public string? PatientName { get; set; }
/// <summary>
/// 性别
/// </summary>
public char? SexId { get; set; }
/// <summary>
/// 手机号 (检索手机跟电话两个)
/// </summary>

3
src/Shentun.Peis.Application/PeisReports/PeisReportAppService.cs

@ -628,6 +628,9 @@ namespace Shentun.Peis.PeisReports
sumquery = sumquery.Where(m => m.patient.MobileTelephone == input.phone || m.patient.Telephone == input.phone);
}
if (input.SexId != null)
sumquery = sumquery.Where(m => m.patientRegister.SexId == input.SexId);
if (input.CompleteFlag != null && input.CompleteFlag != PatientRegisterCompleteFlag.ItemCheckUnSumCheck)
{
sumquery = sumquery.Where(m => m.patientRegister.CompleteFlag == input.CompleteFlag);

Loading…
Cancel
Save