package com.bonus.sgzb.material.mapper;

import com.bonus.sgzb.material.domain.TmTaskAgreement;

import java.util.List;

/**
 * 任务tm_task_agreementMapper接口
 * 
 * @author bonus
 * @date 2023-12-16
 */
public interface TmTaskAgreementMapper 
{
    /**
     * 查询任务tm_task_agreement
     * 
     * @param taskId 任务tm_task_agreement主键
     * @return 任务tm_task_agreement
     */
    public TmTaskAgreement selectTmTaskAgreementByTaskId(Long taskId);

    /**
     * 查询任务tm_task_agreement列表
     * 
     * @param tmTaskAgreement 任务tm_task_agreement
     * @return 任务tm_task_agreement集合
     */
    public List<TmTaskAgreement> selectTmTaskAgreementList(TmTaskAgreement tmTaskAgreement);

    /**
     * 新增任务tm_task_agreement
     * 
     * @param tmTaskAgreement 任务tm_task_agreement
     * @return 结果
     */
    public int insertTmTaskAgreement(TmTaskAgreement tmTaskAgreement);

    /**
     * 修改任务tm_task_agreement
     * 
     * @param tmTaskAgreement 任务tm_task_agreement
     * @return 结果
     */
    public int updateTmTaskAgreement(TmTaskAgreement tmTaskAgreement);

    /**
     * 删除任务tm_task_agreement
     * 
     * @param taskId 任务tm_task_agreement主键
     * @return 结果
     */
    public int deleteTmTaskAgreementByTaskId(Long taskId);

    /**
     * 批量删除任务tm_task_agreement
     * 
     * @param taskIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTmTaskAgreementByTaskIds(Long[] taskIds);
}
