浏览代码

排除已删除用户

hym 4 年之前
父节点
当前提交
9ec9920d6b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      user_auth/src/main/resources/mapper/UserMapper.xml

+ 1 - 0
user_auth/src/main/resources/mapper/UserMapper.xml

@@ -54,6 +54,7 @@
         join uims_org c on a.COMPANY_ORG_ID=c.id left join
         uims_org d on a.DEPT_ORG_ID=d.ID
         <where>
+                          and a.status=1
             <if test="id != null">
                 and ID = #{id}
             </if>