/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.transport.excel;

import lombok.RequiredArgsConstructor;
import org.springblade.core.excel.support.ExcelImporter;
import org.springblade.transport.service.IEtcRecordService;

import java.util.List;

/**
 * ETC记录导入类
 *
 * @author Chill
 */
@RequiredArgsConstructor
public class EtcRecordImporter implements ExcelImporter<EtcRecordExcel> {

	private final IEtcRecordService service;

	@Override
	public void save(List<EtcRecordExcel> data) {
		service.importEtcRecord(data);
	}

}
