Commit 6641a986 authored by Quxl's avatar Quxl

完善申报接口

parent 84bb6aaa
...@@ -50,9 +50,9 @@ public class MemberApplyController { ...@@ -50,9 +50,9 @@ public class MemberApplyController {
@PostMapping("save_type") @PostMapping("save_type")
@ApiOperation("保存申报影片类型") @ApiOperation("保存申报影片类型")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"), @ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_type_name", value="影片类型"), @ApiImplicitParam(paramType = "query", required = true, name = "film_type_name", value="影片类型"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "enroll_type_name", value="影片性质"), @ApiImplicitParam(paramType = "query", required = true, name = "enroll_type_name", value="影片性质"),
}) })
public Object saveMemberFilmType(Long member_film_id, String film_type_name, String enroll_type_name) { 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); member_film_id = memberService.saveMemberFilmType(member_film_id, film_type_name, enroll_type_name);
...@@ -63,10 +63,10 @@ public class MemberApplyController { ...@@ -63,10 +63,10 @@ public class MemberApplyController {
@PostMapping("save_base") @PostMapping("save_base")
@ApiOperation("保存影片基本信息") @ApiOperation("保存影片基本信息")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"), @ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "enroll_type_name_other", value="申报奖项"), @ApiImplicitParam(paramType = "query", required = false, name = "enroll_type_name_other", value="申报奖项"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "cn_name", value="中文名称"), @ApiImplicitParam(paramType = "query", required = true, name = "cn_name", value="中文名称"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "cn_name", value="英文名称"), @ApiImplicitParam(paramType = "query", 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) { 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); memberService.saveMemberFilmBase(member_film_id, enroll_type_name_other, cn_name, en_name, intro);
...@@ -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", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_country", value="制作国家"), @ApiImplicitParam(paramType = "query", required = true, name = "film_country", value="制作国家"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "dialogue_lang", value="对白语言"), @ApiImplicitParam(paramType = "query", required = true, name = "dialogue_lang", value="对白语言"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "subtitle_lang", value="字幕语言"), @ApiImplicitParam(paramType = "query", required = true, name = "subtitle_lang", value="字幕语言"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "co_production_country", value="合拍国家"), @ApiImplicitParam(paramType = "query", required = true, name = "co_production_country", value="合拍国家"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_total_time", value="影片时长"), @ApiImplicitParam(paramType = "query", required = true, name = "film_total_time", value="影片时长"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "completion_date", value="完成日期"), @ApiImplicitParam(paramType = "query", required = true, name = "completion_date", value="完成日期"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "show_date", value="公映日期"), @ApiImplicitParam(paramType = "query", required = true, name = "show_date", value="公映日期"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_medium", value="影片色彩"), @ApiImplicitParam(paramType = "query", required = true, name = "film_medium", value="影片色彩"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_format", value="样片规格"), @ApiImplicitParam(paramType = "query", 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);
...@@ -130,8 +130,8 @@ public class MemberApplyController { ...@@ -130,8 +130,8 @@ 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", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "play_shanghai", value="该片在上海电影节放映是"), @ApiImplicitParam(paramType = "query", 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 = false, name = "show_filmfest_intro", value="简介(获奖或报名奖项等)"), @ApiImplicitParam(paramType = "query", dataType = "array", required = false, name = "show_filmfest_intro", value="简介(获奖或报名奖项等)"),
...@@ -145,13 +145,13 @@ public class MemberApplyController { ...@@ -145,13 +145,13 @@ public class MemberApplyController {
@PostMapping("save_company") @PostMapping("save_company")
@ApiOperation("保存影片申报信息") @ApiOperation("保存影片申报信息")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "long", required = true, name = "member_film_id", value="影片ID"), @ApiImplicitParam(paramType = "query", required = true, name = "member_film_id", value="影片ID"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_company", value="申报公司"), @ApiImplicitParam(paramType = "query", required = true, name = "film_apply_company", value="申报公司"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_realname", value="申报联系人"), @ApiImplicitParam(paramType = "query", required = true, name = "film_apply_realname", value="申报联系人"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_email", value="申报联系人邮件"), @ApiImplicitParam(paramType = "query", required = true, name = "film_apply_email", value="申报联系人邮件"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_tel", value="申报联系人电话"), @ApiImplicitParam(paramType = "query", required = true, name = "film_apply_tel", value="申报联系人电话"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_mobile", value="申报联系人手机"), @ApiImplicitParam(paramType = "query", required = true, name = "film_apply_mobile", value="申报联系人手机"),
@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_apply_country", value="申报联系人国家"), @ApiImplicitParam(paramType = "query", 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) {
memberService.saveMemberFilmCompany(member_film_id, film_apply_company, film_apply_realname, film_apply_email, film_apply_tel, film_apply_mobile, 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 { ...@@ -185,7 +185,7 @@ public class MemberApplyController {
@ResponseBody @ResponseBody
@PostMapping("get_more") @PostMapping("get_more")
@ApiOperation("获取更多影片信息") @ApiOperation("获取更多影片信息")
@ApiImplicitParams({@ApiImplicitParam(paramType = "query", dataType = "string", required = true, name = "film_no", value="情报影片编号")}) @ApiImplicitParams({@ApiImplicitParam(paramType = "query", required = true, name = "film_no", value="情报影片编号")})
public Object getMore(String film_no) { public Object getMore(String film_no) {
Fc_member_film_all more = memberService.queryMoreByNo(film_no); Fc_member_film_all more = memberService.queryMoreByNo(film_no);
return Rjx.jsonOk().setData(more); 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