소스 검색

fix 名称重复

he2802 3 년 전
부모
커밋
071c125754
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/system/SysUserMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/system/SysUserMapper.xml

@@ -141,7 +141,7 @@
 
     <select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">
         <include refid="selectUserVo"/>
-        where u.user_name = #{userName}
+        where u.user_name = #{userName} and u.`status` != -1
     </select>
 
     <select id="selectUserById" parameterType="Long" resultMap="SysUserResult">