KKSU
2024-08-28 177e5d562eb317843f6e7ddf89bfbf7aadc7e99b
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -466,6 +466,12 @@
        where level=#{level}
    </select>
    <select id="selectMemberWithLevelAndMemberId" resultType="cc.mrbird.febs.mall.entity.MallMember">
        select * from mall_member
        where level=#{level}
        and (find_in_set(#{inviteId}, referrer_ids) or invite_id = #{inviteId})
    </select>
    <select id="selectMemberIdWithLevel" resultType="java.lang.Long">
        select id from mall_member
        where level = #{level}
@@ -620,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>