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
a98d4376
Commit
a98d4376
authored
Dec 21, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
3b6666e2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
186 additions
and
38 deletions
+186
-38
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
+169
-34
UserReviewController.java
...ava/com/egolm/film/api/web/user/UserReviewController.java
+0
-2
Fc_review.java
src/main/java/com/egolm/film/bean/Fc_review.java
+16
-1
No files found.
src/main/java/com/egolm/film/api/service/ReviewService.java
View file @
a98d4376
...
@@ -87,5 +87,5 @@ public interface ReviewService {
...
@@ -87,5 +87,5 @@ public interface ReviewService {
void
saveReviewRecordIfNotExists
(
Integer
review_id
,
Integer
review_round
,
Integer
[]
user_id
);
void
saveReviewRecordIfNotExists
(
Integer
review_id
,
Integer
review_round
,
Integer
[]
user_id
);
void
deleteDoubtfulById
(
Integer
id
);
void
deleteDoubtfulById
(
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
a98d4376
This diff is collapsed.
Click to expand it.
src/main/java/com/egolm/film/api/web/user/UserReviewController.java
View file @
a98d4376
...
@@ -121,7 +121,6 @@ public class UserReviewController {
...
@@ -121,7 +121,6 @@ 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
=
"review_state"
,
value
=
"审片状态 1通过,2否决,3参赛,4参赛备选,5参展"
),
@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"
),
...
@@ -130,7 +129,6 @@ public class UserReviewController {
...
@@ -130,7 +129,6 @@ public class UserReviewController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"review_text_4"
,
value
=
"评语4"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"review_text_4"
,
value
=
"评语4"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"enroll_ext_id"
,
value
=
"才赛奖项ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"enroll_ext_id"
,
value
=
"才赛奖项ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"enroll_ext_score"
,
value
=
"才赛奖项得分"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"double"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"enroll_ext_score"
,
value
=
"才赛奖项得分"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
allowMultiple
=
true
,
name
=
"enroll_ext_text"
,
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
,
Integer
[]
enroll_ext_id
,
Double
[]
enroll_ext_score
,
String
[]
enroll_ext_text
)
{
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
,
Integer
[]
enroll_ext_id
,
Double
[]
enroll_ext_score
,
String
[]
enroll_ext_text
)
{
LoginToken
token
=
tokenService
.
getToken
();
LoginToken
token
=
tokenService
.
getToken
();
...
...
src/main/java/com/egolm/film/bean/Fc_review.java
View file @
a98d4376
...
@@ -22,6 +22,11 @@ public class Fc_review implements java.io.Serializable {
...
@@ -22,6 +22,11 @@ public class Fc_review implements java.io.Serializable {
*/
*/
private
Integer
film_id
;
private
Integer
film_id
;
/**
* 影片性质
*/
private
Integer
enroll_type_id
;
/**
/**
* 审片轮数,第几轮审片
* 审片轮数,第几轮审片
*/
*/
...
@@ -61,6 +66,7 @@ public class Fc_review implements java.io.Serializable {
...
@@ -61,6 +66,7 @@ public class Fc_review implements java.io.Serializable {
* 全参数构造方法
* 全参数构造方法
* @param id
* @param id
* @param film_id 参审影片ID
* @param film_id 参审影片ID
* @param enroll_type_id 影片性质
* @param review_round 审片轮数,第几轮审片
* @param review_round 审片轮数,第几轮审片
* @param allot_state 评委分配状态 0未分配评委 1已分配评委评选中
* @param allot_state 评委分配状态 0未分配评委 1已分配评委评选中
* @param review_state 审片结论 1通过 2否决 3参赛 4参赛备选 5参展
* @param review_state 审片结论 1通过 2否决 3参赛 4参赛备选 5参展
...
@@ -68,9 +74,10 @@ public class Fc_review implements java.io.Serializable {
...
@@ -68,9 +74,10 @@ public class Fc_review implements java.io.Serializable {
* @param push_time 推送时间
* @param push_time 推送时间
* @param create_time
* @param create_time
*/
*/
public
Fc_review
(
Integer
id
,
Integer
film_id
,
Integer
review_round
,
Integer
allot_state
,
Integer
review_state
,
Integer
opt_state
,
Date
push_time
,
Date
create_time
)
{
public
Fc_review
(
Integer
id
,
Integer
film_id
,
Integer
enroll_type_id
,
Integer
review_round
,
Integer
allot_state
,
Integer
review_state
,
Integer
opt_state
,
Date
push_time
,
Date
create_time
)
{
this
.
id
=
id
;
this
.
id
=
id
;
this
.
film_id
=
film_id
;
this
.
film_id
=
film_id
;
this
.
enroll_type_id
=
enroll_type_id
;
this
.
review_round
=
review_round
;
this
.
review_round
=
review_round
;
this
.
allot_state
=
allot_state
;
this
.
allot_state
=
allot_state
;
this
.
review_state
=
review_state
;
this
.
review_state
=
review_state
;
...
@@ -95,6 +102,14 @@ public class Fc_review implements java.io.Serializable {
...
@@ -95,6 +102,14 @@ public class Fc_review implements java.io.Serializable {
return
film_id
;
return
film_id
;
}
}
public
void
setEnroll_type_id
(
Integer
enroll_type_id
)
{
this
.
enroll_type_id
=
enroll_type_id
;
}
public
Integer
getEnroll_type_id
()
{
return
enroll_type_id
;
}
public
void
setReview_round
(
Integer
review_round
)
{
public
void
setReview_round
(
Integer
review_round
)
{
this
.
review_round
=
review_round
;
this
.
review_round
=
review_round
;
}
}
...
...
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