Commit a4b24666 authored by Quxl's avatar Quxl

x

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