ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZfPetNoteController.java
@@ -53,10 +53,10 @@ * 根据宠物id获取相关备忘录 */ @GetMapping public AjaxResult getByPetId(@PathParam("pid")String pid){ public AjaxResult getByPetId(@PathParam("pid")String pid,ZfPetNote zfPetNote){ Integer pageNum = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1); Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10); return zfPetNoteService.getAllPetNoteByPetId(pageNum,pageSize,pid); return zfPetNoteService.getAllPetNoteByPetId(pageNum,pageSize,pid,zfPetNote); }