---数据服务操作增加操作对象生命周期
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package com.xjrsoft;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
@ -14,6 +15,7 @@ import com.xjrsoft.common.annotation.UniqueNameGenerator;
|
||||
* 主数据服务---开发使用
|
||||
* 使用时集成到其它模块使用,不作为单独的服务
|
||||
*/
|
||||
@MapperScan("com.xjrsoft.module.*.mapper")
|
||||
@SpringBootApplication
|
||||
@EnableAspectJAutoProxy(exposeProxy = true)
|
||||
@ComponentScan(nameGenerator = UniqueNameGenerator.class)
|
||||
|
||||
Reference in New Issue
Block a user