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
36e16163
Commit
36e16163
authored
Dec 06, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
4bd10bfd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
UserReviewController.java
...ava/com/egolm/film/api/web/user/UserReviewController.java
+24
-0
No files found.
src/main/java/com/egolm/film/api/web/user/UserReviewController.java
View file @
36e16163
...
...
@@ -96,4 +96,28 @@ public class UserReviewController {
List
<
Map
<
String
,
Object
>>
list
=
service
.
queryDoubtfulListByFilmId
(
film_id
,
user_id
);
return
Rjx
.
jsonOk
().
setData
(
list
);
}
@ResponseBody
@PostMapping
(
"doubtful_save"
)
@ApiOperation
(
"保存疑点记录"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"review_id"
,
value
=
"审片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"enroll_type_id"
,
value
=
"申报奖项ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
name
=
"doubtful_type_id"
,
value
=
"疑点类型ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"doubtful_text"
,
value
=
"疑点描述"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"date"
,
required
=
false
,
name
=
"play_time"
,
value
=
"播放时间{yyyy-MM-dd HH:mm:ss}"
),
})
public
Object
saveReviewRecord
(
Integer
review_id
,
Integer
doubtful_type_id
,
String
doubtful_text
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
Date
play_time
)
{
LoginToken
token
=
tokenService
.
getToken
();
Integer
user_id
=
(
Integer
)
token
.
getId
();
Fc_review_doubtful
doubtful
=
new
Fc_review_doubtful
();
doubtful
.
setCreate_time
(
new
Date
());
doubtful
.
setDoubtful_text
(
doubtful_text
);
doubtful
.
setDoubtful_type_id
(
doubtful_type_id
);
doubtful
.
setPlay_time
(
play_time
);
doubtful
.
setReview_id
(
review_id
);
doubtful
.
setUser_id
(
user_id
);
service
.
saveDoubtful
(
doubtful
);
return
Rjx
.
jsonOk
().
setData
(
doubtful
);
}
}
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