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
f27454ce
Commit
f27454ce
authored
Jan 23, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
4df6911f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
FilmController.java
src/main/java/com/egolm/film/api/web/FilmController.java
+1
-3
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+8
-4
MemberApplyController.java
.../com/egolm/film/api/web/member/MemberApplyController.java
+7
-4
No files found.
src/main/java/com/egolm/film/api/web/FilmController.java
View file @
f27454ce
...
...
@@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
com.egolm.common.Util
;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.film.api.service.AdminTokenService
;
import
com.egolm.film.api.service.ExportService
;
...
...
@@ -140,7 +139,7 @@ public class FilmController {
@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
=
"演职员作品是否参加过上海电影节"
),
})
public
Object
saveMemberFilmPlayactor
(
Long
member_film_id
,
HttpServletRequest
req
)
{
public
Object
saveMemberFilmPlayactor
(
Long
member_film_id
,
Integer
[]
is_play_shanghai
,
HttpServletRequest
req
)
{
String
[]
playactor_type
=
req
.
getParameterValues
(
"playactor_type"
);
String
[]
playactor_role_name
=
req
.
getParameterValues
(
"playactor_role_name"
);
...
...
@@ -149,7 +148,6 @@ public class FilmController {
String
[]
playactor_country
=
req
.
getParameterValues
(
"playactor_country"
);
String
[]
playactor_birthday
=
req
.
getParameterValues
(
"playactor_birthday"
);
String
[]
playactor_intro
=
req
.
getParameterValues
(
"playactor_intro"
);
Integer
[]
is_play_shanghai
=
Util
.
toIntArray
(
req
.
getParameterValues
(
"playactor_intro"
));
filmService
.
saveMemberFilmPlayactor
(
...
...
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
f27454ce
...
...
@@ -5,6 +5,8 @@ import java.util.Date;
import
java.util.List
;
import
java.util.Map
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
@@ -375,10 +377,12 @@ public class AdminReviewController {
String
review_text_2
,
String
review_text_3
,
String
review_text_4
,
String
[]
ext_title
,
String
[]
ext_type
,
String
[]
ext_name
,
Double
[]
ext_score
)
{
Double
[]
ext_score
,
HttpServletRequest
req
)
{
String
[]
ext_title
=
req
.
getParameterValues
(
"ext_title"
);
String
[]
ext_type
=
req
.
getParameterValues
(
"ext_type"
);
String
[]
ext_name
=
req
.
getParameterValues
(
"ext_name"
);
Map
<
String
,
Object
>
recordMap
=
reviewService
.
queryReviewRecordMapById
(
record_id
);
Fc_review_record
ru
=
Util
.
mapTo
(
recordMap
,
Fc_review_record
.
class
);
ru
.
setReview_score
(
review_score
);
...
...
src/main/java/com/egolm/film/api/web/member/MemberApplyController.java
View file @
f27454ce
...
...
@@ -3,6 +3,8 @@ package com.egolm.film.api.web.member;
import
java.util.List
;
import
java.util.Map
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -76,13 +78,13 @@ public class MemberApplyController {
})
public
Object
saveMemberFilmBase
(
Long
member_film_id
,
String
[]
enroll_type_name_other
,
String
cn_name
,
String
en_name
,
String
intro
)
{
String
intro
,
HttpServletRequest
req
)
{
LoginToken
loginToken
=
tokenService
.
getToken
();
Integer
member_id
=
(
Integer
)
loginToken
.
getId
();
String
[]
enroll_type_name_other
=
req
.
getParameterValues
(
"enroll_type_name_other"
);
memberFilmService
.
saveMemberFilmBase
(
member_id
,
member_film_id
,
...
...
@@ -123,7 +125,6 @@ public class MemberApplyController {
String
film_country
,
String
dialogue_lang
,
String
subtitle_lang
,
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
...
...
@@ -135,10 +136,12 @@ public class MemberApplyController {
String
film_format
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
)
{
String
film_format_other
,
HttpServletRequest
req
)
{
LoginToken
loginToken
=
tokenService
.
getToken
();
Integer
member_id
=
(
Integer
)
loginToken
.
getId
();
String
[]
co_production_country
=
req
.
getParameterValues
(
"co_production_country"
);
memberFilmService
.
saveMemberFilmInfo
(
member_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