package com.platform.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.platform.entities.DataInfoEntity;
import com.platform.entities.DataInfoEntityMoveTmp;
import com.platform.entities.RegionalismEntity;
import com.platform.form.PagerOptions;

/**
 * @author chen
 * 数据迁移状态 临时 存放 ，
 */
@Repository(value = "regionalismCodeDao")
public interface IRegionalismCodeDao {

	/** 查
	 * @return
	 * @throws Exception
	 */
	List<RegionalismEntity> findAllRegionalism() throws Exception;
	
	List<RegionalismEntity> findSubRegionalism(RegionalismEntity region) throws Exception;
	
	/** 查找 已存在的 areaCode
	 * @param list
	 * @return
	 * @throws Exception
	 */
	List<RegionalismEntity> findExistRegionalism(List<String> list) throws Exception;
	
	/** 批量插入
	 * @param list
	 * @return
	 * @throws Exception
	 */
	void insertBatch(List<RegionalismEntity> list) throws Exception;
	
}
