| | |
| | | |
| | | <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 |
| | |
| | | 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> |