package com.ycl.service.video.impl; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ycl.mapper.video.VideoPointMapper; import com.ycl.service.video.IVideoInspectionService; import com.ycl.vo.equipment.VideoPointVo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 视频巡查服务ServiceImpl * * @author 安瑾然 * @date 2022/11/08 */ @Service public class VideoInspectionServiceImpl implements IVideoInspectionService { @Autowired private VideoPointMapper videoPointMapper; @Override public Page page(Long size, Long current, Integer streetId, Integer communityId) { Page page = new Page<>(current, size); return (Page) videoPointMapper.search(page, streetId, communityId); } }