From 8430d77a62ed5b1cbc1f635ed44ba2a9b5ca5a64 Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期二, 02 九月 2025 16:07:57 +0800
Subject: [PATCH] 同一用户(电话+姓名相同) 新增用户时 同步uaid和个人简历的信息

---
 zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 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 67ef1bc..018e0f4 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,33 @@
  */
 public interface ZInfoUserService extends IService<ZInfoUser> {
 
+
+    Boolean setUaidSame(String phone, String username,String uniqueId);
+
+    void setUserInfoSame(ZInfoUser 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,12 +58,14 @@
 
 //    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);
 
     AjaxResult listGenealogy(Genealogy genealogy,Integer pageNum,Integer pageSize);

--
Gitblit v1.9.1