From a150bbd71cb204432c945d5988b3b9ac21a99b31 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期一, 18 十一月 2024 21:42:44 +0800 Subject: [PATCH] 修改家谱搜索 --- 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 14df7a7..398efc6 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,7 @@ 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; @@ -22,8 +22,23 @@ AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); + Boolean findByuid(Long uid, Long tfid); + + List<ZInfoUser> selectByClanId(Integer clanId); + + AjaxResult findInfoUserNameAClan(String nickName); + + List<ZInfoUser> getDataBySex(Integer sex,Integer clanId); + + public ZInfoUser getInfoBysysId(Long sysid); + + AjaxResult getInfoByfid(Long fid); + + // AjaxResult updateBySysId() List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); + AjaxResult removeByUserName(List<String> userName); + List<ZInfoUser> selectByFamId(long fid); AjaxResult searchMyRelation(); AjaxResult addRelation(ZfRelation zfRelation); @@ -32,13 +47,15 @@ AjaxResult deleteRelation(Long[] ids); - AjaxResult empower(EmpowerDto empowerDto); +// AjaxResult empower(EmpowerDto empowerDto); - AjaxResult listWithTree(Integer depth); + AjaxResult listWithTree(Integer depth, Integer clanId); AjaxResult addParent(Long fatherId, Long motherId); AjaxResult listAllExceptAdmin(); + + AjaxResult listAllFamilyPeople(Integer clanId); AjaxResult listMySelfAndSpouse(Long id); @@ -51,4 +68,7 @@ ZInfoUser getInfoById(Long userId); ZInfoUser getMyself(); + + AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize); + } -- Gitblit v1.9.1