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
cae4d721
Commit
cae4d721
authored
Apr 27, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
790ed40c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
CinemaController.java
...n/java/com/egolm/film/api/web/admin/CinemaController.java
+14
-1
No files found.
src/main/java/com/egolm/film/api/web/admin/CinemaController.java
View file @
cae4d721
...
...
@@ -25,8 +25,10 @@ import com.egolm.common.bean.Rjx;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.film.api.service.CinemaService
;
import
com.egolm.film.api.service.CommonService
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.bean.Fc_cinema
;
import
com.egolm.film.bean.Fc_cinema_showtime
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.model.Fc_cinema_model
;
import
com.egolm.film.bean.model.Fc_cinema_showtime_model
;
import
com.egolm.film.config.XRException
;
...
...
@@ -47,6 +49,10 @@ public class CinemaController {
@Autowired
CommonService
common
;
@Autowired
FilmService
filmService
;
@ResponseBody
@PostMapping
(
"saveOrUpdate"
)
@ApiOperation
(
"保存影院影厅"
)
...
...
@@ -213,7 +219,14 @@ public class CinemaController {
@ApiOperation
(
"查询排片详情"
)
public
Object
getShowtimeById
(
Integer
id
)
{
Fc_cinema_showtime
showtime
=
common
.
queryById
(
id
,
Fc_cinema_showtime
.
class
);
return
Rjx
.
jsonOk
().
setData
(
showtime
);
Map
<
String
,
Object
>
map
=
Util
.
toMap
(
showtime
);
map
.
put
(
"show_date"
,
DateUtil
.
formatDate
((
Date
)
map
.
get
(
"show_date"
)));
Rjx
rjx
=
Rjx
.
jsonOk
().
setData
(
map
);
if
(
showtime
.
getFilm_id
()
!=
null
)
{
Fc_member_film
film
=
filmService
.
queryMemberFilmById
(
showtime
.
getFilm_id
().
longValue
());
rjx
.
set
(
"mv"
,
film
);
}
return
rjx
;
}
@ResponseBody
...
...
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