Commit 7e8a5ef3 authored by Quxl's avatar Quxl

优化影片详情信息接口

parent 3f0ff363
...@@ -86,14 +86,14 @@ public class UserReviewController { ...@@ -86,14 +86,14 @@ public class UserReviewController {
public Object getAllotDetail(Long film_id) { public Object getAllotDetail(Long film_id) {
LoginToken loginToken = tokenService.getToken(); LoginToken loginToken = tokenService.getToken();
Integer user_id = (Integer)loginToken.getId(); Integer user_id = (Integer)loginToken.getId();
Fc_film film = reviewService.queryFilmById(film_id);
Map<String, Object> map = reviewService.queryAllotDetailByFilmId(film_id); Map<String, Object> map = reviewService.queryAllotDetailByFilmId(film_id);
Long member_film_id = reviewService.queryMemberFilmIdByFilmId(film_id); Long member_film_id = reviewService.queryMemberFilmIdByFilmId(film_id);
List<Fc_member_film_director> directorList = memberService.queryMemberFilmDirectorList(member_film_id); List<Fc_member_film_director> directorList = memberService.queryMemberFilmDirectorList(member_film_id);
List<Fc_member_film_issuer> issuerList = memberService.queryMemberFilmIssuerList(member_film_id); List<Fc_member_film_issuer> issuerList = memberService.queryMemberFilmIssuerList(member_film_id);
List<Fc_member_film_playactor> playactorList = memberService.queryMemberFilmPlayactorList(member_film_id); List<Fc_member_film_playactor> playactorList = memberService.queryMemberFilmPlayactorList(member_film_id);
List<Fc_member_film_show> showList = memberService.queryMemberFilmShowList(member_film_id); List<Fc_member_film_show> showList = memberService.queryMemberFilmShowList(member_film_id);
List<Fc_film_review> reviewList = reviewService.queryRoundReviewListByUserId(user_id, film.getRound(), film_id); Integer round = (Integer)map.get("round");
List<Fc_film_review> reviewList = reviewService.queryRoundReviewListByUserId(user_id, round, film_id);
List<Fc_film_doubtful_point> doubtfulList = reviewService.queryDoubtfulListByUserId(user_id, film_id); List<Fc_film_doubtful_point> doubtfulList = reviewService.queryDoubtfulListByUserId(user_id, film_id);
return Rjx.jsonOk() return Rjx.jsonOk()
.setData(map) .setData(map)
......
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