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
63d7db89
Commit
63d7db89
authored
Feb 13, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
f3873dc6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
ReviewService.java
src/main/java/com/egolm/film/api/service/ReviewService.java
+2
-0
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+5
-0
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+3
-0
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
63d7db89
...
@@ -119,5 +119,7 @@ public interface ReviewService {
...
@@ -119,5 +119,7 @@ public interface ReviewService {
List
<
Map
<
String
,
Object
>>
queryUserShowList
(
Integer
user_id
);
List
<
Map
<
String
,
Object
>>
queryUserShowList
(
Integer
user_id
);
void
toType4
(
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
63d7db89
...
@@ -598,4 +598,9 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -598,4 +598,9 @@ public class ReviewServiceImpl implements ReviewService {
return
jdbcTemplate
.
queryForList
(
sql
,
user_id
);
return
jdbcTemplate
.
queryForList
(
sql
,
user_id
);
}
}
@Override
public
void
toType4
(
Integer
review_id
)
{
jdbcTemplate
.
executeUpdate
(
"update fc_review set enroll_type_id = 4 where id = ?"
,
review_id
);
}
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
63d7db89
...
@@ -309,6 +309,9 @@ public class AdminReviewController {
...
@@ -309,6 +309,9 @@ public class AdminReviewController {
throw
new
XRException
(
"亚新二选和三选评分不能跳过"
);
throw
new
XRException
(
"亚新二选和三选评分不能跳过"
);
}
}
}
}
if
(
review
.
getReview_state
().
intValue
()
==
5
&&
review
.
getEnroll_type_id
().
intValue
()
!=
4
)
{
reviewService
.
toType4
(
review
.
getId
());
}
reviewService
.
toRound
(
review_id
,
review_round
);
reviewService
.
toRound
(
review_id
,
review_round
);
}
else
{
}
else
{
throw
new
XRException
(
"审片流程不能后退"
);
throw
new
XRException
(
"审片流程不能后退"
);
...
...
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