Browse Source

用户登录优化

zhijiezhao 2 years ago
parent
commit
afd279f9d3
1 changed files with 2 additions and 0 deletions
  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">