瀏覽代碼

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

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>