accountdao.java

来自「一个关于tlms的一个小程序 看看能否帮助到别人」· Java 代码 · 共 68 行

JAVA
68
字号
/**
 * 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 + =
减小字号Ctrl + -
显示快捷键?