Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
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
曲欣亮
member-api
Commits
71150739
Commit
71150739
authored
Nov 29, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
0e7e45e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
668 deletions
+0
-668
FilmService.java
src/main/java/com/egolm/film/api/service/FilmService.java
+0
-5
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+0
-15
MemberApplyController.java
.../com/egolm/film/api/web/member/MemberApplyController.java
+0
-23
Fc_member_film_all.java
src/main/java/com/egolm/film/bean/Fc_member_film_all.java
+0
-625
No files found.
src/main/java/com/egolm/film/api/service/FilmService.java
View file @
71150739
...
@@ -5,7 +5,6 @@ import java.util.Map;
...
@@ -5,7 +5,6 @@ import java.util.Map;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_all
;
import
com.egolm.film.bean.Fc_member_film_issuer
;
import
com.egolm.film.bean.Fc_member_film_issuer
;
import
com.egolm.film.bean.Fc_member_film_playactor
;
import
com.egolm.film.bean.Fc_member_film_playactor
;
import
com.egolm.film.bean.Fc_member_film_show
;
import
com.egolm.film.bean.Fc_member_film_show
;
...
@@ -23,10 +22,6 @@ public interface FilmService {
...
@@ -23,10 +22,6 @@ public interface FilmService {
Integer
member_id
,
Integer
member_id
,
Long
member_film_id
);
Long
member_film_id
);
void
saveMore
(
Fc_member_film_all
more
);
Fc_member_film_all
queryMoreByNo
(
String
no
);
Long
saveMemberFilmType
(
Long
saveMemberFilmType
(
Integer
member_id
,
Integer
member_id
,
String
film_type_name
,
String
film_type_name
,
...
...
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
71150739
...
@@ -25,7 +25,6 @@ import com.egolm.film.api.service.Messages;
...
@@ -25,7 +25,6 @@ import com.egolm.film.api.service.Messages;
import
com.egolm.film.bean.Enum_enroll
;
import
com.egolm.film.bean.Enum_enroll
;
import
com.egolm.film.bean.Enum_filmtype
;
import
com.egolm.film.bean.Enum_filmtype
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_all
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
import
com.egolm.film.bean.Fc_member_film_enroll_ext
;
import
com.egolm.film.bean.Fc_member_film_enroll_ext
;
import
com.egolm.film.bean.Fc_member_film_issuer
;
import
com.egolm.film.bean.Fc_member_film_issuer
;
...
@@ -68,20 +67,6 @@ public class FilmServiceImpl implements FilmService {
...
@@ -68,20 +67,6 @@ public class FilmServiceImpl implements FilmService {
jdbcTemplate
.
executeUpdate
(
"update fc_member_film set state = ?, apply_state = ? where id = ? and member_id = ?"
,
2
,
1
,
member_film_id
,
member_id
);
jdbcTemplate
.
executeUpdate
(
"update fc_member_film set state = ?, apply_state = ? where id = ? and member_id = ?"
,
2
,
1
,
member_film_id
,
member_id
);
}
}
@Override
public
void
saveMore
(
Fc_member_film_all
more
)
{
if
(
more
.
getId
()
==
null
)
{
jdbcTemplate
.
save
(
more
);
}
else
{
jdbcTemplate
.
update
(
more
);
}
}
@Override
public
Fc_member_film_all
queryMoreByNo
(
String
film_no
)
{
return
jdbcTemplate
.
queryForBean
(
"select * from fc_member_film_all where film_no = ?"
,
Fc_member_film_all
.
class
,
film_no
);
}
@Override
@Override
@Transactional
@Transactional
public
Long
saveMemberFilmType
(
public
Long
saveMemberFilmType
(
...
...
src/main/java/com/egolm/film/api/web/member/MemberApplyController.java
View file @
71150739
...
@@ -14,7 +14,6 @@ import com.egolm.common.bean.Rjx;
...
@@ -14,7 +14,6 @@ import com.egolm.common.bean.Rjx;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.api.service.FilmService
;
import
com.egolm.film.api.service.MemberService
;
import
com.egolm.film.api.service.MemberService
;
import
com.egolm.film.api.service.MemberTokenService
;
import
com.egolm.film.api.service.MemberTokenService
;
import
com.egolm.film.bean.Fc_member_film_all
;
import
com.egolm.film.model.LoginToken
;
import
com.egolm.film.model.LoginToken
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
...
@@ -219,26 +218,4 @@ public class MemberApplyController {
...
@@ -219,26 +218,4 @@ public class MemberApplyController {
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
@ResponseBody
@PostMapping
(
"get_more"
)
@ApiOperation
(
"获取更多影片信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"header"
,
dataType
=
"string"
,
name
=
"i18n_language"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"film_no"
,
value
=
"情报影片编号"
)
})
public
Object
getMore
(
String
film_no
)
{
Fc_member_film_all
more
=
memberFilmService
.
queryMoreByNo
(
film_no
);
return
Rjx
.
jsonOk
().
setData
(
more
);
}
@ResponseBody
@PostMapping
(
"save_more"
)
@ApiOperation
(
"获取更多影片信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"header"
,
dataType
=
"string"
,
name
=
"i18n_language"
),
})
public
Object
saveMore
(
Fc_member_film_all
more
)
{
memberFilmService
.
saveMore
(
more
);
return
Rjx
.
jsonOk
();
}
}
}
src/main/java/com/egolm/film/bean/Fc_member_film_all.java
deleted
100644 → 0
View file @
0e7e45e3
This diff is collapsed.
Click to expand it.
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