Commit bd004264 authored by Quxl's avatar Quxl

x

parent aec17018
......@@ -506,10 +506,10 @@ public class FilmServiceImpl implements FilmService {
@Override
public void reject(Boolean is_stop_apply, Long member_film_id, String apply_state_intro) {
if(is_stop_apply) {
String sql = "update fc_member_film pass_time = ?, apply_state = 3, apply_state_intro = ? where id = ?";
String sql = "update fc_member_film set pass_time = ?, apply_state = 3, apply_state_intro = ? where id = ?";
jdbcTemplate.executeUpdate(sql, System.currentTimeMillis()/1000L, apply_state_intro, member_film_id);
} else {
String sql = "update fc_member_film pass_time = ?, state = 1, apply_state = 1, apply_state_intro = ? where id = ?";
String sql = "update fc_member_film set pass_time = ?, state = 1, apply_state = 1, apply_state_intro = ? where id = ?";
jdbcTemplate.executeUpdate(sql, System.currentTimeMillis()/1000L, apply_state_intro, 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