Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fenghuo12
zheng
提交
2babe6a4
Z
zheng
项目概览
fenghuo12
/
zheng
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zheng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2babe6a4
编写于
11月 14, 2016
作者:
shuzheng5201314
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update pom
上级
1348a619
变更
17
显示空白变更内容
内联
并排
Showing
17 changed file
with
234 addition
and
15 deletion
+234
-15
cms/cms-dao/pom.xml
cms/cms-dao/pom.xml
+1
-1
cms/cms-service/pom.xml
cms/cms-service/pom.xml
+1
-1
cms/cms-web/pom.xml
cms/cms-web/pom.xml
+1
-1
cms/pom.xml
cms/pom.xml
+1
-1
common/pom.xml
common/pom.xml
+1
-1
oss/oss-sdk/pom.xml
oss/oss-sdk/pom.xml
+1
-1
oss/oss-web/pom.xml
oss/oss-web/pom.xml
+1
-1
oss/pom.xml
oss/pom.xml
+1
-1
pom.xml
pom.xml
+1
-0
qa/pom.xml
qa/pom.xml
+1
-1
qa/qa-dao/pom.xml
qa/qa-dao/pom.xml
+39
-5
qa/qa-service/pom.xml
qa/qa-service/pom.xml
+1
-1
upms/pom.xml
upms/pom.xml
+25
-0
upms/upms-dao/pom.xml
upms/upms-dao/pom.xml
+63
-0
upms/upms-dao/src/main/java/com/zheng/upms/dao/App.java
upms/upms-dao/src/main/java/com/zheng/upms/dao/App.java
+13
-0
upms/upms-dao/src/resources/generatorConfig.xml
upms/upms-dao/src/resources/generatorConfig.xml
+74
-0
upms/upms-dao/src/resources/jdbc.properties
upms/upms-dao/src/resources/jdbc.properties
+9
-0
未找到文件。
cms/cms-dao/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-cms
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-cms
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
cms/cms-service/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-cms
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-cms
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
cms/cms-web/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-cms
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-cms
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
cms/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
common/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
oss/oss-sdk/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-oss
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-oss
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
oss/oss-web/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-oss
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-oss
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
oss/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
pom.xml
浏览文件 @
2babe6a4
...
...
@@ -23,5 +23,6 @@
<module>
cms
</module>
<module>
oss
</module>
<module>
qa
</module>
<module>
upms
</module>
</modules>
</project>
\ No newline at end of file
qa/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
qa/qa-dao/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-qa
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-qa
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
@@ -20,10 +20,44 @@
<dependencies>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
3.8.1
</version>
<scope>
test
</scope>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-common
</artifactId>
<version>
1.0.0
</version>
<type>
jar
</type>
</dependency>
</dependencies>
<build>
<finalName>
qa-dao
</finalName>
<resources>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.xml
</include>
</includes>
<filtering>
true
</filtering>
</resource>
<resource>
<directory>
src/main/resources
</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<version>
1.3.2
</version>
<dependencies>
<dependency>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-common
</artifactId>
<version>
1.0.0
</version>
</dependency>
</dependencies>
<configuration>
<verbose>
true
</verbose>
<overwrite>
true
</overwrite>
</configuration>
</plugin>
</plugins>
</build>
</project>
qa/qa-service/pom.xml
浏览文件 @
2babe6a4
...
...
@@ -3,8 +3,8 @@
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
zheng-qa
</artifactId>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-qa
</artifactId>
<version>
1.0.0
</version>
</parent>
...
...
upms/pom.xml
0 → 100644
浏览文件 @
2babe6a4
<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/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modules>
<module>
upms-dao
</module>
<module>
upms-service
</module>
</modules>
<parent>
<artifactId>
zheng
</artifactId>
<groupId>
com.zheng
</groupId>
<version>
1.0.0
</version>
</parent>
<artifactId>
zheng-upms
</artifactId>
<packaging>
pom
</packaging>
<name>
zheng-upms
</name>
<url>
http://www.zhangshuzheng.cn
</url>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
</project>
upms/upms-dao/pom.xml
0 → 100644
浏览文件 @
2babe6a4
<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/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-upms
</artifactId>
<version>
1.0.0
</version>
</parent>
<artifactId>
zheng-upms-dao
</artifactId>
<packaging>
jar
</packaging>
<name>
zheng-upms-dao
</name>
<url>
http://www.zhangshuzheng.cn
</url>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-common
</artifactId>
<version>
1.0.0
</version>
<type>
jar
</type>
</dependency>
</dependencies>
<build>
<finalName>
upms-dao
</finalName>
<resources>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.xml
</include>
</includes>
<filtering>
true
</filtering>
</resource>
<resource>
<directory>
src/main/resources
</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<version>
1.3.2
</version>
<dependencies>
<dependency>
<groupId>
com.zheng
</groupId>
<artifactId>
zheng-common
</artifactId>
<version>
1.0.0
</version>
</dependency>
</dependencies>
<configuration>
<verbose>
true
</verbose>
<overwrite>
true
</overwrite>
</configuration>
</plugin>
</plugins>
</build>
</project>
upms/upms-dao/src/main/java/com/zheng/upms/dao/App.java
0 → 100644
浏览文件 @
2babe6a4
package
com.zheng.upms.dao
;
/**
* Hello world!
*
*/
public
class
App
{
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
"Hello World!"
);
}
}
upms/upms-dao/src/resources/generatorConfig.xml
0 → 100644
浏览文件 @
2babe6a4
<?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>
<!-- 配置文件 -->
<properties
resource=
"jdbc.properties"
></properties>
<!-- mysql驱动包 -->
<classPathEntry
location=
"${classPathEntry}"
/>
<context
id=
"context"
targetRuntime=
"MyBatis3"
>
<property
name=
"javaFileEncoding"
value=
"UTF-8"
/>
<!-- 由于beginningDelimiter和endingDelimiter的默认值为双引号("),在Mysql中不能这么写,所以还要将这两个默认值改为**反单引号(`)**,配置如下: -->
<property
name=
"beginningDelimiter"
value=
""
/>
<property
name=
"endingDelimiter"
value=
""
/>
<!-- 为生成的Java模型创建一个toString方法 -->
<plugin
type=
"org.mybatis.generator.plugins.ToStringPlugin"
></plugin>
<!-- 为生成的Java模型类添加序列化接口,并生成serialVersionUID字段 -->
<plugin
type=
"org.mybatis.generator.plugins.SerializablePlugin"
>
<property
name=
"suppressJavaInterface"
value=
"false"
/>
</plugin>
<!-- 生成一个新的selectByExample方法,这个方法可以接受一个RowBounds参数,主要用来实现分页 -->
<plugin
type=
"com.zheng.common.plugin.PaginationPlugin"
></plugin>
<!-- 生成在XML中的<cache>元素 -->
<plugin
type=
"org.mybatis.generator.plugins.CachePlugin"
>
<!-- 使用ehcache -->
<property
name=
"cache_type"
value=
"org.mybatis.caches.ehcache.LoggingEhcache"
/>
<!-- 内置cache配置 -->
<!--
<property name="cache_eviction" value="LRU" />
<property name="cache_flushInterval" value="60000" />
<property name="cache_readOnly" value="true" />
<property name="cache_size" value="1024" />
-->
</plugin>
<!-- Java模型生成equals和hashcode方法 -->
<plugin
type=
"org.mybatis.generator.plugins.EqualsHashCodePlugin"
></plugin>
<!-- 生成的代码去掉注释 -->
<commentGenerator>
<property
name=
"suppressAllComments"
value=
"true"
/>
</commentGenerator>
<!-- 数据库连接 -->
<jdbcConnection
driverClass=
"${jdbc.driver}"
connectionURL=
"${jdbc.url}"
userId=
"${jdbc.username}"
password=
"${jdbc.password}"
/>
<!-- model生成 -->
<javaModelGenerator
targetPackage=
"${generator.javaModelGenerator.targetPackage}"
targetProject=
"src/main/java"
/>
<!-- MapperXML生成 -->
<sqlMapGenerator
targetPackage=
"${generator.sqlMapGenerator.targetPackage}"
targetProject=
"src/main/java"
/>
<!-- Mapper接口生成 -->
<javaClientGenerator
targetPackage=
"${generator.javaClientGenerator.targetPackage}"
targetProject=
"src/main/java"
type=
"XMLMAPPER"
/>
<!-- 需要映射的表 -->
<table
tableName=
"user"
domainObjectName=
"User"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
</table>
<table
tableName=
"book"
domainObjectName=
"Book"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
upms/upms-dao/src/resources/jdbc.properties
0 → 100644
浏览文件 @
2babe6a4
jdbc.driver
=
com.mysql.jdbc.Driver
jdbc.url
=
jdbc
\:
mysql
\:
//127.0.0.1
\:
3306/zheng?useUnicode
\=
true&characterEncoding
\=
utf-8&autoReconnect
\=
true
jdbc.username
=
root
jdbc.password
=
123456
classPathEntry
=
D:/mysql-connector-java-5.1.34.jar
generator.javaModelGenerator.targetPackage
=
com.zheng.upms.dao.model
generator.sqlMapGenerator.targetPackage
=
com.zheng.upms.dao.mapper
generator.javaClientGenerator.targetPackage
=
com.zheng.upms.dao.mapper
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录