Commit 5cbb38de authored by Quxl's avatar Quxl

xx

parent f36460b1
...@@ -21,10 +21,6 @@ import com.egolm.film.api.service.MemberService; ...@@ -21,10 +21,6 @@ import com.egolm.film.api.service.MemberService;
import com.egolm.film.api.service.Messages; import com.egolm.film.api.service.Messages;
import com.egolm.film.bean.Fc_member; import com.egolm.film.bean.Fc_member;
import com.egolm.film.bean.Fc_member_film; 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 com.egolm.film.util.Common;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
...@@ -136,126 +132,4 @@ public class AdminFirstController { ...@@ -136,126 +132,4 @@ public class AdminFirstController {
return Rjx.jsonOk(); 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();
}
} }
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