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
9580d52d
Commit
9580d52d
authored
Feb 19, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
96cd9575
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
ExportServiceImpl.java
...va/com/egolm/film/api/service/impl/ExportServiceImpl.java
+10
-2
ExportConstant.java
src/main/java/com/egolm/film/api/web/ExportConstant.java
+2
-1
No files found.
src/main/java/com/egolm/film/api/service/impl/ExportServiceImpl.java
View file @
9580d52d
...
@@ -195,12 +195,14 @@ public class ExportServiceImpl implements ExportService {
...
@@ -195,12 +195,14 @@ public class ExportServiceImpl implements ExportService {
columns
.
put
(
"film_format"
,
"样片规格"
);
columns
.
put
(
"film_format"
,
"样片规格"
);
columns
.
put
(
"film_format_url"
,
"样片URL"
);
columns
.
put
(
"film_format_url"
,
"样片URL"
);
columns
.
put
(
"film_format_passw"
,
"样片URL密码"
);
columns
.
put
(
"film_format_passw"
,
"样片URL密码"
);
columns
.
put
(
"reviewText"
,
"审片进度"
);
columns
.
put
(
"round_1_text"
,
"一选审片详情"
);
columns
.
put
(
"round_1_text"
,
"一选审片详情"
);
columns
.
put
(
"round_2_text"
,
"二选审片详情"
);
columns
.
put
(
"round_2_text"
,
"二选审片详情"
);
columns
.
put
(
"round_3_text"
,
"三选审片详情"
);
columns
.
put
(
"round_3_text"
,
"三选审片详情"
);
columns
.
put
(
"round_4_text"
,
"影片把关审片详情"
);
columns
.
put
(
"round_4_text"
,
"影片把关审片详情"
);
columns
.
put
(
"round_5_text"
,
"选片委员会审片详情"
);
columns
.
put
(
"round_5_text"
,
"选片委员会审片详情"
);
columns
.
put
(
"round_6_text"
,
"电影总局审片详情"
);
columns
.
put
(
"round_6_text"
,
"电影总局审片详情"
);
columns
.
put
(
"remark"
,
"终审归档"
);
return
columns
;
return
columns
;
}
}
...
@@ -236,6 +238,7 @@ public class ExportServiceImpl implements ExportService {
...
@@ -236,6 +238,7 @@ public class ExportServiceImpl implements ExportService {
+
"mf.film_format, "
+
"mf.film_format, "
+
"mf.film_format_url, "
+
"mf.film_format_url, "
+
"mf.film_format_passw, "
+
"mf.film_format_passw, "
+
"mf.remark, "
+
"r.id review_id, "
+
"r.id review_id, "
+
"r.review_round, "
+
"r.review_round, "
+
"r.review_state, "
+
"r.review_state, "
...
@@ -277,6 +280,12 @@ public class ExportServiceImpl implements ExportService {
...
@@ -277,6 +280,12 @@ public class ExportServiceImpl implements ExportService {
map
.
put
(
"film_format"
,
ExportConstant
.
filmFormat
.
get
(
String
.
valueOf
(
map
.
get
(
"film_format"
))));
map
.
put
(
"film_format"
,
ExportConstant
.
filmFormat
.
get
(
String
.
valueOf
(
map
.
get
(
"film_format"
))));
map
.
put
(
"play_shanghai"
,
ExportConstant
.
playShanghai
.
get
(
String
.
valueOf
(
map
.
get
(
"play_shanghai"
))));
map
.
put
(
"play_shanghai"
,
ExportConstant
.
playShanghai
.
get
(
String
.
valueOf
(
map
.
get
(
"play_shanghai"
))));
Integer
reviewRound
=
(
Integer
)
map
.
get
(
"review_round"
);
Integer
reviewState
=
(
Integer
)
map
.
get
(
"review_state"
);
Integer
optState
=
(
Integer
)
map
.
get
(
"opt_state"
);
String
reviewText
=
ExportConstant
.
rounds
[
reviewRound
]
+
(
reviewState
!=
null
&&
reviewState
!=
0
?
ExportConstant
.
reviewState
[
reviewState
]
:
ExportConstant
.
optState
[
optState
]);
map
.
put
(
"reviewText"
,
reviewText
);
String
enroll_type_name
=
(
String
)
map
.
get
(
"enroll_type_name"
);
String
enroll_type_name
=
(
String
)
map
.
get
(
"enroll_type_name"
);
if
(
StringUtil
.
isNotBlank
(
enroll_type_name
))
{
if
(
StringUtil
.
isNotBlank
(
enroll_type_name
))
{
List
<
String
>
enrolls
=
new
ArrayList
<
String
>();
List
<
String
>
enrolls
=
new
ArrayList
<
String
>();
...
@@ -294,9 +303,8 @@ public class ExportServiceImpl implements ExportService {
...
@@ -294,9 +303,8 @@ public class ExportServiceImpl implements ExportService {
map
.
put
(
"enroll_type_name_other"
,
StringUtil
.
join
(
","
,
others
));
map
.
put
(
"enroll_type_name_other"
,
StringUtil
.
join
(
","
,
others
));
}
}
Integer
review_round
=
((
Number
)
map
.
get
(
"review_round"
)).
intValue
();
Integer
review_id
=
((
Number
)
map
.
get
(
"review_id"
)).
intValue
();
Integer
review_id
=
((
Number
)
map
.
get
(
"review_id"
)).
intValue
();
for
(
int
i
=
1
;
i
<=
6
&&
i
<=
review
_r
ound
;
i
++)
{
for
(
int
i
=
1
;
i
<=
6
&&
i
<=
review
R
ound
;
i
++)
{
StringBuffer
sb
=
new
StringBuffer
();
StringBuffer
sb
=
new
StringBuffer
();
List
<
Map
<
String
,
Object
>>
recordList
=
recordML
.
get
(
review_id
+
","
+
i
);
List
<
Map
<
String
,
Object
>>
recordList
=
recordML
.
get
(
review_id
+
","
+
i
);
if
(
recordList
!=
null
)
{
if
(
recordList
!=
null
)
{
...
...
src/main/java/com/egolm/film/api/web/ExportConstant.java
View file @
9580d52d
...
@@ -95,7 +95,8 @@ public class ExportConstant {
...
@@ -95,7 +95,8 @@ public class ExportConstant {
}
}
public
static
final
String
[]
rounds
=
new
String
[]
{
""
,
"一选"
,
"二选"
,
"三选"
,
"影片把关"
,
"选片委员会"
,
"电影总局"
};
public
static
final
String
[]
rounds
=
new
String
[]
{
""
,
"一选"
,
"二选"
,
"三选"
,
"影片把关"
,
"选片委员会"
,
"电影总局"
};
public
static
final
String
[]
reviewState
=
new
String
[]
{
""
,
"通过"
,
"否决"
,
"参赛"
,
"参赛备选"
,
"参展"
};
public
static
final
String
[]
reviewState
=
new
String
[]
{
"未评选"
,
"通过"
,
"否决"
,
"参赛"
,
"参赛备选"
,
"参展"
};
public
static
final
String
[]
optState
=
new
String
[]
{
"未评选"
,
"争议"
,
"待分配"
,
"已完成"
};
}
}
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