Commit 955792c2 authored by Quxl's avatar Quxl

增加字段

parent cdc70234
...@@ -116,7 +116,10 @@ public class MemberApplyController { ...@@ -116,7 +116,10 @@ public class MemberApplyController {
String show_date, String show_date,
String film_medium, String film_medium,
String film_format, String film_format,
String express_no) { String film_express_no,
String film_format_url,
String film_format_passw,
String film_format_other) {
LoginToken loginToken = tokenService.getToken(); LoginToken loginToken = tokenService.getToken();
Integer member_id = (Integer)loginToken.getId(); Integer member_id = (Integer)loginToken.getId();
...@@ -132,7 +135,10 @@ public class MemberApplyController { ...@@ -132,7 +135,10 @@ public class MemberApplyController {
show_date, show_date,
film_medium, film_medium,
film_format, film_format,
express_no); film_express_no,
film_format_url,
film_format_passw,
film_format_other);
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
......
...@@ -78,7 +78,10 @@ public interface MemberService { ...@@ -78,7 +78,10 @@ public interface MemberService {
String show_date, String show_date,
String film_medium, String film_medium,
String film_format, String film_format,
String express_no); String film_express_no,
String film_format_url,
String film_format_passw,
String film_format_other);
void saveMemberFilmPlayactor( void saveMemberFilmPlayactor(
Integer member_id, Integer member_id,
......
...@@ -218,12 +218,15 @@ public class MemberServiceImpl implements MemberService { ...@@ -218,12 +218,15 @@ public class MemberServiceImpl implements MemberService {
String show_date, String show_date,
String film_medium, String film_medium,
String film_format, String film_format,
String express_no) { String film_express_no,
String film_format_url,
String film_format_passw,
String film_format_other) {
Long last_modify_time = System.currentTimeMillis(); Long last_modify_time = System.currentTimeMillis();
String sql = "update fc_member_film set film_country = ?, dialogue_lang = ?, subtitle_lang = ?, co_production_country = ?, film_total_time = ?, completion_date = ?, show_date = ?, film_medium = ?, film_format = ?, express_no = ?, last_modify_time = ? where member_id = ? and id = ?"; String sql = "update fc_member_film set film_country = ?, dialogue_lang = ?, subtitle_lang = ?, co_production_country = ?, film_total_time = ?, completion_date = ?, show_date = ?, film_medium = ?, film_format = ?, film_express_no = ?, film_format_url = ?, film_format_passw = ?, film_format_other = ?, last_modify_time = ? where member_id = ? and id = ?";
String str = StringUtil.join(",", "", "", "", co_production_country); String str = StringUtil.join(",", "", "", "", co_production_country);
Object[] args = new Object[]{str, film_country, dialogue_lang, subtitle_lang, str, film_total_time, completion_date, show_date, film_medium, film_format, express_no, last_modify_time, member_id, member_film_id}; Object[] args = new Object[]{str, film_country, dialogue_lang, subtitle_lang, str, film_total_time, completion_date, show_date, film_medium, film_format, film_express_no, film_format_url, film_format_passw, film_format_other, last_modify_time, member_id, member_film_id};
jdbcTemplate.executeUpdate(sql, args); jdbcTemplate.executeUpdate(sql, args);
} }
......
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