Commit bb93922e authored by Quxl's avatar Quxl

x

parent 67c636bd
...@@ -468,6 +468,10 @@ public class FilmServiceImpl implements FilmService { ...@@ -468,6 +468,10 @@ public class FilmServiceImpl implements FilmService {
@Override @Override
public void reject(Boolean is_stop_apply, Long member_film_id, String apply_state_intro) { public void reject(Boolean is_stop_apply, Long member_film_id, String apply_state_intro) {
Fc_member_film film = this.queryMemberFilmById(member_film_id);
if(film.getApply_state() == 2) {
throw new XRException("该片已通过初审");
}
if(is_stop_apply) { if(is_stop_apply) {
String sql = "update fc_member_film set 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); 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