package com.goafanti.common.dao;

import com.goafanti.common.model.TaskProgress;
import com.goafanti.common.model.TaskProgressExample;
import com.goafanti.order.bo.TOrderTaskListBo;
import com.goafanti.order.bo.TaskProgressBo;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TaskProgressMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	long countByExample(TaskProgressExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int deleteByExample(TaskProgressExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int insert(TaskProgress record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int insertSelective(TaskProgress record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	List<TaskProgress> selectByExample(TaskProgressExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	TaskProgress selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int updateByExampleSelective(@Param("record") TaskProgress record, @Param("example") TaskProgressExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int updateByExample(@Param("record") TaskProgress record, @Param("example") TaskProgressExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int updateByPrimaryKeySelective(TaskProgress record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	int updateByPrimaryKey(TaskProgress record);

	List<TaskProgressBo> selectTaskProgress(Integer tid);

	int AlreadyNuberCount(Integer taskId);

	List<TOrderTaskListBo> selectMyTaskList(String aid);
}