Browse Source

排除已删除用户

hym 4 years ago
parent
commit
9ec9920d6b
1 changed files with 1 additions and 0 deletions
  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>