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
415998e5
Commit
415998e5
authored
Dec 24, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
f40e29a1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
ReviewService.java
src/main/java/com/egolm/film/api/service/ReviewService.java
+1
-1
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+1
-1
AdminReviewController.java
...a/com/egolm/film/api/web/admin/AdminReviewController.java
+2
-2
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
415998e5
...
...
@@ -92,6 +92,6 @@ public interface ReviewService {
void
deleteDoubtfulById
(
Integer
id
);
Fc_review_record
queryReviewRecord
(
Integer
record_id
);
Fc_review_record
queryReviewRecord
ById
(
Integer
record_id
);
}
\ No newline at end of file
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
415998e5
...
...
@@ -575,7 +575,7 @@ public class ReviewServiceImpl implements ReviewService {
}
@Override
public
Fc_review_record
queryReviewRecord
(
Integer
record_id
)
{
public
Fc_review_record
queryReviewRecord
ById
(
Integer
record_id
)
{
return
jdbcTemplate
.
queryForBean
(
"select * from fc_review_record where id = ?"
,
Fc_review_record
.
class
,
record_id
);
}
...
...
src/main/java/com/egolm/film/api/web/admin/AdminReviewController.java
View file @
415998e5
...
...
@@ -155,7 +155,7 @@ public class AdminReviewController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"ext_score"
,
value
=
"奖项得分"
),
})
public
Object
saveReviewRecord
(
Integer
record_id
,
Integer
review_state
,
Double
review_score
,
String
review_text
,
String
review_text_1
,
String
review_text_2
,
String
review_text_3
,
String
review_text_4
,
String
[]
ext_title
,
Double
[]
ext_score
)
{
Fc_review_record
ru
=
reviewService
.
queryReviewRecord
(
record_id
);
Fc_review_record
ru
=
reviewService
.
queryReviewRecord
ById
(
record_id
);
ru
.
setReview_score
(
review_score
);
ru
.
setReview_state
(
review_state
);
ru
.
setReview_text
(
review_text
);
...
...
@@ -213,7 +213,7 @@ public class AdminReviewController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"record_id"
,
value
=
"审片记录ID"
),
})
public
Object
getReviewRecord
(
Integer
record_id
)
{
Fc_review_record
record
=
reviewService
.
queryReviewRecord
(
record_id
);
Fc_review_record
record
=
reviewService
.
queryReviewRecord
ById
(
record_id
);
List
<
Fc_review_record_ext
>
extList
=
reviewService
.
queryReviewRecordExtList
(
record
.
getId
());
return
Rjx
.
jsonOk
().
setData
(
record
).
set
(
"exts"
,
extList
);
}
...
...
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