zhanghua
2024-12-20 1f45c25ea725445d7e78e8d5da6e72150f35f2eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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<VideoPointVo> page(Long size, Long current, Integer streetId, Integer communityId, Integer type) {
        Page<VideoPointVo> page = new Page<>(current, size);
        return (Page<VideoPointVo>) videoPointMapper.search(page, streetId, communityId, type);
    }
}