From bfd7201c84e250e88b9a83ba55317b16f08c7a38 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 15 九月 2023 12:00:24 +0800 Subject: [PATCH] 定义了EsModel作为报错到es的数据模型,每个表要存储的是每个表的表明 表对应的主键,以及要被检索的字段 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 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 594e02e..67ef1bc 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -4,6 +4,10 @@ import com.ruoyi.domain.ZInfoUser; import com.ruoyi.domain.ZfRelation; +import com.ruoyi.domain.dto.Genealogy; +import com.ruoyi.domain.dto.GenealogyExportDto; +import com.ruoyi.domain.dto.RelationDto; + import java.util.List; /** @@ -20,11 +24,34 @@ List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); - AjaxResult searchMyRelation(Long userId); + AjaxResult searchMyRelation(); AjaxResult addRelation(ZfRelation zfRelation); AjaxResult updateRelation(ZfRelation zfRelation); AjaxResult deleteRelation(Long[] ids); + +// AjaxResult empower(EmpowerDto empowerDto); + + AjaxResult listWithTree(Integer depth); + + AjaxResult addParent(Long fatherId, Long motherId); + + AjaxResult listAllExceptAdmin(); + + AjaxResult listMySelfAndSpouse(Long id); + + AjaxResult listGenealogy(Genealogy genealogy,Integer pageNum,Integer pageSize); + + 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