From 148e5c84e87e594c0711bdf8476f5b8b2cc3170b Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期日, 22 六月 2025 22:34:03 +0800 Subject: [PATCH] 修改用户时 婚姻跟着修改 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 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 6b00818..61e8a8f 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -1,6 +1,7 @@ package com.ruoyi.service; import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.domain.ZInfoUser; import com.ruoyi.domain.ZfRelation; @@ -21,9 +22,18 @@ public interface ZInfoUserService extends IService<ZInfoUser> { AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); - Boolean findByuid(Long uid, Long tfid); - public ZInfoUser getInfoBysysId(Long sysid); + Boolean findByuid(Long uid, Long tfid); + + List<ZInfoUser> findByUaidToFaid(String usid); + List<ZInfoUser> selectByClanId(Integer clanId); + + AjaxResult findUserNameAClan(List<String> nickNames); + + List<ZInfoUser> getDataBySex(Integer sex,Integer clanId); + + public ZInfoUser getInfoBysysId(Long sysid); + AjaxResult getInfoByfid(Long fid); // AjaxResult updateBySysId() @@ -41,12 +51,14 @@ // AjaxResult empower(EmpowerDto empowerDto); - AjaxResult listWithTree(Integer depth); + AjaxResult listWithTree(Integer depth, Integer clanId); AjaxResult addParent(Long fatherId, Long motherId); AjaxResult listAllExceptAdmin(); - AjaxResult listAllFamilyPeople(); + + AjaxResult listAllFamilyPeople(Integer clanId); + AjaxResult listMySelfAndSpouse(Long id); AjaxResult listGenealogy(Genealogy genealogy,Integer pageNum,Integer pageSize); -- Gitblit v1.9.1