⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 paymentdao.java

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 JAVA
字号:
package com.longtime.wap.module.cost.dao;

import java.util.List;

import com.longtime.wap.common.web.Page;
import com.longtime.wap.model.Payment;

/**
 * 消费记录Dao接口定义
 * 
 * @author chenxq
 * @date 2007-11-23
 */
public interface PaymentDao {
	
	/**
	 * 用来实现“根据id获取消费记录对象”的功能
	 * 
	 * @param id
	 *            消费记录id
	 * @return 消费记录对象
	 */
	public Payment retrievePaymentById(Long id);

	/**
	 * 用来实现“获取某页消费记录对象集合”的功能
	 * 
	 * @param page
	 *            分页对象
	 * @return 消费记录对象集合
	 */
	public List retrievePayments(Page page);

	/**
	 * 用来实现“根据消费id数组获取消费记录集合”的功能
	 * 
	 * @param ids
	 *            消费记录id数组
	 * @return 消费记录对象集合
	 */
	public List retrievePaymentsByIds(String[] ids);

	/**
	 * 用来实现“获取消费记录对象总数”的功能。在分页显示时需要用到。
	 * 
	 * @return 消费记录对象总数
	 */
	public int retrievePaymentsCount();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -