|
@@ -1839,6 +1839,20 @@ namespace MySystem
|
|
|
dic.Add(UserId, decimal.Parse(function.CheckNum(ThisMonthTrade)));
|
|
|
}
|
|
|
}
|
|
|
+ list = CustomerSqlConn.dtable("select UserId,sum(ActiveBuddyMerStatus)*10000 from UserTradeMonthSummary where TradeMonth='" + TradeMonth + "' and SeoTitle='team' and UserId>0 group by UserId", MysqlConn.ReadSqlConnStr);
|
|
|
+ foreach (DataRow dr in list.Rows)
|
|
|
+ {
|
|
|
+ string UserId = dr["UserId"].ToString();
|
|
|
+ string ThisMonthTrade = dr[1].ToString();
|
|
|
+ if(dic.ContainsKey(UserId))
|
|
|
+ {
|
|
|
+ dic[UserId] += decimal.Parse(function.CheckNum(ThisMonthTrade));
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ dic.Add(UserId, decimal.Parse(function.CheckNum(ThisMonthTrade)));
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
int index = 0;
|
|
|
string sql = "";
|