修改体检统计数据的参数

This commit is contained in:
lxd 2025-05-27 15:03:45 +08:00
parent 14117aaa69
commit db6c509cb3
2 changed files with 8 additions and 1 deletions

View File

@ -16,4 +16,8 @@ public class PatientDetailsVO {
@Schema(description = "所属卫生院")
private String examhosname;
@Schema(description = "所属机构")
private String orgid;
}

View File

@ -223,7 +223,10 @@ public class InspectPatientServiceImpl implements InspectPatientService {
{
queryWrapper.eq(InspectPatientDO::getOrgname, detailsVO.getExamhosname());
}
if(detailsVO.getOrgid()!=null&& !detailsVO.getOrgid().isEmpty())
{
queryWrapper.eq(InspectPatientDO::getExamhoscode, detailsVO.getOrgid());
}
return patientMapper.selectList(queryWrapper);
}