Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
kt-keystone
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
kt-keystone
Commits
d45fccad
提交
d45fccad
authored
1月 19, 2022
作者:
mry
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
perf(web): 数据库字段修改
上级
d60c375e
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
14 行增加
和
20 行删除
+14
-20
ActionController.java
...java/org/matrix/autotest/controller/ActionController.java
+2
-2
ConnectController.java
...ava/org/matrix/autotest/controller/ConnectController.java
+2
-2
DynamicVariableController.java
...matrix/autotest/controller/DynamicVariableController.java
+2
-2
EnvironmentController.java
...org/matrix/autotest/controller/EnvironmentController.java
+2
-2
MoveController.java
...n/java/org/matrix/autotest/controller/MoveController.java
+2
-2
ProjectController.java
...ava/org/matrix/autotest/controller/ProjectController.java
+2
-2
TestCaseController.java
...va/org/matrix/autotest/controller/TestCaseController.java
+2
-2
TestCase.java
...eb/src/main/java/org/matrix/autotest/entity/TestCase.java
+0
-6
没有找到文件。
kt-web/src/main/java/org/matrix/autotest/controller/ActionController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class ActionController {
...
@@ -106,10 +106,10 @@ public class ActionController {
*/
*/
@ApiOperation
(
value
=
"根据id删除动作"
)
@ApiOperation
(
value
=
"根据id删除动作"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
Action
>>
deleteAction
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteAction
(
@PathVariable
Integer
id
)
{
int
i
=
actionService
.
deleteAction
(
id
);
int
i
=
actionService
.
deleteAction
(
id
);
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/controller/ConnectController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class ConnectController {
...
@@ -106,10 +106,10 @@ public class ConnectController {
*/
*/
@ApiOperation
(
value
=
"根据id删除连接池"
)
@ApiOperation
(
value
=
"根据id删除连接池"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
Connect
>>
deleteConnect
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteConnect
(
@PathVariable
Integer
id
)
{
int
i
=
connectService
.
deleteConnect
(
id
);
int
i
=
connectService
.
deleteConnect
(
id
);
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/controller/DynamicVariableController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class DynamicVariableController {
...
@@ -106,10 +106,10 @@ public class DynamicVariableController {
*/
*/
@ApiOperation
(
value
=
"根据id删除动态变量"
)
@ApiOperation
(
value
=
"根据id删除动态变量"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
DynamicVariable
>>
deleteDynamicVariable
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteDynamicVariable
(
@PathVariable
Integer
id
)
{
int
i
=
dynamicVariableService
.
deleteDynamicVariable
(
id
);
int
i
=
dynamicVariableService
.
deleteDynamicVariable
(
id
);
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/controller/EnvironmentController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class EnvironmentController {
...
@@ -106,10 +106,10 @@ public class EnvironmentController {
*/
*/
@ApiOperation
(
value
=
"根据id删除实例"
)
@ApiOperation
(
value
=
"根据id删除实例"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
Environment
>>
deleteEnvironment
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteEnvironment
(
@PathVariable
Integer
id
)
{
int
i
=
environmentService
.
deleteEnvironment
(
id
);
int
i
=
environmentService
.
deleteEnvironment
(
id
);
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/controller/MoveController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class MoveController {
...
@@ -106,10 +106,10 @@ public class MoveController {
*/
*/
@ApiOperation
(
value
=
"根据id删除行为"
)
@ApiOperation
(
value
=
"根据id删除行为"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
Move
>>
deleteMove
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteMove
(
@PathVariable
Integer
id
)
{
int
i
=
moveService
.
deleteMove
(
id
);
int
i
=
moveService
.
deleteMove
(
id
);
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/controller/ProjectController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class ProjectController {
...
@@ -106,10 +106,10 @@ public class ProjectController {
*/
*/
@ApiOperation
(
value
=
"根据id删除项目"
)
@ApiOperation
(
value
=
"根据id删除项目"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
Project
>>
deleteProject
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteProject
(
@PathVariable
Integer
id
)
{
int
i
=
projectService
.
deleteProject
(
id
);
int
i
=
projectService
.
deleteProject
(
id
);
if
(
i
!=
0
){
if
(
i
!=
0
){
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/controller/TestCaseController.java
浏览文件 @
d45fccad
...
@@ -106,10 +106,10 @@ public class TestCaseController {
...
@@ -106,10 +106,10 @@ public class TestCaseController {
*/
*/
@ApiOperation
(
value
=
"根据id删除用例"
)
@ApiOperation
(
value
=
"根据id删除用例"
)
@DeleteMapping
(
"/{id}"
)
@DeleteMapping
(
"/{id}"
)
public
ResponseEntity
<
CommonResultObj
<
TestCase
>>
deleteTestCase
(
@PathVariable
Integer
id
)
{
public
ResponseEntity
<
CommonResultObj
<
String
>>
deleteTestCase
(
@PathVariable
Integer
id
)
{
int
i
=
testCaseService
.
deleteTestCase
(
id
);
int
i
=
testCaseService
.
deleteTestCase
(
id
);
if
(
i
!=
0
)
{
if
(
i
!=
0
)
{
return
CommonResult
.
success
(
"删除成功"
);
return
CommonResult
.
success
(
"
id: "
+
id
+
"已删除"
,
"
删除成功"
);
}
else
{
}
else
{
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
return
CommonResult
.
failed
(
"删除失败,或不存在需要删除的数据"
);
}
}
...
...
kt-web/src/main/java/org/matrix/autotest/entity/TestCase.java
浏览文件 @
d45fccad
...
@@ -93,12 +93,6 @@ public class TestCase {
...
@@ -93,12 +93,6 @@ public class TestCase {
@ApiModelProperty
(
value
=
"不包含某字段检验(例如 张三,李四) 则对检查结果中是否不包含张三或者李四"
)
@ApiModelProperty
(
value
=
"不包含某字段检验(例如 张三,李四) 则对检查结果中是否不包含张三或者李四"
)
private
String
noContainCheckpoint
;
private
String
noContainCheckpoint
;
/**
* 数据库检验点,以JSON形式存放
*/
@ApiModelProperty
(
value
=
"数据库检验点,以JSON形式存放"
)
private
String
databaseCheckpoint
;
/**
/**
* jsonpath检验点,以json形式存放
* jsonpath检验点,以json形式存放
*/
*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论