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.Unithardware;
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 UnithardwareMapper extends BaseMapper<Unithardware> {

    IPage<Map<String, Object>> getPageByUnitId(Page<Unithardware> objectPage,@Param(Constants.WRAPPER) QueryWrapper<Unithardware> unithardwareQueryWrapper);
}
