Browse Source

指引单

bjmzak
wxd 2 years ago
parent
commit
08ed4fc4b8
  1. 7
      src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs

7
src/Shentun.Peis.Application/PrintReports/PrintReportAppService.cs

@ -40,6 +40,7 @@ namespace Shentun.Peis.PrintReports
private readonly IRepository<Patient, Guid> _patientRepository; private readonly IRepository<Patient, Guid> _patientRepository;
private readonly IRepository<PatientRegister, Guid> _patientRegisterRepository; private readonly IRepository<PatientRegister, Guid> _patientRegisterRepository;
private readonly IRepository<RegisterCheckAsbitem, Guid> _registerCheckAsbitemRepository; private readonly IRepository<RegisterCheckAsbitem, Guid> _registerCheckAsbitemRepository;
private static IRepository<RegisterCheckAsbitem, Guid> _registerCheckAsbitemStaticRepository;
private readonly IRepository<RegisterCheckItem> _registerCheckItemRepository; private readonly IRepository<RegisterCheckItem> _registerCheckItemRepository;
private readonly IRepository<RegisterCheckSummary> _registerCheckSummaryRepository; private readonly IRepository<RegisterCheckSummary> _registerCheckSummaryRepository;
private readonly IRepository<RegisterCheckPicture, Guid> _registerCheckPictureRepository; private readonly IRepository<RegisterCheckPicture, Guid> _registerCheckPictureRepository;
@ -126,6 +127,7 @@ namespace Shentun.Peis.PrintReports
this._chargeReportRepository = chargeReportRepository; this._chargeReportRepository = chargeReportRepository;
this._sysParmValueManager = sysParmValueManager; this._sysParmValueManager = sysParmValueManager;
_registerCheckAsbitemRepository = registerCheckAsbitemRepository; _registerCheckAsbitemRepository = registerCheckAsbitemRepository;
_registerCheckAsbitemStaticRepository = registerCheckAsbitemRepository;
_registerCheckItemRepository = registerCheckItemRepository; _registerCheckItemRepository = registerCheckItemRepository;
_registerCheckSummaryRepository = registerCheckSummaryRepository; _registerCheckSummaryRepository = registerCheckSummaryRepository;
_registerCheckPictureRepository = registerCheckPictureRepository; _registerCheckPictureRepository = registerCheckPictureRepository;
@ -780,10 +782,9 @@ namespace Shentun.Peis.PrintReports
return MedicalReportMedicalReportTypeDtos; return MedicalReportMedicalReportTypeDtos;
} }
private List<PatientRegisterGuideReport_Detail> PatientRegisterGuideAsbitem(Guid PatientRegisterId, Guid medicalCenterId, char SexId)
private static List<PatientRegisterGuideReport_Detail> PatientRegisterGuideAsbitem(Guid PatientRegisterId, Guid medicalCenterId, char SexId)
{ {
var entlist = _registerCheckAsbitemRepository.GetQueryableAsync().Result
.Include(x => x.Asbitem)
var entlist = _registerCheckAsbitemStaticRepository.GetQueryableAsync().Result
.Include(x => x.Asbitem.ItemType) .Include(x => x.Asbitem.ItemType)
.Include(x => x.Asbitem.ItemType.GuidType) .Include(x => x.Asbitem.ItemType.GuidType)
.Where(m => m.PatientRegisterId == PatientRegisterId && m.Asbitem.IsCheck == 'Y') .Where(m => m.PatientRegisterId == PatientRegisterId && m.Asbitem.IsCheck == 'Y')

Loading…
Cancel
Save