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
7f012cb7
Commit
7f012cb7
authored
Oct 12, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善申报接口
parent
25c8b655
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
36 deletions
+36
-36
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+36
-36
No files found.
src/main/java/com/egolm/film/api/member/MemberApplyController.java
View file @
7f012cb7
...
@@ -77,16 +77,16 @@ public class MemberApplyController {
...
@@ -77,16 +77,16 @@ public class MemberApplyController {
@PostMapping
(
"save_info"
)
@PostMapping
(
"save_info"
)
@ApiOperation
(
"保存影片制作信息"
)
@ApiOperation
(
"保存影片制作信息"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_country"
,
value
=
"制作国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_country"
,
value
=
"制作国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"dialogue_lang"
,
value
=
"对白语言"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"dialogue_lang"
,
value
=
"对白语言"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"subtitle_lang"
,
value
=
"字幕语言"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"subtitle_lang"
,
value
=
"字幕语言"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"co_production_country"
,
value
=
"合拍国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"co_production_country"
,
value
=
"合拍国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_total_time"
,
value
=
"影片时长"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_total_time"
,
value
=
"影片时长"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"completion_date"
,
value
=
"完成日期"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"completion_date"
,
value
=
"完成日期"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"show_date"
,
value
=
"公映日期"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"show_date"
,
value
=
"公映日期"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_medium"
,
value
=
"影片色彩"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_medium"
,
value
=
"影片色彩"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_format"
,
value
=
"样片规格"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_format"
,
value
=
"样片规格"
),
})
})
public
Object
saveMemberFilmInfo
(
Long
member_film_id
,
String
film_country
,
String
dialogue_lang
,
String
subtitle_lang
,
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
String
film_medium
,
String
film_format
)
{
public
Object
saveMemberFilmInfo
(
Long
member_film_id
,
String
film_country
,
String
dialogue_lang
,
String
subtitle_lang
,
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
String
film_medium
,
String
film_format
)
{
memberService
.
saveMemberFilmInfo
(
member_film_id
,
film_country
,
dialogue_lang
,
subtitle_lang
,
co_production_country
,
film_total_time
,
completion_date
,
show_date
,
film_medium
,
film_format
);
memberService
.
saveMemberFilmInfo
(
member_film_id
,
film_country
,
dialogue_lang
,
subtitle_lang
,
co_production_country
,
film_total_time
,
completion_date
,
show_date
,
film_medium
,
film_format
);
...
@@ -97,14 +97,14 @@ public class MemberApplyController {
...
@@ -97,14 +97,14 @@ public class MemberApplyController {
@PostMapping
(
"save_playactor"
)
@PostMapping
(
"save_playactor"
)
@ApiOperation
(
"保存影片演职员信息"
)
@ApiOperation
(
"保存影片演职员信息"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_type"
,
value
=
"演职员类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_type"
,
value
=
"演职员类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_name"
,
value
=
"演职员名称"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_name"
,
value
=
"演职员名称"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_film_nums"
,
value
=
"演职员第几部长片"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_film_nums"
,
value
=
"演职员第几部长片"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_country"
,
value
=
"演职员国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_country"
,
value
=
"演职员国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_birthday"
,
value
=
"演职员生日"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_birthday"
,
value
=
"演职员生日"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_intro"
,
value
=
"演职员简介"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_intro"
,
value
=
"演职员简介"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"is_play_shanghai"
,
value
=
"演职员作品是否参加过上海电影节"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"is_play_shanghai"
,
value
=
"演职员作品是否参加过上海电影节"
),
})
})
public
Object
saveMemberFilmPlayactor
(
Long
member_film_id
,
String
[]
playactor_type
,
String
[]
playactor_name
,
String
[]
playactor_film_nums
,
String
[]
playactor_country
,
String
[]
playactor_birthday
,
String
[]
playactor_intro
,
Integer
[]
is_play_shanghai
)
{
public
Object
saveMemberFilmPlayactor
(
Long
member_film_id
,
String
[]
playactor_type
,
String
[]
playactor_name
,
String
[]
playactor_film_nums
,
String
[]
playactor_country
,
String
[]
playactor_birthday
,
String
[]
playactor_intro
,
Integer
[]
is_play_shanghai
)
{
memberService
.
saveMemberFilmPlayactor
(
member_film_id
,
playactor_type
,
playactor_name
,
playactor_film_nums
,
playactor_country
,
playactor_birthday
,
playactor_intro
,
is_play_shanghai
);
memberService
.
saveMemberFilmPlayactor
(
member_film_id
,
playactor_type
,
playactor_name
,
playactor_film_nums
,
playactor_country
,
playactor_birthday
,
playactor_intro
,
is_play_shanghai
);
...
@@ -117,9 +117,9 @@ public class MemberApplyController {
...
@@ -117,9 +117,9 @@ public class MemberApplyController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_company"
,
value
=
"发行公司"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_company"
,
value
=
"发行公司"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_contacts"
,
value
=
"发行方联系人"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_contacts"
,
value
=
"发行方联系人"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_email"
,
value
=
"发行方Email"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_email"
,
value
=
"发行方Email"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_tel"
,
value
=
"发行方电话"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_tel"
,
value
=
"发行方电话"
),
})
})
public
Object
saveMemberFilmIssuer
(
Long
member_film_id
,
String
[]
issuer_company
,
String
[]
issuer_contacts
,
String
[]
issuer_email
,
String
[]
issuer_tel
)
{
public
Object
saveMemberFilmIssuer
(
Long
member_film_id
,
String
[]
issuer_company
,
String
[]
issuer_contacts
,
String
[]
issuer_email
,
String
[]
issuer_tel
)
{
memberService
.
saveMemberFilmIssuer
(
member_film_id
,
issuer_company
,
issuer_contacts
,
issuer_email
,
issuer_tel
);
memberService
.
saveMemberFilmIssuer
(
member_film_id
,
issuer_company
,
issuer_contacts
,
issuer_email
,
issuer_tel
);
...
@@ -130,11 +130,11 @@ public class MemberApplyController {
...
@@ -130,11 +130,11 @@ public class MemberApplyController {
@PostMapping
(
"save_show"
)
@PostMapping
(
"save_show"
)
@ApiOperation
(
"保存影片放映信息"
)
@ApiOperation
(
"保存影片放映信息"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"play_shanghai"
,
value
=
"该片在上海电影节放映是"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"play_shanghai"
,
value
=
"该片在上海电影节放映是"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"show_filmfest"
,
value
=
"参加过什么电影节"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"show_filmfest"
,
value
=
"参加过什么电影节"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"show_filmfest_type"
,
value
=
"参与类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"show_filmfest_type"
,
value
=
"参与类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"show_filmfest_intro"
,
value
=
"简介(获奖或报名奖项等)"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"show_filmfest_intro"
,
value
=
"简介(获奖或报名奖项等)"
),
})
})
public
Object
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
)
{
public
Object
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
)
{
memberService
.
saveMemberFilmShow
(
member_film_id
,
play_shanghai
,
show_filmfest
,
show_filmfest_type
,
show_filmfest_intro
,
show_filmfest_intro
);
memberService
.
saveMemberFilmShow
(
member_film_id
,
play_shanghai
,
show_filmfest
,
show_filmfest_type
,
show_filmfest_intro
,
show_filmfest_intro
);
...
@@ -145,12 +145,12 @@ public class MemberApplyController {
...
@@ -145,12 +145,12 @@ public class MemberApplyController {
@PostMapping
(
"save_issuer_show"
)
@PostMapping
(
"save_issuer_show"
)
@ApiOperation
(
"保存影片申报信息"
)
@ApiOperation
(
"保存影片申报信息"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_company"
,
value
=
"申报公司"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_company"
,
value
=
"申报公司"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_realname"
,
value
=
"申报联系人"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_realname"
,
value
=
"申报联系人"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_email"
,
value
=
"申报联系人邮件"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_email"
,
value
=
"申报联系人邮件"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_tel"
,
value
=
"申报联系人电话"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_tel"
,
value
=
"申报联系人电话"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_mobile"
,
value
=
"申报联系人手机"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_mobile"
,
value
=
"申报联系人手机"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_country"
,
value
=
"申报联系人国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_apply_country"
,
value
=
"申报联系人国家"
),
})
})
public
Object
saveMemberFilmCompany
(
Long
member_film_id
,
String
film_apply_company
,
String
film_apply_realname
,
String
film_apply_email
,
String
film_apply_tel
,
String
film_apply_mobile
,
String
film_apply_country
)
{
public
Object
saveMemberFilmCompany
(
Long
member_film_id
,
String
film_apply_company
,
String
film_apply_realname
,
String
film_apply_email
,
String
film_apply_tel
,
String
film_apply_mobile
,
String
film_apply_country
)
{
...
@@ -161,9 +161,9 @@ public class MemberApplyController {
...
@@ -161,9 +161,9 @@ public class MemberApplyController {
@ResponseBody
@ResponseBody
@PostMapping
(
"get"
)
@PostMapping
(
"get"
)
@ApiOperation
(
"获取全部申报信息"
)
@ApiOperation
(
"获取全部申报信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"
id
"
)})
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"
member_film_id"
,
value
=
"申报影片ID
"
)})
public
Object
get
(
Long
id
)
{
public
Object
get
(
Long
member_film_
id
)
{
Fc_member_film
memberFilm
=
memberService
.
queryMemberFilmById
(
id
);
Fc_member_film
memberFilm
=
memberService
.
queryMemberFilmById
(
member_film_
id
);
List
<
Fc_member_film_director
>
directorList
=
memberService
.
queryMemberFilmDirectorList
(
memberFilm
.
getId
());
List
<
Fc_member_film_director
>
directorList
=
memberService
.
queryMemberFilmDirectorList
(
memberFilm
.
getId
());
List
<
Fc_member_film_issuer
>
issuerList
=
memberService
.
queryMemberFilmIssuerList
(
memberFilm
.
getId
());
List
<
Fc_member_film_issuer
>
issuerList
=
memberService
.
queryMemberFilmIssuerList
(
memberFilm
.
getId
());
List
<
Fc_member_film_playactor
>
playactorList
=
memberService
.
queryMemberFilmPlayactorList
(
memberFilm
.
getId
());
List
<
Fc_member_film_playactor
>
playactorList
=
memberService
.
queryMemberFilmPlayactorList
(
memberFilm
.
getId
());
...
@@ -174,7 +174,7 @@ public class MemberApplyController {
...
@@ -174,7 +174,7 @@ public class MemberApplyController {
@ResponseBody
@ResponseBody
@PostMapping
(
"doApply"
)
@PostMapping
(
"doApply"
)
@ApiOperation
(
"提交申报"
)
@ApiOperation
(
"提交申报"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"
id
"
)})
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"
member_film_id"
,
value
=
"申报影片ID
"
)})
public
Object
doApply
(
Long
id
)
{
public
Object
doApply
(
Long
id
)
{
LoginToken
loginToken
=
tokenService
.
getToken
();
LoginToken
loginToken
=
tokenService
.
getToken
();
Integer
member_id
=
(
Integer
)
loginToken
.
getId
();
Integer
member_id
=
(
Integer
)
loginToken
.
getId
();
...
@@ -185,9 +185,9 @@ public class MemberApplyController {
...
@@ -185,9 +185,9 @@ public class MemberApplyController {
@ResponseBody
@ResponseBody
@PostMapping
(
"more"
)
@PostMapping
(
"more"
)
@ApiOperation
(
"获取更多影片信息"
)
@ApiOperation
(
"获取更多影片信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"
no
"
)})
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"
film_no"
,
value
=
"情报影片编号
"
)})
public
Object
more
(
String
no
)
{
public
Object
more
(
String
film_
no
)
{
Fc_member_film_all
more
=
memberService
.
queryMoreByNo
(
no
);
Fc_member_film_all
more
=
memberService
.
queryMoreByNo
(
film_
no
);
return
Rjx
.
jsonOk
().
setData
(
more
);
return
Rjx
.
jsonOk
().
setData
(
more
);
}
}
...
...
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