Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
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
曲欣亮
sentinel
Commits
822fddb3
Commit
822fddb3
authored
Jan 03, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
3361c471
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+6
-0
No files found.
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
822fddb3
...
...
@@ -622,6 +622,12 @@ public class ReviewServiceImpl implements ReviewService {
objs
[
i
]
=
new
Object
[]{
review_id
,
user_id
[
i
],
review_round
,
review_id
,
user_id
[
i
],
review_round
};
}
jdbcTemplate
.
batchUpdate
(
sql
,
objs
);
Object
[][]
objs2
=
new
Object
[
user_id
.
length
][];
for
(
int
i
=
0
;
i
<
objs2
.
length
;
i
++)
{
objs2
[
i
]
=
new
Object
[]{
review_id
,
review_round
,
user_id
[
i
]};
}
jdbcTemplate
.
batchUpdate
(
"update fc_review_record set user_group_id = ? where review_id = ? and review_round = ? and user_id = ?"
,
objs2
);
jdbcTemplate
.
executeUpdate
(
"update fc_review set allot_state = 1, opt_state = 0 where id = ? and review_round = ?"
,
review_id
,
review_round
);
}
...
...
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