package cn.pluss.platform.merchantDevice;

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

import cn.pluss.platform.entity.MerchantDevice;
import cn.pluss.platform.mapper.MerchantDeviceMapper;
import cn.pluss.platform.vo.DeviceVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface MerchantDeviceService extends IService<MerchantDevice> {

    List<MerchantDevice> queryMerchantDevicePage(Map map);

    Integer queryMerchantDevicePageCount(Map map);

    default Page<DeviceVO> pageMerchantDevice(Page<DeviceVO> page, QueryWrapper<Object> queryWrapper) {
        return ((MerchantDeviceMapper) getBaseMapper()).selectMerchantDevicePage(page, queryWrapper);
    }

    /**
     * 
     * showMerchantDevicePage:(商家设备列表). <br/> 
     *
     * @author Administrator 
     * @param map
     * @return 
     * @since JDK 1.8
     */
    List<DeviceVO>  showMerchantDevicePage(Map<String,Object> map);
    
    /**
     * 
     * showMerchantDevicePageCount:(商家设备数量). <br/> 
     *
     * @author Administrator 
     * @param map
     * @return 
     * @since JDK 1.8
     */
    Integer showMerchantDevicePageCount(Map<String,Object> map);
}

