he2802 3 anni fa
parent
commit
071c125754

+ 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">