package cn.pluss.platform.deviceMerchantBuy;

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

import cn.pluss.platform.entity.DeviceMerchantBuy;
import cn.pluss.platform.mapper.DeviceMerchantBuyMapper;
import cn.pluss.platform.vo.DeviceMerchantBuyVO;
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 DeviceMerchantBuyService extends IService<DeviceMerchantBuy> {

    DeviceMerchantBuy queryDeviceMerchantBuy(DeviceMerchantBuy deviceMerchantBuy);

    List<DeviceMerchantBuy> queryDeviceMerchantBuyList(DeviceMerchantBuy deviceMerchantBuy);

    void saveDeviceMerchantBuy(DeviceMerchantBuy deviceMerchantBuy);

    void updateDeviceMerchantBuy(DeviceMerchantBuy deviceMerchantBuy);

    void deleteDeviceMerchantBuy(DeviceMerchantBuy deviceMerchantBuy);

    List<DeviceMerchantBuy> queryDeviceMerchantBuyPage(Map map);

    default Page<DeviceMerchantBuy> pageDeviceMerchantBuy(Page<DeviceMerchantBuy> page, QueryWrapper<DeviceMerchantBuy> queryWrapper) {
        return ((DeviceMerchantBuyMapper) getBaseMapper()).selectDeviceMerchantBuyPage(page, queryWrapper);
    }

    Integer queryDeviceMerchantBuyPageCount(Map map);


    /**
     * 
     * deviceOrderShowPage:(订单回显). <br/> 
     *
     * @author Administrator 
     * @param map
     * @return 
     * @since JDK 1.8
     */
    List<DeviceMerchantBuyVO> deviceOrderShowPage(Map<String, Object> map);
    
    /**
     * 
     * deviceOrderShowPageCount:(订单回显条数统计). <br/> 
     *
     * @author Administrator 
     * @param map
     * @return 
     * @since JDK 1.8
     */
    Integer deviceOrderShowPageCount(Map<String, Object> map);
}

