package com.tax.file.mapper;

import com.yxcheng.token.common.service.BaseMapper;

import java.util.List;

import com.tax.file.model.FinOldcar;
import com.tax.file.model.FinOldcarExample;
import com.tax.file.model.FinVehicle;

public interface FinOldcarMapper extends BaseMapper<FinOldcarExample,FinOldcar> {
	 /** 
     * 批量插入
     * @param list 
     */  
	int insertForeach(List<FinOldcar> list);
	/**
		* 批量更新
		*
		* @param tkFiles
		* @return
    */
	int updateBatch(List<FinOldcar> list);
	
	 /** 
     * 根据代码号码查询发票
     * @param vehicle 
     */  
	FinOldcar queryByInvkindAndInvnum(FinOldcar oldcar);
}