Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bigsys
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bigsys
Commits
eb9ad19d
Commit
eb9ad19d
authored
Sep 03, 2017
by
fangzhipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改为springboot项目
parent
55b7e934
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
92 additions
and
408 deletions
+92
-408
bigsys-auth/bigsys-auth-project/pom.xml
bigsys-auth/bigsys-auth-project/pom.xml
+82
-119
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/MyController.java
...t/src/main/java/com/bigsys/auth/project/MyController.java
+1
-1
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/db/dao/AppInfoMapper.java
...in/java/com/bigsys/auth/project/db/dao/AppInfoMapper.java
+2
-1
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/db/dao/BsTestMapper.java
...ain/java/com/bigsys/auth/project/db/dao/BsTestMapper.java
+2
-1
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/impl/AppAuthImpl.java
...c/main/java/com/bigsys/auth/project/impl/AppAuthImpl.java
+1
-1
bigsys-auth/bigsys-auth-project/src/main/resources/applicationContext.xml
...ys-auth-project/src/main/resources/applicationContext.xml
+0
-16
bigsys-auth/bigsys-auth-project/src/main/resources/generator.xml
...auth/bigsys-auth-project/src/main/resources/generator.xml
+0
-43
bigsys-auth/bigsys-auth-project/src/main/resources/jdbc.properties
...th/bigsys-auth-project/src/main/resources/jdbc.properties
+0
-12
bigsys-auth/bigsys-auth-project/src/main/resources/mybatis.xml
...s-auth/bigsys-auth-project/src/main/resources/mybatis.xml
+0
-44
bigsys-auth/bigsys-auth-project/src/main/resources/spring-mvc.xml
...uth/bigsys-auth-project/src/main/resources/spring-mvc.xml
+0
-32
bigsys-auth/bigsys-auth-project/src/main/webapp/WEB-INF/web.xml
...-auth/bigsys-auth-project/src/main/webapp/WEB-INF/web.xml
+0
-45
bigsys-auth/bigsys-auth-project/src/main/webapp/index.jsp
bigsys-auth/bigsys-auth-project/src/main/webapp/index.jsp
+0
-5
bigsys-auth/bigsys-auth-project/src/test/resources/generatorConfig.properties
...uth-project/src/test/resources/generatorConfig.properties
+0
-16
bigsys-auth/bigsys-auth-project/src/test/resources/generatorConfig.xml
...igsys-auth-project/src/test/resources/generatorConfig.xml
+0
-72
bigsys-auth/pom.xml
bigsys-auth/pom.xml
+2
-0
pom.xml
pom.xml
+2
-0
No files found.
bigsys-auth/bigsys-auth-project/pom.xml
View file @
eb9ad19d
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<parent>
<artifactId>
bigsys-auth
</artifactId>
<groupId>
com.bigsys
</groupId>
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
bigsys-auth-project
</artifactId>
<packaging>
war
</packaging>
<name>
${artifactId}
</name>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.jdk>
1.8
</project.build.jdk>
<plugin.maven-compiler>
3.1
</plugin.maven-compiler>
<!-- plugin setting -->
<mybatis.generator.generatorConfig.xml>
${basedir}/src/test/resources/generatorConfig.xml
</mybatis.generator.generatorConfig.xml>
<mybatis.generator.generatorConfig.properties>
file:///${basedir}/src/test/resources/generatorConfig.properties
</mybatis.generator.generatorConfig.properties>
</properties>
<dependencies>
<dependency>
<groupId>
com.bigsys
</groupId>
<artifactId>
bigsys-dubbo
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.bigsys
</groupId>
<artifactId>
bigsys-spring
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.bigsys
</groupId>
<artifactId>
bigsys-auth-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
org.mybatis
</groupId>
<artifactId>
mybatis
</artifactId>
<version>
3.4.4
</version>
</dependency>
<dependency>
<groupId>
org.mybatis
</groupId>
<artifactId>
mybatis-spring
</artifactId>
<version>
1.3.1
</version>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.42
</version>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid
</artifactId>
<version>
1.0.31
</version>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-core
</artifactId>
<version>
2.8.8
</version>
</dependency>
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
<version>
2.8.8
</version>
</dependency>
</dependencies>
<build>
<finalName>
${artifactId}
</finalName>
<resources>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.properties
</include>
<include>
**/*.xml
</include>
</includes>
<filtering>
true
</filtering>
</resource>
</resources>
<plugins>
<!--Maven编译插件 配置 -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
${plugin.maven-compiler}
</version>
<configuration>
<source>
${project.build.jdk}
</source>
<target>
${project.build.jdk}
</target>
<encoding>
${project.build.sourceEncoding}
</encoding>
</configuration>
</plugin>
<!-- Mybatis generator代码生成插件 配置 -->
<plugin>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<version>
1.3.5
</version>
<configuration>
<configurationFile>
${mybatis.generator.generatorConfig.xml}
</configurationFile>
<overwrite>
true
</overwrite>
<verbose>
true
</verbose>
</configuration>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.bigsys
</groupId>
<artifactId>
bigsys-auth-project
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<name>
bigsys-auth-project
</name>
<description>
Demo project for Spring Boot
</description>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
1.5.6.RELEASE
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
1.3.1
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
com.bigsys
</groupId>
<artifactId>
bigsys-dubbo
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.bigsys
</groupId>
<artifactId>
bigsys-auth-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
5.1.42
</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.properties
</include>
<include>
**/*.xml
</include>
</includes>
<filtering>
true
</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/MyController.java
View file @
eb9ad19d
...
...
@@ -28,7 +28,7 @@ public class MyController {
public
BsTest
testSay
(
@RequestParam
(
value
=
"name"
,
defaultValue
=
""
)
String
name
){
StringBuffer
sb
=
new
StringBuffer
();
sb
.
append
(
"Dubbo: "
).
append
(
""
);
System
.
out
.
println
(
testService
.
sayHello
());
//
System.out.println(testService.sayHello());
BsTest
bsTest
=
new
BsTest
();
bsTest
.
setName
(
"呜呜呜呜无无"
);
// bsTestMapper.insert(bsTest);
...
...
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/db/dao/AppInfoMapper.java
View file @
eb9ad19d
...
...
@@ -2,9 +2,10 @@ package com.bigsys.auth.project.db.dao;
import
com.bigsys.auth.project.db.model.AppInfo
;
import
com.bigsys.auth.project.db.model.AppInfoExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
AppInfoMapper
{
long
countByExample
(
AppInfoExample
example
);
...
...
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/db/dao/BsTestMapper.java
View file @
eb9ad19d
...
...
@@ -2,9 +2,10 @@ package com.bigsys.auth.project.db.dao;
import
com.bigsys.auth.project.db.model.BsTest
;
import
com.bigsys.auth.project.db.model.BsTestExample
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
public
interface
BsTestMapper
{
long
countByExample
(
BsTestExample
example
);
...
...
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/
service/
impl/AppAuthImpl.java
→
bigsys-auth/bigsys-auth-project/src/main/java/com/bigsys/auth/project/impl/AppAuthImpl.java
View file @
eb9ad19d
package
com
.
bigsys
.
auth
.
project
.
service
.
impl
;
package
com
.
bigsys
.
auth
.
project
.
impl
;
import
com.bigsys.auth.api.AppAuth
;
...
...
bigsys-auth/bigsys-auth-project/src/main/resources/applicationContext.xml
deleted
100644 → 0
View file @
55b7e934
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc=
"http://www.springframework.org/schema/mvc"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd"
>
<import
resource=
"dubbo-config.xml"
/>
<import
resource=
"spring-mvc.xml"
/>
<import
resource=
"mybatis.xml"
/>
</beans>
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/main/resources/generator.xml
deleted
100644 → 0
View file @
55b7e934
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE generatorConfiguration PUBLIC
"-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
<generatorConfiguration>
<!-- !!!! Driver Class Path !!!! -->
<classPathEntry
location=
""
/>
<context
id=
"context"
targetRuntime=
"MyBatis3"
>
<commentGenerator>
<property
name=
"suppressAllComments"
value=
"false"
/>
<property
name=
"suppressDate"
value=
"true"
/>
</commentGenerator>
<!-- !!!! Database Configurations !!!! -->
<jdbcConnection
driverClass=
"com.mysql.jdbc.Driver"
connectionURL=
""
userId=
"${username}"
password=
""
/>
<javaTypeResolver>
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
<!-- !!!! Model Configurations !!!! -->
<javaModelGenerator
targetPackage=
""
targetProject=
"THIS_CONFIGURATION_IS_NOT_REQUIRED"
>
<property
name=
"enableSubPackages"
value=
"false"
/>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<!-- !!!! Mapper XML Configurations !!!! -->
<sqlMapGenerator
targetPackage=
""
targetProject=
"THIS_CONFIGURATION_IS_NOT_REQUIRED"
>
<property
name=
"enableSubPackages"
value=
"false"
/>
</sqlMapGenerator>
<!-- !!!! Mapper Interface Configurations !!!! -->
<javaClientGenerator
targetPackage=
""
targetProject=
"THIS_CONFIGURATION_IS_NOT_REQUIRED"
type=
"XMLMAPPER"
>
<property
name=
"enableSubPackages"
value=
"false"
/>
</javaClientGenerator>
<!-- !!!! Table Configurations !!!! -->
<table
tableName=
""
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableSelectByExample=
"false"
enableUpdateByExample=
"false"
/>
</context>
</generatorConfiguration>
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/main/resources/jdbc.properties
deleted
100644 → 0
View file @
55b7e934
driver
=
com.mysql.jdbc.Driver
url
=
jdbc:mysql://localhost:3306/bigsys?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
username
=
root
password
=
root
#配置初始化大小、最小、最大
initialSize
=
1
minIdle
=
1
maxActive
=
20
#配置获取连接等待超时的时间
maxWait
=
60000
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/main/resources/mybatis.xml
deleted
100644 → 0
View file @
55b7e934
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
>
<!-- 引入配置文件 -->
<bean
id=
"propertyConfigurer"
class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
>
<property
name=
"location"
value=
"classpath:jdbc.properties"
/>
</bean>
<bean
id=
"dataSource"
class=
"com.alibaba.druid.pool.DruidDataSource"
destroy-method=
"close"
>
<property
name=
"driverClassName"
value=
"${driver}"
/>
<property
name=
"url"
value=
"${url}"
/>
<property
name=
"username"
value=
"${username}"
/>
<property
name=
"password"
value=
"${password}"
/>
<!-- 初始化连接大小 -->
<property
name=
"initialSize"
value=
"${initialSize}"
/>
<!-- 连接池最大数量 -->
<property
name=
"maxActive"
value=
"${maxActive}"
/>
<!-- 连接池最小空闲 -->
<property
name=
"minIdle"
value=
"${minIdle}"
/>
<!-- 获取连接最大等待时间 -->
<property
name=
"maxWait"
value=
"${maxWait}"
/>
</bean>
<!-- spring和MyBatis完美整合,不需要mybatis的配置映射文件 -->
<bean
id=
"sqlSessionFactory"
class=
"org.mybatis.spring.SqlSessionFactoryBean"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<!-- 自动扫描mapping.xml文件,**表示迭代查找 -->
<property
name=
"mapperLocations"
value=
"classpath:com/bigsys/auth/project/db/*.xml"
/>
</bean>
<!-- DAO接口所在包名,Spring会自动查找其下的类 ,包下的类需要使用@MapperScan注解,否则容器注入会失败 -->
<bean
class=
"org.mybatis.spring.mapper.MapperScannerConfigurer"
>
<property
name=
"basePackage"
value=
"com.bigsys.auth.project.db.*"
/>
<property
name=
"sqlSessionFactoryBeanName"
value=
"sqlSessionFactory"
/>
</bean>
<!-- (事务管理)transaction manager, use JtaTransactionManager for global tx -->
<bean
id=
"transactionManager"
class=
"org.springframework.jdbc.datasource.DataSourceTransactionManager"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
</bean>
</beans>
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/main/resources/spring-mvc.xml
deleted
100644 → 0
View file @
55b7e934
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc=
"http://www.springframework.org/schema/mvc"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd"
>
<context:component-scan
base-package=
"com.bigsys.auth.project"
/>
<mvc:annotation-driven
/>
<mvc:annotation-driven>
<mvc:message-converters>
<bean
class=
"org.springframework.http.converter.StringHttpMessageConverter"
>
<constructor-arg
value=
"UTF-8"
/>
</bean>
<bean
class=
"org.springframework.http.converter.json.MappingJackson2HttpMessageConverter"
>
<property
name=
"supportedMediaTypes"
>
<list>
<value>
application/json
</value>
<value>
text/html;charset=UTF-8
</value>
</list>
</property>
</bean>
</mvc:message-converters>
</mvc:annotation-driven>
</beans>
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/main/webapp/WEB-INF/web.xml
deleted
100644 → 0
View file @
55b7e934
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id=
"WebApp_ID"
version=
"2.5"
>
<display-name>
dubbo-controller
</display-name>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
<welcome-file>
index.jsp
</welcome-file>
</welcome-file-list>
<!-- 配置Spring字符编码过滤器 -->
<filter>
<filter-name>
encodingFilter
</filter-name>
<filter-class>
org.springframework.web.filter.CharacterEncodingFilter
</filter-class>
<init-param>
<param-name>
encoding
</param-name>
<param-value>
UTF-8
</param-value>
</init-param>
<init-param>
<param-name>
forceEncoding
</param-name>
<param-value>
true
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>
encodingFilter
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>
dispatcher
</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>
contextConfigLocation
</param-name>
<param-value>
classpath:applicationContext.xml
</param-value>
</init-param>
<load-on-startup>
0
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
dispatcher
</servlet-name>
<url-pattern>
/
</url-pattern>
</servlet-mapping>
</web-app>
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/main/webapp/index.jsp
deleted
100644 → 0
View file @
55b7e934
<html>
<body>
<h2>
Hello World!
</h2>
</body>
</html>
bigsys-auth/bigsys-auth-project/src/test/resources/generatorConfig.properties
deleted
100644 → 0
View file @
55b7e934
# 数据库驱动jar 路径
drive.class.path
=
/Users/fangzhipeng/.m2/repository/mysql/mysql-connector-java/5.1.30/mysql-connector-java-5.1.30.jar
# 数据库连接参数
jdbc.driver
=
com.mysql.jdbc.Driver
jdbc.url
=
jdbc:mysql://localhost:3306/bigsys?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull
jdbc.username
=
root
jdbc.password
=
root
# 包路径配置
model.package
=
com.bigsys.auth.api.model
dao.package
=
com.bigsys.auth.project.db.dao
xml.mapper.package
=
com.bigsys.auth.project.db.dao
target.project
=
src/main/java
\ No newline at end of file
bigsys-auth/bigsys-auth-project/src/test/resources/generatorConfig.xml
deleted
100644 → 0
View file @
55b7e934
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfiguration
PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<!-- 配置Run As Maven build : Goals 参数 : mybatis-generator:generate -Dmybatis.generator.overwrite=true -->
<!-- 配置 tableName,使用 Run As Maven build 生成 dao model 层 -->
<generatorConfiguration>
<!-- 配置文件路径 -->
<properties
url=
"${mybatis.generator.generatorConfig.properties}"
/>
<!--数据库驱动包路径 -->
<classPathEntry
location=
"${drive.class.path}"
/>
<context
id=
"DB2Tables"
targetRuntime=
"MyBatis3"
>
<!--关闭注释 -->
<commentGenerator>
<property
name=
"suppressAllComments"
value=
"true"
/>
</commentGenerator>
<!--数据库连接信息 -->
<jdbcConnection
driverClass=
"${jdbc.driver}"
connectionURL=
"${jdbc.url}"
userId=
"${jdbc.username}"
password=
"${jdbc.password}"
>
</jdbcConnection>
<!--生成的model 包路径 -->
<javaModelGenerator
targetPackage=
"${model.package}"
targetProject=
"${target.project}"
>
<property
name=
"enableSubPackages"
value=
"ture"
/>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
<!--生成xml mapper文件 路径 -->
<sqlMapGenerator
targetPackage=
"${xml.mapper.package}"
targetProject=
"${target.project}"
>
<property
name=
"enableSubPackages"
value=
"ture"
/>
</sqlMapGenerator>
<!-- 生成的Dao接口 的包路径 -->
<javaClientGenerator
type=
"XMLMAPPER"
targetPackage=
"${dao.package}"
targetProject=
"${target.project}"
>
<property
name=
"enableSubPackages"
value=
"ture"
/>
</javaClientGenerator>
<!--对应数据库表名 -->
<!-- <table tableName="rt_upload_stop_info" domainObjectName="UploadStopInfo" >
<columnOverride column="recordTime" javaType="String"></columnOverride>
</table> -->
<table
tableName=
"bigsys_app_info"
domainObjectName=
"AppInfo"
>
</table>
<!--<table tableName="sub_line" domainObjectName="SubLine">-->
<!--<property name="useActualColumnNames" value="true"/>-->
<!--<columnOverride column="createTime" javaType="String"></columnOverride>-->
<!--<columnOverride column="lastModifyTime" javaType="String"></columnOverride>-->
<!--<columnOverride column="publishTime" javaType="String"></columnOverride>-->
<!--<columnOverride column="snapshotTime" javaType="String"></columnOverride>-->
<!--</table>-->
<!-- <table tableName="base_stop" domainObjectName="BaseStop">
<property name="useActualColumnNames" value="true"/>
</table> -->
<!--
<table tableName="daba_demand" domainObjectName="DabaDemand">
</table> -->
<!--<table tableName="line_promotion" domainObjectName="LinePromotion">-->
<!--<property name="useActualColumnNames" value="true"/>-->
<!--</table> -->
<!--<table tableName="daba_inf_line" domainObjectName="DabaInfLine">-->
<!--<property name="useActualColumnNames" value="true"/>-->
<!--<columnOverride column="publishTime" javaType="String"></columnOverride>-->
<!--</table>-->
</context>
</generatorConfiguration>
\ No newline at end of file
bigsys-auth/pom.xml
View file @
eb9ad19d
...
...
@@ -13,7 +13,9 @@
<description>
用户和应用授权中心
</description>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.jdk>
1.8
</project.build.jdk>
<plugin.maven-compiler>
3.1
</plugin.maven-compiler>
</properties>
<modules>
...
...
pom.xml
View file @
eb9ad19d
...
...
@@ -10,7 +10,9 @@
<version>
1.0-SNAPSHOT
</version>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.jdk>
1.8
</project.build.jdk>
<plugin.maven-compiler>
3.1
</plugin.maven-compiler>
</properties>
<modules>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment