huangzhiguo 1 year ago
parent
commit
bc0a999fb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/BaseMapper.xml

+ 1 - 1
src/main/resources/mapper/BaseMapper.xml

@@ -83,7 +83,7 @@
         LIMIT 1
     </select>
     <select id="getServiceProvider" resultType="com.caimei365.user.model.vo.UserLoginVo">
-        SELECT serviceProviderID as serviceProviderId, status as operationStatus FROM serviceprovider WHERE contractMobile = #{mobile}
+        SELECT serviceProviderID as serviceProviderId, status as operationStatus FROM serviceprovider WHERE contractMobile = #{mobile} and organizeId = 4 limit 1
     </select>
     <select id="getUserIdByOrganizeStatus" resultType="com.caimei365.user.model.vo.UserLoginVo">
         SELECT userId, userIdentity, clubStatus