diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/MpController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/MpController.java index a5b66bf..58585ee 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/MpController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/MpController.java @@ -142,7 +142,7 @@ public class MpController extends BaseController { tPatient.setPhone(appPatientHospitalDoctor.getPhone()); List tPatients = patientService.selectTPatientList(tPatient); if (CollectionUtils.isEmpty(tPatients)) { - ajaxResult.put("status", null); + return ajaxResult.put("status", null); } // 查询该患者当天是否有预约记录 TRecord tRecord = new TRecord();