package cn.com.countrygarden.bi.main.dao.marketing;

import cn.com.countrygarden.bi.main.core.Mapper;
import cn.com.countrygarden.bi.main.model.marketing.Proposal;
import cn.com.countrygarden.bi.main.model.marketing.ProposalMonthData;
import org.apache.ibatis.annotations.Param;

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


public interface ProposalMapper extends Mapper<Proposal> {


    List<Proposal> selectByMonth(Map<String,Object> map);

    List<ProposalMonthData> tendency(Map<String, Object> param);

    Integer countCommByTime(@Param("startDate") Date startDate, @Param("endDate") Date endDate);
}