| | |
| | | int myTeamCount = myFirstTeamCount + mySecondTeamCount;
|
| | | data.put("myTeam", myTeamCount);
|
| | | // 今日 本月预估收益
|
| | | BigDecimal moneyToday = inviteGetMoneyService.getMoneyToday(uid);
|
| | | BigDecimal moneyToday = inviteGetMoneyService.getMoneyToday(uid + "");
|
| | | if (moneyToday == null) {
|
| | | moneyToday = new BigDecimal(0);
|
| | | }
|
| | |
|
| | | BigDecimal moneyMonth = inviteGetMoneyService.getMoneyMonth(uid);
|
| | | BigDecimal moneyMonth = inviteGetMoneyService.getMoneyMonth(uid + "");
|
| | | if (moneyMonth == null) {
|
| | | moneyMonth = new BigDecimal(0);
|
| | | }
|
| | |
|
| | | BigDecimal moneyLastMonth = inviteGetMoneyService.getMoneyLastMonth(uid);
|
| | | BigDecimal moneyLastMonth = inviteGetMoneyService.getMoneyLastMonth(uid + "");
|
| | |
|
| | | data.put("moneyToday", moneyToday.setScale(2, BigDecimal.ROUND_DOWN));
|
| | | data.put("moneyMonth", moneyMonth.setScale(2, BigDecimal.ROUND_DOWN));
|