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
b895a0df
Commit
b895a0df
authored
Dec 24, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
c6a651c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
UserReviewController.java
...ava/com/egolm/film/api/web/user/UserReviewController.java
+2
-2
Fc_review_record.java
src/main/java/com/egolm/film/bean/Fc_review_record.java
+6
-6
No files found.
src/main/java/com/egolm/film/api/web/user/UserReviewController.java
View file @
b895a0df
...
@@ -133,7 +133,7 @@ public class UserReviewController {
...
@@ -133,7 +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
=
"
long"
,
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"
),
...
@@ -143,7 +143,7 @@ public class UserReviewController {
...
@@ -143,7 +143,7 @@ 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
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
)
{
public
Object
saveReviewRecord
(
Integer
review_id
,
Long
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
);
...
...
src/main/java/com/egolm/film/bean/Fc_review_record.java
View file @
b895a0df
...
@@ -31,9 +31,9 @@ public class Fc_review_record implements java.io.Serializable {
...
@@ -31,9 +31,9 @@ public class Fc_review_record implements java.io.Serializable {
private
Integer
user_id
;
private
Integer
user_id
;
/**
/**
* 观看时长(
分钟
)
* 观看时长(
毫秒
)
*/
*/
private
Integer
view_time
;
private
Long
view_time
;
/**
/**
* 评选轮数
* 评选轮数
...
@@ -78,7 +78,7 @@ public class Fc_review_record implements java.io.Serializable {
...
@@ -78,7 +78,7 @@ public class Fc_review_record implements java.io.Serializable {
* @param id 影片ID
* @param id 影片ID
* @param review_id 评选轮数
* @param review_id 评选轮数
* @param user_id 评委ID
* @param user_id 评委ID
* @param view_time 观看时长(
分钟
)
* @param view_time 观看时长(
毫秒
)
* @param review_round 评选轮数
* @param review_round 评选轮数
* @param review_state 审片状态 1通过,2否决,3参赛,4参赛备选,5参展
* @param review_state 审片状态 1通过,2否决,3参赛,4参赛备选,5参展
* @param review_score 得分分数
* @param review_score 得分分数
...
@@ -89,7 +89,7 @@ public class Fc_review_record implements java.io.Serializable {
...
@@ -89,7 +89,7 @@ public class Fc_review_record implements java.io.Serializable {
* @param review_text_4
* @param review_text_4
* @param create_time
* @param create_time
*/
*/
public
Fc_review_record
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Integer
view_time
,
Integer
review_round
,
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
,
Date
create_time
)
{
public
Fc_review_record
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Long
view_time
,
Integer
review_round
,
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
,
Date
create_time
)
{
this
.
id
=
id
;
this
.
id
=
id
;
this
.
review_id
=
review_id
;
this
.
review_id
=
review_id
;
this
.
user_id
=
user_id
;
this
.
user_id
=
user_id
;
...
@@ -129,11 +129,11 @@ public class Fc_review_record implements java.io.Serializable {
...
@@ -129,11 +129,11 @@ public class Fc_review_record implements java.io.Serializable {
return
user_id
;
return
user_id
;
}
}
public
void
setView_time
(
Integer
view_time
)
{
public
void
setView_time
(
Long
view_time
)
{
this
.
view_time
=
view_time
;
this
.
view_time
=
view_time
;
}
}
public
Integer
getView_time
()
{
public
Long
getView_time
()
{
return
view_time
;
return
view_time
;
}
}
...
...
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