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
48a86586
Commit
48a86586
authored
Apr 02, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交问卷判断
parent
c1c6b940
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
StrategyCarReviewTaskPending.java
.../com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
+2
-2
StrategySystemReviewTaskPending.java
...m/ruoyi/service/impl/StrategySystemReviewTaskPending.java
+2
-2
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/StrategyCarReviewTaskPending.java
View file @
48a86586
...
...
@@ -127,9 +127,9 @@ public class StrategyCarReviewTaskPending implements StrategyCarReviewTask, Init
public
void
doConfirmReview
(
CarReviewTask
carReviewTask
)
{
List
<
ReviewDetails
>
detailsList
=
reviewDetailsMapper
.
findNoResult
(
carReviewTask
.
getId
(),
CarReviewTask
.
TYPE
);
List
<
ReviewTaskInbox
>
inboxList
=
reviewTaskInboxMapper
.
findConfirmListByTaskId
(
carReviewTask
.
getId
());
if
(
detailsList
.
size
()
!=
0
&&
detailsList
!=
null
)
{
if
(
detailsList
!=
null
&&
detailsList
.
size
()
!=
0
)
{
throw
new
ServiceException
(
"存在未填写的表单,请填写完整"
,
HttpStatus
.
ERROR
,
detailsList
);
}
else
if
(
inboxList
.
size
()
!=
0
&&
inboxList
!=
null
){
}
else
if
(
inboxList
!=
null
&&
inboxList
.
size
()
!=
0
){
throw
new
ServiceException
(
"存在未确认的场景变更信息,请确认"
,
HttpStatus
.
ERROR
);
}
else
{
// 1. 获取最新问卷
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategySystemReviewTaskPending.java
View file @
48a86586
...
...
@@ -88,9 +88,9 @@ public class StrategySystemReviewTaskPending implements StrategySystemReviewTask
public
void
doConfirm
(
SystemReviewTask
systemReviewTask
)
{
List
<
ReviewDetails
>
detailsList
=
reviewDetailsMapper
.
findNoResult
(
systemReviewTask
.
getId
(),
SystemReviewTask
.
TYPE
);
List
<
ReviewTaskInbox
>
inboxList
=
reviewTaskInboxMapper
.
findConfirmListByTaskId
(
systemReviewTask
.
getId
());
if
(
detailsList
.
size
()
!=
0
&&
detailsList
!=
null
)
{
if
(
detailsList
!=
null
&&
detailsList
.
size
()
!=
0
)
{
throw
new
ServiceException
(
"存在未填写的表单,请填写完整"
,
HttpStatus
.
ERROR
,
detailsList
);
}
else
if
(
inboxList
.
size
()
!=
0
&&
inboxList
!=
null
){
}
else
if
(
inboxList
!=
null
&&
inboxList
.
size
()
!=
0
){
throw
new
ServiceException
(
"存在未确认的场景变更信息,请确认"
,
HttpStatus
.
ERROR
);
}
else
{
// 1. 获取最新问卷
...
...
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