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
b4df436c
Commit
b4df436c
authored
Apr 11, 2024
by
高滢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gaoying' into 'dev'
Gaoying See merge request
!280
parents
c775e161
dfeccb81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
QuantityStatisticsVO.java
...c/main/java/com/ruoyi/domain/vo/QuantityStatisticsVO.java
+3
-3
ReviewEnterpriseArchiveMapper.xml
...c/main/resources/mapper/ReviewEnterpriseArchiveMapper.xml
+1
-0
StatisticsHomeMapper.xml
...review/src/main/resources/mapper/StatisticsHomeMapper.xml
+6
-7
No files found.
quality-review/src/main/java/com/ruoyi/domain/vo/QuantityStatisticsVO.java
View file @
b4df436c
...
...
@@ -19,7 +19,7 @@ public class QuantityStatisticsVO {
@ApiModelProperty
(
"支持标准数量"
)
private
Long
standardQuantity
;
@ApiModelProperty
(
"测试用例数量"
)
@ApiModelProperty
(
"测试用例数量
科恩获取
"
)
private
Long
numberUseCases
;
@ApiModelProperty
(
"任务数量"
)
...
...
@@ -40,10 +40,10 @@ public class QuantityStatisticsVO {
@ApiModelProperty
(
"零部件样品数量"
)
private
Long
numberComponentSamples
;
@ApiModelProperty
(
"测试方法数量"
)
@ApiModelProperty
(
"测试方法数量
科恩获取
"
)
private
Long
numberMethods
;
@ApiModelProperty
(
"场景数量"
)
@ApiModelProperty
(
"场景数量
科恩获取
"
)
private
Long
numberScenes
;
@ApiModelProperty
(
"已完成任务数量"
)
...
...
quality-review/src/main/resources/mapper/ReviewEnterpriseArchiveMapper.xml
View file @
b4df436c
...
...
@@ -19,6 +19,7 @@
<result
property=
"createTime"
column=
"create_time"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<select
id=
"findByTaskId"
resultType=
"com.ruoyi.domain.ReviewEnterpriseArchive"
>
SELECT id, enterprise_name, file_name, version, publish_date, status, identify_number, storage, photo, task_id, create_by, create_time FROM t_review_enterprise_archive WHERE task_id = #{taskId}
</select>
...
...
quality-review/src/main/resources/mapper/StatisticsHomeMapper.xml
View file @
b4df436c
...
...
@@ -8,7 +8,6 @@
<select
id=
"selectQuantityStatistics"
resultType=
"com.ruoyi.domain.vo.QuantityStatisticsVO"
parameterType=
"com.ruoyi.domain.vo.QuantityStatisticsVO"
>
SELECT
( SELECT count( id ) FROM t_standard ) AS standardQuantity,
( SELECT count( id ) FROM t_test_usecase ) AS numberUseCases,
( SELECT count( id ) FROM t_task WHERE task_status != 'TEMPORARILY' ) AS numberTasks,
( SELECT count( id ) FROM t_automobile_enterprise WHERE deleted = 0 ) AS numberCompanies,
(
...
...
@@ -22,8 +21,6 @@
) AS numberInspectors,
( SELECT count( id ) FROM t_sample WHERE flag = '0' AND deleted = 0 ) AS numberVehicleSamples,
( SELECT count( id ) FROM t_sample WHERE flag = '1' AND deleted = 0 ) AS numberComponentSamples,
( SELECT count( id ) FROM t_test_scenario ) AS numberScenes,
( SELECT count( id ) FROM t_test_type ) AS numberMethods,
( SELECT count( id ) FROM t_task WHERE vehicle_information_url IS NOT NULL ) AS numberReports,
( SELECT count( id ) FROM t_task WHERE task_status = 'FINISH' ) AS completedTaskNumber,
( SELECT count( id ) FROM t_task WHERE task_status = 'NEW' OR task_status = 'PENDING' OR task_status = 'SIGNED') AS executeTasksNumber
...
...
@@ -41,12 +38,14 @@
<select
id=
"selectConfidentialityLevelStatistics"
resultType=
"com.ruoyi.domain.vo.ConfidentialityLevelProportionVO"
>
SELECT
count( id ) AS value,
confidentiality_level AS name
count( id ) AS value,
confidentiality_level AS name
FROM
t_task
t_task
WHERE
confidentiality_level IS NOT NULL AND confidentiality_level != ''
GROUP BY
confidentiality_level
confidentiality_level
</select>
<select
id=
"selectInspectionItemPassedNum"
resultType=
"com.ruoyi.domain.vo.InspectionItemPassedNumVO"
>
...
...
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