huangzhiguo 1 ano atrás
pai
commit
bc0a999fb1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main/resources/mapper/BaseMapper.xml

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

@@ -83,7 +83,7 @@
         LIMIT 1
         LIMIT 1
     </select>
     </select>
     <select id="getServiceProvider" resultType="com.caimei365.user.model.vo.UserLoginVo">
     <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>
     <select id="getUserIdByOrganizeStatus" resultType="com.caimei365.user.model.vo.UserLoginVo">
     <select id="getUserIdByOrganizeStatus" resultType="com.caimei365.user.model.vo.UserLoginVo">
         SELECT userId, userIdentity, clubStatus
         SELECT userId, userIdentity, clubStatus