|
@@ -33,11 +33,11 @@ public class ConferenceLivePhotoServiceImpl extends ServiceImpl<ConferenceLivePh
|
|
|
@Resource
|
|
|
private SSEService sseService;
|
|
|
|
|
|
- public Page<ConferenceLivePhoto> photoPage(Long cid, Integer page, Integer pageSize) {
|
|
|
+ public Page<ConferenceLivePhoto> photoPage(Long id, Integer page, Integer pageSize) {
|
|
|
Page<ConferenceLivePhoto> page1 = new Page<>(page, pageSize);
|
|
|
|
|
|
LambdaQueryWrapper<ConferenceLivePhoto> wrapper = new LambdaQueryWrapper<>();
|
|
|
- return this.baseMapper.selectPage(page1, wrapper.eq(ConferenceLivePhoto::getConferenceId, cid)
|
|
|
+ return this.baseMapper.selectPage(page1, wrapper.eq(ConferenceLivePhoto::getAgendaId, id)
|
|
|
.orderByDesc(ConferenceLivePhoto::getIsTop)
|
|
|
.orderByDesc(ConferenceLivePhoto::getId));
|
|
|
}
|