📄 paymentdao.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 + -