Commit f27454ce authored by Quxl's avatar Quxl

x

parent 4df6911f
...@@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.PostMapping; ...@@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.egolm.common.Util;
import com.egolm.common.bean.Rjx; import com.egolm.common.bean.Rjx;
import com.egolm.film.api.service.AdminTokenService; import com.egolm.film.api.service.AdminTokenService;
import com.egolm.film.api.service.ExportService; import com.egolm.film.api.service.ExportService;
...@@ -140,7 +139,7 @@ public class FilmController { ...@@ -140,7 +139,7 @@ public class FilmController {
@ApiImplicitParam(paramType="query", dataType="string", allowMultiple=true, required=true, name="playactor_intro", 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="演职员作品是否参加过上海电影节"), @ApiImplicitParam(paramType="query", dataType="integer", allowMultiple=true, required=false, name="is_play_shanghai", value="演职员作品是否参加过上海电影节"),
}) })
public Object saveMemberFilmPlayactor(Long member_film_id, HttpServletRequest req) { public Object saveMemberFilmPlayactor(Long member_film_id, Integer[] is_play_shanghai, HttpServletRequest req) {
String[] playactor_type = req.getParameterValues("playactor_type"); String[] playactor_type = req.getParameterValues("playactor_type");
String[] playactor_role_name = req.getParameterValues("playactor_role_name"); String[] playactor_role_name = req.getParameterValues("playactor_role_name");
...@@ -149,7 +148,6 @@ public class FilmController { ...@@ -149,7 +148,6 @@ public class FilmController {
String[] playactor_country = req.getParameterValues("playactor_country"); String[] playactor_country = req.getParameterValues("playactor_country");
String[] playactor_birthday = req.getParameterValues("playactor_birthday"); String[] playactor_birthday = req.getParameterValues("playactor_birthday");
String[] playactor_intro = req.getParameterValues("playactor_intro"); String[] playactor_intro = req.getParameterValues("playactor_intro");
Integer[] is_play_shanghai = Util.toIntArray(req.getParameterValues("playactor_intro"));
filmService.saveMemberFilmPlayactor( filmService.saveMemberFilmPlayactor(
......
...@@ -5,6 +5,8 @@ import java.util.Date; ...@@ -5,6 +5,8 @@ import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
...@@ -375,10 +377,12 @@ public class AdminReviewController { ...@@ -375,10 +377,12 @@ public class AdminReviewController {
String review_text_2, String review_text_2,
String review_text_3, String review_text_3,
String review_text_4, String review_text_4,
String[] ext_title, Double[] ext_score,
String[] ext_type, HttpServletRequest req) {
String[] ext_name, String[] ext_title = req.getParameterValues("ext_title");
Double[] ext_score) { String[] ext_type = req.getParameterValues("ext_type");
String[] ext_name = req.getParameterValues("ext_name");
Map<String, Object> recordMap = reviewService.queryReviewRecordMapById(record_id); Map<String, Object> recordMap = reviewService.queryReviewRecordMapById(record_id);
Fc_review_record ru = Util.mapTo(recordMap, Fc_review_record.class); Fc_review_record ru = Util.mapTo(recordMap, Fc_review_record.class);
ru.setReview_score(review_score); ru.setReview_score(review_score);
......
...@@ -3,6 +3,8 @@ package com.egolm.film.api.web.member; ...@@ -3,6 +3,8 @@ package com.egolm.film.api.web.member;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
...@@ -76,13 +78,13 @@ public class MemberApplyController { ...@@ -76,13 +78,13 @@ public class MemberApplyController {
}) })
public Object saveMemberFilmBase( public Object saveMemberFilmBase(
Long member_film_id, Long member_film_id,
String[] enroll_type_name_other,
String cn_name, String cn_name,
String en_name, String en_name,
String intro) { String intro, HttpServletRequest req) {
LoginToken loginToken = tokenService.getToken(); LoginToken loginToken = tokenService.getToken();
Integer member_id = (Integer)loginToken.getId(); Integer member_id = (Integer)loginToken.getId();
String[] enroll_type_name_other = req.getParameterValues("enroll_type_name_other");
memberFilmService.saveMemberFilmBase( memberFilmService.saveMemberFilmBase(
member_id, member_id,
member_film_id, member_film_id,
...@@ -123,7 +125,6 @@ public class MemberApplyController { ...@@ -123,7 +125,6 @@ public class MemberApplyController {
String film_country, String film_country,
String dialogue_lang, String dialogue_lang,
String subtitle_lang, String subtitle_lang,
String[] co_production_country,
String film_total_time, String film_total_time,
String completion_date, String completion_date,
String show_date, String show_date,
...@@ -135,10 +136,12 @@ public class MemberApplyController { ...@@ -135,10 +136,12 @@ public class MemberApplyController {
String film_format, String film_format,
String film_format_url, String film_format_url,
String film_format_passw, String film_format_passw,
String film_format_other) { String film_format_other,
HttpServletRequest req) {
LoginToken loginToken = tokenService.getToken(); LoginToken loginToken = tokenService.getToken();
Integer member_id = (Integer)loginToken.getId(); Integer member_id = (Integer)loginToken.getId();
String[] co_production_country = req.getParameterValues("co_production_country");
memberFilmService.saveMemberFilmInfo( memberFilmService.saveMemberFilmInfo(
member_id, member_id,
member_film_id, member_film_id,
......
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