| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ycl.entity.store.StoreInfo; |
| | | import com.ycl.entity.store.StoreScore; |
| | | import com.ycl.enums.common.ResultCode; |
| | | import com.ycl.exception.ApiException; |
| | | import com.ycl.mapper.store.StoreInfoMapper; |
| | | import com.ycl.mapper.store.StoreScoreMapper; |
| | | import com.ycl.mapper.video.VideoPointMapper; |
| | | import com.ycl.service.store.StoreInfoService; |
| | | import com.ycl.utils.ExcelUtils; |
| | |
| | | |
| | | @Resource |
| | | VideoPointMapper videoPointMapper; |
| | | |
| | | @Resource |
| | | StoreScoreMapper storeScoreMapper; |
| | | |
| | | |
| | | @Override |
| | |
| | | throw new ApiException(ResultCode.FAILED); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public Page<StoreScore> getScoreList(Long storeId, Integer pageSize, Integer pageNum) { |
| | | Page<StoreScore> storeScorePage = new Page<>(); |
| | | storeScorePage.setSize(pageSize); |
| | | storeScorePage.setCurrent(pageNum); |
| | | LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<StoreScore>().eq(StoreScore::getStoreId, storeId); |
| | | Page<StoreScore> page = storeScoreMapper.selectPage(storeScorePage, queryWrapper); |
| | | return page; |
| | | } |
| | | } |