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
5abd32b7
Commit
5abd32b7
authored
Jan 04, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
0a713dd1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+4
-1
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
5abd32b7
...
...
@@ -21,6 +21,7 @@ import com.egolm.film.api.service.ReviewService;
import
com.egolm.film.bean.Fc_admin
;
import
com.egolm.film.bean.Fc_review_record
;
import
com.egolm.film.bean.Fc_review_record_ext
;
import
com.egolm.film.config.XRException
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
...
...
@@ -152,7 +153,7 @@ public class AdminReviewController {
Integer
[]
user_id
)
{
List
<
Integer
>
saveList
=
new
ArrayList
<
Integer
>();
List
<
Integer
>
cancelList
=
new
ArrayList
<
Integer
>();
if
(
is_cancel
!=
null
)
{
if
(
is_cancel
!=
null
&&
user_id
!=
null
&&
is_cancel
.
length
==
user_id
.
length
)
{
for
(
int
i
=
0
;
i
<
is_cancel
.
length
;
i
++)
{
Boolean
boo
=
Util
.
objTo
(
is_cancel
[
i
],
Boolean
.
class
);
if
(
boo
)
{
...
...
@@ -161,6 +162,8 @@ public class AdminReviewController {
saveList
.
add
(
user_id
[
i
]);
}
}
}
else
{
throw
new
XRException
(
"参数不平衡"
);
}
if
(
saveList
.
size
()
>
0
)
{
reviewService
.
saveReviewRecordIfNotExists
(
review_id
,
review_round
,
saveList
.
toArray
(
new
Integer
[
saveList
.
size
()]));
...
...
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