From 38bf6d26c02f2861abdbe95b8e2a1312e6f30202 Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期一, 04 十一月 2024 18:04:48 +0800
Subject: [PATCH] 删除宠物将对应的备忘本一并删除

---
 zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java b/zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java
index 9edaa01..be1f75f 100644
--- a/zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java
+++ b/zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java
@@ -1,6 +1,7 @@
 package com.ruoyi.service;
 
 
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.ruoyi.common.core.domain.AjaxResult;
 import com.ruoyi.domain.ZfPetNote;
@@ -23,6 +24,8 @@
 
     AjaxResult getAllPetNoteByPetId(Integer pageNum,Integer pageSize,String pid,ZfPetNote zfPetNote);
 
+    List<ZfPetNote> getPetNoteByPetId(String pid);
+
     AjaxResult mySave(ZfPetNote zfPetNote);
 
     List<ZfPetNote> selectByIds(Long[] ids);

--
Gitblit v1.9.1