添加general服务

This commit is contained in:
wangkang
2018-04-12 14:41:30 +08:00
parent 90ca433a3a
commit 73319f4686
3 changed files with 16 additions and 1 deletions
@@ -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
+5
View File
@@ -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>
@@ -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 {
/**