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
5858ef40
Commit
5858ef40
authored
Apr 02, 2024
by
高滢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gaoying' into 'dev'
Gaoying See merge request
!259
parents
a6e4473f
ffd36c26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
StatisticsHomeServiceImpl.java
...ava/com/ruoyi/service/impl/StatisticsHomeServiceImpl.java
+3
-3
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/StatisticsHomeServiceImpl.java
View file @
5858ef40
...
@@ -50,15 +50,15 @@ public class StatisticsHomeServiceImpl implements StatisticsHomeService {
...
@@ -50,15 +50,15 @@ public class StatisticsHomeServiceImpl implements StatisticsHomeService {
InspectionItemPassedNumVO
inspectionItemPassedNumVO
=
statisticsHomeMapper
.
selectInspectionItemPassedNum
();
InspectionItemPassedNumVO
inspectionItemPassedNumVO
=
statisticsHomeMapper
.
selectInspectionItemPassedNum
();
List
<
AverageInspectionRateVO
>
list
=
new
ArrayList
<>();
List
<
AverageInspectionRateVO
>
list
=
new
ArrayList
<>();
AverageInspectionRateVO
averageInspectionRateOne
=
new
AverageInspectionRateVO
();
AverageInspectionRateVO
averageInspectionRateOne
=
new
AverageInspectionRateVO
();
averageInspectionRateOne
.
setInspectionItems
(
"
汽车
信息安全管理体系要求"
);
averageInspectionRateOne
.
setInspectionItems
(
"信息安全管理体系要求"
);
averageInspectionRateOne
.
setPassingRate
(
proportionCalculation
(
inspectionItemPassedNumVO
.
getSysReviewPassedNum
(),
inspectionItemPassedNumVO
.
getSysReviewcompletedNum
()));
averageInspectionRateOne
.
setPassingRate
(
proportionCalculation
(
inspectionItemPassedNumVO
.
getSysReviewPassedNum
(),
inspectionItemPassedNumVO
.
getSysReviewcompletedNum
()));
list
.
add
(
averageInspectionRateOne
);
list
.
add
(
averageInspectionRateOne
);
AverageInspectionRateVO
averageInspectionRateTwo
=
new
AverageInspectionRateVO
();
AverageInspectionRateVO
averageInspectionRateTwo
=
new
AverageInspectionRateVO
();
averageInspectionRateTwo
.
setInspectionItems
(
"
汽车
信息安全一般要求"
);
averageInspectionRateTwo
.
setInspectionItems
(
"信息安全一般要求"
);
averageInspectionRateTwo
.
setPassingRate
(
proportionCalculation
(
inspectionItemPassedNumVO
.
getCarReviewPassedNum
(),
inspectionItemPassedNumVO
.
getCarReviewcompletedNum
()));
averageInspectionRateTwo
.
setPassingRate
(
proportionCalculation
(
inspectionItemPassedNumVO
.
getCarReviewPassedNum
(),
inspectionItemPassedNumVO
.
getCarReviewcompletedNum
()));
list
.
add
(
averageInspectionRateTwo
);
list
.
add
(
averageInspectionRateTwo
);
AverageInspectionRateVO
averageInspectionRateThree
=
new
AverageInspectionRateVO
();
AverageInspectionRateVO
averageInspectionRateThree
=
new
AverageInspectionRateVO
();
averageInspectionRateThree
.
setInspectionItems
(
"
汽车
信息安全技术要求"
);
averageInspectionRateThree
.
setInspectionItems
(
"信息安全技术要求"
);
averageInspectionRateThree
.
setPassingRate
(
proportionCalculation
(
inspectionItemPassedNumVO
.
getModelTestPassedNum
(),
inspectionItemPassedNumVO
.
getModelTestCompletedNum
()));
averageInspectionRateThree
.
setPassingRate
(
proportionCalculation
(
inspectionItemPassedNumVO
.
getModelTestPassedNum
(),
inspectionItemPassedNumVO
.
getModelTestCompletedNum
()));
list
.
add
(
averageInspectionRateThree
);
list
.
add
(
averageInspectionRateThree
);
for
(
AverageInspectionRateVO
averageInspectionRate:
list
){
for
(
AverageInspectionRateVO
averageInspectionRate:
list
){
...
...
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