增加版本控制功能

parent b1c3839e
# Created by .ignore support plugin (hsz.mobi)
### Java template
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
### Eclipse template
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders
# Eclipse Core
.project
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# PyDev specific (Python IDE for Eclipse)
*.pydevproject
# CDT-specific (C/C++ Development Tooling)
.cproject
# JDT-specific (Eclipse Java Development Tools)
.classpath
# Java annotation processor (APT)
.factorypath
# PDT-specific (PHP Development Tools)
.buildpath
# sbteclipse plugin
.target
# Tern plugin
.tern-project
# TeXlipse plugin
.texlipse
# STS (Spring Tool Suite)
.springBeans
# Code Recommenders
.recommenders/
# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
/target
.idea
*.iml
......@@ -4,7 +4,7 @@
<groupId>com.cc</groupId>
<artifactId>xzxt-rest</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<version>1.ty.1.0-SNAPSHOT_${maven.build.timestamp}</version>
<name>xzxt-rest Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
......@@ -306,6 +306,10 @@
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
</project>
......@@ -103,7 +103,8 @@ public class XzxtRestResult {
}
return build(jsonNode.get("status").intValue(), jsonNode.get("msg").asText(), obj);
} catch (Exception e) {
return null;
System.out.println(e.getStackTrace());
return new XzxtRestResult();
}
}
......
version=@project.version@
————————————————————版本描述规范-——————————————————————————
规范:
1、序号:用“#”+阿拉伯数字
2、名称:迭代信息描述,记录本次开发、修改功能描述
3、类别:01:新增功能、02:修改bug、03、修改配置文件
4、描述:新增功能:填写简要需求说明
修改bug:填写对应禅道问题
修改配置文件:填写简要说明
示例:
#1.名称:新增solr更新功能;类别:01;描述:解决solr数据同步问题。
#2.名称:修改指令查询功能;类别:02;描述:解决查询中分页数据不回显问题。
#3.名称:修改jdbc文件; 类别:03;描述:修改数据库连接池大小。
————————————————————版本描述规范-——————————————————————————
————————————————————@project.version@-——————————————————————————
————————————————————@project.version@-——————————————————————————
\ No newline at end of file
#1.记录迭代次数,如果在version.txt中清除了版本描述信息,在此复制备份;
————————————————————1.ty.1.1-SNAPSHOT_20181026-1022-——————————————————————————
#1.修改页面;
#2.新增查询功能;
#3.本次打包更新以上1.2功能;
————————————————————1.ty.1.1-SNAPSHOT_20181026-1022-——————————————————————————
————————————————————1.ty.2.1-SNAPSHOT_20181026-1022-——————————————————————————
#1.修改页面;
#2.新增查询功能;
#3.本次打包更新以上1.2功能;
————————————————————1.ty.2.1-SNAPSHOT_20181026-1022-——————————————————————————
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment