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
6556030d
Commit
6556030d
authored
Oct 16, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
cb122595
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
MemberServiceImpl.java
...egolm/film/api/member/service/impl/MemberServiceImpl.java
+7
-11
No files found.
src/main/java/com/egolm/film/api/member/service/impl/MemberServiceImpl.java
View file @
6556030d
...
@@ -163,7 +163,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -163,7 +163,7 @@ public class MemberServiceImpl implements MemberService {
Integer
is_show
=
1
;
Integer
is_show
=
1
;
Integer
apply_state
=
1
;
Integer
apply_state
=
1
;
Integer
is_check_director
=
0
;
Integer
is_check_director
=
0
;
Long
create_time
=
System
.
currentTimeMillis
();
Long
create_time
=
System
.
currentTimeMillis
()
/
1000
;
Long
last_modify_time
=
create_time
;
Long
last_modify_time
=
create_time
;
String
create_ip
=
ServletUtil
.
remoteIp
(
WebMvcConfig
.
getRequest
());
String
create_ip
=
ServletUtil
.
remoteIp
(
WebMvcConfig
.
getRequest
());
...
@@ -198,7 +198,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -198,7 +198,7 @@ public class MemberServiceImpl implements MemberService {
String
cn_name
,
String
cn_name
,
String
en_name
,
String
en_name
,
String
intro
)
{
String
intro
)
{
Long
last_modify_time
=
System
.
currentTimeMillis
();
Long
last_modify_time
=
System
.
currentTimeMillis
()
/
1000
;
String
sql
=
"update fc_member_film set enroll_type_name_other = ?, cn_name = ?, en_name = ?, intro = ?, last_modify_time = ? where member_id = ? and id = ?"
;
String
sql
=
"update fc_member_film set enroll_type_name_other = ?, cn_name = ?, en_name = ?, intro = ?, last_modify_time = ? where member_id = ? and id = ?"
;
String
str
=
StringUtil
.
join
(
","
,
""
,
""
,
""
,
enroll_type_name_other
);
String
str
=
StringUtil
.
join
(
","
,
""
,
""
,
""
,
enroll_type_name_other
);
Object
[]
args
=
new
Object
[]{
str
,
cn_name
,
en_name
,
intro
,
last_modify_time
,
member_id
,
member_film_id
};
Object
[]
args
=
new
Object
[]{
str
,
cn_name
,
en_name
,
intro
,
last_modify_time
,
member_id
,
member_film_id
};
...
@@ -223,7 +223,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -223,7 +223,7 @@ public class MemberServiceImpl implements MemberService {
String
film_format_passw
,
String
film_format_passw
,
String
film_format_other
)
{
String
film_format_other
)
{
Long
last_modify_time
=
System
.
currentTimeMillis
();
Long
last_modify_time
=
System
.
currentTimeMillis
()
/
1000
;
String
sql
=
"update fc_member_film set film_country = ?, dialogue_lang = ?, subtitle_lang = ?, co_production_country = ?, film_total_time = ?, completion_date = ?, show_date = ?, film_medium = ?, film_format = ?, film_express_no = ?, film_format_url = ?, film_format_passw = ?, film_format_other = ?, last_modify_time = ? where member_id = ? and id = ?"
;
String
sql
=
"update fc_member_film set film_country = ?, dialogue_lang = ?, subtitle_lang = ?, co_production_country = ?, film_total_time = ?, completion_date = ?, show_date = ?, film_medium = ?, film_format = ?, film_express_no = ?, film_format_url = ?, film_format_passw = ?, film_format_other = ?, last_modify_time = ? where member_id = ? and id = ?"
;
String
str
=
StringUtil
.
join
(
","
,
""
,
""
,
""
,
co_production_country
);
String
str
=
StringUtil
.
join
(
","
,
""
,
""
,
""
,
co_production_country
);
Object
[]
args
=
new
Object
[]{
film_country
,
dialogue_lang
,
subtitle_lang
,
str
,
film_total_time
,
completion_date
,
show_date
,
film_medium
,
film_format
,
film_express_no
,
film_format_url
,
film_format_passw
,
film_format_other
,
last_modify_time
,
member_id
,
member_film_id
};
Object
[]
args
=
new
Object
[]{
film_country
,
dialogue_lang
,
subtitle_lang
,
str
,
film_total_time
,
completion_date
,
show_date
,
film_medium
,
film_format
,
film_express_no
,
film_format_url
,
film_format_passw
,
film_format_other
,
last_modify_time
,
member_id
,
member_film_id
};
...
@@ -250,7 +250,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -250,7 +250,7 @@ public class MemberServiceImpl implements MemberService {
playactor_birthday
.
length
==
playactor_intro
.
length
&&
playactor_birthday
.
length
==
playactor_intro
.
length
&&
playactor_intro
.
length
==
is_play_shanghai
.
length
)
{
playactor_intro
.
length
==
is_play_shanghai
.
length
)
{
Long
create_time
=
System
.
currentTimeMillis
();
Long
create_time
=
System
.
currentTimeMillis
()
/
1000
;
List
<
Object
[]>
playactors
=
new
ArrayList
<
Object
[]>();
List
<
Object
[]>
playactors
=
new
ArrayList
<
Object
[]>();
List
<
Object
[]>
directors
=
new
ArrayList
<
Object
[]>();
List
<
Object
[]>
directors
=
new
ArrayList
<
Object
[]>();
for
(
int
i
=
0
;
i
<
playactor_type
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
playactor_type
.
length
;
i
++)
{
...
@@ -323,7 +323,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -323,7 +323,7 @@ public class MemberServiceImpl implements MemberService {
issuer_contacts
.
length
==
issuer_email
.
length
&&
issuer_contacts
.
length
==
issuer_email
.
length
&&
issuer_email
.
length
==
issuer_tel
.
length
)
{
issuer_email
.
length
==
issuer_tel
.
length
)
{
Long
create_time
=
System
.
currentTimeMillis
();
Long
create_time
=
System
.
currentTimeMillis
()
/
1000
;
Object
[][]
args
=
new
Object
[
issuer_company
.
length
][];
Object
[][]
args
=
new
Object
[
issuer_company
.
length
][];
for
(
int
i
=
0
;
i
<
issuer_company
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
issuer_company
.
length
;
i
++)
{
args
[
i
]
=
new
Object
[]{
member_film_id
,
issuer_company
[
i
],
issuer_contacts
[
i
],
issuer_email
[
i
],
issuer_tel
[
i
],
create_time
};
args
[
i
]
=
new
Object
[]{
member_film_id
,
issuer_company
[
i
],
issuer_contacts
[
i
],
issuer_email
[
i
],
issuer_tel
[
i
],
create_time
};
...
@@ -355,7 +355,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -355,7 +355,7 @@ public class MemberServiceImpl implements MemberService {
String
[]
show_filmfest_type
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
)
{
String
[]
show_filmfest_intro
)
{
if
(
show_filmfest
.
length
==
show_filmfest_type
.
length
&&
show_filmfest_type
.
length
==
show_filmfest_intro
.
length
)
{
if
(
show_filmfest
.
length
==
show_filmfest_type
.
length
&&
show_filmfest_type
.
length
==
show_filmfest_intro
.
length
)
{
Long
create_time
=
System
.
currentTimeMillis
();
Long
create_time
=
System
.
currentTimeMillis
()
/
1000
;
Object
[][]
args
=
new
Object
[
show_filmfest
.
length
][];
Object
[][]
args
=
new
Object
[
show_filmfest
.
length
][];
for
(
int
i
=
0
;
i
<
show_filmfest
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
show_filmfest
.
length
;
i
++)
{
args
[
i
]
=
new
Object
[]{
member_film_id
,
show_filmfest
[
i
],
show_filmfest_type
[
i
],
show_filmfest_intro
[
i
],
create_time
};
args
[
i
]
=
new
Object
[]{
member_film_id
,
show_filmfest
[
i
],
show_filmfest_type
[
i
],
show_filmfest_intro
[
i
],
create_time
};
...
@@ -381,7 +381,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -381,7 +381,7 @@ public class MemberServiceImpl implements MemberService {
String
film_apply_mobile
,
String
film_apply_mobile
,
String
film_apply_country
)
{
String
film_apply_country
)
{
Long
last_modify_time
=
System
.
currentTimeMillis
();
Long
last_modify_time
=
System
.
currentTimeMillis
()
/
1000
;
String
sql
=
""
String
sql
=
""
+
"update "
+
"update "
+
"fc_member_film "
+
"fc_member_film "
...
@@ -409,8 +409,4 @@ public class MemberServiceImpl implements MemberService {
...
@@ -409,8 +409,4 @@ public class MemberServiceImpl implements MemberService {
jdbcTemplate
.
executeUpdate
(
sql
,
args
);
jdbcTemplate
.
executeUpdate
(
sql
,
args
);
}
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
String
.
valueOf
(
System
.
currentTimeMillis
()).
length
());
}
}
}
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