xiaoyong931011
2020-08-06 a087a1cb3aa2a121c8421bcdc232528ecd7c1f92
src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml
@@ -86,7 +86,8 @@
   <update id="updateFollowerProfitByTradeMemberId">
      update follow_follower_profit
      set total_principal=#{principal}, total_profit=#{profit}
      set total_principal=total_principal+#{principal},
      total_profit=total_profit+#{profit}
      where trade_member_id=#{tradeMemberId} and member_id=#{memberId}
   </update>
</mapper>