机构短号
This commit is contained in:
parent
6e1fd8efd1
commit
ce544d635d
@ -2023,8 +2023,9 @@ public class InspectPatientController {
|
|||||||
public CommonResult<Boolean> updatePatientOrg(@RequestParam("medicalSn") String medicalSn,
|
public CommonResult<Boolean> updatePatientOrg(@RequestParam("medicalSn") String medicalSn,
|
||||||
@RequestParam("examhoscode") String examhoscode,
|
@RequestParam("examhoscode") String examhoscode,
|
||||||
@RequestParam("examhosname") String examhosname,
|
@RequestParam("examhosname") String examhosname,
|
||||||
@RequestParam("hospitalNo") String hospitalNo) {
|
@RequestParam("hospitalNo") String hospitalNo,
|
||||||
patientService.updatePatientOrg(medicalSn, examhoscode, examhosname,hospitalNo);
|
@RequestParam("shortid") String shortid) {
|
||||||
|
patientService.updatePatientOrg(medicalSn, examhoscode, examhosname,hospitalNo,shortid);
|
||||||
return success(true);
|
return success(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -76,4 +76,7 @@ public class InspectPatientInfoVO {
|
|||||||
|
|
||||||
@Schema(description = "体检医院名称")
|
@Schema(description = "体检医院名称")
|
||||||
private String examhosname;
|
private String examhosname;
|
||||||
|
|
||||||
|
@Schema(description = "机构短号")
|
||||||
|
private String shortid;
|
||||||
}
|
}
|
||||||
|
@ -151,4 +151,7 @@ public class InspectPatientPageReqVO extends PageParam {
|
|||||||
@Schema(description = "体检医院名称")
|
@Schema(description = "体检医院名称")
|
||||||
private String examhosname;
|
private String examhosname;
|
||||||
|
|
||||||
|
@Schema(description = "机构短号")
|
||||||
|
private String shortid;
|
||||||
|
|
||||||
}
|
}
|
@ -161,4 +161,7 @@ public class InspectPatientRespVO {
|
|||||||
@Schema(description = "体检医院名称")
|
@Schema(description = "体检医院名称")
|
||||||
private String examhosname;
|
private String examhosname;
|
||||||
|
|
||||||
|
@Schema(description = "机构短号")
|
||||||
|
private String shortid;
|
||||||
|
|
||||||
}
|
}
|
@ -134,4 +134,8 @@ public class InspectPatientSaveReqVO {
|
|||||||
|
|
||||||
@Schema(description = "体检医院名称")
|
@Schema(description = "体检医院名称")
|
||||||
private String examhosname;
|
private String examhosname;
|
||||||
|
|
||||||
|
@Schema(description = "机构短号")
|
||||||
|
private String shortid;
|
||||||
|
|
||||||
}
|
}
|
@ -270,5 +270,10 @@ public class InspectPatientDO {
|
|||||||
*/
|
*/
|
||||||
@TableField("examhosname")
|
@TableField("examhosname")
|
||||||
private String examhosname;
|
private String examhosname;
|
||||||
|
/**
|
||||||
|
* 机构短号
|
||||||
|
*/
|
||||||
|
@TableField("shortid")
|
||||||
|
private String shortid;
|
||||||
|
|
||||||
}
|
}
|
@ -76,7 +76,8 @@ public interface InspectPatientMapper extends BaseMapperX<InspectPatientDO> {
|
|||||||
InspectPatientDO::getIsprint,
|
InspectPatientDO::getIsprint,
|
||||||
InspectPatientDO::getPrinttime,
|
InspectPatientDO::getPrinttime,
|
||||||
InspectPatientDO::getExamhoscode,
|
InspectPatientDO::getExamhoscode,
|
||||||
InspectPatientDO::getExamhosname
|
InspectPatientDO::getExamhosname,
|
||||||
|
InspectPatientDO::getShortid
|
||||||
);
|
);
|
||||||
return selectPage(reqVO, queryWrapper);
|
return selectPage(reqVO, queryWrapper);
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ public interface InspectPatientService {
|
|||||||
/*
|
/*
|
||||||
* 根据体检编号更新患者归属医院信息
|
* 根据体检编号更新患者归属医院信息
|
||||||
*/
|
*/
|
||||||
void updatePatientOrg(String medicalSn, String examhoscode, String examhosname,String hospitalNo);
|
void updatePatientOrg(String medicalSn, String examhoscode, String examhosname,String hospitalNo,String shortid);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除患者信息
|
* 删除患者信息
|
||||||
|
@ -137,12 +137,13 @@ public class InspectPatientServiceImpl implements InspectPatientService {
|
|||||||
patientMapper.update(null, updateWrapper);
|
patientMapper.update(null, updateWrapper);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void updatePatientOrg(String medicalSn, String examhoscode, String examhosname,String hospitalNo) {
|
public void updatePatientOrg(String medicalSn, String examhoscode, String examhosname,String hospitalNo,String shortid) {
|
||||||
LambdaUpdateWrapper<InspectPatientDO> updateWrapper = new LambdaUpdateWrapper<>();
|
LambdaUpdateWrapper<InspectPatientDO> updateWrapper = new LambdaUpdateWrapper<>();
|
||||||
updateWrapper.eq(InspectPatientDO::getMedicalSn, medicalSn)
|
updateWrapper.eq(InspectPatientDO::getMedicalSn, medicalSn)
|
||||||
.set(InspectPatientDO::getExamhoscode, examhoscode)
|
.set(InspectPatientDO::getExamhoscode, examhoscode)
|
||||||
.set(InspectPatientDO::getExamhosname, examhosname)
|
.set(InspectPatientDO::getExamhosname, examhosname)
|
||||||
.set(InspectPatientDO::getHospitalNo, hospitalNo);
|
.set(InspectPatientDO::getHospitalNo, hospitalNo)
|
||||||
|
.set(InspectPatientDO::getShortid, shortid);
|
||||||
patientMapper.update(null, updateWrapper);
|
patientMapper.update(null, updateWrapper);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user