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
d4c69c3c
Commit
d4c69c3c
authored
Feb 20, 2019
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加上传监控接口
parent
0520e2c8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1093 additions
and
1026 deletions
+1093
-1026
FilmService.java
src/main/java/com/egolm/film/api/service/FilmService.java
+158
-154
FilmServiceImpl.java
...java/com/egolm/film/api/service/impl/FilmServiceImpl.java
+649
-621
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+286
-251
No files found.
src/main/java/com/egolm/film/api/service/FilmService.java
View file @
d4c69c3c
package
com
.
egolm
.
film
.
api
.
service
;
import
java.util.List
;
import
java.util.Map
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
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_show
;
import
com.egolm.film.bean.model.Fc_member_film_base_model
;
public
interface
FilmService
{
Logger
logger
=
LoggerFactory
.
getLogger
(
FilmService
.
class
);
List
<
Fc_member_film_issuer
>
queryMemberFilmIssuerList
(
Long
member_film_id
);
List
<
Fc_member_film_playactor
>
queryMemberFilmPlayactorList
(
Long
member_film_id
);
List
<
Fc_member_film_show
>
queryMemberFilmShowList
(
Long
member_film_id
);
void
doApply
(
Integer
member_id
,
Long
member_film_id
);
Long
saveMemberFilmType
(
Integer
member_id
,
String
film_type_name
,
String
enroll_type_name
);
void
saveMemberFilmBase
(
Integer
member_id
,
Long
member_film_id
,
String
[]
enroll_type_name_other
,
String
cn_name
,
String
en_name
,
String
intro
);
void
saveMemberFilmInfo
(
Integer
member_id
,
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
first_show_date
,
String
first_show_city
,
Integer
is_apply_other_filmfest
,
String
other_filmfest_name
,
String
film_medium
,
String
film_format
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
);
void
saveMemberFilmPlayactor
(
Long
member_film_id
,
String
[]
playactor_type
,
String
[]
playactor_role_name
,
String
[]
playactor_name
,
String
[]
playactor_film_nums
,
String
[]
playactor_country
,
String
[]
playactor_birthday
,
String
[]
playactor_intro
,
Integer
[]
is_play_shanghai
);
void
saveMemberFilmIssuer
(
Long
member_film_id
,
String
[]
issuer_company
,
String
[]
issuer_contacts
,
String
[]
issuer_email
,
String
[]
issuer_tel
);
void
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
);
void
saveMemberFilmCompany
(
Integer
member_id
,
Long
member_film_id
,
String
film_apply_company
,
String
film_apply_realname
,
String
film_apply_email
,
String
film_apply_tel
,
String
film_apply_mobile
,
String
film_apply_country
);
List
<
Map
<
String
,
Object
>>
queryListAll
(
String
keyword
);
List
<
Map
<
String
,
Object
>>
queryFilmList
(
Integer
admin_group_id
,
String
keyword
,
Integer
state
,
Integer
apply_state
,
Integer
upload_state
,
Integer
film_type
,
Integer
enroll_type
,
String
film_country
,
Integer
film_type_short
,
String
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_atate
,
Integer
opt_state
,
Integer
[]
film_group_id
,
Page
page
);
Integer
pass
(
Long
member_film_id
);
void
reject
(
Boolean
is_stop_apply
,
Long
member_film_id
,
String
apply_state_intro
);
Fc_member_film
queryMemberFilmById
(
Long
member_film_id
);
Object
queryEnrollList
();
Object
queryTypeList
();
void
mergeMemberFilm
(
Fc_member_film
film
);
/**
* 更新影片基本信息
* @param filmBase
*/
void
updateFilmBase
(
Fc_member_film_base_model
filmBase
);
void
updateEnroll
(
Long
member_film_id
);
void
saveUploadId
(
Long
member_film_id
,
String
upload_id
);
void
saveUploadState
(
Long
member_film_id
,
Integer
upload_state
);
List
<
Fc_member_film_enroll
>
queryFilmEnrollList
(
Long
member_film_id
);
void
verifyFilmDuplicate
(
Long
member_film_id
);
void
updateFilmState
(
Long
member_film_id
,
Integer
state
);
void
saveCreateBase
(
Long
id
,
Integer
admin_id
,
Integer
member_id
,
String
create_ip
);
void
exchangeFilmNo
(
Integer
id1
,
Integer
id2
);
void
initKeywords
(
Long
member_film_id
);
}
package
com
.
egolm
.
film
.
api
.
service
;
import
java.util.List
;
import
java.util.Map
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
com.egolm.common.jdbc.Page
;
import
com.egolm.film.bean.Fc_member_film
;
import
com.egolm.film.bean.Fc_member_film_enroll
;
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_show
;
import
com.egolm.film.bean.model.Fc_member_film_base_model
;
public
interface
FilmService
{
Logger
logger
=
LoggerFactory
.
getLogger
(
FilmService
.
class
);
List
<
Fc_member_film_issuer
>
queryMemberFilmIssuerList
(
Long
member_film_id
);
List
<
Fc_member_film_playactor
>
queryMemberFilmPlayactorList
(
Long
member_film_id
);
List
<
Fc_member_film_show
>
queryMemberFilmShowList
(
Long
member_film_id
);
void
doApply
(
Integer
member_id
,
Long
member_film_id
);
Long
saveMemberFilmType
(
Integer
member_id
,
String
film_type_name
,
String
enroll_type_name
);
void
saveMemberFilmBase
(
Integer
member_id
,
Long
member_film_id
,
String
[]
enroll_type_name_other
,
String
cn_name
,
String
en_name
,
String
intro
);
void
saveMemberFilmInfo
(
Integer
member_id
,
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
first_show_date
,
String
first_show_city
,
Integer
is_apply_other_filmfest
,
String
other_filmfest_name
,
String
film_medium
,
String
film_format
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
);
void
saveMemberFilmPlayactor
(
Long
member_film_id
,
String
[]
playactor_type
,
String
[]
playactor_role_name
,
String
[]
playactor_name
,
String
[]
playactor_film_nums
,
String
[]
playactor_country
,
String
[]
playactor_birthday
,
String
[]
playactor_intro
,
Integer
[]
is_play_shanghai
);
void
saveMemberFilmIssuer
(
Long
member_film_id
,
String
[]
issuer_company
,
String
[]
issuer_contacts
,
String
[]
issuer_email
,
String
[]
issuer_tel
);
void
saveMemberFilmShow
(
Long
member_film_id
,
String
play_shanghai
,
String
[]
show_filmfest
,
String
[]
show_filmfest_type
,
String
[]
show_filmfest_intro
);
void
saveMemberFilmCompany
(
Integer
member_id
,
Long
member_film_id
,
String
film_apply_company
,
String
film_apply_realname
,
String
film_apply_email
,
String
film_apply_tel
,
String
film_apply_mobile
,
String
film_apply_country
);
List
<
Map
<
String
,
Object
>>
queryListAll
(
String
keyword
);
List
<
Map
<
String
,
Object
>>
queryFilmList
(
Integer
admin_group_id
,
String
keyword
,
Integer
state
,
Integer
apply_state
,
Integer
upload_state
,
Integer
film_type
,
Integer
enroll_type
,
String
film_country
,
Integer
film_type_short
,
String
play_shanghai
,
Integer
review_round
,
Integer
review_state
,
Integer
allot_atate
,
Integer
opt_state
,
Integer
[]
film_group_id
,
Page
page
);
Integer
pass
(
Long
member_film_id
);
void
reject
(
Boolean
is_stop_apply
,
Long
member_film_id
,
String
apply_state_intro
);
Fc_member_film
queryMemberFilmById
(
Long
member_film_id
);
Object
queryEnrollList
();
Object
queryTypeList
();
void
mergeMemberFilm
(
Fc_member_film
film
);
/**
* 更新影片基本信息
* @param filmBase
*/
void
updateFilmBase
(
Fc_member_film_base_model
filmBase
);
void
updateEnroll
(
Long
member_film_id
);
void
saveUploadId
(
Long
member_film_id
,
String
upload_id
);
void
saveUploadState
(
Long
member_film_id
,
Integer
upload_state
);
List
<
Fc_member_film_enroll
>
queryFilmEnrollList
(
Long
member_film_id
);
void
verifyFilmDuplicate
(
Long
member_film_id
);
void
updateFilmState
(
Long
member_film_id
,
Integer
state
);
void
saveCreateBase
(
Long
id
,
Integer
admin_id
,
Integer
member_id
,
String
create_ip
);
void
exchangeFilmNo
(
Integer
id1
,
Integer
id2
);
void
initKeywords
(
Long
member_film_id
);
List
<
Map
<
String
,
Object
>>
queryMonitorUploadList
(
String
keyword
,
Integer
upload_state
,
Page
page
);
public
void
updateFilmUploadState
(
String
[]
film_id
,
String
[]
number
);
}
src/main/java/com/egolm/film/api/service/impl/FilmServiceImpl.java
View file @
d4c69c3c
This diff is collapsed.
Click to expand it.
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
d4c69c3c
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