package cn.pluss.platform.mapper;

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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import cn.pluss.platform.entity.MerchantBankCard;

@Mapper
public interface MerchantBankCardMapper extends BaseMapper<MerchantBankCard> {

    MerchantBankCard queryMerchantBankCard(MerchantBankCard merchantBankCard);

    List<MerchantBankCard> queryMerchantBankCardList(MerchantBankCard merchantBankCard);

    void saveMerchantBankCard(MerchantBankCard merchantBankCard);

    void updateMerchantBankCard(MerchantBankCard merchantBankCard);

    void updateMerchantBankCardUserId(MerchantBankCard merchantBankCard);

    void deleteMerchantBankCard(MerchantBankCard merchantBankCard);

    List<MerchantBankCard> queryMerchantBankCardPage(Map map);

    Integer queryMerchantBankCardPageCount(Map map);

    void saveMerchantBankCardBatch(List<MerchantBankCard> merchantBankCardList);
    
    /**
     * 
     * queryMerchantBankCardInfoPage:(最新查询商家信息). <br/> 
     * 
     * @author Administrator 
     * @param map
     * @return 
     * @since JDK 1.8
     */
    List<MerchantBankCard> queryMerchantBankCardInfoPage(Map<String, Object> map);
    
    /**
     * 
     * queryMerchantBankCardInfoPageCount:(最新查询商家统计). <br/> 
     * 
     * @author Administrator 
     * @param map
     * @return 
     * @since JDK 1.8
     */
    Integer queryMerchantBankCardInfoPageCount(Map<String, Object> map);
}

