修改统计参数

This commit is contained in:
Flow 2025-06-25 16:03:09 +08:00
parent 9959ea3270
commit d25fd589a9
3 changed files with 12 additions and 4 deletions

View File

@ -14,6 +14,9 @@ public class PatientDetailsVO {
@Schema(description = "地址") @Schema(description = "地址")
private String addname; private String addname;
@Schema(description = "卫生院")
private String orgname;
@Schema(description = "所属卫生院") @Schema(description = "所属卫生院")
private String examhosname; private String examhosname;

View File

@ -183,6 +183,7 @@ public class InspectPatientServiceImpl implements InspectPatientService {
InspectPatientDO::getPName, InspectPatientDO::getPName,
InspectPatientDO::getCardId, InspectPatientDO::getCardId,
InspectPatientDO::getHospitalNo, InspectPatientDO::getHospitalNo,
InspectPatientDO::getOrgname,
InspectPatientDO::getDistrictname, InspectPatientDO::getDistrictname,
InspectPatientDO::getOldmanflag, InspectPatientDO::getOldmanflag,
InspectPatientDO::getHtnflag, InspectPatientDO::getHtnflag,
@ -225,6 +226,10 @@ public class InspectPatientServiceImpl implements InspectPatientService {
{ {
queryWrapper.eq(InspectPatientDO::getHospitalNo, detailsVO.getHospitalNo()); queryWrapper.eq(InspectPatientDO::getHospitalNo, detailsVO.getHospitalNo());
} }
if(detailsVO.getOrgname()!=null && !detailsVO.getOrgname().isEmpty())
{
queryWrapper.eq(InspectPatientDO::getOrgname, detailsVO.getOrgname());
}
if(detailsVO.getOrgid()!=null&& !detailsVO.getOrgid().isEmpty()) if(detailsVO.getOrgid()!=null&& !detailsVO.getOrgid().isEmpty())
{ {
//特殊 乌兰察布第四医院是最大的机构 默认是1 //特殊 乌兰察布第四医院是最大的机构 默认是1

View File

@ -3,7 +3,7 @@ spring:
name: yudao-server name: yudao-server
profiles: profiles:
active: local active: 222
main: main:
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。 allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
@ -387,6 +387,6 @@ yudao:
debug: false debug: false
#别名 需要的配置 项目名称:/admin #别名 需要的配置 项目名称:/admin
#server: server:
# servlet: servlet:
# context-path: /adminInspect context-path: /adminInspect