From cdcb3e162421c91e650da4e3f39b73e7beba1231 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Fri, 09 Oct 2020 13:23:45 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerProfitDao.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerProfitDao.java b/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerProfitDao.java
index 188da7f..eca6dc4 100644
--- a/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerProfitDao.java
+++ b/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerProfitDao.java
@@ -1,5 +1,6 @@
package com.xcong.excoin.modules.documentary.dao;
+import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
@@ -35,5 +36,11 @@
IPage<FollowFollowerProfitEntity> selectTradeFollowerProfitEntitys(Page<FollowFollowerProfitEntity> page,
@Param("memberId")Long memberId);
+
+ int updateFollowerProfitByTradeMemberId(@Param("principal") BigDecimal principal, @Param("profit") BigDecimal profit, @Param("tradeMemberId") Long tradeMemberId, @Param("memberId") Long memberId);
+
+ int selectFollowerCntByTradeMemberId(@Param("tradeMemberId") Long tradeMemberId);
+
+ BigDecimal selectAllFollowerProfit(@Param("tradeMemberId") Long tradeMemberId);
}
--
Gitblit v1.9.1