package com.xtd.project.assets.mapper;

import com.xtd.project.assets.domain.DbAssetsStockAllot;
import com.xtd.project.assets.domain.DbAssetsStockAllotVo;

import java.util.List;

/**
 * 资产调拨Mapper接口
 *
 * @author xtd
 * @date 2020-04-20
 */
public interface DbAssetsStockAllotMapper
{
    /**
     * 查询资产调拨
     *
     * @param aId 资产调拨ID
     * @return 资产调拨
     */
    public DbAssetsStockAllot selectDbAssetsStockAllotById(Long aId);

    /**
     * 查询资产调拨列表
     *
     * @param dbAssetsStockAllotForm 资产调拨
     * @return 资产调拨集合
     */
    public List<DbAssetsStockAllotVo> selectDbAssetsStockAllotList(DbAssetsStockAllotVo dbAssetsStockAllotForm);

    /**
     * 新增资产调拨
     *
     * @param dbAssetsStockAllot 资产调拨
     * @return 结果
     */
    public int insertDbAssetsStockAllot(DbAssetsStockAllot dbAssetsStockAllot);

    /**
     * 修改资产调拨
     *
     * @param dbAssetsStockAllot 资产调拨
     * @return 结果
     */
    public int updateDbAssetsStockAllot(DbAssetsStockAllot dbAssetsStockAllot);

    /**
     * 删除资产调拨
     *
     * @param aId 资产调拨ID
     * @return 结果
     */
    public int deleteDbAssetsStockAllotById(Long aId);

    /**
     * 批量删除资产调拨
     *
     * @param aIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteDbAssetsStockAllotByIds(Long[] aIds);
}
