Commit d58a3695 authored by Quxl's avatar Quxl

x

parent 4aac3858
......@@ -154,8 +154,14 @@ public class CinemaController {
@PostMapping("updateShowtime")
@ApiOperation("保存场次信息")
public Object updateShowtime(Fc_cinema_showtime_model showtimeModel) {
common.update(showtimeModel);
Fc_cinema_showtime showtime = common.queryById(showtimeModel.getId(), Fc_cinema_showtime.class);
Fc_cinema cinema = common.queryById(showtime.getCinema_id(), Fc_cinema.class);
if(cinema.getCinema_no() == null) {
Integer max_showtime_no = service.queryMaxShowtimeNoByCinemaId(cinema.getId());
}
common.update(showtimeModel);
service.setTmpData(showtime.getCinema_id());
return Rjx.jsonOk();
}
......
......@@ -16,9 +16,6 @@ public class Fc_cinema_showtime_model implements java.io.Serializable {
@ApiModelProperty("场次ID")
private Integer id;
@ApiModelProperty("场次编号")
private Integer showtime_no;
@ApiModelProperty("影片ID")
private Integer film_id;
......@@ -39,14 +36,6 @@ public class Fc_cinema_showtime_model implements java.io.Serializable {
this.id = id;
}
public Integer getShowtime_no() {
return showtime_no;
}
public void setShowtime_no(Integer showtime_no) {
this.showtime_no = showtime_no;
}
public Integer getFilm_id() {
return film_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