From 5b603e79b0cae8c071bc67a8ec2920e694ea0d9c Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 11 六月 2024 22:13:25 +0800 Subject: [PATCH] 修改了增加,修改用户代码 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 21 ++++++++++++++++++--- 1 files changed, 18 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 05b1ac6..00e2113 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,16 @@ AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); + + + 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,14 +40,14 @@ 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 listAllFamilyPeople(); AjaxResult listMySelfAndSpouse(Long id); AjaxResult listGenealogy(Genealogy genealogy,Integer pageNum,Integer pageSize); @@ -47,4 +55,11 @@ 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