From b1725a0c3556371163a7585b6732b8d113608c69 Mon Sep 17 00:00:00 2001 From: heminjian502 Date: Fri, 2 Sep 2022 13:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/web/controller/api/AppController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }