Преглед на файлове

修改已删除和禁用用户不发送告警短信

xujie преди 11 месеца
родител
ревизия
e93f229d97
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      soc-modules/soc-modules-host/src/main/resources/mapper/CoreNoticeRuleItemMapper.xml

+ 1 - 1
soc-modules/soc-modules-host/src/main/resources/mapper/CoreNoticeRuleItemMapper.xml

@@ -41,6 +41,6 @@
             AND t.product_type = #{productType}
     </select>
     <select id="getUserById" resultType="com.xunmei.system.api.domain.SysUser">
-        select * from sys_user where id = #{userId} and is_lock = 0
+        select * from sys_user where id = #{userId} and is_lock = 0  and deleted = 0
     </select>
 </mapper>