Commit cb122595 authored by Quxl's avatar Quxl

修改BUG

parent 5ad09fd5
...@@ -360,7 +360,7 @@ public class MemberServiceImpl implements MemberService { ...@@ -360,7 +360,7 @@ public class MemberServiceImpl implements MemberService {
for(int i = 0; i < show_filmfest.length; i++) { for(int i = 0; i < show_filmfest.length; i++) {
args[i] = new Object[]{member_film_id, show_filmfest[i], show_filmfest_type[i], show_filmfest_intro[i], create_time}; args[i] = new Object[]{member_film_id, show_filmfest[i], show_filmfest_type[i], show_filmfest_intro[i], create_time};
} }
Long last_modify_time = System.currentTimeMillis(); Long last_modify_time = System.currentTimeMillis()/1000;
jdbcTemplate.executeUpdate("update fc_member_film set play_shanghai = ?, last_modify_time = ? where member_id = ? and id = ?", play_shanghai, last_modify_time, member_id, member_film_id); jdbcTemplate.executeUpdate("update fc_member_film set play_shanghai = ?, last_modify_time = ? where member_id = ? and id = ?", play_shanghai, last_modify_time, member_id, member_film_id);
jdbcTemplate.executeUpdate("delete from fc_member_film_show where film_id = ?", member_film_id); jdbcTemplate.executeUpdate("delete from fc_member_film_show where film_id = ?", member_film_id);
String sql = "insert into fc_member_film_show (film_id, show_filmfest, show_filmfest_type, show_filmfest_intro, create_time) values (?, ?, ?, ?, ?);"; String sql = "insert into fc_member_film_show (film_id, show_filmfest, show_filmfest_type, show_filmfest_intro, create_time) values (?, ?, ?, ?, ?);";
...@@ -409,4 +409,8 @@ public class MemberServiceImpl implements MemberService { ...@@ -409,4 +409,8 @@ public class MemberServiceImpl implements MemberService {
jdbcTemplate.executeUpdate(sql, args); jdbcTemplate.executeUpdate(sql, args);
} }
public static void main(String[] args) {
System.out.println(String.valueOf(System.currentTimeMillis()).length());
}
} }
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