|
|
@@ -21,8 +21,7 @@
|
|
|
from UserTradeMonthSummary
|
|
|
where UserId = #{userId}
|
|
|
and SeoTitle = 'team'
|
|
|
- and BrandId = 14
|
|
|
- GROUP BY TradeMonth) gd on gd.UserId = pos.UserId
|
|
|
+ and BrandId = 14) gd on gd.UserId = pos.UserId
|
|
|
|
|
|
left join (select sum(TradeAmount) as zlb, UserId
|
|
|
from HelpProfitUserTradeSummay
|