feat:mapperScan导入
This commit is contained in:
@@ -11,7 +11,11 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
@MapperScan("com.xiang.xservice.fwd.mapper")
|
||||
@MapperScan(basePackages = {
|
||||
"com.xiang.xservice.fwd.mapper",
|
||||
"com.xiang.xservice.glados.repository",
|
||||
"com.xiang.xservice.xb.repository"
|
||||
})
|
||||
public class ServiceScriptApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ServiceScriptApplication.class, args);
|
||||
|
||||
Reference in New Issue
Block a user