| | |
| | | import org.springframework.stereotype.Service;
|
| | | import org.yeshi.utils.DateUtil;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.UserInfoCountMapper;
|
| | | import com.yeshi.fanli.dao.mybatis.UserInfoMapper;
|
| | | import com.yeshi.fanli.service.inter.count.UserInfoCountService;
|
| | | import com.yeshi.fanli.vo.user.UserGoldCoinVO;
|
| | |
|
| | | @Service
|
| | | public class UserInfoCountServiceImpl implements UserInfoCountService {
|
| | |
|
| | | @Resource
|
| | | private UserInfoMapper userInfoMapper;
|
| | | |
| | | @Resource
|
| | | private UserInfoCountMapper userInfoCountMapper;
|
| | |
|
| | |
|
| | | @Override
|
| | |
| | | return listObject;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<UserGoldCoinVO> listByUserGoldCoin(long start, int count, int type) {
|
| | | return userInfoCountMapper.listByUserGoldCoin(start, count, type);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long countByUserGoldCoin(int type) {
|
| | | return userInfoCountMapper.countByUserGoldCoin(type);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public List<UserGoldCoinVO> listByHasGoldCoin(long start, int count) {
|
| | | return userInfoCountMapper.listByHasGoldCoin(start, count);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long countByHasGoldCoin() {
|
| | | return userInfoCountMapper.countByHasGoldCoin();
|
| | | }
|
| | | }
|