Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
member-api
Commits
d58a3695
Commit
d58a3695
authored
Apr 26, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
4aac3858
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
12 deletions
+7
-12
CinemaController.java
...n/java/com/egolm/film/api/web/admin/CinemaController.java
+7
-1
Fc_cinema_showtime_model.java
...a/com/egolm/film/bean/model/Fc_cinema_showtime_model.java
+0
-11
No files found.
src/main/java/com/egolm/film/api/web/admin/CinemaController.java
View file @
d58a3695
...
@@ -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
();
}
}
...
...
src/main/java/com/egolm/film/bean/model/Fc_cinema_showtime_model.java
View file @
d58a3695
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment