From e15c73ef6313c335d31173f2b14be3843e786156 Mon Sep 17 00:00:00 2001 From: whywhyo <1511349576@qq.com> Date: 星期二, 23 五月 2023 18:12:24 +0800 Subject: [PATCH] 456 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfMasterController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfMasterController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfMasterController.java index 5c1b360..5276cca 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfMasterController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfMasterController.java @@ -50,7 +50,7 @@ * 鏍规嵁瀹犵墿id鑾峰彇鐩稿叧涓讳汉淇℃伅 */ @GetMapping() - public AjaxResult getByPetId(@PathParam("pid")Long pid){ + public AjaxResult getByPetId(@PathParam("pid")String pid){ return zfMasterService.getMasterInfoByPetId(pid); } @@ -103,7 +103,7 @@ @PostMapping public AjaxResult add(@RequestBody ZfMaster zfMaster) { - return toAjax(zfMasterService.save(zfMaster)); + return zfMasterService.mySave(zfMaster); } /** -- Gitblit v1.9.1