| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import org.springframework.stereotype.Service; |
| | | import org.yeshi.utils.DateUtil; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private CommonOrderCountMapper commonOrderCountMapper; |
| | | |
| | | |
| | | @Resource |
| | | private CountOrderInfoDao countOrderInfoDao; |
| | | |
| | | |
| | | |
| | | @Resource |
| | | private CountOrderTrackRateDao countOrderTrackRateDao; |
| | | |
| | | |
| | | @Override |
| | | public Long countByState(Integer state) { |
| | | return commonOrderCountMapper.countByState(state); |
| | |
| | | return count; |
| | | } |
| | | |
| | | @Override |
| | | public long countHistoryOrderNum(Long uid) { |
| | | Long count = commonOrderCountMapper.countHistoryOrderNum(uid); |
| | | if (count == null) { |
| | | count = 0L; |
| | | } |
| | | return count; |
| | | } |
| | | |
| | | |
| | | } |