package com.bizzan.bitrade.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.bizzan.bitrade.dao.base.BaseDao;
import com.bizzan.bitrade.entity.MemberSignRecord;

/**
 * @author 
 * @Description:
 * @date 2019/5/410:18
 */
public interface MemberSignRecordDao extends BaseDao<MemberSignRecord> {
	
	@Query("select count(id) as total from MemberSignRecord a where a.member.id = :memberId")
    int countByMemberId(@Param("memberId") Long memberId);
}
