修复严重BUG
This commit is contained in:
parent
91b2ba55e5
commit
6ec5616d5a
@ -963,7 +963,7 @@ public class InspectPatientController {
|
||||
InspectPatientSaveReqVO updateReqVO = new InspectPatientSaveReqVO();
|
||||
updateReqVO.setMedicalSn(medicalSn);
|
||||
updateReqVO.setHeadPicUrl(base64);
|
||||
patientService.updatePatientInfo(updateReqVO);
|
||||
patientService.updatePatientInfoheadurl(updateReqVO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -74,6 +74,9 @@ public interface InspectPatientService {
|
||||
* 根据体检编号更新数据
|
||||
* */
|
||||
Integer updatePatientInfo(InspectPatientSaveReqVO updateReqVO);
|
||||
/*
|
||||
* 更新头像*/
|
||||
Integer updatePatientInfoheadurl(InspectPatientSaveReqVO updateReqVO);
|
||||
|
||||
/**
|
||||
* 获得患者信息分页
|
||||
|
||||
@ -157,6 +157,19 @@ public class InspectPatientServiceImpl implements InspectPatientService {
|
||||
return patientMapper.update(null, updateWrapper);
|
||||
|
||||
}
|
||||
@Override
|
||||
public Integer updatePatientInfoheadurl(InspectPatientSaveReqVO updateReqVO) {
|
||||
LambdaUpdateWrapper<InspectPatientDO> updateWrapper = new LambdaUpdateWrapper<>();
|
||||
updateWrapper.eq(InspectPatientDO::getMedicalSn, updateReqVO.getMedicalSn());
|
||||
|
||||
updateWrapper.set(InspectPatientDO::getHeadPicUrl, updateReqVO.getHeadPicUrl());
|
||||
|
||||
return patientMapper.update(null, updateWrapper);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public PageResult<InspectPatientDO> getPatientPage(InspectPatientPageReqVO pageReqVO) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user