From f34203dacf5485b06d9d80618e5e14cf4463c2d7 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期一, 10 六月 2024 10:12:06 +0800 Subject: [PATCH] 修改了增加,修改用户代码 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 43 insertions(+), 1 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 b52fec8..d12a5fc 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,11 @@ 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.Genealogy; +import com.ruoyi.domain.dto.GenealogyExportDto; +import com.ruoyi.domain.dto.RelationDto; import java.util.List; @@ -17,7 +22,44 @@ 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 searchMyRelation(Long userId); + AjaxResult removeByUserName(List userName); + List<ZInfoUser> selectByFamId(long fid); + AjaxResult searchMyRelation(); + + 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 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