From b5e4bb19d062451f03839405d71ea9c59ce4a695 Mon Sep 17 00:00:00 2001 From: gongzhenkun <1658878546@qq.com> Date: Fri, 19 Aug 2022 17:36:51 +0800 Subject: [PATCH] =?UTF-8?q?App=E6=96=B0=E5=A2=9E=E5=8C=BB=E7=94=9F?= =?UTF-8?q?=E9=A2=84=E7=BA=A6=E8=AE=B0=E5=BD=95=E5=8F=82=E6=95=B0=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 09737a4..153ab6d 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 @@ -509,7 +509,7 @@ public class AppController extends BaseController @ApiOperation("新增预约记录") @Log(title = "App新增预约记录", businessType = BusinessType.INSERT) @PostMapping("/record/add/{patientId}") - public AjaxResult addRecord(@PathVariable Long patientId) + public AjaxResult addRecord(@PathVariable("patientId") Long patientId) { TRecord tRecord = new TRecord(); tRecord.setHospitalId(SecurityUtils.getLoginUser().getUser().getHospitalId());