From eba88ffa7c7572ace0603d42bfa734cafab4eaf6 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 15 九月 2023 12:00:59 +0800 Subject: [PATCH] 定义了EsModel作为报错到es的数据模型,每个表要存储的是每个表的表明 表对应的主键,以及要被检索的字段 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java index 9803c8e..67ef1bc 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -3,9 +3,10 @@ import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.domain.ZInfoUser; import com.ruoyi.domain.ZfRelation; -import com.ruoyi.domain.dto.EmpowerDto; + import com.ruoyi.domain.dto.Genealogy; import com.ruoyi.domain.dto.GenealogyExportDto; +import com.ruoyi.domain.dto.RelationDto; import java.util.List; @@ -23,7 +24,7 @@ List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); - AjaxResult searchMyRelation(Long userId); + AjaxResult searchMyRelation(); AjaxResult addRelation(ZfRelation zfRelation); @@ -31,7 +32,7 @@ AjaxResult deleteRelation(Long[] ids); - AjaxResult empower(EmpowerDto empowerDto); +// AjaxResult empower(EmpowerDto empowerDto); AjaxResult listWithTree(Integer depth); @@ -46,4 +47,11 @@ List<Genealogy> selectByIds(Long[] ids); List<Genealogy> selectDatas(List<GenealogyExportDto> params); + + ZInfoUser getInfoById(Long userId); + + ZInfoUser getMyself(); + + AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize); + } -- Gitblit v1.9.1