| | |
| | | import com.yeshi.fanli.exception.ParamsException;
|
| | | import com.yeshi.fanli.service.inter.order.dividents.TeamDividentsSourceOrderUserMapService;
|
| | | import com.yeshi.fanli.util.MoneyBigDecimalUtil;
|
| | | import com.yeshi.fanli.vo.order.TeamDividentsVO;
|
| | |
|
| | | @Service
|
| | | public class TeamDividentsSourceOrderUserMapServiceImpl implements TeamDividentsSourceOrderUserMapService {
|
| | |
| | | return teamDividentsSourceOrderUserMapMapper.list(sourceOrderId, null, targetUid, null, null, null, 0, 10000);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<TeamDividentsVO> listByDateAndTargetUid(long start, int count, Long targetUid,Date minTime,Date maxTime, String key) {
|
| | | return teamDividentsSourceOrderUserMapMapper.listByDateAndTargetUid(start, count, targetUid, minTime, maxTime, key);
|
| | | }
|
| | | |
| | | @Override
|
| | | public long countByDateAndTargetUid(Long targetUid,Date minTime,Date maxTime, String key) {
|
| | | Long count = teamDividentsSourceOrderUserMapMapper.countByDateAndTargetUid(targetUid, minTime, maxTime, key);
|
| | | if (count == null) |
| | | count = 0L;
|
| | | return count;
|
| | | }
|
| | | |
| | | @Override
|
| | | public TeamDividentsVO sumByDateAndTargetUid(Long targetUid,Date minTime,Date maxTime, String key) {
|
| | | return teamDividentsSourceOrderUserMapMapper.sumByDateAndTargetUid(targetUid, minTime, maxTime, key);
|
| | | }
|
| | |
|
| | | }
|