Commit b7155a7b authored by Quxl's avatar Quxl

x

parent ebbf4d01
...@@ -100,7 +100,7 @@ public class CinemaServiceImpl implements CinemaService { ...@@ -100,7 +100,7 @@ public class CinemaServiceImpl implements CinemaService {
String sql = "select max(showtime_no) from fc_cinema_showtime where cinema_id = ?"; String sql = "select max(showtime_no) from fc_cinema_showtime where cinema_id = ?";
Integer maxNo = jdbcTemplate.queryForInt(sql, cinema_id); Integer maxNo = jdbcTemplate.queryForInt(sql, cinema_id);
return maxNo; return maxNo;
} catch (EmptyResultDataAccessException e) { } catch (NullPointerException | EmptyResultDataAccessException e) {
e.printStackTrace(); e.printStackTrace();
return null; return null;
} }
......
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