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
ba2b2c1b
Commit
ba2b2c1b
authored
Dec 17, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
dec47f77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
WebUtilController.java
.../java/com/egolm/film/api/web/admin/WebUtilController.java
+15
-13
No files found.
src/main/java/com/egolm/film/api/web/admin/WebUtilController.java
View file @
ba2b2c1b
...
...
@@ -47,21 +47,23 @@ public class WebUtilController {
for
(
Fc_member_film
film
:
films
)
{
Integer
enroll_1_2
=
null
;
String
enroll_type_name
=
film
.
getEnroll_type_name
();
String
[]
enrolls
=
enroll_type_name
.
split
(
","
);
for
(
String
enroll_str
:
enrolls
)
{
Integer
enroll_type_id
=
Integer
.
valueOf
(
enroll_str
);
if
(
enroll_type_id
==
1
||
enroll_type_id
==
2
)
{
if
(
enroll_1_2
==
null
)
{
enroll_1_2
=
enroll_type_id
;
}
else
{
throw
new
XRException
(
"申报影片"
+
film
.
getId
()
+
"中同时包含亚新和金爵流程"
);
if
(
enroll_type_name
!=
null
&&
enroll_type_name
.
length
()
>
0
)
{
String
[]
enrolls
=
enroll_type_name
.
split
(
","
);
for
(
String
enroll_str
:
enrolls
)
{
Integer
enroll_type_id
=
Integer
.
valueOf
(
enroll_str
);
if
(
enroll_type_id
==
1
||
enroll_type_id
==
2
)
{
if
(
enroll_1_2
==
null
)
{
enroll_1_2
=
enroll_type_id
;
}
else
{
throw
new
XRException
(
"申报影片"
+
film
.
getId
()
+
"中同时包含亚新和金爵流程"
);
}
}
}
}
if
(
enroll_1_2
!=
null
)
{
service
.
toFirstRound
(
film
.
getId
(),
enroll_1_2
);
}
else
{
service
.
toFirstRound
(
film
.
getId
(),
4
);
if
(
enroll_1_2
!=
null
)
{
service
.
toFirstRound
(
film
.
getId
(),
enroll_1_2
);
}
else
{
service
.
toFirstRound
(
film
.
getId
(),
4
);
}
}
}
return
Rjx
.
jsonOk
();
...
...
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