xiaoyong931011
2022-12-21 2ddd82d44c350eea3ad41df90723a082b98c8b42
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -200,7 +200,7 @@
    <select id="getAgentChildInPage" resultType="cc.mrbird.febs.mall.vo.AdminAgentMemberVo">
        select m.*,a.description levelName from mall_member m
            left join data_dictionary_custom a on a.code = m.level
            left join data_dictionary_custom a on a.description = m.level
        where  find_in_set(#{record.inviteId}, m.referrer_ids)
        GROUP BY m.id
        ORDER BY
@@ -431,4 +431,12 @@
        where level = #{level}
          and FIND_IN_SET(#{inviteId}, referrer_ids)
    </select>
    <update id="updateAccountLevelById">
        update mall_member
        set
            account_level = #{accountLevel}
        where
            id = #{id}
    </update>
</mapper>