From ea9c9f47bbd3b722e4b2fd215d38fbd86e8b4969 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 12 Jun 2020 18:00:36 +0800
Subject: [PATCH] modify

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

diff --git a/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml b/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml
index a86b18c..68a1891 100644
--- a/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml
+++ b/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml
@@ -2,4 +2,8 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.xcong.excoin.modules.agent.mapper.AgentFriendRelationMapper">
 
+    <select id="selectAgentFriendRelationByUserId" resultType="com.xcong.excoin.modules.agent.entity.AgentFriendRelationEntity">
+        select * from agent_friend_relation
+        where user_id=#{userId}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1