Commit caece5fa authored by Quxl's avatar Quxl

x

parent cb40080b
......@@ -481,8 +481,12 @@ public class FilmServiceImpl implements FilmService {
}
jdbcTemplate.executeUpdate("delete from fc_member_film_enroll where film_id = ?", filmBase.getMember_film_id());
jdbcTemplate.executeUpdate("delete from fc_member_film_enroll_ext where film_id = ?", filmBase.getMember_film_id());
jdbcTemplate.batchSave(enrolls);
jdbcTemplate.batchSave(exts);
if(enrolls.size() > 0) {
jdbcTemplate.batchSave(enrolls);
}
if(exts.size() > 0) {
jdbcTemplate.batchSave(exts);
}
jdbcTemplate.update(filmBase);
}
......
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