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
be21b735
Commit
be21b735
authored
Oct 12, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善保存申报信息接口
parent
3b29eae5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
9 deletions
+22
-9
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+5
-4
MemberService.java
...java/com/egolm/film/api/member/service/MemberService.java
+6
-2
MemberServiceImpl.java
...egolm/film/api/member/service/impl/MemberServiceImpl.java
+11
-3
No files found.
src/main/java/com/egolm/film/api/member/MemberApplyController.java
View file @
be21b735
...
@@ -50,8 +50,8 @@ public class MemberApplyController {
...
@@ -50,8 +50,8 @@ public class MemberApplyController {
@PostMapping
(
"save_type"
)
@PostMapping
(
"save_type"
)
@ApiOperation
(
"保存申报影片类型"
)
@ApiOperation
(
"保存申报影片类型"
)
public
Object
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
)
{
public
Object
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
)
{
memberService
.
saveMemberFilmType
(
member_film_id
,
film_type_name
,
enroll_type_name
);
member
_film_id
=
member
Service
.
saveMemberFilmType
(
member_film_id
,
film_type_name
,
enroll_type_name
);
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
()
.
set
(
"member_film_id"
,
member_film_id
)
;
}
}
@ResponseBody
@ResponseBody
...
@@ -65,7 +65,8 @@ public class MemberApplyController {
...
@@ -65,7 +65,8 @@ public class MemberApplyController {
@ResponseBody
@ResponseBody
@PostMapping
(
"save_info"
)
@PostMapping
(
"save_info"
)
@ApiOperation
(
"保存影片制作信息"
)
@ApiOperation
(
"保存影片制作信息"
)
public
Object
saveMemberFilmInfo
()
{
public
Object
saveMemberFilmInfo
(
Long
member_film_id
,
String
film_country
,
String
dialogue_lang
,
String
subtitle_lang
,
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
String
film_medium
,
String
film_format
)
{
memberService
.
saveMemberFilmInfo
(
member_film_id
,
film_country
,
dialogue_lang
,
subtitle_lang
,
co_production_country
,
film_total_time
,
completion_date
,
show_date
,
film_medium
,
film_format
);
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
...
@@ -127,7 +128,7 @@ public class MemberApplyController {
...
@@ -127,7 +128,7 @@ public class MemberApplyController {
@PostMapping
(
"more"
)
@PostMapping
(
"more"
)
@ApiOperation
(
"获取更多影片信息"
)
@ApiOperation
(
"获取更多影片信息"
)
public
Object
more
(
Fc_member_film_all
more
)
{
public
Object
more
(
Fc_member_film_all
more
)
{
memberService
.
save
OrUpdate
More
(
more
);
memberService
.
saveMore
(
more
);
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
}
}
src/main/java/com/egolm/film/api/member/service/MemberService.java
View file @
be21b735
...
@@ -41,13 +41,17 @@ public interface MemberService {
...
@@ -41,13 +41,17 @@ public interface MemberService {
void
doApply
(
Integer
member_id
,
Long
member_film_id
);
void
doApply
(
Integer
member_id
,
Long
member_film_id
);
void
save
OrUpdate
More
(
Fc_member_film_all
more
);
void
saveMore
(
Fc_member_film_all
more
);
Fc_member_film_all
queryMoreByNo
(
String
no
);
Fc_member_film_all
queryMoreByNo
(
String
no
);
void
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
);
Long
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
);
void
saveMemberFilmBase
(
Long
member_film_id
,
String
[]
enroll_type_name_other
,
String
cn_name
,
String
en_name
,
void
saveMemberFilmBase
(
Long
member_film_id
,
String
[]
enroll_type_name_other
,
String
cn_name
,
String
en_name
,
String
intro
);
String
intro
);
void
saveMemberFilmInfo
(
Long
member_film_id
,
String
film_country
,
String
dialogue_lang
,
String
subtitle_lang
,
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
String
film_medium
,
String
film_format
);
}
}
src/main/java/com/egolm/film/api/member/service/impl/MemberServiceImpl.java
View file @
be21b735
...
@@ -99,7 +99,7 @@ public class MemberServiceImpl implements MemberService {
...
@@ -99,7 +99,7 @@ public class MemberServiceImpl implements MemberService {
}
}
@Override
@Override
public
void
save
OrUpdate
More
(
Fc_member_film_all
more
)
{
public
void
saveMore
(
Fc_member_film_all
more
)
{
if
(
more
.
getId
()
==
null
)
{
if
(
more
.
getId
()
==
null
)
{
jdbcTemplate
.
save
(
more
);
jdbcTemplate
.
save
(
more
);
}
else
{
}
else
{
...
@@ -113,9 +113,9 @@ public class MemberServiceImpl implements MemberService {
...
@@ -113,9 +113,9 @@ public class MemberServiceImpl implements MemberService {
}
}
@Override
@Override
public
void
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
)
{
public
Long
saveMemberFilmType
(
Long
member_film_id
,
String
film_type_name
,
String
enroll_type_name
)
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
return
null
;
}
}
@Override
@Override
...
@@ -125,4 +125,12 @@ public class MemberServiceImpl implements MemberService {
...
@@ -125,4 +125,12 @@ public class MemberServiceImpl implements MemberService {
}
}
@Override
public
void
saveMemberFilmInfo
(
Long
member_film_id
,
String
film_country
,
String
dialogue_lang
,
String
subtitle_lang
,
String
[]
co_production_country
,
String
film_total_time
,
String
completion_date
,
String
show_date
,
String
film_medium
,
String
film_format
)
{
// TODO Auto-generated method stub
}
}
}
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