update .gitignore

This commit is contained in:
seagull 2017-11-20 11:31:47 +08:00
parent f8c951b0a2
commit 9b4c8ac404
9 changed files with 748 additions and 715 deletions

View File

@ -28,6 +28,10 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/> <classpathentry kind="output" path="target/classes"/>
</classpath> </classpath>

1
.gitignore vendored
View File

@ -1,2 +1 @@
/target/ /target/
/src/main/resources/hibernate.cfg.xml

View File

@ -16,12 +16,12 @@
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name> <name>org.eclipse.wst.validation.validationbuilder</name>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name> <name>org.eclipse.m2e.core.maven2Builder</name>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/*调度表增加客户端LOAD驱动桩路径字段*/ /*调度表增加客户端LOAD驱动桩路径字段*/
alter table TEST_JOBS add clientpath VARCHAR(100) COMMENT '客户端测试驱动桩路径'; alter table TEST_JOBS add clientpath VARCHAR(100) COMMENT '客户端测试驱动桩路径';
/*调度表增加客户端LOAD驱动桩路径字段*/ /*调度表增加客户端LOAD驱动桩路径字段*/
alter table TEST_CLIENT add clientpath VARCHAR(100) COMMENT '客户端测试驱动桩路径 多个;做分隔'; alter table TEST_CLIENT add clientpath VARCHAR(100) COMMENT '客户端测试驱动桩路径 多个;做分隔';

View File

@ -204,6 +204,7 @@
<version>2.4</version> <version>2.4</version>
<classifier>jdk15</classifier> <classifier>jdk15</classifier>
</dependency> </dependency>
<dependency> <dependency>
<groupId>jstl</groupId> <groupId>jstl</groupId>
<artifactId>jstl</artifactId> <artifactId>jstl</artifactId>

View File

@ -155,6 +155,17 @@ public class ProjectTemplateParamsController {
jsonstr = jsonstr.replace("undefined", "0"); jsonstr = jsonstr.replace("undefined", "0");
JSONArray jsonarr = JSONArray.fromObject(jsonstr); JSONArray jsonarr = JSONArray.fromObject(jsonstr);
//处理json-lib 2.4版本当遇到json格式字符串时把它当成对象处理的bug
for(int i=0;i<jsonarr.size();i++){
JSONObject tempobj=(JSONObject) jsonarr.get(i);
String str=tempobj.get("param").toString();
if("[".equals(str.substring(0, 1))&&"]".equals(str.substring(str.length()-1))){
tempobj.element("param", "***"+str);
jsonarr.set(i, tempobj);
}
}
List<?> list = JSONArray.toList(jsonarr, new ProjectTemplateParams(), new JsonConfig());// 参数1为要转换的JSONArray数据参数2为要转换的目标数据即List盛装的数据 List<?> list = JSONArray.toList(jsonarr, new ProjectTemplateParams(), new JsonConfig());// 参数1为要转换的JSONArray数据参数2为要转换的目标数据即List盛装的数据
String usercode = ""; String usercode = "";
if (null != request.getSession().getAttribute("usercode") if (null != request.getSession().getAttribute("usercode")
@ -169,6 +180,10 @@ public class ProjectTemplateParamsController {
List<ProjectTemplateParams> paramslist =oldParamsList; List<ProjectTemplateParams> paramslist =oldParamsList;
for (int i = 0; i < list.size(); i++) { for (int i = 0; i < list.size(); i++) {
ProjectTemplateParams param = (ProjectTemplateParams) list.get(i); ProjectTemplateParams param = (ProjectTemplateParams) list.get(i);
if(param.getParam().indexOf("***[")>-1&&"***[".equals(param.getParam().substring(0, 4))){
param.setParam(param.getParam().substring(3));
}
if(i==0){ if(i==0){
ppt = ptemplateservice.load(param.getTemplateid()); ppt = ptemplateservice.load(param.getTemplateid());
} }

View File

@ -290,6 +290,9 @@
checkinterval : { checkinterval : {
message : '心跳间隔时间无效!', message : '心跳间隔时间无效!',
validators : { validators : {
notEmpty : {
message : '心跳间隔时间不能为空'
},
numeric: {message: '心跳间隔时间只能输入数字'}, numeric: {message: '心跳间隔时间只能输入数字'},
callback: { callback: {
message: '心跳间隔时间最大59秒', message: '心跳间隔时间最大59秒',

View File

@ -434,6 +434,10 @@
}, { }, {
field : 'expectedresult', field : 'expectedresult',
title : '预期结果', title : '预期结果',
formatter : function(value,
row, index) {
return value+' ';
},
editable : { editable : {
type : 'text', type : 'text',
title : '预期结果', title : '预期结果',
@ -515,6 +519,13 @@
} }
} }
if(field=='expectedresult'){
var str=row.expectedresult.split("");
if(str[str.length-1]==' '){
row.expectedresult=row.expectedresult.substring(0,row.expectedresult.length-1);
}
}
$('#cur_table').bootstrapTable("resetView"); $('#cur_table').bootstrapTable("resetView");
$.ajax({ $.ajax({
type : "post", type : "post",