Commit 2989bec3 authored by Quxl's avatar Quxl

x

parent 335220f7
......@@ -35,7 +35,7 @@ public class FilmGroupServiceImpl implements FilmGroupService {
@Transactional
public void removeFilmGroupById(Integer id) {
jdbcTemplate.executeUpdate("delete from fc_film_group where id = ?", id);
jdbcTemplate.executeUpdate("update fc_member_film set group_id = ? where group_id = ?", id, id);
jdbcTemplate.executeUpdate("update fc_member_film set group_id = ? where group_id = ?", null, 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