From 97d0917628eba0baabd89269161eaf1732037673 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 14 六月 2025 14:56:10 +0800
Subject: [PATCH] 增加了一个uaid,来给每个用户唯一标识

---
 zhang-content/src/main/java/com/ruoyi/service/impl/ZfEventServiceImpl.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/zhang-content/src/main/java/com/ruoyi/service/impl/ZfEventServiceImpl.java b/zhang-content/src/main/java/com/ruoyi/service/impl/ZfEventServiceImpl.java
index de001af..9f92e63 100644
--- a/zhang-content/src/main/java/com/ruoyi/service/impl/ZfEventServiceImpl.java
+++ b/zhang-content/src/main/java/com/ruoyi/service/impl/ZfEventServiceImpl.java
@@ -228,6 +228,15 @@
         //涔熻鏌ュ埆浜烘巿鏉冪殑
         List<ZAuthority> authority = zAuthorityService.getAuthority();
         List<Long> idList = authority.stream().filter(auth -> auth.getAuthority().toString().equals(EVENT_LIST)).map(ZAuthority::getFid).collect(Collectors.toList());
+
+
+        //鏍规嵁uaid鏌ヨ鐩稿悓鍚嶅瓧涓嬪埆鐨勫搴噷鑷繁鐨勬暟鎹�
+     //   Long fmid;
+        List<Long> fms = zInfoUserService.findByUaidToFaid(myself.getUaid()).stream().map(ZInfoUser::getFamilyId).collect(Collectors.toList());
+        if(fms.size()!=0)
+        {
+            idList.add(fms.get(0));
+        }
         //鍔犱笂鑷繁瀹跺涵鐨刬d
         idList.add(familyId);
         System.out.println(authority);

--
Gitblit v1.9.1