package com.ssj.service.sys.wallet.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.ssj.bean.sys.wallet.domain.WalletBankcard;
import com.ssj.framework.core.common.service.BaseService;

import java.util.Map;

/**
 * @author Mount Liu
 * @date 2018/11/19
 */
public interface WalletBankcardService extends BaseService<WalletBankcard, String> {
    /**
     * 分页查询列表
     *
     * @param params
     * @param sp
     * @return
     */
    Page<WalletBankcard> findByPage(Map<String, Object> params, Pageable sp);

    /**
     * 分页查询钱包银行卡列表
     * @param searchParams
     * @param pageable
     * @return
     */
    Page<Map<String, Object>> findWalletBankcardByPage(Map<String, Object> searchParams, Pageable pageable);
}
