소스 검색

用户登录优化

zhijiezhao 2 년 전
부모
커밋
afd279f9d3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/main/resources/mapper/LoginMapper.xml

+ 2 - 0
src/main/resources/mapper/LoginMapper.xml

@@ -52,6 +52,8 @@
             )
           and u.userIdentity in (1, 2, 3, 4)
           and u.userOrganizeID = 0
+          and u.userId>0
+          and cu.id >0
         limit 1
     </select>
     <select id="getLoginUserByMobile" resultType="com.caimei365.user.model.vo.UserLoginVo">