Răsfoiți Sursa

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

xujie 11 luni în urmă
părinte
comite
e93f229d97

+ 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>