From 94b1a3bde93ad87f9347d8a08d70dd4f2318f1ce Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期日, 21 七月 2024 17:47:51 +0800 Subject: [PATCH] 修改分享bug --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 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 9f39317..88d20d7 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; @@ -18,10 +21,19 @@ public interface ZInfoUserService extends IService<ZInfoUser> { AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); + Boolean findByuid(Long uid, Long tfid); + List<ZInfoUser> getDataBySex(Integer sex); + + public ZInfoUser getInfoBysysId(Long sysid); + AjaxResult getInfoByfid(Long fid); + + // AjaxResult updateBySysId() List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser); - AjaxResult searchMyRelation(Long userId); + AjaxResult removeByUserName(List<String> userName); + List<ZInfoUser> selectByFamId(long fid); + AjaxResult searchMyRelation(); AjaxResult addRelation(ZfRelation zfRelation); @@ -29,12 +41,26 @@ AjaxResult deleteRelation(Long[] ids); - AjaxResult empower(EmpowerDto empowerDto); +// AjaxResult empower(EmpowerDto empowerDto); - AjaxResult listWithTree(); + AjaxResult listWithTree(Integer depth); AjaxResult addParent(Long fatherId, Long motherId); AjaxResult listAllExceptAdmin(); + AjaxResult listAllFamilyPeople(); + 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