Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
王飞
vehicle-quality-review
Commits
a8900a3c
Commit
a8900a3c
authored
Aug 13, 2024
by
yuanshuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.91isoft.com:90/wangfei/vehicle-quality-review
into songyuanshuo
parents
e48b85bb
a40f69eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
CaseResultVO.java
...eview/src/main/java/com/ruoyi/domain/vo/CaseResultVO.java
+3
-0
StrategyModelTestTaskNew.java
...java/com/ruoyi/service/impl/StrategyModelTestTaskNew.java
+11
-0
TestRecordsServiceImpl.java
...n/java/com/ruoyi/service/impl/TestRecordsServiceImpl.java
+2
-2
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/CaseResultVO.java
View file @
a8900a3c
...
@@ -31,6 +31,9 @@ public class CaseResultVO {
...
@@ -31,6 +31,9 @@ public class CaseResultVO {
@ApiModelProperty
(
"用例编号"
)
@ApiModelProperty
(
"用例编号"
)
private
String
serial_number
;
private
String
serial_number
;
@ApiModelProperty
(
"用例编号"
)
private
String
sequence
;
@ApiModelProperty
(
"用例开始时间"
)
@ApiModelProperty
(
"用例开始时间"
)
private
Integer
start_time
;
private
Integer
start_time
;
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyModelTestTaskNew.java
View file @
a8900a3c
...
@@ -171,6 +171,17 @@ public class StrategyModelTestTaskNew implements StrategyModelTestTask, Initiali
...
@@ -171,6 +171,17 @@ public class StrategyModelTestTaskNew implements StrategyModelTestTask, Initiali
List
<
ModelTestViewVO
>
list
=
jsonObject
.
getList
(
"regulation_item_result_list"
,
ModelTestViewVO
.
class
);
List
<
ModelTestViewVO
>
list
=
jsonObject
.
getList
(
"regulation_item_result_list"
,
ModelTestViewVO
.
class
);
if
(
list
!=
null
&&
!
list
.
isEmpty
())
{
// 遍历 ModelTestViewVO 列表
for
(
ModelTestViewVO
viewVO
:
list
)
{
// 遍历 case_result_list
for
(
ModelTestResultVO
resultVO
:
viewVO
.
getCase_result_list
())
{
// 将 sequence 的值赋给 serial_number
resultVO
.
setSerial_number
(
resultVO
.
getSequence
());
}
}
}
response
.
setStandardNum
((
Integer
)
jsonObject
.
get
(
"regulation_item_count"
));
response
.
setStandardNum
((
Integer
)
jsonObject
.
get
(
"regulation_item_count"
));
response
.
setModelTestTaskViewResponseList
(
list
);
response
.
setModelTestTaskViewResponseList
(
list
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestRecordsServiceImpl.java
View file @
a8900a3c
...
@@ -87,7 +87,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
...
@@ -87,7 +87,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
testRecords
.
setRiskLevel
(
caseResultVO
.
getRisk_level
()
+
"_risk"
);
testRecords
.
setRiskLevel
(
caseResultVO
.
getRisk_level
()
+
"_risk"
);
testRecords
.
setTestResult
(
caseResultVO
.
getStatus
());
testRecords
.
setTestResult
(
caseResultVO
.
getStatus
());
testRecords
.
setRemediation
(
caseResultVO
.
getRemediation
());
testRecords
.
setRemediation
(
caseResultVO
.
getRemediation
());
testRecords
.
setUsecaseNo
(
caseResultVO
.
getSe
rial_number
());
testRecords
.
setUsecaseNo
(
caseResultVO
.
getSe
quence
());
//测试开始时间
//测试开始时间
if
(
caseResultVO
.
getStart_time
()
!=
null
)
{
if
(
caseResultVO
.
getStart_time
()
!=
null
)
{
Date
date
=
new
Date
(
caseResultVO
.
getStart_time
());
Date
date
=
new
Date
(
caseResultVO
.
getStart_time
());
...
@@ -192,7 +192,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
...
@@ -192,7 +192,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
testRecords
.
setRiskLevel
(
caseResultVO
.
getRisk_level
()
+
"_risk"
);
testRecords
.
setRiskLevel
(
caseResultVO
.
getRisk_level
()
+
"_risk"
);
testRecords
.
setTestResult
(
caseResultVO
.
getStatus
());
testRecords
.
setTestResult
(
caseResultVO
.
getStatus
());
testRecords
.
setRemediation
(
caseResultVO
.
getRemediation
());
testRecords
.
setRemediation
(
caseResultVO
.
getRemediation
());
testRecords
.
setUsecaseNo
(
caseResultVO
.
getSe
rial_number
());
testRecords
.
setUsecaseNo
(
caseResultVO
.
getSe
quence
());
//测试开始时间
//测试开始时间
if
(
caseResultVO
.
getStart_time
()
!=
null
)
{
if
(
caseResultVO
.
getStart_time
()
!=
null
)
{
Date
date
=
new
Date
(
caseResultVO
.
getStart_time
());
Date
date
=
new
Date
(
caseResultVO
.
getStart_time
());
...
...
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