Browse Source

职业病

master
wxd 12 months ago
parent
commit
97cda8abae
  1. 25
      src/Shentun.Peis.Application/OccupationalDiseaseReports/OccupationalDiseaseReportAppService.cs

25
src/Shentun.Peis.Application/OccupationalDiseaseReports/OccupationalDiseaseReportAppService.cs

@ -137,6 +137,18 @@ namespace Shentun.Peis.OccupationalDiseaseReports
}
}
List<Guid?> customerOrgIds = new List<Guid?>();
if (customerOrgPara.CustomerOrgId != null)
{
customerOrgIds = await _customerOrgManager.GetCustomerOrgChildrenId(customerOrgPara.CustomerOrgId.Value);
}
if (customerOrgIds.Any())
{
query = query.Where(m => customerOrgIds.Contains(m.patientRegister.CustomerOrgId));
}
if (customerOrgPara.CustomerOrgGroupId.Any())
{
@ -1266,6 +1278,19 @@ namespace Shentun.Peis.OccupationalDiseaseReports
}
}
List<Guid?> customerOrgIds = new List<Guid?>();
if (customerOrgPara.CustomerOrgId != null)
{
customerOrgIds = await _customerOrgManager.GetCustomerOrgChildrenId(customerOrgPara.CustomerOrgId.Value);
}
if (customerOrgIds.Any())
{
query = query.Where(m => customerOrgIds.Contains(m.patientRegister.CustomerOrgId));
}
if (customerOrgPara.CustomerOrgGroupId.Any())
{

Loading…
Cancel
Save