|
@ -60,7 +60,7 @@ public class SMSController extends BaseController {
|
|
|
List<Patient> patients = patientDao.findByMobile(mobile);
|
|
|
//判断手机是否注册
|
|
|
if(type == 1){
|
|
|
if (patients != null||patients.size()>0) {
|
|
|
if (patients != null&&patients.size()>0) {
|
|
|
return error(-1, "该手机号已经注册!");
|
|
|
}
|
|
|
}
|