Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
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
曲欣亮
sentinel
Commits
62a68168
Commit
62a68168
authored
Dec 05, 2018
by
曲欣红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
57c14674
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
FilmReportServiceImpl.java
...om/egolm/film/api/service/impl/FilmReportServiceImpl.java
+1
-1
No files found.
src/main/java/com/egolm/film/api/service/impl/FilmReportServiceImpl.java
View file @
62a68168
...
@@ -114,7 +114,7 @@ public class FilmReportServiceImpl implements FilmReportService {
...
@@ -114,7 +114,7 @@ public class FilmReportServiceImpl implements FilmReportService {
String
filmTypeSql
=
"ef.film_type, ef.film_type_name from enum_filmtype ef, fc_member_film fmf where ef.film_type = fmf.film_type_name"
;
String
filmTypeSql
=
"ef.film_type, ef.film_type_name from enum_filmtype ef, fc_member_film fmf where ef.film_type = fmf.film_type_name"
;
Long
filmTypeTotalCount
=
jdbcTemplate
.
queryForLong
(
"select count(1) from (select "
+
filmTypeSql
+
") t"
);
Long
filmTypeTotalCount
=
jdbcTemplate
.
queryForLong
(
"select count(1) from (select "
+
filmTypeSql
+
") t"
);
List
<
Map
<
String
,
Object
>>
filmTypeGroup
=
jdbcTemplate
.
queryForList
(
"select count(1) count, "
+
filmTypeSql
+
" group by ef.film_type"
);
List
<
Map
<
String
,
Object
>>
filmTypeGroup
=
jdbcTemplate
.
queryForList
(
"select count(1) count, "
+
filmTypeSql
+
" group by ef.film_type"
);
String
showTypeSql
=
"play_shanghai from fc_member_film"
;
String
showTypeSql
=
"play_shanghai from fc_member_film
where play_shanghai is not null
"
;
Long
showTypeTotalCount
=
jdbcTemplate
.
queryForLong
(
"select count(1) from (select "
+
showTypeSql
+
") t"
);
Long
showTypeTotalCount
=
jdbcTemplate
.
queryForLong
(
"select count(1) from (select "
+
showTypeSql
+
") t"
);
List
<
Map
<
String
,
Object
>>
showTypeGroup
=
jdbcTemplate
.
queryForList
(
"select count(1) count, "
+
showTypeSql
+
" group by play_shanghai"
);
List
<
Map
<
String
,
Object
>>
showTypeGroup
=
jdbcTemplate
.
queryForList
(
"select count(1) count, "
+
showTypeSql
+
" group by play_shanghai"
);
for
(
Map
<
String
,
Object
>
map
:
applyTypeGroup
)
{
for
(
Map
<
String
,
Object
>
map
:
applyTypeGroup
)
{
...
...
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