diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java index 2cb91c5..8ed077a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java @@ -143,9 +143,8 @@ public class AppController extends BaseController tRecord.setAppointmentTime(DateUtils.dateTime(new Date())); List tRecords = tRecordService.selectTRecordList(tRecord); if (!CollectionUtils.isEmpty(tRecords)) { - String appointmentTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS ,tRecords.get(0).getCreateTime()); AjaxResult ajaxResult = AjaxResult.error(); - ajaxResult.put("msg", "同一个医生,一天只能登记一次;您今天已经在" + appointmentTime + "登记"); + ajaxResult.put("msg", "您今天已登记过信息!"); ajaxResult.put("isBook", true); return ajaxResult; }