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