Commit a4b24666 authored by Quxl's avatar Quxl

x

parent 08022c69
...@@ -553,11 +553,7 @@ public class FilmServiceImpl implements FilmService { ...@@ -553,11 +553,7 @@ public class FilmServiceImpl implements FilmService {
@Override @Override
@Transactional @Transactional
public void updateFilmBase(Fc_member_film_base_model filmBase) { public void updateFilmBase(Fc_member_film_base_model filmBase) {
if(filmBase.getId() == null) { jdbcTemplate.saveOrUpdate(filmBase);
jdbcTemplate.save(filmBase);
} else {
jdbcTemplate.update(filmBase);
}
this.updateEnroll(filmBase.getId()); this.updateEnroll(filmBase.getId());
} }
......
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