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
b84a977d
Commit
b84a977d
authored
Feb 28, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
c9dd0000
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
FilmService.java
src/main/java/com/egolm/film/api/service/FilmService.java
+2
-0
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+5
-0
FilmController.java
src/main/java/com/egolm/film/api/web/FilmController.java
+12
-0
No files found.
src/main/java/com/egolm/film/api/service/FilmService.java
View file @
b84a977d
...
...
@@ -158,4 +158,6 @@ public interface FilmService {
public
void
updateFilmUploadState
(
String
[]
film_id
,
String
[]
number
);
void
saveOrUpdateFilmExt
(
Fc_member_film_ext
filmExt
);
Fc_member_film_ext
queryFilmExt
(
Integer
id
);
}
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
b84a977d
...
...
@@ -669,4 +669,9 @@ public class FilmServiceImpl implements FilmService {
public
void
saveOrUpdateFilmExt
(
Fc_member_film_ext
filmExt
)
{
jdbcTemplate
.
saveOrUpdate
(
filmExt
);
}
@Override
public
Fc_member_film_ext
queryFilmExt
(
Integer
id
)
{
return
jdbcTemplate
.
queryForBean
(
"select * from fc_member_film_ext where id = ?"
,
Fc_member_film_ext
.
class
,
id
);
}
}
src/main/java/com/egolm/film/api/web/FilmController.java
View file @
b84a977d
...
...
@@ -244,4 +244,16 @@ public class FilmController {
return
Rjx
.
jsonOk
();
}
@ResponseBody
@Transactional
@PostMapping
(
"get_film_ext"
)
@ApiOperation
(
"保存电影扩展信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
name
=
"id"
,
value
=
"影片ID"
),
})
public
Object
update_base
(
Integer
id
)
{
filmService
.
queryFilmExt
(
id
);
return
Rjx
.
jsonOk
();
}
}
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