Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
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
曲欣亮
member-api
Commits
25c8b655
Commit
25c8b655
authored
Oct 12, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善申报接口
parent
6b357784
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
78 additions
and
12 deletions
+78
-12
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+58
-2
MemberService.java
...java/com/egolm/film/api/member/service/MemberService.java
+8
-5
MemberServiceImpl.java
...egolm/film/api/member/service/impl/MemberServiceImpl.java
+12
-5
No files found.
src/main/java/com/egolm/film/api/member/MemberApplyController.java
View file @
25c8b655
...
...
@@ -49,6 +49,11 @@ public class MemberApplyController {
@ResponseBody
@PostMapping
(
"save_type"
)
@ApiOperation
(
"保存申报影片类型"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_type_name"
,
value
=
"影片类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"enroll_type_name"
,
value
=
"影片性质"
),
})
public
Object
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
)
{
member_film_id
=
memberService
.
saveMemberFilmType
(
member_film_id
,
film_type_name
,
enroll_type_name
);
return
Rjx
.
jsonOk
().
set
(
"member_film_id"
,
member_film_id
);
...
...
@@ -57,6 +62,12 @@ public class MemberApplyController {
@ResponseBody
@PostMapping
(
"save_base"
)
@ApiOperation
(
"保存影片基本信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"enroll_type_name_other"
,
value
=
"申报奖项"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"cn_name"
,
value
=
"中文名称"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"cn_name"
,
value
=
"英文名称"
),
})
public
Object
saveMemberFilmBase
(
Long
member_film_id
,
String
[]
enroll_type_name_other
,
String
cn_name
,
String
en_name
,
String
intro
)
{
memberService
.
saveMemberFilmBase
(
member_film_id
,
enroll_type_name_other
,
cn_name
,
en_name
,
intro
);
return
Rjx
.
jsonOk
();
...
...
@@ -65,6 +76,18 @@ public class MemberApplyController {
@ResponseBody
@PostMapping
(
"save_info"
)
@ApiOperation
(
"保存影片制作信息"
)
@ApiImplicitParams
({
@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
=
"dialogue_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
=
"film_total_time"
,
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
=
"film_medium"
,
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
)
{
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
);
return
Rjx
.
jsonOk
();
...
...
@@ -73,6 +96,16 @@ public class MemberApplyController {
@ResponseBody
@PostMapping
(
"save_playactor"
)
@ApiOperation
(
"保存影片演职员信息"
)
@ApiImplicitParams
({
@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_name"
,
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_birthday"
,
value
=
"演职员生日"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"playactor_intro"
,
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
)
{
memberService
.
saveMemberFilmPlayactor
(
member_film_id
,
playactor_type
,
playactor_name
,
playactor_film_nums
,
playactor_country
,
playactor_birthday
,
playactor_intro
,
is_play_shanghai
);
return
Rjx
.
jsonOk
();
...
...
@@ -81,6 +114,13 @@ public class MemberApplyController {
@ResponseBody
@PostMapping
(
"save_issuer"
)
@ApiOperation
(
"保存影片发行信息"
)
@ApiImplicitParams
({
@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_contacts"
,
value
=
"发行方联系人"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"array"
,
required
=
true
,
name
=
"issuer_email"
,
value
=
"发行方Email"
),
@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
)
{
memberService
.
saveMemberFilmIssuer
(
member_film_id
,
issuer_company
,
issuer_contacts
,
issuer_email
,
issuer_tel
);
return
Rjx
.
jsonOk
();
...
...
@@ -89,14 +129,30 @@ public class MemberApplyController {
@ResponseBody
@PostMapping
(
"save_show"
)
@ApiOperation
(
"保存影片放映信息"
)
public
Object
saveMemberFilmShow
(
Long
member_film_id
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
)
{
memberService
.
saveMemberFilmIssuer
(
member_film_id
,
show_filmfest
,
show_filmfest_type
,
show_filmfest_intro
,
show_filmfest_intro
);
@ApiImplicitParams
({
@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
=
"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_intro"
,
value
=
"简介(获奖或报名奖项等)"
),
})
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
);
return
Rjx
.
jsonOk
();
}
@ResponseBody
@PostMapping
(
"save_issuer_show"
)
@ApiOperation
(
"保存影片申报信息"
)
@ApiImplicitParams
({
@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_realname"
,
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_mobile"
,
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
)
{
memberService
.
saveMemberFilmCompany
(
member_film_id
,
film_apply_company
,
film_apply_realname
,
film_apply_email
,
film_apply_tel
,
film_apply_mobile
,
film_apply_country
);
return
Rjx
.
jsonOk
();
...
...
src/main/java/com/egolm/film/api/member/service/MemberService.java
View file @
25c8b655
...
...
@@ -54,14 +54,17 @@ public interface MemberService {
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
String
film_medium
,
String
film_format
);
void
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
);
void
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
);
void
saveMemberFilmIssuer
(
Long
member_film_id
,
String
[]
issuer_company
,
String
[]
issuer_contacts
,
String
[]
issuer_email
,
String
[]
issuer_tel
);
void
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
);
void
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
,
String
[]
show_filmfest_intro2
);
void
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
);
}
src/main/java/com/egolm/film/api/member/service/impl/MemberServiceImpl.java
View file @
25c8b655
...
...
@@ -134,8 +134,9 @@ public class MemberServiceImpl implements MemberService {
}
@Override
public
void
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
void
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
)
{
// TODO Auto-generated method stub
}
...
...
@@ -148,9 +149,15 @@ public class MemberServiceImpl implements MemberService {
}
@Override
public
void
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
void
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
,
String
[]
show_filmfest_intro2
)
{
// TODO Auto-generated method stub
}
@Override
public
void
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
)
{
// TODO Auto-generated method stub
}
...
...
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