From f9f46030de1fdeb436e9f02d8bfe3e3c611c4d7a Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 13 一月 2026 10:58:16 +0800
Subject: [PATCH] 公告类型字段,另加一个配置功能(类似字典功能),并且也作为消息通知通知到每个人
---
src/main/resources/mapper/system/SysUserDeptMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/system/SysUserDeptMapper.xml b/src/main/resources/mapper/system/SysUserDeptMapper.xml
index bcf7b01..7caa57e 100644
--- a/src/main/resources/mapper/system/SysUserDeptMapper.xml
+++ b/src/main/resources/mapper/system/SysUserDeptMapper.xml
@@ -13,7 +13,7 @@
sys_user_dept T1
LEFT JOIN sys_dept T2 ON T1.dept_id = T2.dept_id
<where>
- T1.dept_id IN (select dept_id from sys_dept where parent_id = 100)
+ T1.dept_id IN (select dept_id from sys_dept where parent_id != 0)
<if test="userDeptVo.userId != null">
AND T1.user_id = #{userDeptVo.userId}
</if>
--
Gitblit v1.9.3