package org.jeecg.pm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.lettuce.core.dynamic.annotation.Param;
import org.jeecg.pm.entity.PmAccessControlDeviceRecord;
import org.jeecg.pm.entity.PmAccessControlDeviceRecordDto;
import org.jeecg.pm.entity.PmAccessControlDeviceRecordVo;

import java.util.List;

/**
 * @Description: pm_access_control_device_record
 * @Author: jeecg-boot
 * @Date: 2022-03-15
 * @Version: V1.0
 */
public interface PmAccessControlDeviceRecordMapper extends BaseMapper<PmAccessControlDeviceRecord> {

    IPage<PmAccessControlDeviceRecordVo> recordPage(@Param("page") Page page, @Param("pmAccessControlDeviceRecordDto") PmAccessControlDeviceRecordDto pmAccessControlDeviceRecordDto);


    List<PmAccessControlDeviceRecordVo> recordPages(@Param("pmAccessControlDeviceRecordDto") PmAccessControlDeviceRecordDto pmAccessControlDeviceRecordDto);


}
