From f703e6ebceac409876e6a4af3da436b3b1ec927c Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期一, 24 二月 2025 17:38:34 +0800
Subject: [PATCH] 修改管理后台登录和鉴权逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/MessageNotificationMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/MessageNotificationMapper.xml b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/MessageNotificationMapper.xml
index 57813ae..f71fd30 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/MessageNotificationMapper.xml
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/MessageNotificationMapper.xml
@@ -21,7 +21,7 @@
 		left join sgsb_system_user c on (a.phone = c.phone)
 		left join sgsb_department d on (c.department_id = d.id)
 		left join sgsb_position e on (c.position_id = e.id)
-		where 1=1
+		where a.undertaker_type = #{query.undertakerType} and a.undertaker_user_id = #{query.userId}
 		<if test="query.title != null and query.title != ''">
 			and a.title like concat('%', #{query.title}, '%')
 		</if>

--
Gitblit v1.7.1