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
07427d43
Commit
07427d43
authored
Dec 12, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
da3a633b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+1
-1
VoteServiceImpl.java
...java/com/egolm/film/api/service/impl/VoteServiceImpl.java
+12
-8
No files found.
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
07427d43
...
@@ -568,7 +568,7 @@ public class FilmServiceImpl implements FilmService {
...
@@ -568,7 +568,7 @@ public class FilmServiceImpl implements FilmService {
objs
[
i
]
=
new
Object
[]{
review_id
,
user_id
[
i
],
review_round
,
review_id
,
user_id
[
i
],
review_round
};
objs
[
i
]
=
new
Object
[]{
review_id
,
user_id
[
i
],
review_round
,
review_id
,
user_id
[
i
],
review_round
};
}
}
jdbcTemplate
.
batchUpdate
(
sql
,
objs
);
jdbcTemplate
.
batchUpdate
(
sql
,
objs
);
jdbcTemplate
.
executeUpdate
(
"update fc_review
_record set allot_state = 1
where review_id = ? and review_round = ?"
,
review_id
,
review_round
);
jdbcTemplate
.
executeUpdate
(
"update fc_review
set allot_state = 1, dispute_state = 0
where review_id = ? and review_round = ?"
,
review_id
,
review_round
);
}
}
@Override
@Override
...
...
src/main/java/com/egolm/film/api/service/impl/VoteServiceImpl.java
View file @
07427d43
...
@@ -91,14 +91,18 @@ public class VoteServiceImpl implements VoteService {
...
@@ -91,14 +91,18 @@ public class VoteServiceImpl implements VoteService {
Integer
enroll_type_id
=
review
.
getEnroll_type_id
();
Integer
enroll_type_id
=
review
.
getEnroll_type_id
();
Integer
review_round
=
review
.
getReview_round
();
Integer
review_round
=
review
.
getReview_round
();
Integer
review_state
=
this
.
reviewStateElection
(
records
);
Integer
review_state
=
this
.
reviewStateElection
(
records
);
if
(
review_state
!=
null
)
{
if
(
review_state
==
null
)
return
;
if
(
enroll_type_id
.
intValue
()
==
2
&&
(
review_round
==
2
||
review_round
==
3
))
{
if
(
review_state
==
-
1
)
{
}
else
if
(
enroll_type_id
.
intValue
()
==
4
&&
(
review_round
==
2
||
review_round
==
3
))
{
}
}
else
{
this
.
toNextRound
(
review
.
getId
());
//第一轮审片完成,进入下一轮
if
(
enroll_type_id
.
intValue
()
==
2
&&
(
review_round
==
2
||
review_round
==
3
))
{
}
}
else
if
(
enroll_type_id
.
intValue
()
==
4
&&
(
review_round
==
2
||
review_round
==
3
))
{
}
else
{
this
.
toNextRound
(
review
.
getId
());
//第一轮审片完成,进入下一轮
}
}
}
}
...
...
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