Commit 16ed0cd0 authored by Quxl's avatar Quxl

x

parent 3fb8675f
......@@ -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();
}
......
......@@ -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;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment