src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -29,7 +29,8 @@ </select> <select id="getMallMemberInfoById" resultType="cc.mrbird.febs.mall.vo.MallMemberVo"> SELECT a.name, SELECT a.id, a.name, a.phone, a.email, a.sex, @@ -239,4 +240,14 @@ GROUP BY m.id </select> <select id="getAgentLevelSetInfoByMemberId" resultType="cc.mrbird.febs.mall.vo.AdminAgentLevelSetInfoVo"> SELECT a.id,d.code levelCode FROM mall_member a LEFT JOIN data_dictionary_custom d on d.code = a.level where a.id = #{id} and d.type = 'AGENT_LEVEL' GROUP BY a.id </select> </mapper>