package com.softwarebr.nunu.dao.hall;

import com.softwarebr.nunu.entity.hall.Invest;
import com.brframework.commondb.core.CommonRepository;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @date 2020-02-25 12:03:51
 * @author lilin
 */

@Repository
public interface InvestDao extends CommonRepository<Long, Invest> {

    /**
     * 时间统计项目总数
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @return
     */
    Long countByCreateDateBetween(LocalDateTime startDate, LocalDateTime endDate);

}