From 150b8d2d049ceb69cb301d12c38aae190c21a05c Mon Sep 17 00:00:00 2001 From: whywhyo <1511349576@qq.com> Date: 星期六, 13 五月 2023 21:52:36 +0800 Subject: [PATCH] 1 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 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 8c70e11..66fb383 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -2,6 +2,8 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.domain.ZInfoUser; +import com.ruoyi.domain.ZfRelation; +import com.ruoyi.domain.dto.EmpowerDto; import java.util.List; @@ -18,4 +20,22 @@ AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); + + AjaxResult searchMyRelation(Long userId); + + 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); } -- Gitblit v1.9.1