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
faa1c2f8
Commit
faa1c2f8
authored
Jul 01, 2024
by
wdy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
dev - master 30 See merge request
!378
parents
203a2c64
7fb0439d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
StrategyModelTestTaskPending.java
.../com/ruoyi/service/impl/StrategyModelTestTaskPending.java
+6
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/StrategyModelTestTaskPending.java
View file @
faa1c2f8
...
@@ -73,7 +73,7 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
...
@@ -73,7 +73,7 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
List
<
CaseStatistics
>
caseStatisticsList
=
jsonObject
.
getList
(
"case_statistics"
,
CaseStatistics
.
class
);
List
<
CaseStatistics
>
caseStatisticsList
=
jsonObject
.
getList
(
"case_statistics"
,
CaseStatistics
.
class
);
if
(
CollUtil
.
isNotEmpty
(
caseStatisticsList
))
{
if
(
CollUtil
.
isNotEmpty
(
caseStatisticsList
))
{
caseStatisticsList
.
forEach
(
obj
->
{
caseStatisticsList
.
forEach
(
obj
->
{
if
(
CaseStatistics
.
CASE_STATUS_FAILED
.
equals
(
obj
.
status
)
||
CaseStatistics
.
CASE_STATUS_PASSED
.
equals
(
obj
.
status
))
{
if
(
CaseStatistics
.
CASE_STATUS_FAILED
.
equals
(
obj
.
status
)
||
CaseStatistics
.
CASE_STATUS_PASSED
.
equals
(
obj
.
status
)
||
CaseStatistics
.
CASE_STATUS_IGNORED
.
equals
(
obj
.
status
)
)
{
currentCount
.
updateAndGet
(
v
->
v
+
obj
.
getCount
());
currentCount
.
updateAndGet
(
v
->
v
+
obj
.
getCount
());
}
}
if
(
CaseStatistics
.
CASE_STATUS_FAILED
.
equals
(
obj
.
status
))
{
if
(
CaseStatistics
.
CASE_STATUS_FAILED
.
equals
(
obj
.
status
))
{
...
@@ -128,6 +128,11 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
...
@@ -128,6 +128,11 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
*/
*/
private
static
final
String
CASE_STATUS_FAILED
=
"FAILED"
;
private
static
final
String
CASE_STATUS_FAILED
=
"FAILED"
;
/**
* 已忽略
*/
private
static
final
String
CASE_STATUS_IGNORED
=
"IGNORED"
;
/**
/**
* 数量
* 数量
*/
*/
...
...
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