From fd29ca6cef3074b7d43fc0885ffe5bfe730bfd42 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 15 七月 2025 22:41:46 +0800 Subject: [PATCH] 修改配偶时 将原配偶对应的spouseid进行清空 --- zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java | 27 ++++++++++++++++++++++++++- 1 files changed, 26 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 cb9bd92..32b36e4 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java @@ -1,6 +1,7 @@ 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; @@ -20,10 +21,29 @@ */ public interface ZInfoUserService extends IService<ZInfoUser> { + + 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 removeByUserName(List<String> userName); + List<ZInfoUser> selectByFamId(long fid); AjaxResult searchMyRelation(); AjaxResult addRelation(ZfRelation zfRelation); @@ -34,11 +54,13 @@ // 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 +73,7 @@ ZInfoUser getInfoById(Long userId); ZInfoUser getMyself(); + + AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize); + } -- Gitblit v1.9.1