mirror of
https://gitee.com/wangkang/udf.git
synced 2026-12-06 18:13:42 +00:00
添加general服务
This commit is contained in:
@@ -6,4 +6,11 @@ org.itkk.application.config.threadPool.poolSize=100
|
||||
########################################################
|
||||
###LOGGING (must reboot)
|
||||
########################################################
|
||||
logging.file=d:/develop/application-log/${spring.application.name}_${server.port}_${spring.profiles.active}/base.log
|
||||
logging.file=d:/develop/application-log/${spring.application.name}_${server.port}_${spring.profiles.active}/base.log
|
||||
########################################################
|
||||
###Mybatis ( MybatisProperties ) ( @Mapper scan )
|
||||
########################################################
|
||||
mybatis.mapperLocations=classpath*:mapper/*.xml
|
||||
mybatis.configuration.call-setters-on-nulls=true
|
||||
org.itkk.dal.mybatis.properties.enablePageInterceptor=true
|
||||
org.itkk.dal.mybatis.properties.tableSplitInterceptor=false
|
||||
@@ -114,6 +114,11 @@
|
||||
<groupId>org.itkk.udf</groupId>
|
||||
<artifactId>udf-starter-cache-redis</artifactId>
|
||||
</dependency>
|
||||
<!-- udf-starter-dal-mybatis -->
|
||||
<dependency>
|
||||
<groupId>org.itkk.udf</groupId>
|
||||
<artifactId>udf-starter-dal-mybatis</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<!-- 构建 -->
|
||||
<build>
|
||||
|
||||
+3
@@ -1,6 +1,8 @@
|
||||
package org.itkk.udf.general.server;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.itkk.udf.core.BaseApplication;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.cloud.client.SpringCloudApplication;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
@@ -12,6 +14,7 @@ import org.springframework.context.annotation.ComponentScan;
|
||||
*/
|
||||
@SpringCloudApplication
|
||||
@ComponentScan(basePackages = {"org.itkk"})
|
||||
@MapperScan(basePackages = {"org.itkk"}, annotationClass = Mapper.class)
|
||||
public class UdfGeneralServerApplication extends BaseApplication {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user