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
01804a2a
Commit
01804a2a
authored
Jan 05, 2024
by
W_Y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据任务id查询细则不通过数量
parent
f76a65ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
ReviewDetailsResultMapper.java
...main/java/com/ruoyi/mapper/ReviewDetailsResultMapper.java
+2
-0
SystemReviewTaskSubmitRequest.java
.../com/ruoyi/web/request/SystemReviewTaskSubmitRequest.java
+17
-0
ReviewDetailsResultMapper.xml
...w/src/main/resources/mapper/ReviewDetailsResultMapper.xml
+5
-0
No files found.
quality-review/src/main/java/com/ruoyi/mapper/ReviewDetailsResultMapper.java
View file @
01804a2a
...
@@ -19,6 +19,8 @@ public interface ReviewDetailsResultMapper extends BaseMapper<ReviewDetailsResul
...
@@ -19,6 +19,8 @@ public interface ReviewDetailsResultMapper extends BaseMapper<ReviewDetailsResul
List
<
ReviewDetailsResult
>
findByTaskId
(
@Param
(
"taskId"
)
Long
taskId
);
List
<
ReviewDetailsResult
>
findByTaskId
(
@Param
(
"taskId"
)
Long
taskId
);
ReviewDetailsResult
findByTaskIdAndDetailsId
(
@Param
(
"taskId"
)
Long
taskId
,
@Param
(
"reviewDetailsId"
)
Long
reviewDetailsId
);
ReviewDetailsResult
findByTaskIdAndDetailsId
(
@Param
(
"taskId"
)
Long
taskId
,
@Param
(
"reviewDetailsId"
)
Long
reviewDetailsId
);
Long
findNotPass
(
@Param
(
"taskId"
)
Long
taskId
);
}
}
...
...
quality-review/src/main/java/com/ruoyi/web/request/SystemReviewTaskSubmitRequest.java
0 → 100644
View file @
01804a2a
package
com
.
ruoyi
.
web
.
request
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@ApiModel
(
value
=
"SystemReviewTaskSubmitRequest"
,
description
=
"提交体系审查问卷"
)
@Data
public
class
SystemReviewTaskSubmitRequest
{
@ApiModelProperty
(
"任务id"
)
private
Long
taskId
;
@ApiModelProperty
(
"图片地址"
)
private
String
imagesUrl
;
}
quality-review/src/main/resources/mapper/ReviewDetailsResultMapper.xml
View file @
01804a2a
...
@@ -27,4 +27,9 @@
...
@@ -27,4 +27,9 @@
FROM t_review_details_result
FROM t_review_details_result
WHERE task_id = #{taskId} and review_details_id = #{reviewDetailsId}
WHERE task_id = #{taskId} and review_details_id = #{reviewDetailsId}
</select>
</select>
<select
id=
"findNotPass"
resultType=
"long"
>
SELECT COUNT(*) sum FROM t_review_details_result
WHERE passed = 0 AND task_id = #{taskId}
</select>
</mapper>
</mapper>
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