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
35f6f442
Commit
35f6f442
authored
Nov 23, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
d6166b7c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
7 deletions
+39
-7
FilmService.java
src/main/java/com/egolm/film/api/service/FilmService.java
+5
-1
MemberFilmServiceImpl.java
...om/egolm/film/api/service/impl/MemberFilmServiceImpl.java
+12
-2
CommonApiController.java
...main/java/com/egolm/film/api/web/CommonApiController.java
+18
-0
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+2
-2
MemberApplyController.java
.../com/egolm/film/api/web/member/MemberApplyController.java
+2
-2
No files found.
src/main/java/com/egolm/film/api/service/
Member
FilmService.java
→
src/main/java/com/egolm/film/api/service/FilmService.java
View file @
35f6f442
...
...
@@ -10,7 +10,7 @@ import com.egolm.film.bean.Fc_member_film_issuer;
import
com.egolm.film.bean.Fc_member_film_playactor
;
import
com.egolm.film.bean.Fc_member_film_show
;
public
interface
Member
FilmService
{
public
interface
FilmService
{
List
<
Fc_member_film_issuer
>
queryMemberFilmIssuerList
(
Long
member_film_id
);
...
...
@@ -106,5 +106,9 @@ public interface MemberFilmService {
void
reject
(
Long
member_film_id
);
Fc_member_film
queryMemberFilmById
(
Long
member_film_id
);
Object
queryEnrollList
();
Object
queryTypeList
();
}
src/main/java/com/egolm/film/api/service/impl/MemberFilmServiceImpl.java
View file @
35f6f442
...
...
@@ -19,7 +19,7 @@ import com.egolm.common.StringUtil;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.common.web.ServletUtil
;
import
com.egolm.film.api.service.
Member
FilmService
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.api.service.Messages
;
import
com.egolm.film.bean.Fc_film_enroll
;
import
com.egolm.film.bean.Fc_member_film
;
...
...
@@ -33,7 +33,7 @@ import com.egolm.film.util.SqlWhere;
@Service
public
class
MemberFilmServiceImpl
implements
Member
FilmService
{
public
class
MemberFilmServiceImpl
implements
FilmService
{
@Autowired
private
Messages
messages
;
...
...
@@ -410,4 +410,14 @@ public class MemberFilmServiceImpl implements MemberFilmService {
jdbcTemplate
.
executeUpdate
(
sql
,
3
,
member_film_id
);
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryEnrollList
()
{
return
jdbcTemplate
.
queryForList
(
"select * from fc_film_enroll"
);
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryTypeList
()
{
return
jdbcTemplate
.
queryForList
(
"select * from fc_film_type"
);
}
}
src/main/java/com/egolm/film/api/web/CommonApiController.java
View file @
35f6f442
...
...
@@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.film.api.service.CountryService
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.api.service.LanguageService
;
import
io.swagger.annotations.Api
;
...
...
@@ -23,6 +24,9 @@ public class CommonApiController {
@Autowired
private
LanguageService
languageService
;
@Autowired
private
FilmService
filmService
;
@ResponseBody
@PostMapping
(
"getCountryList"
)
...
...
@@ -39,4 +43,18 @@ public class CommonApiController {
return
Rjx
.
jsonOk
().
setData
(
languageService
.
queryLanguageList
());
}
@ResponseBody
@PostMapping
(
"getEnrollList"
)
@ApiOperation
(
"获取影片性质列表"
)
public
Object
getEnrollList
()
{
return
Rjx
.
jsonOk
().
setData
(
filmService
.
queryEnrollList
());
}
@ResponseBody
@PostMapping
(
"getTypeList"
)
@ApiOperation
(
"获取影片类型列表"
)
public
Object
getTypeList
()
{
return
Rjx
.
jsonOk
().
setData
(
filmService
.
queryTypeList
());
}
}
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
35f6f442
...
...
@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.film.api.service.AdminTokenService
;
import
com.egolm.film.api.service.
Member
FilmService
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_issuer
;
import
com.egolm.film.bean.Fc_member_film_playactor
;
...
...
@@ -35,7 +35,7 @@ import io.swagger.annotations.ApiOperation;
public
class
AdminFirstController
{
@Autowired
Member
FilmService
memberFilmService
;
FilmService
memberFilmService
;
@Autowired
AdminTokenService
tokenService
;
...
...
src/main/java/com/egolm/film/api/web/member/MemberApplyController.java
View file @
35f6f442
...
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
com.egolm.common.bean.Rjx
;
import
com.egolm.film.api.service.
Member
FilmService
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.api.service.MemberService
;
import
com.egolm.film.api.service.MemberTokenService
;
import
com.egolm.film.bean.Fc_member_film
;
...
...
@@ -36,7 +36,7 @@ public class MemberApplyController {
private
MemberService
memberService
;
@Autowired
private
Member
FilmService
memberFilmService
;
private
FilmService
memberFilmService
;
@Autowired
private
MemberTokenService
tokenService
;
...
...
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