/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.cku.oa.dog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cku.oa.dog.entity.DogNose;
import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;

/**
 * 犬只鼻纹DAO接口
 * 
 * @author xx
 * @version 2020-04-23
 */
@MyBatisDao
public interface DogNoseDao extends CrudDao<DogNose> {
	Integer getMaxNoseCode();

	DogNose getByParam(DogNose dogNose);

	DogNose getByDogIdODogBirthCertificateId(@Param("dogBirthCertificateId") String dogBirthCertificateId,
			@Param("dogId") String dogId);

	DogNose getByNoseId(@Param("noseId") String noseId);

	int updateDel(DogNose dogNose);
	
	List<DogNose> selectRepeatByDogIds(@Param("idList") List<String> idList);
	
	int deleteByIds(@Param("idList") List<String> idList);
}