package com.goafanti.common.dao;

import com.goafanti.common.model.JtTag;
import com.goafanti.common.model.JtTagExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JtTagMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	long countByExample(JtTagExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int deleteByExample(JtTagExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int insert(JtTag record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int insertSelective(JtTag record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	List<JtTag> selectByExample(JtTagExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	JtTag selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int updateByExampleSelective(@Param("record") JtTag record, @Param("example") JtTagExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int updateByExample(@Param("record") JtTag record, @Param("example") JtTagExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int updateByPrimaryKeySelective(JtTag record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_tag
	 * @mbg.generated  Tue Jul 31 14:45:47 CST 2018
	 */
	int updateByPrimaryKey(JtTag record);

	int deleteByProjectId(String id);

	int insertProjectTag(@Param("id")String s, @Param("tid")String id, @Param("pid")String string);

	List<JtTag> selectProjectTag(String id);

	


}