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
d9578c52
Commit
d9578c52
authored
Jan 25, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
98ef90c6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
ReviewServiceImpl.java
...va/com/egolm/film/api/service/impl/ReviewServiceImpl.java
+5
-0
WebUtilController.java
.../java/com/egolm/film/api/web/admin/WebUtilController.java
+1
-0
Fc_review.java
src/main/java/com/egolm/film/bean/Fc_review.java
+11
-0
No files found.
src/main/java/com/egolm/film/api/service/impl/ReviewServiceImpl.java
View file @
d9578c52
...
@@ -346,6 +346,9 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -346,6 +346,9 @@ public class ReviewServiceImpl implements ReviewService {
review
.
setOpt_state
(
0
);
review
.
setOpt_state
(
0
);
review
.
setReview_state
(
null
);
review
.
setReview_state
(
null
);
review
.
setCreate_time
(
now
);
review
.
setCreate_time
(
now
);
if
(
enroll_type_id
==
4
)
{
review
.
setFrom_round
(
0
);
}
jdbcTemplate
.
save
(
review
);
jdbcTemplate
.
save
(
review
);
}
else
{
}
else
{
throw
new
XRException
(
"该影已存在审片流程"
);
throw
new
XRException
(
"该影已存在审片流程"
);
...
@@ -404,6 +407,7 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -404,6 +407,7 @@ public class ReviewServiceImpl implements ReviewService {
private
void
transfer_4_flow_4
(
Fc_review
review
)
{
private
void
transfer_4_flow_4
(
Fc_review
review
)
{
Date
now
=
new
Date
();
Date
now
=
new
Date
();
review
.
setFrom_round
(
review
.
getReview_round
());
review
.
setEnroll_type_id
(
4
);
review
.
setEnroll_type_id
(
4
);
review
.
setReview_round
(
4
);
review
.
setReview_round
(
4
);
review
.
setPush_time
(
now
);
review
.
setPush_time
(
now
);
...
@@ -416,6 +420,7 @@ public class ReviewServiceImpl implements ReviewService {
...
@@ -416,6 +420,7 @@ public class ReviewServiceImpl implements ReviewService {
private
void
transfer_4_flow_5
(
Fc_review
review
)
{
private
void
transfer_4_flow_5
(
Fc_review
review
)
{
Date
now
=
new
Date
();
Date
now
=
new
Date
();
review
.
setFrom_round
(
review
.
getReview_round
());
review
.
setEnroll_type_id
(
4
);
review
.
setEnroll_type_id
(
4
);
review
.
setReview_round
(
5
);
review
.
setReview_round
(
5
);
review
.
setPush_time
(
now
);
review
.
setPush_time
(
now
);
...
...
src/main/java/com/egolm/film/api/web/admin/WebUtilController.java
View file @
d9578c52
...
@@ -142,6 +142,7 @@ public class WebUtilController {
...
@@ -142,6 +142,7 @@ public class WebUtilController {
this
.
verifyAuth
();
this
.
verifyAuth
();
jdbcTemplate
.
executeUpdate
(
"delete from fc_review"
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_review"
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_review_record"
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_review_record"
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_review_history"
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_review_record_ext"
);
jdbcTemplate
.
executeUpdate
(
"delete from fc_review_record_ext"
);
List
<
Fc_member_film
>
films
=
jdbcTemplate
.
queryForBeans
(
"select * from fc_member_film where apply_state = 2"
,
Fc_member_film
.
class
);
List
<
Fc_member_film
>
films
=
jdbcTemplate
.
queryForBeans
(
"select * from fc_member_film where apply_state = 2"
,
Fc_member_film
.
class
);
for
(
Fc_member_film
film
:
films
)
{
for
(
Fc_member_film
film
:
films
)
{
...
...
src/main/java/com/egolm/film/bean/Fc_review.java
View file @
d9578c52
...
@@ -35,6 +35,9 @@ public class Fc_review implements java.io.Serializable {
...
@@ -35,6 +35,9 @@ public class Fc_review implements java.io.Serializable {
@Column
(
columnDefinition
=
"int(11) COMMENT '评选状态 0未评选 1有争议 2管理员分配 3审片完成'"
)
@Column
(
columnDefinition
=
"int(11) COMMENT '评选状态 0未评选 1有争议 2管理员分配 3审片完成'"
)
private
Integer
opt_state
;
private
Integer
opt_state
;
@Column
(
columnDefinition
=
"int(11) COMMENT '0原始 2二选 3三选'"
)
private
Integer
from_round
;
@Column
(
columnDefinition
=
"datetime COMMENT '推送时间'"
)
@Column
(
columnDefinition
=
"datetime COMMENT '推送时间'"
)
private
Date
push_time
;
private
Date
push_time
;
...
@@ -101,6 +104,14 @@ public class Fc_review implements java.io.Serializable {
...
@@ -101,6 +104,14 @@ public class Fc_review implements java.io.Serializable {
return
opt_state
;
return
opt_state
;
}
}
public
void
setFrom_round
(
Integer
from_round
)
{
this
.
from_round
=
from_round
;
}
public
Integer
getFrom_round
()
{
return
from_round
;
}
public
void
setPush_time
(
Date
push_time
)
{
public
void
setPush_time
(
Date
push_time
)
{
this
.
push_time
=
push_time
;
this
.
push_time
=
push_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