Commit a9ebb74d authored by zhangc's avatar zhangc

commit

parent 934852f2
...@@ -3,6 +3,7 @@ package com.jz.dm; ...@@ -3,6 +3,7 @@ package com.jz.dm;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/** /**
* @author ZC * @author ZC
...@@ -17,6 +18,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; ...@@ -17,6 +18,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication @SpringBootApplication
//@ComponentScan(basePackages = {"com.jz"}) //@ComponentScan(basePackages = {"com.jz"})
@MapperScan("com.jz.dm.mapper") @MapperScan("com.jz.dm.mapper")
@EnableTransactionManagement
public class ApiGatewayApplication { public class ApiGatewayApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(ApiGatewayApplication.class, args); SpringApplication.run(ApiGatewayApplication.class, args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment