src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -43,7 +43,7 @@ </if> </if> </where> order by m.CREATED_TIME desc order by m.id desc </select> <select id="getMallMemberInfoById" resultType="cc.mrbird.febs.mall.vo.MallMemberVo"> @@ -496,8 +496,8 @@ select IFNULL(count(1),0) from mall_member x where x.referrer_id=#{inviteId} and x.level != 'ZERO_LEVEL' <if test="accountLevel == 2"> and x.account_level = 2 <if test="accountLevel == 1 or accountLevel == 2"> and x.account_level = #{accountLevel} </if> <if test="accountLevel == 3"> and x.account_level in (2, 3)