From 7861e27efc998c3410e9d0ee20fc9e7f9a0780f5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 16 Jul 2020 21:53:06 +0800
Subject: [PATCH] Merge branch 'master' of https://gitee.com/chonggaoxiao/new_excoin_agent

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

diff --git a/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml b/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml
index 68a1891..ff2b985 100644
--- a/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml
+++ b/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml
@@ -6,4 +6,10 @@
         select * from agent_friend_relation
         where user_id=#{userId}
     </select>
+
+    <update id="updateByUserId">
+        update agent_friend_relation
+        set return_ratio = #{record.returnRatio}
+        where user_id=#{record.userId}
+    </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1