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
4df6911f
Commit
4df6911f
authored
Jan 23, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
fb69ed8a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
24 deletions
+23
-24
FilmController.java
src/main/java/com/egolm/film/api/web/FilmController.java
+23
-24
No files found.
src/main/java/com/egolm/film/api/web/FilmController.java
View file @
4df6911f
...
@@ -2,6 +2,8 @@ package com.egolm.film.api.web;
...
@@ -2,6 +2,8 @@ package com.egolm.film.api.web;
import
java.util.List
;
import
java.util.List
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
...
@@ -9,6 +11,7 @@ import org.springframework.web.bind.annotation.PostMapping;
...
@@ -9,6 +11,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
com.egolm.common.Util
;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.film.api.service.AdminTokenService
;
import
com.egolm.film.api.service.AdminTokenService
;
import
com.egolm.film.api.service.ExportService
;
import
com.egolm.film.api.service.ExportService
;
...
@@ -82,13 +85,10 @@ public class FilmController {
...
@@ -82,13 +85,10 @@ public class FilmController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"show_filmfest_type"
,
value
=
"参与类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"show_filmfest_type"
,
value
=
"参与类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"show_filmfest_intro"
,
value
=
"简介(获奖或报名奖项等)"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"show_filmfest_intro"
,
value
=
"简介(获奖或报名奖项等)"
),
})
})
public
Object
saveMemberFilmShow
(
public
Object
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
HttpServletRequest
req
)
{
Long
member_film_id
,
String
[]
show_filmfest
=
req
.
getParameterValues
(
"show_filmfest"
);
String
play_shanghai
,
String
[]
show_filmfest_type
=
req
.
getParameterValues
(
"show_filmfest_type"
);
String
[]
show_filmfest
,
String
[]
show_filmfest_intro
=
req
.
getParameterValues
(
"show_filmfest_intro"
);
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
)
{
filmService
.
saveMemberFilmShow
(
filmService
.
saveMemberFilmShow
(
member_film_id
,
member_film_id
,
play_shanghai
,
play_shanghai
,
...
@@ -110,13 +110,11 @@ public class FilmController {
...
@@ -110,13 +110,11 @@ public class FilmController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"issuer_email"
,
value
=
"发行方Email"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"issuer_email"
,
value
=
"发行方Email"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"issuer_tel"
,
value
=
"发行方电话"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"issuer_tel"
,
value
=
"发行方电话"
),
})
})
public
Object
saveMemberFilmIssuer
(
public
Object
saveMemberFilmIssuer
(
Long
member_film_id
,
HttpServletRequest
req
)
{
Long
member_film_id
,
String
[]
issuer_company
=
req
.
getParameterValues
(
"issuer_company"
);
String
[]
issuer_company
,
String
[]
issuer_contacts
=
req
.
getParameterValues
(
"issuer_contacts"
);
String
[]
issuer_contacts
,
String
[]
issuer_email
=
req
.
getParameterValues
(
"issuer_email"
);
String
[]
issuer_email
,
String
[]
issuer_tel
=
req
.
getParameterValues
(
"issuer_tel"
);
String
[]
issuer_tel
)
{
filmService
.
saveMemberFilmIssuer
(
filmService
.
saveMemberFilmIssuer
(
member_film_id
,
member_film_id
,
issuer_company
,
issuer_company
,
...
@@ -142,16 +140,17 @@ public class FilmController {
...
@@ -142,16 +140,17 @@ public class FilmController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"playactor_intro"
,
value
=
"演职员简介"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"playactor_intro"
,
value
=
"演职员简介"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"is_play_shanghai"
,
value
=
"演职员作品是否参加过上海电影节"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"integer"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"is_play_shanghai"
,
value
=
"演职员作品是否参加过上海电影节"
),
})
})
public
Object
saveMemberFilmPlayactor
(
public
Object
saveMemberFilmPlayactor
(
Long
member_film_id
,
HttpServletRequest
req
)
{
Long
member_film_id
,
String
[]
playactor_type
,
String
[]
playactor_type
=
req
.
getParameterValues
(
"playactor_type"
);
String
[]
playactor_role_name
,
String
[]
playactor_role_name
=
req
.
getParameterValues
(
"playactor_role_name"
);
String
[]
playactor_name
,
String
[]
playactor_name
=
req
.
getParameterValues
(
"playactor_name"
);
String
[]
playactor_film_nums
,
String
[]
playactor_film_nums
=
req
.
getParameterValues
(
"playactor_film_nums"
);
String
[]
playactor_country
,
String
[]
playactor_country
=
req
.
getParameterValues
(
"playactor_country"
);
String
[]
playactor_birthday
,
String
[]
playactor_birthday
=
req
.
getParameterValues
(
"playactor_birthday"
);
String
[]
playactor_intro
,
String
[]
playactor_intro
=
req
.
getParameterValues
(
"playactor_intro"
);
Integer
[]
is_play_shanghai
)
{
Integer
[]
is_play_shanghai
=
Util
.
toIntArray
(
req
.
getParameterValues
(
"playactor_intro"
));
filmService
.
saveMemberFilmPlayactor
(
filmService
.
saveMemberFilmPlayactor
(
member_film_id
,
member_film_id
,
...
...
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