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
16ed0cd0
Commit
16ed0cd0
authored
Dec 04, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
3fb8675f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+2
-2
Fc_member_film.java
src/main/java/com/egolm/film/bean/Fc_member_film.java
+20
-3
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
16ed0cd0
...
...
@@ -182,13 +182,13 @@ public class AdminFirstController {
}
@ResponseBody
@PostMapping
(
"save_upload_
info
"
)
@PostMapping
(
"save_upload_
state
"
)
@ApiOperation
(
"保存上传状态和上传ID"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"申报影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
name
=
"upload_state"
,
value
=
"影片上传状态(0上传中,1已完成)"
),
})
public
Object
save_upload_
info
(
Long
member_film_id
,
Integer
upload_state
)
{
public
Object
save_upload_
state
(
Long
member_film_id
,
Integer
upload_state
)
{
memberFilmService
.
saveUploadState
(
member_film_id
,
upload_state
);
return
Rjx
.
jsonOk
();
}
...
...
src/main/java/com/egolm/film/bean/Fc_member_film.java
View file @
16ed0cd0
...
...
@@ -4,6 +4,8 @@ import javax.persistence.Entity;
import
javax.persistence.Id
;
import
java.util.Date
;
/**
* @author 曲欣亮
*/
...
...
@@ -301,10 +303,15 @@ public class Fc_member_film implements java.io.Serializable {
private
String
upload_id
;
/**
* 上传影片状态(0上传中,1
转码中,2
已完成)
* 上传影片状态(0上传中,1已完成)
*/
private
Integer
upload_state
;
/**
* 上传影片时间
*/
private
Date
upload_time
;
/**
* 无参数构造方法
...
...
@@ -373,9 +380,10 @@ public class Fc_member_film implements java.io.Serializable {
* @param pass_time 通过时间
* @param review_round 当前审片是第几轮
* @param upload_id 上传影片标记
* @param upload_state 上传影片状态(0上传中,1转码中,2已完成)
* @param upload_state 上传影片状态(0上传中,1已完成)
* @param upload_time 上传影片时间
*/
public
Fc_member_film
(
Long
id
,
Integer
film_no
,
String
origion_name
,
String
en_name
,
String
cn_name
,
Integer
type
,
Long
film_group_id
,
Integer
film_type
,
String
film_type_name
,
String
show_date
,
Long
show_time
,
String
first_show_date
,
String
first_show_city
,
Integer
is_apply_other_filmfest
,
String
other_filmfest_name
,
String
film_medium
,
String
film_format
,
String
completion_date
,
String
film_country
,
String
co_production_country
,
String
film_producers
,
String
production_company
,
String
enroll_type_name
,
Integer
enroll_type
,
Integer
is_like_show
,
Long
create_time
,
Integer
member_id
,
String
create_ip
,
Integer
state
,
String
prize
,
String
dialogue_lang
,
String
subtitle_lang
,
String
play_shanghai
,
String
has_joined_award
,
String
intro
,
String
en_intro
,
Long
last_modify_time
,
String
film_side_demand
,
String
film_total_time
,
Integer
is_show
,
String
film_apply_company
,
String
film_apply_realname
,
String
film_apply_email
,
String
film_apply_tel
,
String
film_apply_mobile
,
String
film_apply_country
,
String
enroll_type_name_other
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
,
String
film_type_name_short
,
String
lang
,
Integer
apply_state
,
String
film_district
,
Integer
is_check_director
,
Long
pass_time
,
Integer
review_round
,
String
upload_id
,
Integer
upload_state
)
{
public
Fc_member_film
(
Long
id
,
Integer
film_no
,
String
origion_name
,
String
en_name
,
String
cn_name
,
Integer
type
,
Long
film_group_id
,
Integer
film_type
,
String
film_type_name
,
String
show_date
,
Long
show_time
,
String
first_show_date
,
String
first_show_city
,
Integer
is_apply_other_filmfest
,
String
other_filmfest_name
,
String
film_medium
,
String
film_format
,
String
completion_date
,
String
film_country
,
String
co_production_country
,
String
film_producers
,
String
production_company
,
String
enroll_type_name
,
Integer
enroll_type
,
Integer
is_like_show
,
Long
create_time
,
Integer
member_id
,
String
create_ip
,
Integer
state
,
String
prize
,
String
dialogue_lang
,
String
subtitle_lang
,
String
play_shanghai
,
String
has_joined_award
,
String
intro
,
String
en_intro
,
Long
last_modify_time
,
String
film_side_demand
,
String
film_total_time
,
Integer
is_show
,
String
film_apply_company
,
String
film_apply_realname
,
String
film_apply_email
,
String
film_apply_tel
,
String
film_apply_mobile
,
String
film_apply_country
,
String
enroll_type_name_other
,
String
film_format_url
,
String
film_format_passw
,
String
film_format_other
,
String
film_type_name_short
,
String
lang
,
Integer
apply_state
,
String
film_district
,
Integer
is_check_director
,
Long
pass_time
,
Integer
review_round
,
String
upload_id
,
Integer
upload_state
,
Date
upload_time
)
{
this
.
id
=
id
;
this
.
film_no
=
film_no
;
this
.
origion_name
=
origion_name
;
...
...
@@ -435,6 +443,7 @@ public class Fc_member_film implements java.io.Serializable {
this
.
review_round
=
review_round
;
this
.
upload_id
=
upload_id
;
this
.
upload_state
=
upload_state
;
this
.
upload_time
=
upload_time
;
}
public
void
setId
(
Long
id
)
{
...
...
@@ -909,5 +918,13 @@ public class Fc_member_film implements java.io.Serializable {
return
upload_state
;
}
public
void
setUpload_time
(
Date
upload_time
)
{
this
.
upload_time
=
upload_time
;
}
public
Date
getUpload_time
()
{
return
upload_time
;
}
}
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