package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.wrapper.PaymentMerchantConfigWrapper;
import com.yonge.cooleshow.biz.dal.entity.PaymentMerchantConfig;

/**
 * 支付三方账户配置
 * 2023-07-28 16:53:51
 */
public interface PaymentMerchantConfigService extends IService<PaymentMerchantConfig>  {

	/**
     * 查询详情
     * @param id 详情ID
     * @return PaymentMerchantConfig
     */
	PaymentMerchantConfig detail(Long id);

    /**
     * 分页查询
     * @param page IPage<PaymentMerchantConfig>
     * @param query PaymentMerchantConfigWrapper.PaymentMerchantConfigQuery
     * @return IPage<PaymentMerchantConfig>
     */
    IPage<PaymentMerchantConfig> selectPage(IPage<PaymentMerchantConfig> page, PaymentMerchantConfigWrapper.PaymentMerchantConfigQuery query);
	
    /**
     * 添加
     * @param paymentMerchantConfig PaymentMerchantConfigWrapper.PaymentMerchantConfig
     * @return Boolean
     */
     Boolean add(PaymentMerchantConfigWrapper.PaymentMerchantConfig paymentMerchantConfig);   

    /**
     * 更新
     * @param paymentMerchantConfig PaymentMerchantConfigWrapper.PaymentMerchantConfig
     * @return Boolean
     */
     Boolean update(PaymentMerchantConfigWrapper.PaymentMerchantConfig paymentMerchantConfig);


    PaymentMerchantConfig getByPaymentVendor(String paymentVendor);
}