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
7b627dbe
Commit
7b627dbe
authored
Feb 13, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
bb5957ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-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
+6
-0
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+11
-0
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
7b627dbe
...
@@ -121,5 +121,7 @@ public interface ReviewService {
...
@@ -121,5 +121,7 @@ public interface ReviewService {
void
toType4
(
Integer
id
);
void
toType4
(
Integer
id
);
List
<
Map
<
String
,
Object
>>
queryShowFilmUserList
(
Integer
review_id
);
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
7b627dbe
...
@@ -602,5 +602,11 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -602,5 +602,11 @@ public class ReviewServiceImpl implements ReviewService {
public
void
toType4
(
Integer
review_id
)
{
public
void
toType4
(
Integer
review_id
)
{
jdbcTemplate
.
executeUpdate
(
"update fc_review set enroll_type_id = 4 where id = ?"
,
review_id
);
jdbcTemplate
.
executeUpdate
(
"update fc_review set enroll_type_id = 4 where id = ?"
,
review_id
);
}
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryShowFilmUserList
(
Integer
review_id
)
{
String
sql
=
"select u.*, ug.group_name from fc_user u left join fc_user_group ug on ug.group_id = u.group_id, fc_user_film uf where u.uid = uf.user_id and uf.review_id = ?"
;
return
jdbcTemplate
.
queryForList
(
sql
,
review_id
);
}
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
7b627dbe
...
@@ -345,6 +345,17 @@ public class AdminReviewController {
...
@@ -345,6 +345,17 @@ public class AdminReviewController {
return
Rjx
.
jsonOk
().
setData
(
list
);
return
Rjx
.
jsonOk
().
setData
(
list
);
}
}
@ResponseBody
@PostMapping
(
"show_user_list"
)
@ApiOperation
(
"查询看片评委"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
name
=
"review_id"
,
value
=
"审片主表ID"
),
})
public
Object
show_user_list
(
Integer
review_id
)
{
List
<
Map
<
String
,
Object
>>
list
=
reviewService
.
queryShowFilmUserList
(
review_id
);
return
Rjx
.
jsonOk
().
setData
(
list
);
}
@ResponseBody
@ResponseBody
@Transactional
@Transactional
@PostMapping
(
"saveReviewRecord"
)
@PostMapping
(
"saveReviewRecord"
)
...
...
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