Commit c37d3cfc authored by Quxl's avatar Quxl

zx

parent cfed1d86
...@@ -56,11 +56,12 @@ public class CinemaController { ...@@ -56,11 +56,12 @@ public class CinemaController {
cinema.setTmp_count_film(0); cinema.setTmp_count_film(0);
cinema.setTmp_count_show(0); cinema.setTmp_count_show(0);
common.save(cinema); common.save(cinema);
return Rjx.jsonOk().set("id", cinema.getId());
} else { } else {
common.update(cinemaModel); common.update(cinemaModel);
}
return Rjx.jsonOk(); return Rjx.jsonOk();
} }
}
@ResponseBody @ResponseBody
@PostMapping("getGroupByCinemaList") @PostMapping("getGroupByCinemaList")
......
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