下标越界问题处理

master
gongzhenkun 2 years ago
parent 913d572d46
commit b94b8c9a50

@ -142,7 +142,7 @@ public class MpController extends BaseController {
tPatient.setPhone(appPatientHospitalDoctor.getPhone()); tPatient.setPhone(appPatientHospitalDoctor.getPhone());
List<TPatient> tPatients = patientService.selectTPatientList(tPatient); List<TPatient> tPatients = patientService.selectTPatientList(tPatient);
if (CollectionUtils.isEmpty(tPatients)) { if (CollectionUtils.isEmpty(tPatients)) {
ajaxResult.put("status", null); return ajaxResult.put("status", null);
} }
// 查询该患者当天是否有预约记录 // 查询该患者当天是否有预约记录
TRecord tRecord = new TRecord(); TRecord tRecord = new TRecord();

Loading…
Cancel
Save