xiaoyong931011
2021-04-22 1c23bfe752fea2e815daa4bdd93859dee9e5b87c
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>