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
e6bd5096
Commit
e6bd5096
authored
Dec 04, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
295a01a0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
111 additions
and
200 deletions
+111
-200
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+1
-2
Fc_review_result.java
src/main/java/com/egolm/film/bean/Fc_review_result.java
+0
-178
Fc_review_user.java
src/main/java/com/egolm/film/bean/Fc_review_user.java
+106
-16
Fc_review_user_ext.java
src/main/java/com/egolm/film/bean/Fc_review_user_ext.java
+4
-4
No files found.
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
e6bd5096
...
...
@@ -514,8 +514,7 @@ public class FilmServiceImpl implements FilmService {
Fc_review_user
ru
=
new
Fc_review_user
();
ru
.
setReview_id
(
review
.
getId
());
ru
.
setUser_id
(
i
);
ru
.
setUser_view_state
(
0
);
ru
.
setUser_review_state
(
0
);
ru
.
setView_state
(
0
);
}
jdbcTemplate
.
batchSave
(
list
);
}
...
...
src/main/java/com/egolm/film/bean/Fc_review_result.java
deleted
100644 → 0
View file @
295a01a0
package
com
.
egolm
.
film
.
bean
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
/**
* @author 曲欣亮
*/
@Entity
(
name
=
"fc_review_result"
)
public
class
Fc_review_result
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@Id
private
Integer
id
;
/**
* 总审片记录ID
*/
private
Integer
review_id
;
/**
* 审片评委ID
*/
private
Integer
user_id
;
/**
* 2通过,3否决,4参赛,5参赛备选,6参展
*/
private
Integer
review_state
;
/**
* 得分分数
*/
private
Double
review_score
;
/**
* 影片评论
*/
private
String
review_text
;
/**
* 影片概述
*/
private
String
review_text_summary
;
/**
* 叙事/题材
*/
private
String
review_text_theme
;
/**
* 风格/美学
*/
private
String
review_text_style
;
/**
* 突出/优缺点
*/
private
String
review_text_keynote
;
/**
* 无参数构造方法
*/
public
Fc_review_result
()
{
super
();
}
/**
* 全参数构造方法
* @param id
* @param review_id 总审片记录ID
* @param user_id 审片评委ID
* @param review_state 2通过,3否决,4参赛,5参赛备选,6参展
* @param review_score 得分分数
* @param review_text 影片评论
* @param review_text_summary 影片概述
* @param review_text_theme 叙事/题材
* @param review_text_style 风格/美学
* @param review_text_keynote 突出/优缺点
*/
public
Fc_review_result
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Integer
review_state
,
Double
review_score
,
String
review_text
,
String
review_text_summary
,
String
review_text_theme
,
String
review_text_style
,
String
review_text_keynote
)
{
this
.
id
=
id
;
this
.
review_id
=
review_id
;
this
.
user_id
=
user_id
;
this
.
review_state
=
review_state
;
this
.
review_score
=
review_score
;
this
.
review_text
=
review_text
;
this
.
review_text_summary
=
review_text_summary
;
this
.
review_text_theme
=
review_text_theme
;
this
.
review_text_style
=
review_text_style
;
this
.
review_text_keynote
=
review_text_keynote
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getId
()
{
return
id
;
}
public
void
setReview_id
(
Integer
review_id
)
{
this
.
review_id
=
review_id
;
}
public
Integer
getReview_id
()
{
return
review_id
;
}
public
void
setUser_id
(
Integer
user_id
)
{
this
.
user_id
=
user_id
;
}
public
Integer
getUser_id
()
{
return
user_id
;
}
public
void
setReview_state
(
Integer
review_state
)
{
this
.
review_state
=
review_state
;
}
public
Integer
getReview_state
()
{
return
review_state
;
}
public
void
setReview_score
(
Double
review_score
)
{
this
.
review_score
=
review_score
;
}
public
Double
getReview_score
()
{
return
review_score
;
}
public
void
setReview_text
(
String
review_text
)
{
this
.
review_text
=
review_text
;
}
public
String
getReview_text
()
{
return
review_text
;
}
public
void
setReview_text_summary
(
String
review_text_summary
)
{
this
.
review_text_summary
=
review_text_summary
;
}
public
String
getReview_text_summary
()
{
return
review_text_summary
;
}
public
void
setReview_text_theme
(
String
review_text_theme
)
{
this
.
review_text_theme
=
review_text_theme
;
}
public
String
getReview_text_theme
()
{
return
review_text_theme
;
}
public
void
setReview_text_style
(
String
review_text_style
)
{
this
.
review_text_style
=
review_text_style
;
}
public
String
getReview_text_style
()
{
return
review_text_style
;
}
public
void
setReview_text_keynote
(
String
review_text_keynote
)
{
this
.
review_text_keynote
=
review_text_keynote
;
}
public
String
getReview_text_keynote
()
{
return
review_text_keynote
;
}
}
src/main/java/com/egolm/film/bean/Fc_review_user.java
View file @
e6bd5096
...
...
@@ -28,12 +28,42 @@ public class Fc_review_user implements java.io.Serializable {
/**
* 0未观看,1已观看
*/
private
Integer
user_
view_state
;
private
Integer
view_state
;
/**
*
0未审片,1暂存,2已提交
*
2通过,3否决,4参赛,5参赛备选,6参展
*/
private
Integer
user_review_state
;
private
Integer
review_state
;
/**
* 得分分数
*/
private
Double
review_score
;
/**
* 影片评论
*/
private
String
review_text
;
/**
* 影片概述
*/
private
String
review_text_summary
;
/**
* 叙事/题材
*/
private
String
review_text_theme
;
/**
* 风格/美学
*/
private
String
review_text_style
;
/**
* 突出/优缺点
*/
private
String
review_text_keynote
;
/**
...
...
@@ -48,15 +78,27 @@ public class Fc_review_user implements java.io.Serializable {
* @param id
* @param review_id 审片记录ID
* @param user_id 评委ID
* @param user_view_state 0未观看,1已观看
* @param user_review_state 0未审片,1暂存,2已提交
* @param view_state 0未观看,1已观看
* @param review_state 2通过,3否决,4参赛,5参赛备选,6参展
* @param review_score 得分分数
* @param review_text 影片评论
* @param review_text_summary 影片概述
* @param review_text_theme 叙事/题材
* @param review_text_style 风格/美学
* @param review_text_keynote 突出/优缺点
*/
public
Fc_review_user
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Integer
user_view_state
,
Integer
user_review_sta
te
)
{
public
Fc_review_user
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Integer
view_state
,
Integer
review_state
,
Double
review_score
,
String
review_text
,
String
review_text_summary
,
String
review_text_theme
,
String
review_text_style
,
String
review_text_keyno
te
)
{
this
.
id
=
id
;
this
.
review_id
=
review_id
;
this
.
user_id
=
user_id
;
this
.
user_view_state
=
user_view_state
;
this
.
user_review_state
=
user_review_state
;
this
.
view_state
=
view_state
;
this
.
review_state
=
review_state
;
this
.
review_score
=
review_score
;
this
.
review_text
=
review_text
;
this
.
review_text_summary
=
review_text_summary
;
this
.
review_text_theme
=
review_text_theme
;
this
.
review_text_style
=
review_text_style
;
this
.
review_text_keynote
=
review_text_keynote
;
}
public
void
setId
(
Integer
id
)
{
...
...
@@ -83,20 +125,68 @@ public class Fc_review_user implements java.io.Serializable {
return
user_id
;
}
public
void
setUser_view_state
(
Integer
user_view_state
)
{
this
.
user_view_state
=
user_view_state
;
public
void
setView_state
(
Integer
view_state
)
{
this
.
view_state
=
view_state
;
}
public
Integer
getView_state
()
{
return
view_state
;
}
public
void
setReview_state
(
Integer
review_state
)
{
this
.
review_state
=
review_state
;
}
public
Integer
getReview_state
()
{
return
review_state
;
}
public
void
setReview_score
(
Double
review_score
)
{
this
.
review_score
=
review_score
;
}
public
Double
getReview_score
()
{
return
review_score
;
}
public
void
setReview_text
(
String
review_text
)
{
this
.
review_text
=
review_text
;
}
public
String
getReview_text
()
{
return
review_text
;
}
public
void
setReview_text_summary
(
String
review_text_summary
)
{
this
.
review_text_summary
=
review_text_summary
;
}
public
String
getReview_text_summary
()
{
return
review_text_summary
;
}
public
void
setReview_text_theme
(
String
review_text_theme
)
{
this
.
review_text_theme
=
review_text_theme
;
}
public
String
getReview_text_theme
()
{
return
review_text_theme
;
}
public
void
setReview_text_style
(
String
review_text_style
)
{
this
.
review_text_style
=
review_text_style
;
}
public
Integer
getUser_view_stat
e
()
{
return
user_view_stat
e
;
public
String
getReview_text_styl
e
()
{
return
review_text_styl
e
;
}
public
void
set
User_review_state
(
Integer
user_review_sta
te
)
{
this
.
user_review_state
=
user_review_sta
te
;
public
void
set
Review_text_keynote
(
String
review_text_keyno
te
)
{
this
.
review_text_keynote
=
review_text_keyno
te
;
}
public
Integer
getUser_review_sta
te
()
{
return
user_review_sta
te
;
public
String
getReview_text_keyno
te
()
{
return
review_text_keyno
te
;
}
}
...
...
src/main/java/com/egolm/film/bean/Fc_review_
result
_ext.java
→
src/main/java/com/egolm/film/bean/Fc_review_
user
_ext.java
View file @
e6bd5096
...
...
@@ -7,8 +7,8 @@ import javax.persistence.Id;
/**
* @author 曲欣亮
*/
@Entity
(
name
=
"fc_review_
result
_ext"
)
public
class
Fc_review_
result
_ext
implements
java
.
io
.
Serializable
{
@Entity
(
name
=
"fc_review_
user
_ext"
)
public
class
Fc_review_
user
_ext
implements
java
.
io
.
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -44,7 +44,7 @@ public class Fc_review_result_ext implements java.io.Serializable {
/**
* 无参数构造方法
*/
public
Fc_review_
result
_ext
()
{
public
Fc_review_
user
_ext
()
{
super
();
}
...
...
@@ -57,7 +57,7 @@ public class Fc_review_result_ext implements java.io.Serializable {
* @param enroll_ext_score 影片申报奖项评分
* @param review_text 评委审片结论
*/
public
Fc_review_
result
_ext
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Integer
enroll_ext_id
,
Double
enroll_ext_score
,
String
review_text
)
{
public
Fc_review_
user
_ext
(
Integer
id
,
Integer
review_id
,
Integer
user_id
,
Integer
enroll_ext_id
,
Double
enroll_ext_score
,
String
review_text
)
{
this
.
id
=
id
;
this
.
review_id
=
review_id
;
this
.
user_id
=
user_id
;
...
...
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