From dfdd4bd5d112a17ccd1483ad11fe023817d54d26 Mon Sep 17 00:00:00 2001 From: whywhyo <1511349576@qq.com> Date: 星期六, 22 七月 2023 15:20:13 +0800 Subject: [PATCH] 45648 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 26 +++++++++++++++++++++++--- 1 files changed, 23 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 ea7a36f..cb9bd92 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -3,7 +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; @@ -21,7 +24,7 @@ List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); - AjaxResult searchMyRelation(Long userId); + AjaxResult searchMyRelation(); AjaxResult addRelation(ZfRelation zfRelation); @@ -29,6 +32,23 @@ AjaxResult deleteRelation(Long[] ids); - AjaxResult empower(EmpowerDto empowerDto); +// 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(); } -- Gitblit v1.9.1