package com.zjrs.appcomm.template.excel;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ExcelBeansConfiguration {

	@Autowired private ObjectMapper objectMapper;
	
	@Bean("excelTemplate")
	public ExcelTemplate excelTemplate() {
		return new ExcelTemplate(objectMapper);
	}
}
