From d29cce61fb3a38f9f57a64a2a20d276b0d1254bc Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期六, 16 九月 2023 11:54:24 +0800 Subject: [PATCH] es的增加索引和查询已经写好了,可以直接调用了 --- zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java | 12 ++++++++++++ 1 files changed, 12 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 8ac0e43..9edaa01 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZfPetNoteService.java @@ -2,7 +2,10 @@ import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.domain.ZfPetNote; + +import java.util.List; /** * <p> @@ -14,4 +17,13 @@ */ public interface ZfPetNoteService extends IService<ZfPetNote> { + AjaxResult selectPetNoteList(ZfPetNote zfPetNote, Integer pageNum, Integer pageSize); + + List<ZfPetNote> selectByCondition(ZfPetNote zfPetNote); + + AjaxResult getAllPetNoteByPetId(Integer pageNum,Integer pageSize,String pid,ZfPetNote zfPetNote); + + AjaxResult mySave(ZfPetNote zfPetNote); + + List<ZfPetNote> selectByIds(Long[] ids); } -- Gitblit v1.9.1