package com.jeequan.jeepay.service.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jeequan.jeepay.db.entity.MchStoreDevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商户门店设备配置表 Mapper 接口
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2021-12-28
 */
public interface MchStoreDeviceMapper extends BaseMapper<MchStoreDevice> {

    List<JSONObject> selectAvailableDeviceList(Map params);
    IPage<MchStoreDevice> getSelectPage(IPage iPage, @Param("condition")MchStoreDevice mchStoreDevice);
}
