Sfoglia il codice sorgente

修改渠道客户限制最大客户数

anderx 4 anni fa
parent
commit
308803ccd7

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -2054,7 +2054,7 @@ inner join(
 	<select id="checkUserMax" parameterType="string" resultType="integer">
 		select count(*) from `user`
 		where aid= #{aid,jdbcType=VARCHAR}
-		and source in(1,2,3) and share_type=0
+		and source in(1,2,3) and share_type=0 and channel =0
 	</select>
 	
 	<select id="checkRoleMax" parameterType="string" resultType="string">