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>