industrial_measurement/src/main/java/com/xkrs/WordAndExcelApplication.java

20 lines
697 B
Java
Raw Normal View History

2022-02-12 08:48:57 +08:00
package com.xkrs;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
2022-02-28 19:53:50 +08:00
import org.springframework.boot.autoconfigure.domain.EntityScan;
2022-02-28 16:48:02 +08:00
import org.springframework.context.annotation.ComponentScan;
2022-02-28 19:53:50 +08:00
import org.springframework.context.annotation.Configuration;
2022-02-12 08:48:57 +08:00
@SpringBootApplication
2022-02-28 17:02:31 +08:00
//@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"})
2022-02-28 20:40:45 +08:00
//@ComponentScan("com.xkrs.model.entity.*")
2022-02-28 19:53:50 +08:00
@EntityScan("com.xkrs.model.entity.*")
2022-02-12 08:48:57 +08:00
public class WordAndExcelApplication {
public static void main(String[] args) {
SpringApplication.run(WordAndExcelApplication.class, args);
}
}