reportmgr.java

来自「基于Sturts+Spring+Hibernate的一个高级销售管理系统。内容丰」· Java 代码 · 共 58 行

JAVA
58
字号
package com.yuanchung.sales.service.resport;

import java.util.List;

import com.yuanchung.sales.model.report.Report;
import com.yuanchung.sales.model.report.ReportCategory;
/**
 * 报表的业务层接口
 * @author gzq
 *
 */
public interface ReportMgr {
	/**
	 * 获得报表类别
	 * @return
	 */
	public List<ReportCategory> getReportCategory();
	/**
	 * 根据ID获得报表类别
	 * @param id   报表类别的ID
	 * @return
	 */
	public ReportCategory findReportCategoryById(Integer id);
	/**
	 * 获得报表类别包含的报表
	 * @param id  报表类别ID
	 * @return
	 */
	public List<Report> findReportByReportCategoryId(Integer id);
	/**
	 * 根据时间范围获得新增客户
	 * @param startDate  开始日期
	 * @param endDate    结束日期
	 * @return List(){familyName,customerName,inDate}
	 */
	public List getNewCreatedCustomer(String startDate,String endDate);
	/**
	 * 根据时间范围获得新增客户数
	 * @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 + =
减小字号Ctrl + -
显示快捷键?