package org.jeecg.pm.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.pm.entity.PmAccessControlDeviceRecord;
import org.jeecg.pm.entity.PmAccessControlDeviceRecordDto;
import org.jeecg.pm.entity.PmAccessControlDeviceRecordVo;
import org.jeecg.pm.mapper.PmAccessControlDeviceRecordMapper;
import org.jeecg.pm.service.IPmAccessControlDeviceRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: pm_access_control_device_record
 * @Author: jeecg-boot
 * @Date: 2022-03-15
 * @Version: V1.0
 */
@Service
public class PmAccessControlDeviceRecordServiceImpl extends ServiceImpl<PmAccessControlDeviceRecordMapper, PmAccessControlDeviceRecord> implements IPmAccessControlDeviceRecordService {

    @Resource
    private PmAccessControlDeviceRecordMapper pmAccessControlDeviceRecordMapper;


    @Override
    public IPage<PmAccessControlDeviceRecordVo> recordPage(Page page, PmAccessControlDeviceRecordDto pmAccessControlDeviceRecordDto) {
        return pmAccessControlDeviceRecordMapper.recordPage(page,pmAccessControlDeviceRecordDto);
    }

}
