Commit d58a3695 authored by Quxl's avatar Quxl

x

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