| | |
| | | package cn.gistack.sm.skPanorama.service.impl; |
| | | |
| | | import cn.gistack.sm.skPanorama.entity.SkPanoramaEntity; |
| | | import cn.gistack.sm.skPanorama.entity.SkPicCountEntity; |
| | | import cn.gistack.sm.skPanorama.vo.SkPanoramaVO; |
| | | import cn.gistack.sm.skPanorama.mapper.SkPanoramaMapper; |
| | | import cn.gistack.sm.skPanorama.service.ISkPanoramaService; |
| | |
| | | |
| | | @Override |
| | | public IPage<SkPanoramaVO> selectSkPanoramaPage(IPage<SkPanoramaVO> page, SkPanoramaVO skPanorama) { |
| | | return page.setRecords(baseMapper.selectSkPanoramaPage(page, skPanorama)); |
| | | |
| | | // return page.setRecords(baseMapper.selectSkPanoramaPage(page, skPanorama)); |
| | | |
| | | |
| | | return null; |
| | | } |
| | | |
| | | |
| | | public IPage<SkPicCountEntity> selectPageR(IPage<SkPicCountEntity> page, |
| | | Integer startIndex, |
| | | Integer endIndex, |
| | | SkPicCountEntity skPanorama) { |
| | | |
| | | List<SkPicCountEntity> skPicCountEntities = baseMapper.selectPageR(startIndex, endIndex, skPanorama); |
| | | Integer totalcount = baseMapper.selectPageCountR(skPanorama); |
| | | |
| | | page.setRecords(skPicCountEntities); |
| | | page.setTotal(totalcount); |
| | | return page; |
| | | } |
| | | |
| | | @Override |