|
@@ -2058,10 +2058,10 @@ namespace MySystem
|
|
|
TradeAmount += mpmaindb2.UserAmountSummary.Where(m => m.UserId == user.Id && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.IsAct == 1).Sum(m => m.TotalAmount) * 4;
|
|
|
}
|
|
|
//广电卡扶持期按1万/张计入职级
|
|
|
- check = rdb.UserTradeMonthSummary.Any(m => m.UserId == user.Id && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.BrandId == 14);
|
|
|
+ check = rdb.UserTradeMonthSummary.Any(m => m.UserId == user.Id && m.SeoTitle == "team" && m.BrandId == 14);
|
|
|
if (check)
|
|
|
{
|
|
|
- int ActCount = rdb.UserTradeMonthSummary.Where(m => m.UserId == user.Id && m.TradeMonth == TradeMonth && m.SeoTitle == "team" && m.BrandId == 14).Sum(m => m.ActiveBuddyMerStatus);
|
|
|
+ int ActCount = rdb.UserTradeMonthSummary.Where(m => m.UserId == user.Id && m.SeoTitle == "team" && m.BrandId == 14).Sum(m => m.ActiveBuddyMerStatus);
|
|
|
ActCount -= rdb.SimposMerchantInfo.Count(m => m.UserId == user.Id && m.Status < 0); //减去注销的用户
|
|
|
TradeAmount += ActCount * 10000;
|
|
|
}
|