| | |
| | |
|
| | | @Override
|
| | | public BigDecimal getMoneyToday(Long uid) {
|
| | | return shareMapper.getMoneyToday(uid + "");
|
| | | BigDecimal money = shareMapper.getMoneyToday(uid + "");
|
| | | return money == null ? new BigDecimal(0) : money;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public BigDecimal getMoneyMonth(Long uid) {
|
| | | return shareMapper.getMoneyMonth(uid + "");
|
| | | BigDecimal money = shareMapper.getMoneyMonth(uid + "");
|
| | | return money == null ? new BigDecimal(0) : money;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public BigDecimal getMoneyLastMonth(Long uid) {
|
| | | return shareMapper.getMoneyLastMonth(uid + "");
|
| | | BigDecimal money = shareMapper.getMoneyLastMonth(uid + "");
|
| | |
|
| | | return money == null ? new BigDecimal(0) : money;
|
| | | }
|
| | |
|
| | | }
|