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
95e1cead
Commit
95e1cead
authored
May 14, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交问卷检查是否全部完成
parent
c8d44fa5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
ReviewDetailsMapper.java
...w/src/main/java/com/ruoyi/mapper/ReviewDetailsMapper.java
+1
-1
StrategyCarReviewTaskPending.java
.../com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
+1
-1
StrategySystemReviewTaskPending.java
...m/ruoyi/service/impl/StrategySystemReviewTaskPending.java
+1
-1
ReviewDetailsMapper.xml
...-review/src/main/resources/mapper/ReviewDetailsMapper.xml
+3
-3
No files found.
quality-review/src/main/java/com/ruoyi/mapper/ReviewDetailsMapper.java
View file @
95e1cead
...
...
@@ -21,7 +21,7 @@ public interface ReviewDetailsMapper extends BaseMapper<ReviewDetails> {
* @param taskId
* @return
*/
List
<
ReviewDetails
>
findNoResult
(
@Param
(
"taskId"
)
Long
taskId
,
@Param
(
"type"
)
String
type
);
List
<
ReviewDetails
>
findNoResult
(
@Param
(
"taskId"
)
Long
taskId
,
@Param
(
"type"
)
String
type
,
@Param
(
"standardId"
)
Long
standardId
);
Double
count
(
@Param
(
"taskId"
)
Long
taskId
,
@Param
(
"type"
)
String
type
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
View file @
95e1cead
...
...
@@ -130,7 +130,7 @@ public class StrategyCarReviewTaskPending implements StrategyCarReviewTask, Init
@Override
public
void
doConfirmReview
(
CarReviewTask
carReviewTask
)
{
List
<
ReviewDetails
>
detailsList
=
reviewDetailsMapper
.
findNoResult
(
carReviewTask
.
getId
(),
CarReviewTask
.
TYPE
);
List
<
ReviewDetails
>
detailsList
=
reviewDetailsMapper
.
findNoResult
(
carReviewTask
.
getId
(),
CarReviewTask
.
TYPE
,
carReviewTask
.
getStandardId
()
);
List
<
ReviewTaskInbox
>
inboxList
=
reviewTaskInboxMapper
.
findConfirmListByTaskId
(
carReviewTask
.
getId
());
if
(
detailsList
!=
null
&&
detailsList
.
size
()
!=
0
)
{
throw
new
ServiceException
(
"存在未填写的表单,请填写完整"
,
HttpStatus
.
ERROR
,
detailsList
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategySystemReviewTaskPending.java
View file @
95e1cead
...
...
@@ -92,7 +92,7 @@ public class StrategySystemReviewTaskPending implements StrategySystemReviewTask
@Override
public
void
doConfirm
(
SystemReviewTask
systemReviewTask
)
{
List
<
ReviewDetails
>
detailsList
=
reviewDetailsMapper
.
findNoResult
(
systemReviewTask
.
getId
(),
SystemReviewTask
.
TYPE
);
List
<
ReviewDetails
>
detailsList
=
reviewDetailsMapper
.
findNoResult
(
systemReviewTask
.
getId
(),
SystemReviewTask
.
TYPE
,
systemReviewTask
.
getStandardId
()
);
List
<
ReviewTaskInbox
>
inboxList
=
reviewTaskInboxMapper
.
findConfirmListByTaskId
(
systemReviewTask
.
getId
());
if
(
detailsList
!=
null
&&
detailsList
.
size
()
!=
0
)
{
throw
new
ServiceException
(
"存在未填写的表单,请填写完整"
,
HttpStatus
.
ERROR
,
detailsList
);
...
...
quality-review/src/main/resources/mapper/ReviewDetailsMapper.xml
View file @
95e1cead
...
...
@@ -16,10 +16,10 @@
<select
id=
"findNoResult"
resultType=
"com.ruoyi.domain.ReviewDetails"
>
SELECT * FROM t_review_details trd
LEFT JOIN t_review_keypoint trk ON trd.review_keypoint_id = trk.id
LEFT JOIN t_review_standard trs ON trk.review_standard_id = trs.id
LEFT JOIN t_review_keypoint trk ON trd.review_keypoint_id = trk.id
LEFT JOIN t_review_standard trs ON trk.review_standard_id = trs.id
WHERE trd.id NOT IN (SELECT review_details_id FROM t_review_details_result WHERE task_id = #{taskId})
AND trs.type = #{type}
AND trs.type = #{type}
AND trs.standard_id = #{standardId}
</select>
<select
id=
"count"
resultType=
"double"
>
...
...
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