fixedassetsdao.java

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

JAVA
59
字号
/**
 * =============================================
 * Copyright 2006 szmx
 *
 * Change Revision
 * --------------------------------
 *   Date                Author         Remarks
 *   2006-4-17           hliu           Create com.szmx.tlms.finance.dao.FixedAssetsDao
 * =============================================
 */
package com.szmx.tlms.finance.dao;

import com.szmx.framework.base.dao.BaseDao;
import com.szmx.tlms.finance.model.FixedAssets;

import java.util.List;

/**
 * This class is the interface dao of the FixedAssets
 *
 * @author hliu
 * @since 2006-4-17
 */
public interface FixedAssetsDao extends BaseDao {

    /**
     * Get the requird record by the query condition
     * @param fixedAssets
     * @return List of the fixed assets
     */
    public List getFixedAssetses(final FixedAssets fixedAssets);

    /**
     * Save or update the fixed assets
     * @param fixedAssets
     */
    public void saveFixedAssets(final FixedAssets fixedAssets);

    /**
     * Get the Fixed assets by id
     * @param id
     * @return the requird Fixed Assets.If no record is found return null
     */
    public FixedAssets getFixedAssets(final Long id);

    /**
     * Remove the record by id
     * @param id of the Fixed Assets
     */
    public void removeFixedAssets(final Long id);

    /**
     * This is used to set the Fixed Assets's status all the new Fixed Asset will become in use
     * THis always happens at the start of one period.All the new Fixed Asset that come in last
     * month will become in use and will be depreciated
     */
    public void setAllNewToInUse();
}

⌨️ 快捷键说明

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