Commit c158e987 authored by Quxl's avatar Quxl

完善申报接口

parent 18d900c5
......@@ -50,9 +50,9 @@ public class MemberApplyController {
@PostMapping("save_type")
@ApiOperation("保存申报影片类型")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_type_name", value="影片类型"),
@ApiImplicitParam(paramType = "query", required = true, name = "enroll_type_name", value="影片性质"),
@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);
......@@ -63,10 +63,10 @@ public class MemberApplyController {
@PostMapping("save_base")
@ApiOperation("保存影片基本信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = false, name = "enroll_type_name_other", value="申报奖项"),
@ApiImplicitParam(paramType = "query", required = true, name = "cn_name", value="中文名称"),
@ApiImplicitParam(paramType = "query", required = true, name = "cn_name", value="英文名称"),
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "enroll_type_name_other", value="申报奖项", allowMultiple=true),
@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);
......@@ -77,16 +77,16 @@ public class MemberApplyController {
@PostMapping("save_info")
@ApiOperation("保存影片制作信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_country", value="制作国家"),
@ApiImplicitParam(paramType = "query", required = true, name = "dialogue_lang", value="对白语言"),
@ApiImplicitParam(paramType = "query", required = true, name = "subtitle_lang", value="字幕语言"),
@ApiImplicitParam(paramType = "query", required = true, name = "co_production_country", value="合拍国家"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_total_time", value="影片时长"),
@ApiImplicitParam(paramType = "query", required = true, name = "completion_date", value="完成日期"),
@ApiImplicitParam(paramType = "query", required = true, name = "show_date", value="公映日期"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_medium", value="影片色彩"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_format", value="样片规格"),
@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);
......@@ -97,14 +97,14 @@ public class MemberApplyController {
@PostMapping("save_playactor")
@ApiOperation("保存影片演职员信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_type", value="演职员类型"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_name", value="演职员名称"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_film_nums", value="演职员第几部长片"),
@ApiImplicitParam(paramType = "query", required = false, name = "playactor_country", value="演职员国家"),
@ApiImplicitParam(paramType = "query", required = false, name = "playactor_birthday", value="演职员生日"),
@ApiImplicitParam(paramType = "query", required = true, name = "playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType = "query", required = false, name = "is_play_shanghai", value="演职员作品是否参加过上海电影节"),
@ApiImplicitParam(paramType = "query", dataType = "long", allowMultiple=false, required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = true, name = "playactor_type", value="演职员类型"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = true, name = "playactor_name", value="演职员名称"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = true, name = "playactor_film_nums", value="演职员第几部长片"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = false, name = "playactor_country", value="演职员国家"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = false, name = "playactor_birthday", value="演职员生日"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = true, name = "playactor_intro", value="演职员简介"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = false, 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);
......@@ -115,11 +115,11 @@ public class MemberApplyController {
@PostMapping("save_issuer")
@ApiOperation("保存影片发行信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "issuer_company", value="发行公司"),
@ApiImplicitParam(paramType = "query", required = false, name = "issuer_contacts", value="发行方联系人"),
@ApiImplicitParam(paramType = "query", required = false, name = "issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType = "query", required = false, name = "issuer_tel", value="发行方电话"),
@ApiImplicitParam(paramType = "query", dataType = "long", allowMultiple=false, required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = true, name = "issuer_company", value="发行公司"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = false, name = "issuer_contacts", value="发行方联系人"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = false, name = "issuer_email", value="发行方Email"),
@ApiImplicitParam(paramType = "query", dataType = "array", 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) {
memberService.saveMemberFilmIssuer(member_film_id, issuer_company, issuer_contacts, issuer_email, issuer_tel);
......@@ -130,11 +130,11 @@ public class MemberApplyController {
@PostMapping("save_show")
@ApiOperation("保存影片放映信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "play_shanghai", value="该片在上海电影节放映是"),
@ApiImplicitParam(paramType = "query", required = true, name = "show_filmfest", value="参加过什么电影节"),
@ApiImplicitParam(paramType = "query", required = true, name = "show_filmfest_type", value="参与类型"),
@ApiImplicitParam(paramType = "query", required = false, name = "show_filmfest_intro", value="简介(获奖或报名奖项等)"),
@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 = "array", allowMultiple=true, required = true, name = "show_filmfest", value="参加过什么电影节"),
@ApiImplicitParam(paramType = "query", dataType = "array", allowMultiple=true, required = true, name = "show_filmfest_type", value="参与类型"),
@ApiImplicitParam(paramType = "query", dataType = "array", 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) {
memberService.saveMemberFilmShow(member_film_id, play_shanghai, show_filmfest, show_filmfest_type, show_filmfest_intro, show_filmfest_intro);
......@@ -145,13 +145,13 @@ public class MemberApplyController {
@PostMapping("save_company")
@ApiOperation("保存影片申报信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_apply_company", value="申报公司"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_apply_realname", value="申报联系人"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_apply_email", value="申报联系人邮件"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_apply_tel", value="申报联系人电话"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_apply_mobile", value="申报联系人手机"),
@ApiImplicitParam(paramType = "query", required = true, name = "film_apply_country", value="申报联系人国家"),
@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);
......@@ -185,7 +185,7 @@ public class MemberApplyController {
@ResponseBody
@PostMapping("get_more")
@ApiOperation("获取更多影片信息")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", required = true, name = "film_no", value="情报影片编号")})
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_no", value="情报影片编号")})
public Object getMore(String film_no) {
Fc_member_film_all more = memberService.queryMoreByNo(film_no);
return Rjx.jsonOk().setData(more);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment