From 0a41407a35c47cba38c75f13eae69ebd49c0dfac Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 28 Sep 2021 17:29:28 +0800
Subject: [PATCH] fix agent auto level up

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

diff --git a/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml b/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml
index 102362d..6e76ed9 100644
--- a/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml
+++ b/src/main/resources/mapper/modules/DataDictionaryCustomMapper.xml
@@ -28,4 +28,15 @@
         select * from data_dictionary_custom a
         where a.type=#{type} and a.code=#{code}
     </select>
+
+
+    <select id="getAgentLevelOption" resultType="cc.mrbird.febs.mall.vo.AdminAgentLevelOptionTreeVo">
+        select a.code id,a.description name from data_dictionary_custom a
+        where a.type='AGENT_LEVEL'
+    </select>
+
+    <select id="getRankAwardUpdateInfoById" resultType="cc.mrbird.febs.mall.vo.AdminRankAwardUpdateInfoVo">
+        select a.* from data_dictionary_custom a
+        where a.id =  #{id}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1