package com.bonus.material.lease.mapper;

import java.util.List;

import com.bonus.material.lease.domain.LeaseApplyDetails;
import com.bonus.material.lease.domain.LeaseOutDetails;
import com.bonus.material.ma.domain.Type;
import com.bonus.material.settlement.domain.SltAgreementInfo;
import com.bonus.material.task.domain.TmTask;
import org.apache.ibatis.annotations.Param;

/**
 * 领料出库详细Mapper接口
 * 
 * @author xsheng
 * @date 2024-10-16
 */
public interface LeaseOutDetailsMapper {
    /**
     * 查询领料出库详细
     * 
     * @param id 领料出库详细主键
     * @return 领料出库详细
     */
    public LeaseOutDetails selectLeaseOutDetailsById(Long id);

    /**
     * 查询领料出库详细列表
     * 
     * @param leaseOutDetails 领料出库详细
     * @return 领料出库详细集合
     */
    public List<LeaseOutDetails> selectLeaseOutDetailsList(LeaseOutDetails leaseOutDetails);

    /**
     * 查询领料出库详细列表--by任务id
     *
     * @param parentId 任务id
     * @return 领料出库详细集合
     */
    List<LeaseOutDetails> selectLeaseOutDetailsListByParentId(String parentId);

    /**
     * 新增领料出库详细
     * 
     * @param leaseOutDetails 领料出库详细
     * @return 结果
     */
    public int insertLeaseOutDetails(LeaseOutDetails leaseOutDetails);

    /**
     * 修改领料出库详细
     * 
     * @param leaseOutDetails 领料出库详细
     * @return 结果
     */
    public int updateLeaseOutDetails(LeaseOutDetails leaseOutDetails);

    /**
     * 删除领料出库详细
     * 
     * @param id 领料出库详细主键
     * @return 结果
     */
    public int deleteLeaseOutDetailsById(Long id);

    /**
     * 批量删除领料出库详细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLeaseOutDetailsByIds(Long[] ids);

}
