Parcourir la source

排除已删除用户

hym il y a 4 ans
Parent
commit
9ec9920d6b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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>