package com.ssj.service.sys.cardinfo.service;

import com.ssj.bean.sys.cardinfo.domain.TbCardInfo;
import com.ssj.framework.core.common.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;


public interface ICardInfoService extends BaseService<TbCardInfo, String> {

	TbCardInfo findByUserIdAndState(String userId, int state);

	Page<Map<String, Object>> findCardInfoPage(Map<String, Object> params, Pageable pageable);
	
	TbCardInfo findByUserIdValid(String userId);

	TbCardInfo findByLibId(String joinid);

}
