|
|
@ -172,6 +172,9 @@ public class AppController extends BaseController
|
|
|
|
TPatient tPatient = new TPatient();
|
|
|
|
TPatient tPatient = new TPatient();
|
|
|
|
BeanUtils.copyProperties(appPatientReq, tPatient);
|
|
|
|
BeanUtils.copyProperties(appPatientReq, tPatient);
|
|
|
|
tPatientService.insertTPatient(tPatient);
|
|
|
|
tPatientService.insertTPatient(tPatient);
|
|
|
|
|
|
|
|
Long identifier = 10000000L + tPatient.getId();
|
|
|
|
|
|
|
|
tPatient.setIdentifier(String.valueOf(identifier));
|
|
|
|
|
|
|
|
tPatientService.updateTPatient(tPatient);
|
|
|
|
TPatientHospitalDoctor tPatientHospitalDoctor = new TPatientHospitalDoctor();
|
|
|
|
TPatientHospitalDoctor tPatientHospitalDoctor = new TPatientHospitalDoctor();
|
|
|
|
tPatientHospitalDoctor.setHospitalId(appPatientReq.getHospitalId());
|
|
|
|
tPatientHospitalDoctor.setHospitalId(appPatientReq.getHospitalId());
|
|
|
|
tPatientHospitalDoctor.setDoctorId(appPatientReq.getDoctorId());
|
|
|
|
tPatientHospitalDoctor.setDoctorId(appPatientReq.getDoctorId());
|
|
|
|