From b02beccf4567068cb47a3f1181a00039456c872d Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期三, 06 八月 2025 15:37:20 +0800 Subject: [PATCH] 用户修改姓名和电话同步修改uaid --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 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 594e02e..2eaffaa 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -1,8 +1,13 @@ 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; + +import com.ruoyi.domain.dto.Genealogy; +import com.ruoyi.domain.dto.GenealogyExportDto; +import com.ruoyi.domain.dto.RelationDto; import java.util.List; @@ -16,15 +21,61 @@ */ public interface ZInfoUserService extends IService<ZInfoUser> { + + void setUaidSame(String phone, String username,String uniqueId); + + void setSpouseOnly(Long spouse); + AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize); + 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() 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); AjaxResult updateRelation(ZfRelation zfRelation); AjaxResult deleteRelation(Long[] ids); + +// AjaxResult empower(EmpowerDto empowerDto); + + AjaxResult listWithTree(Integer depth, Integer clanId); + + AjaxResult addParent(Long fatherId, Long motherId); + + AjaxResult listAllExceptAdmin(); + + AjaxResult listAllFamilyPeople(Integer clanId); + + 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