package com.goafanti.common.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.goafanti.common.model.TaskAttributionLog;
import com.goafanti.order.bo.taskAttributionLogBo;

public interface TaskAttributionLogMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_attribution_log
	 * @mbg.generated  Fri May 14 13:44:50 CST 2021
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_attribution_log
	 * @mbg.generated  Fri May 14 13:44:50 CST 2021
	 */
	int insert(TaskAttributionLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_attribution_log
	 * @mbg.generated  Fri May 14 13:44:50 CST 2021
	 */
	int insertSelective(TaskAttributionLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_attribution_log
	 * @mbg.generated  Fri May 14 13:44:50 CST 2021
	 */
	TaskAttributionLog selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_attribution_log
	 * @mbg.generated  Fri May 14 13:44:50 CST 2021
	 */
	int updateByPrimaryKeySelective(TaskAttributionLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_attribution_log
	 * @mbg.generated  Fri May 14 13:44:50 CST 2021
	 */
	int updateByPrimaryKey(TaskAttributionLog record);

	List<taskAttributionLogBo> selectByTid(Integer tid);

	void insertList(@Param("aid")String aid, @Param("transferId")String transferId, @Param("date")Date date);
}