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
bd8b8a4a
Commit
bd8b8a4a
authored
Jan 05, 2024
by
W_Y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据任务id查询细则没有对应结果数量
parent
01804a2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
SystemReviewTaskService.java
.../main/java/com/ruoyi/service/SystemReviewTaskService.java
+7
-0
SystemReviewTaskServiceImpl.java
...a/com/ruoyi/service/impl/SystemReviewTaskServiceImpl.java
+6
-0
ReviewDetailsResultMapper.xml
...w/src/main/resources/mapper/ReviewDetailsResultMapper.xml
+5
-0
No files found.
quality-review/src/main/java/com/ruoyi/service/SystemReviewTaskService.java
View file @
bd8b8a4a
...
...
@@ -4,6 +4,7 @@ import com.ruoyi.domain.SystemReviewTask;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.ruoyi.web.request.SystemReviewTaskCreateRequest
;
import
com.ruoyi.web.request.SystemReviewTaskStartRequest
;
import
com.ruoyi.web.request.SystemReviewTaskSubmitRequest
;
import
com.ruoyi.web.response.SystemReviewTaskViewResponse
;
import
java.util.List
;
...
...
@@ -46,4 +47,10 @@ public interface SystemReviewTaskService extends IService<SystemReviewTask> {
*/
List
<
SystemReviewTask
>
findListInProcess
();
/**
* 提交审查问卷
* @param request
*/
void
submit
(
SystemReviewTaskSubmitRequest
request
);
}
quality-review/src/main/java/com/ruoyi/service/impl/SystemReviewTaskServiceImpl.java
View file @
bd8b8a4a
...
...
@@ -11,6 +11,7 @@ import com.ruoyi.service.*;
import
com.ruoyi.system.service.ISysUserService
;
import
com.ruoyi.web.request.SystemReviewTaskCreateRequest
;
import
com.ruoyi.web.request.SystemReviewTaskStartRequest
;
import
com.ruoyi.web.request.SystemReviewTaskSubmitRequest
;
import
com.ruoyi.web.response.SystemReviewTaskViewResponse
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -111,6 +112,11 @@ public class SystemReviewTaskServiceImpl extends ServiceImpl<SystemReviewTaskMap
return
systemReviewTaskMapper
.
findListInProcess
();
}
@Override
public
void
submit
(
SystemReviewTaskSubmitRequest
request
)
{
}
}
...
...
quality-review/src/main/resources/mapper/ReviewDetailsResultMapper.xml
View file @
bd8b8a4a
...
...
@@ -32,4 +32,9 @@
SELECT COUNT(*) sum FROM t_review_details_result
WHERE passed = 0 AND task_id = #{taskId}
</select>
<select
id=
"findNoResult"
resultType=
"long"
>
SELECT COUNT(*) sum FROM t_review_details_result
WHERE passed is null AND task_id = #{taskId}
</select>
</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