📄 accountdao.java
字号:
/**
* Created by szmx.
* User: hliu
* Date: 2006-4-6
* Time: 17:58:03
* To change this template use File | Settings | File Templates.
*/
package com.szmx.tlms.finance.dao;
import com.szmx.framework.base.dao.BaseDao;
import com.szmx.framework.base.model.Pagination;
import com.szmx.tlms.finance.model.Account;
import java.util.Map;
import java.util.List;
public interface AccountDAO extends BaseDao {
/**
* Get one page's records ,There are some paramete in the paraMap
* @param paginationObj
* @param paraMap key value
* searchBean search condition
* @return Pagination
*/
public Pagination getAccounts(final Pagination paginationObj,final Map paraMap);
/**
* Check that if the SAPCode has existed in the system.
*
* @param account
* @return List account list the match the query condition.
*/
public List getAccountsBySAPCode(final Account account);
/**
* Save the account to the database
*
* @param account
*/
public void saveAccount(final Account account);
/**
* Get one account object by account id
*
* @param id
* @return Account
*/
public Account getAccount(final Long id);
/**
*
* @param param
* @param value
* @return Account
*/
public Account getAccount(final String param, final String value);
/**
* Remove the account by account id
*
* @param id
*/
public void removeAccount(final Long id);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -