From df8cb45fe80d17e1df8b789250a30a429fee2626 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 26 Sep 2021 20:26:21 +0800
Subject: [PATCH] 20210926

---
 src/main/resources/mapper/modules/MallMemberMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMemberMapper.xml b/src/main/resources/mapper/modules/MallMemberMapper.xml
index 56d3ef5..6c12b3b 100644
--- a/src/main/resources/mapper/modules/MallMemberMapper.xml
+++ b/src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -139,4 +139,16 @@
     <select id="selectAllChildAgentListByInviteId" resultType="cc.mrbird.febs.mall.entity.MallMember">
         select * from mall_member where  find_in_set(#{inviteId}, referrer_ids)
     </select>
+
+    <select id="getAgentLevelListInPage" resultType="cc.mrbird.febs.mall.vo.AdminAgentLevelVo">
+        SELECT
+            a.id,b.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
+        ORDER BY
+            a.CREATED_TIME DESC
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1