xiaoyong931011
2022-12-21 5e1ed925aed16164a9840eece046003daded3088
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -151,7 +151,7 @@
        or find_in_set(m.invite_id, e.referrer_ids)
        ),0) amount
        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>
            <if test="record != null" >
                <if test="record.name!=null and record.name!=''">
@@ -188,12 +188,10 @@
    <select id="getAgentLevelListInPage" resultType="cc.mrbird.febs.mall.vo.AdminAgentLevelVo">
        SELECT
            a.id,b.description name
            a.id,a.description name
        FROM
            data_dictionary_custom a
                left JOIN data_dictionary_custom b on a.code = b.code
        where a.type = 'AGENT_LEVEL_REQUIRE'
        GROUP BY a.id
        where a.type = 'MEMBER_AGENT_LEVEL'
        ORDER BY
            a.CREATED_TIME DESC
    </select>