/**
 * 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.IOtherExpenseRecordService;

import java.util.List;

/**
 * 其他费用记录导入类
 *
 * @author Chill
 */
@RequiredArgsConstructor
public class OtherExpenseRecordImporter implements ExcelImporter<OtherExpenseRecordExcel> {

	private final IOtherExpenseRecordService service;

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

}
