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
56f1447b
Commit
56f1447b
authored
Nov 24, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
49bdf763
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+7
-4
No files found.
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
56f1447b
...
...
@@ -5,6 +5,7 @@ import java.sql.PreparedStatement;
import
java.sql.SQLException
;
import
java.sql.Statement
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -21,6 +22,8 @@ import com.egolm.common.jdbc.Page;
import
com.egolm.common.web.ServletUtil
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.api.service.Messages
;
import
com.egolm.film.bean.Enum_enroll
;
import
com.egolm.film.bean.Enum_filmtype
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_all
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
...
...
@@ -427,13 +430,13 @@ public class FilmServiceImpl implements FilmService {
}
@Override
public
List
<
Map
<
String
,
Object
>
>
queryEnrollList
()
{
return
jdbcTemplate
.
queryFor
List
(
"select * from fc_film_enroll"
);
public
List
<
Enum_enroll
>
queryEnrollList
()
{
return
jdbcTemplate
.
queryFor
BeansByField
(
Enum_enroll
.
class
,
new
HashMap
<
String
,
Object
>()
);
}
@Override
public
List
<
Map
<
String
,
Object
>
>
queryTypeList
()
{
return
jdbcTemplate
.
queryFor
List
(
"select * from fc_film_type"
);
public
List
<
Enum_filmtype
>
queryTypeList
()
{
return
jdbcTemplate
.
queryFor
BeansByField
(
Enum_filmtype
.
class
,
new
HashMap
<
String
,
Object
>()
);
}
@Override
...
...
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