Commit 06cb411c authored by Quxl's avatar Quxl

x

parent 936d80cf
......@@ -541,7 +541,7 @@ public class FilmServiceImpl implements FilmService {
@Transactional
public void updateFilmBase(Fc_member_film_base_model filmBase) {
jdbcTemplate.saveOrUpdate(filmBase);
this.updateEnroll(filmBase.getMember_film_id());
this.updateEnroll(filmBase.getId());
}
@Override
......
......@@ -150,7 +150,7 @@ public class FilmController {
@ApiOperation("保存电影主要信息")
public Object update_base(Fc_member_film_base_model filmBase) {
memberFilmService.updateFilmBase(filmBase);
return Rjx.jsonOk().set("id", filmBase.getMember_film_id());
return Rjx.jsonOk().set("id", filmBase.getId());
}
}
......@@ -2,7 +2,6 @@ package com.egolm.film.bean.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
......@@ -16,8 +15,7 @@ public class Fc_member_film_base_model implements Serializable{
private static final long serialVersionUID = 1L;
@Id
@Column(name = "id")
@ApiModelProperty("影片ID") Long member_film_id;
@ApiModelProperty("影片ID") Long id;
@ApiModelProperty("影片类型")String film_type_name;
@ApiModelProperty("影片类型扩展分类")String film_type_name_short;
@ApiModelProperty("报名性质")String enroll_type_name;
......@@ -62,12 +60,7 @@ public class Fc_member_film_base_model implements Serializable{
@ApiModelProperty("片方要求")private String film_requirement;
@ApiModelProperty("拷贝选项")private String copy_options;
public Long getMember_film_id() {
return member_film_id;
}
public void setMember_film_id(Long member_film_id) {
this.member_film_id = member_film_id;
}
public String getFilm_type_name() {
return film_type_name;
}
......@@ -329,5 +322,11 @@ public class Fc_member_film_base_model implements Serializable{
public void setCopy_options(String copy_options) {
this.copy_options = copy_options;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
}
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