소스 검색

排除已删除用户

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>