@ -701,7 +701,7 @@ public class DoctorInfoService extends BaseService {
Doctor docMobile = doctorDao.findByMobile(mobile);
if (docMobile != null) {
if (docMobile != null && !docMobile.getCode().equals(doctor)) {
return -2;
}
@ -78,7 +78,7 @@ public class PatientInfoService extends BaseService {
Patient pMobile = patientDao.findByMobile(mobile);
if (pMobile == null) {
if (pMobile == null && !p.getCode().equals(patient)) {