?? reportdao.java
字號:
package com.yuanchung.sales.dao.report;
import java.util.List;
import com.yuanchung.sales.model.report.Report;
/**
* 報表DAO接口
* @author gzq
*
*/
public interface ReportDAO extends ReportBaseDAO{
/**
* 保存報表
* @param report 報表
*/
public void save(Report report);
/**
* 刪除報表
* @param report 報表
*/
public void delete(Report report);
/**
* 根據ID讀取報表
* @param id 報表ID
* @return
*/
public Report findById(Integer id);
/**
* 讀取所有報表
* @return List<Report>
*/
public List findAll();
/**
* 根據時間范圍獲得新增客戶數
* @param startDate 開始日期
* @param endDate 結束日期
* @return List(){month,customerCount}
*/
public List getNewCreatedCustomerCount(String startDate,String endDate);
/**
* 獲得已忽視的客戶數
* @param startDate 開始日期
* @param endDate 結束日期
* @return List(){month,customerCount}
*/
public List getIgnoredCustomerCount(String startDate,String endDate);
/**
* 獲得最近聯系的客戶數
* @param startDate 開始日期
* @param endDate 結束日期
* @return List(){month,customerCount}
*/
public List getRecentlyContactCustomerCount(String startDate,String endDate);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -