| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public BigDecimal sumMoneyByUidAndDay(Long uid, String day) {
|
| | | BigDecimal money = teamDividentsSourceUserMapper.sumMoneyByTargetUidAndDay(uid, day);
|
| | | public BigDecimal sumMoneyByUidAndDay(Long uid, String day,Integer type) {
|
| | | BigDecimal money = teamDividentsSourceUserMapper.sumMoneyByTargetUidAndDayAndType(uid, day,type);
|
| | | if (money == null)
|
| | | return new BigDecimal(0);
|
| | | return money;
|
| | |
| | | return teamDividentsSourceUserMapper.countTargetUidByDay(day);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public TeamDividentsSourceUser selectBySourceUidAndDayAndUid(Long sourceUid, Long targetUid, String day) {
|
| | | return teamDividentsSourceUserMapper.selectBySourceUidAndDayAndUid(sourceUid, targetUid, day);
|
| | | }
|
| | |
|
| | | }
|