| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | |
| | | import com.yeshi.fanli.service.inter.order.dividents.TeamDividentsSourceOrderUserMapService;
|
| | | import com.yeshi.fanli.util.MoneyBigDecimalUtil;
|
| | | import com.yeshi.fanli.vo.order.TeamDividentsVO;
|
| | | import com.yeshi.fanli.vo.order.TeamOrderVO;
|
| | |
|
| | | @Service
|
| | | public class TeamDividentsSourceOrderUserMapServiceImpl implements TeamDividentsSourceOrderUserMapService {
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public List<TeamDividentsVO> listByDateAndTargetUid(long start, int count, Long targetUid,Date minTime,Date maxTime) {
|
| | | return teamDividentsSourceOrderUserMapMapper.listByDateAndTargetUid(start, count, targetUid, minTime, maxTime);
|
| | | 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) {
|
| | | Long count = teamDividentsSourceOrderUserMapMapper.countByDateAndTargetUid(targetUid, minTime, maxTime);
|
| | | 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) {
|
| | | return teamDividentsSourceOrderUserMapMapper.sumByDateAndTargetUid(targetUid, minTime, maxTime);
|
| | | public TeamDividentsVO sumByDateAndTargetUid(Long targetUid,Date minTime,Date maxTime, String key) {
|
| | | return teamDividentsSourceOrderUserMapMapper.sumByDateAndTargetUid(targetUid, minTime, maxTime, key);
|
| | | }
|
| | |
|
| | | |
| | | @Override
|
| | | public List<TeamOrderVO> searchByOrderNoOrSourceUid(long start, int count, Long targetUid ,String key) {
|
| | | return teamDividentsSourceOrderUserMapMapper.searchByOrderNoOrSourceUid(start, count, targetUid, key);
|
| | | }
|
| | | |
| | | @Override
|
| | | public long countSearchByOrderNoOrSourceUid(Long targetUid ,String key) {
|
| | | Long count = teamDividentsSourceOrderUserMapMapper.countSearchByOrderNoOrSourceUid(targetUid, key);
|
| | | if (count == null) |
| | | count = 0L;
|
| | | return count;
|
| | | }
|
| | | }
|