industrial_measurement/src/main/java/com/xkrs/WordAndExcelApplication.java
2022-02-28 20:40:45 +08:00

20 lines
697 B
Java

package com.xkrs;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@SpringBootApplication
//@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"})
//@ComponentScan("com.xkrs.model.entity.*")
@EntityScan("com.xkrs.model.entity.*")
public class WordAndExcelApplication {
public static void main(String[] args) {
SpringApplication.run(WordAndExcelApplication.class, args);
}
}