From 801b7d11f1ce9b49f35af7eec572143662c4daf4 Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期五, 24 二月 2023 21:21:19 +0800 Subject: [PATCH] 统计报警时间,查询空指针 --- ycl-common/src/main/resources/mapper/depart/UmsDepartMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ycl-common/src/main/resources/mapper/depart/UmsDepartMapper.xml b/ycl-common/src/main/resources/mapper/depart/UmsDepartMapper.xml index e2b5f47..1bf44a2 100644 --- a/ycl-common/src/main/resources/mapper/depart/UmsDepartMapper.xml +++ b/ycl-common/src/main/resources/mapper/depart/UmsDepartMapper.xml @@ -38,7 +38,7 @@ FROM ums_depart ud LEFT JOIN ums_depart_manager udm ON ud.id = udm.depart_id LEFT JOIN ums_admin ua ON udm.user_id = ua.id - where ud.is_deleted = 0 + where ud.is_deleted = 0 and ud.status=1 </select> <select id="selectPageByName" resultMap="DepartVOMap"> SELECT t_0.*, -- Gitblit v1.8.0