com.mobaijun.excel.ExcelAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of excel-spring-boot-starter Show documentation
Show all versions of excel-spring-boot-starter Show documentation
This is a spring boot quick starter, mainly used to operate excel
package com.mobaijun.excel;
import com.mobaijun.excel.service.impl.ExcelServiceImpl;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* software:IntelliJ IDEA 2022.1
* class name: ExcelAutoConfiguration
* class description: excel 自动注入类
*
* @author MoBaiJun 2022/10/28 13:48
*/
@Configuration
public class ExcelAutoConfiguration {
@Bean
@ConditionalOnMissingBean
public ExcelServiceImpl excelService() {
return new ExcelServiceImpl();
}
}