|
|
@@ -2038,6 +2038,11 @@ namespace MySystem
|
|
|
{
|
|
|
TradeAmount += rdb.TradeDaySummary.Where(m => m.UserId == user.Id && m.TradeMonth == TradeMonth && m.SeoTitle == "team").Sum(m => m.HelpNonDirectTradeAmt + m.HelpNonDirectDebitTradeAmt + m.NotHelpNonDirectTradeAmt + m.NotHelpNonDirectDebitTradeAmt + m.ProfitNonDirectTradeAmt + m.ProfitNonDirectDebitTradeAmt);
|
|
|
}
|
|
|
+ check = rdb.TradeDaySummary2.Any(m => m.UserId == user.Id && m.TradeMonth == TradeMonth && m.SeoTitle == "team");
|
|
|
+ if (check)
|
|
|
+ {
|
|
|
+ TradeAmount += rdb.TradeDaySummary2.Where(m => m.UserId == user.Id && m.TradeMonth == TradeMonth && m.SeoTitle == "team").Sum(m => m.ProfitTradeAmt + m.ProfitDebitTradeAmt);
|
|
|
+ }
|
|
|
//助利宝团队交易额
|
|
|
TradeAmount += HelpProfitTradeSummaryDbconn.Instance.GetTrade(user.Id, TradeMonth, "team");
|
|
|
//码牌团队交易额(直联)
|