| | |
| | | </select> |
| | | |
| | | <select id="getAgentListInPage" resultType="cc.mrbird.febs.mall.vo.AdminAgentVo"> |
| | | SELECT * FROM mall_member m |
| | | SELECT m.*,a.description levelName FROM mall_member m |
| | | left join data_dictionary_custom a on a.code = m.level |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.name!=null and record.name!=''"> |
| | |
| | | </if> |
| | | </if> |
| | | </where> |
| | | group by m.id |
| | | order by m.CREATED_TIME desc |
| | | </select> |
| | | |
| | |
| | | ORDER BY |
| | | a.CREATED_TIME DESC |
| | | </select> |
| | | |
| | | <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 |
| | | where find_in_set(#{record.inviteId}, m.referrer_ids) |
| | | </select> |
| | | </mapper> |