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
955792c2
Commit
955792c2
authored
Oct 15, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加字段
parent
cdc70234
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+8
-2
MemberService.java
...java/com/egolm/film/api/member/service/MemberService.java
+4
-1
MemberServiceImpl.java
...egolm/film/api/member/service/impl/MemberServiceImpl.java
+6
-3
No files found.
src/main/java/com/egolm/film/api/member/MemberApplyController.java
View file @
955792c2
...
...
@@ -116,7 +116,10 @@ public class MemberApplyController {
String
show_date
,
String
film_medium
,
String
film_format
,
String
express_no
)
{
String
film_express_no
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
)
{
LoginToken
loginToken
=
tokenService
.
getToken
();
Integer
member_id
=
(
Integer
)
loginToken
.
getId
();
...
...
@@ -132,7 +135,10 @@ public class MemberApplyController {
show_date
,
film_medium
,
film_format
,
express_no
);
film_express_no
,
film_format_url
,
film_format_passw
,
film_format_other
);
return
Rjx
.
jsonOk
();
}
...
...
src/main/java/com/egolm/film/api/member/service/MemberService.java
View file @
955792c2
...
...
@@ -78,7 +78,10 @@ public interface MemberService {
String
show_date
,
String
film_medium
,
String
film_format
,
String
express_no
);
String
film_express_no
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
);
void
saveMemberFilmPlayactor
(
Integer
member_id
,
...
...
src/main/java/com/egolm/film/api/member/service/impl/MemberServiceImpl.java
View file @
955792c2
...
...
@@ -218,12 +218,15 @@ public class MemberServiceImpl implements MemberService {
String
show_date
,
String
film_medium
,
String
film_format
,
String
express_no
)
{
String
film_express_no
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
)
{
Long
last_modify_time
=
System
.
currentTimeMillis
();
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 = ?,
express_no
= ?, 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
);
Object
[]
args
=
new
Object
[]{
str
,
film_country
,
dialogue_lang
,
subtitle_lang
,
str
,
film_total_time
,
completion_date
,
show_date
,
film_medium
,
film_format
,
express_no
,
last_modify_time
,
member_id
,
member_film_id
};
Object
[]
args
=
new
Object
[]{
str
,
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
};
jdbcTemplate
.
executeUpdate
(
sql
,
args
);
}
...
...
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