智慧保安后台管理-外网项目备份
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
27
28
29
30
31
 
package org.springblade.modules.electronrail.service.impl;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springblade.modules.electronrail.entity.ElectronRail;
import org.springblade.modules.electronrail.mapper.ElectronRailMapper;
import org.springblade.modules.electronrail.service.ElectronRailService;
import org.springblade.modules.electronrail.vo.ElectronRailVO;
import org.springframework.stereotype.Service;
 
/**
 *  电子围栏服务实现类
 *
 * @author zhongrj
 * @since 2022-03-03
 */
@Service
public class ElectronRailServiceImpl extends ServiceImpl<ElectronRailMapper, ElectronRail> implements ElectronRailService {
 
    /**
     * 自定义分页查询电子围栏数据
     * @param page
     * @param electronRail
     * @return
     */
    @Override
    public IPage<ElectronRailVO> selectElectronRailPage(IPage<ElectronRailVO> page, ElectronRailVO electronRail) {
        return page.setRecords(baseMapper.selectElectronRailPage(page, electronRail));
    }
}