package com.goafanti.common.dao;

import com.goafanti.common.model.JtVoucherDetail;
import com.goafanti.common.model.JtVoucherDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JtVoucherDetailMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	long countByExample(JtVoucherDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int deleteByExample(JtVoucherDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int insert(JtVoucherDetail record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int insertSelective(JtVoucherDetail record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	List<JtVoucherDetail> selectByExample(JtVoucherDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	JtVoucherDetail selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int updateByExampleSelective(@Param("record") JtVoucherDetail record,
			@Param("example") JtVoucherDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int updateByExample(@Param("record") JtVoucherDetail record, @Param("example") JtVoucherDetailExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int updateByPrimaryKeySelective(JtVoucherDetail record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_voucher_detail
	 * @mbg.generated  Tue Oct 16 15:59:34 CST 2018
	 */
	int updateByPrimaryKey(JtVoucherDetail record);

	List<String> getTokenVoucher(String uid);
}