Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
Project
Project
Details
Activity
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
曲欣亮
member-api
Commits
1b4c1d6b
Commit
1b4c1d6b
authored
Feb 14, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a410875e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+8
-1
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
1b4c1d6b
...
...
@@ -272,8 +272,9 @@ public class AdminReviewController {
int
reviewRound
=
review
.
getReview_round
();
int
enrollType
=
review
.
getEnroll_type_id
();
int
optState
=
review
.
getOpt_state
();
int
reviewState
=
review
.
getReview_state
();
if
(
toRoundNumber
>
reviewRound
)
{
if
(
optState
==
2
)
{
if
(
optState
==
2
||
(
optState
==
1
&&
reviewRound
==
4
&&
toRoundNumber
==
5
)
)
{
if
(
enrollType
==
2
&&
((
reviewRound
<=
1
&&
reviewRound
>=
3
)
||
(
reviewRound
<=
2
&&
reviewRound
>=
4
)))
{
throw
new
XRException
(
"亚新二选和三选评分步骤不能跳过"
);
}
...
...
@@ -283,6 +284,12 @@ public class AdminReviewController {
if
(
enrollType
==
4
&&
(
toRoundNumber
==
3
||
toRoundNumber
==
6
))
{
throw
new
XRException
(
"展映影片没有三选和总局审片流程"
);
}
boolean
isJinJue23Round
=
enrollType
==
1
&&
(
reviewRound
==
2
||
reviewRound
==
3
);
boolean
isAsia2Round
=
enrollType
==
2
&&
reviewRound
==
2
;
if
(
reviewState
==
5
&&
(
isJinJue23Round
||
isAsia2Round
))
{
//金爵二选三选或亚新二选转参赛影片把关流程
reviewService
.
toType4
(
review
.
getId
());
reviewService
.
toRound
(
review
.
getId
(),
4
);
}
reviewService
.
toRound
(
review_id
,
toRoundNumber
);
}
else
{
throw
new
XRException
(
"当前审片状态为"
+
rounds
[
reviewRound
]
+
opts
[
optState
]
+
",不能分配"
+
rounds
[
toRoundNumber
]
+
"评委"
);
...
...
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