package com.unis.crk.hardware.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.unis.crk.hardware.entity.Devicecode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 * 设备编码表 Mapper 接口
 * </p>
 *
 * @author ghh
 * @since 2021-09-15
 */
@Repository
public interface DevicecodeMapper extends BaseMapper<Devicecode> {

    IPage<Map<String, Object>> getPage(Page<Devicecode> objectPage, @Param(Constants.WRAPPER) QueryWrapper<Devicecode> infoQueryWrapper);
}
