xiaoyong931011
2021-04-23 8acb28f8ef070a90be79f4d7ef09bcefadb6f27f
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>