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
6a57e180
Commit
6a57e180
authored
Feb 26, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
e6d31840
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+5
-0
No files found.
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
6a57e180
...
...
@@ -24,6 +24,7 @@ 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.api.service.ReviewService
;
import
com.egolm.film.bean.Enum_enroll
;
import
com.egolm.film.bean.Enum_filmtype
;
import
com.egolm.film.bean.Fc_member_film
;
...
...
@@ -47,6 +48,9 @@ public class FilmServiceImpl implements FilmService {
@Autowired
private
JdbcTemplate
jdbcTemplate
;
@Autowired
private
ReviewService
reviewService
;
@Override
public
List
<
Fc_member_film_issuer
>
queryMemberFilmIssuerList
(
Long
member_film_id
)
{
...
...
@@ -593,6 +597,7 @@ public class FilmServiceImpl implements FilmService {
jdbcTemplate
.
batchUpdate
(
"delete from fc_review_record where review_id in (select id from fc_review where film_id = ?)"
,
new
Object
[][]{{
id1
},
{
id2
}});
jdbcTemplate
.
batchUpdate
(
"delete from fc_review_history where review_id in (select id from fc_review where film_id = ?)"
,
new
Object
[][]{{
id1
},
{
id2
}});
jdbcTemplate
.
batchUpdate
(
"delete from fc_review where id = ?"
,
new
Object
[][]{{
id1
},
{
id2
}});
reviewService
.
toFirstRound
(
id1
.
longValue
());
}
@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