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
5cbb38de
Commit
5cbb38de
authored
Nov 24, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
f36460b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
126 deletions
+0
-126
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+0
-126
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
5cbb38de
...
...
@@ -21,10 +21,6 @@ import com.egolm.film.api.service.MemberService;
import
com.egolm.film.api.service.Messages
;
import
com.egolm.film.bean.Fc_member
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_issuer
;
import
com.egolm.film.bean.Fc_member_film_playactor
;
import
com.egolm.film.bean.Fc_member_film_show
;
import
com.egolm.film.bean.model.Fc_member_film_base_model
;
import
com.egolm.film.util.Common
;
import
io.swagger.annotations.Api
;
...
...
@@ -136,126 +132,4 @@ public class AdminFirstController {
return
Rjx
.
jsonOk
();
}
@ResponseBody
@PostMapping
(
"get_apply_detail"
)
@ApiOperation
(
"获取全部申报信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"申报影片ID"
)
})
public
Object
getDetail
(
Long
member_film_id
)
{
Fc_member_film
memberFilm
=
memberFilmService
.
queryMemberFilmById
(
member_film_id
);
List
<
Fc_member_film_issuer
>
issuerList
=
memberFilmService
.
queryMemberFilmIssuerList
(
memberFilm
.
getId
());
List
<
Fc_member_film_playactor
>
playactorList
=
memberFilmService
.
queryMemberFilmPlayactorList
(
memberFilm
.
getId
());
List
<
Fc_member_film_show
>
showList
=
memberFilmService
.
queryMemberFilmShowList
(
memberFilm
.
getId
());
return
Rjx
.
jsonOk
()
.
setData
(
memberFilm
)
.
set
(
"issuerList"
,
issuerList
)
.
set
(
"playactorList"
,
playactorList
)
.
set
(
"showList"
,
showList
);
}
@ResponseBody
@PostMapping
(
"update_base"
)
@ApiOperation
(
"保存电影主要信息"
)
public
Object
update_base
(
Fc_member_film_base_model
filmBase
)
{
memberFilmService
.
updateFilmBase
(
filmBase
);
return
Rjx
.
jsonOk
();
}
@Transactional
@ResponseBody
@PostMapping
(
"save_show"
)
@ApiOperation
(
"保存影片放映信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"header"
,
dataType
=
"string"
,
name
=
"i18n_language"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
allowMultiple
=
false
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
false
,
required
=
true
,
name
=
"play_shanghai"
,
value
=
"该片在上海电影节放映是"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"show_filmfest"
,
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
=
"简介(获奖或报名奖项等)"
),
})
public
Object
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
)
{
memberFilmService
.
saveMemberFilmShow
(
member_film_id
,
play_shanghai
,
show_filmfest
,
show_filmfest_type
,
show_filmfest_intro
);
return
Rjx
.
jsonOk
();
}
@Transactional
@ResponseBody
@PostMapping
(
"save_issuer"
)
@ApiOperation
(
"保存影片发行信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"header"
,
dataType
=
"string"
,
name
=
"i18n_language"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
allowMultiple
=
false
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"issuer_company"
,
value
=
"发行公司"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"issuer_contacts"
,
value
=
"发行方联系人"
),
@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
=
"发行方电话"
),
})
public
Object
saveMemberFilmIssuer
(
Long
member_film_id
,
String
[]
issuer_company
,
String
[]
issuer_contacts
,
String
[]
issuer_email
,
String
[]
issuer_tel
)
{
memberFilmService
.
saveMemberFilmIssuer
(
member_film_id
,
issuer_company
,
issuer_contacts
,
issuer_email
,
issuer_tel
);
return
Rjx
.
jsonOk
();
}
@Transactional
@ResponseBody
@PostMapping
(
"save_playactor"
)
@ApiOperation
(
"保存影片演职员信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"header"
,
dataType
=
"string"
,
name
=
"i18n_language"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
allowMultiple
=
false
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"playactor_type"
,
value
=
"演职员类型"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"playactor_role_name"
,
value
=
"饰演的角色名"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"playactor_name"
,
value
=
"演职员名称"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
true
,
name
=
"playactor_film_nums"
,
value
=
"演职员第几部长片"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"playactor_country"
,
value
=
"演职员国家"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
allowMultiple
=
true
,
required
=
false
,
name
=
"playactor_birthday"
,
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
=
"演职员作品是否参加过上海电影节"
),
})
public
Object
saveMemberFilmPlayactor
(
Long
member_film_id
,
String
[]
playactor_type
,
String
[]
playactor_role_name
,
String
[]
playactor_name
,
String
[]
playactor_film_nums
,
String
[]
playactor_country
,
String
[]
playactor_birthday
,
String
[]
playactor_intro
,
Integer
[]
is_play_shanghai
)
{
memberFilmService
.
saveMemberFilmPlayactor
(
member_film_id
,
playactor_type
,
playactor_role_name
,
playactor_name
,
playactor_film_nums
,
playactor_country
,
playactor_birthday
,
playactor_intro
,
is_play_shanghai
);
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