huangzhiguo 1 vuosi sitten
vanhempi
commit
bc0a999fb1
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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