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
c6a651c6
Commit
c6a651c6
authored
Dec 24, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a9f15216
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
UserReviewController.java
...ava/com/egolm/film/api/web/user/UserReviewController.java
+3
-1
No files found.
src/main/java/com/egolm/film/api/web/user/UserReviewController.java
View file @
c6a651c6
...
@@ -133,6 +133,7 @@ public class UserReviewController {
...
@@ -133,6 +133,7 @@ public class UserReviewController {
@ApiOperation
(
"评委审片"
)
@ApiOperation
(
"评委审片"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"review_id"
,
value
=
"审片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"review_id"
,
value
=
"审片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"view_time"
,
value
=
"看片时间"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
name
=
"review_score"
,
value
=
"评分"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
name
=
"review_score"
,
value
=
"评分"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"review_text"
,
value
=
"评语"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"review_text"
,
value
=
"评语"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"review_text_1"
,
value
=
"评语1"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"review_text_1"
,
value
=
"评语1"
),
...
@@ -142,10 +143,11 @@ public class UserReviewController {
...
@@ -142,10 +143,11 @@ public class UserReviewController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"ext_title"
,
value
=
"获奖标题 例如: 最佳男演员-张三"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"ext_title"
,
value
=
"获奖标题 例如: 最佳男演员-张三"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"ext_score"
,
value
=
"奖项得分"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"ext_score"
,
value
=
"奖项得分"
),
})
})
public
Object
saveReviewRecord
(
Integer
review_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
)
{
public
Object
saveReviewRecord
(
Integer
review_id
,
Integer
view_time
,
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
)
{
LoginToken
token
=
tokenService
.
getToken
();
LoginToken
token
=
tokenService
.
getToken
();
Integer
user_id
=
(
Integer
)
token
.
getId
();
Integer
user_id
=
(
Integer
)
token
.
getId
();
Fc_review_record
ru
=
service
.
queryReviewRecord
(
user_id
,
review_id
);
Fc_review_record
ru
=
service
.
queryReviewRecord
(
user_id
,
review_id
);
ru
.
setView_time
(
view_time
);
ru
.
setReview_score
(
review_score
);
ru
.
setReview_score
(
review_score
);
ru
.
setReview_state
(
review_state
);
ru
.
setReview_state
(
review_state
);
ru
.
setReview_text
(
review_text
);
ru
.
setReview_text
(
review_text
);
...
...
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