Commit 2f79a86a authored by Quxl's avatar Quxl

x

parent b7155a7b
......@@ -137,7 +137,7 @@ public class CinemaController {
showtime.setCinema_id(cinema_id);
showtime.setCreate_time(now);
showtime.setStatus(0);
showtime.setTicket_price(new BigDecimal(ticket_price));
showtime.setTicket_price(StringUtil.isNotBlank(ticket_price) ? new BigDecimal(ticket_price) : null);
showtime.setIs_important(is_important);
if(StringUtil.isNotBlank(ticket_price) || is_important != null) {
showtime.setShowtime_no(++max_showtime_no);
......
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