package com.goafanti.common.dao;

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

import java.util.List;

public interface TaskProgressMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Fri Dec 25 14:12:14 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Fri Dec 25 14:12:14 CST 2020
	 */
	int insert(TaskProgress record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Fri Dec 25 14:12:14 CST 2020
	 */
	int insertSelective(TaskProgress record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Fri Dec 25 14:12:14 CST 2020
	 */
	TaskProgress selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Fri Dec 25 14:12:14 CST 2020
	 */
	int updateByPrimaryKeySelective(TaskProgress record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table task_progress
	 * @mbg.generated  Fri Dec 25 14:12:14 CST 2020
	 */
	int updateByPrimaryKey(TaskProgress record);

	List<TaskProgressBo> selectTaskProgress(Integer tid);

	int AlreadyNuberCount(Integer taskId);

	List<TOrderTaskListBo> selectMyTaskList(String aid);
}