KKSU
2024-08-28 177e5d562eb317843f6e7ddf89bfbf7aadc7e99b
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -469,7 +469,7 @@
    <select id="selectMemberWithLevelAndMemberId" resultType="cc.mrbird.febs.mall.entity.MallMember">
        select * from mall_member
        where level=#{level}
        and id = #{memberId}
        and (find_in_set(#{inviteId}, referrer_ids) or invite_id = #{inviteId})
    </select>
    <select id="selectMemberIdWithLevel" resultType="java.lang.Long">
@@ -626,4 +626,10 @@
        </where>
        order by a.CREATED_TIME desc
    </select>
    <select id="selectMemberWithLevelAndInviteId" resultType="cc.mrbird.febs.mall.entity.MallMember">
        select * from mall_member
        where level = #{levelType}
          and invite_id = #{inviteId}
    </select>
</mapper>