Commit 71150739 authored by Quxl's avatar Quxl

x

parent 0e7e45e3
......@@ -5,7 +5,6 @@ import java.util.Map;
import com.egolm.common.jdbc.Page;
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_playactor;
import com.egolm.film.bean.Fc_member_film_show;
......@@ -23,10 +22,6 @@ public interface FilmService {
Integer member_id,
Long member_film_id);
void saveMore(Fc_member_film_all more);
Fc_member_film_all queryMoreByNo(String no);
Long saveMemberFilmType(
Integer member_id,
String film_type_name,
......
......@@ -25,7 +25,6 @@ import com.egolm.film.api.service.Messages;
import com.egolm.film.bean.Enum_enroll;
import com.egolm.film.bean.Enum_filmtype;
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_ext;
import com.egolm.film.bean.Fc_member_film_issuer;
......@@ -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);
}
@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
@Transactional
public Long saveMemberFilmType(
......
......@@ -14,7 +14,6 @@ import com.egolm.common.bean.Rjx;
import com.egolm.film.api.service.FilmService;
import com.egolm.film.api.service.MemberService;
import com.egolm.film.api.service.MemberTokenService;
import com.egolm.film.bean.Fc_member_film_all;
import com.egolm.film.model.LoginToken;
import io.swagger.annotations.Api;
......@@ -219,26 +218,4 @@ public class MemberApplyController {
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();
}
}
package com.egolm.film.bean;
import javax.persistence.Entity;
import javax.persistence.Id;
/**
* @author 曲欣亮
*/
@Entity(name="fc_member_film_all")
public class Fc_member_film_all implements java.io.Serializable {
private static final long serialVersionUID = 1L;
@Id
private Integer id;
/**
* 电影编号
*/
private String film_no;
/**
* 电影海报1
*/
private String film_poster_img1;
/**
* 电影海报2
*/
private String film_poster_img2;
/**
* 电影海报3
*/
private String film_poster_img3;
/**
* 剧照1
*/
private String film_still1;
/**
* 剧照2
*/
private String film_still2;
/**
* 剧照3
*/
private String film_still3;
/**
* 导演海报1
*/
private String director_img1;
/**
* 导演海报2
*/
private String director_img2;
/**
* 导演海报3
*/
private String director_img3;
/**
* 导演介绍
*/
private String director_intro;
/**
* 电影介绍
*/
private String film_intro;
/**
* 导演中文名
*/
private String director_name_cn;
/**
* 导演英文名
*/
private String director_name_en;
/**
* 编剧1
*/
private String screenwriter1;
/**
* 编剧2
*/
private String screenwriter2;
/**
* 摄影1
*/
private String photography1;
/**
* 摄影2
*/
private String photography2;
/**
* 配乐1
*/
private String soundtrack1;
/**
* 配乐2
*/
private String soundtrack2;
/**
* 剪辑
*/
private String clip1;
/**
* 剪辑2
*/
private String clip2;
/**
* 制片人
*/
private String producer1;
/**
* 制片人2
*/
private String producer2;
/**
* 国际版权
*/
private String international_copyright1;
/**
* 国际版权2
*/
private String international_copyright2;
/**
* 出品方
*/
private String product_party1;
/**
* 出品方2
*/
private String product_party2;
/**
* 主要演员
*/
private String leading_artist1;
/**
* 主要演员2
*/
private String leading_artist2;
/**
* 主要演员3
*/
private String leading_artist3;
/**
* 主要演员4
*/
private String leading_artist4;
/**
* 放映素材
*/
private String projection_material;
/**
* 分辨率
*/
private String resolving_power;
/**
* 画幅
*/
private String frame;
/**
* 声道
*/
private String channel;
/**
* 帧率
*/
private String frame_rate;
/**
* 密钥
*/
private String secret_key;
private Integer create_time;
/**
* 无参数构造方法
*/
public Fc_member_film_all () {
super();
}
/**
* 全参数构造方法
* @param id
* @param film_no 电影编号
* @param film_poster_img1 电影海报1
* @param film_poster_img2 电影海报2
* @param film_poster_img3 电影海报3
* @param film_still1 剧照1
* @param film_still2 剧照2
* @param film_still3 剧照3
* @param director_img1 导演海报1
* @param director_img2 导演海报2
* @param director_img3 导演海报3
* @param director_intro 导演介绍
* @param film_intro 电影介绍
* @param director_name_cn 导演中文名
* @param director_name_en 导演英文名
* @param screenwriter1 编剧1
* @param screenwriter2 编剧2
* @param photography1 摄影1
* @param photography2 摄影2
* @param soundtrack1 配乐1
* @param soundtrack2 配乐2
* @param clip1 剪辑
* @param clip2 剪辑2
* @param producer1 制片人
* @param producer2 制片人2
* @param international_copyright1 国际版权
* @param international_copyright2 国际版权2
* @param product_party1 出品方
* @param product_party2 出品方2
* @param leading_artist1 主要演员
* @param leading_artist2 主要演员2
* @param leading_artist3 主要演员3
* @param leading_artist4 主要演员4
* @param projection_material 放映素材
* @param resolving_power 分辨率
* @param frame 画幅
* @param channel 声道
* @param frame_rate 帧率
* @param secret_key 密钥
* @param create_time
*/
public Fc_member_film_all(Integer id, String film_no, String film_poster_img1, String film_poster_img2, String film_poster_img3, String film_still1, String film_still2, String film_still3, String director_img1, String director_img2, String director_img3, String director_intro, String film_intro, String director_name_cn, String director_name_en, String screenwriter1, String screenwriter2, String photography1, String photography2, String soundtrack1, String soundtrack2, String clip1, String clip2, String producer1, String producer2, String international_copyright1, String international_copyright2, String product_party1, String product_party2, String leading_artist1, String leading_artist2, String leading_artist3, String leading_artist4, String projection_material, String resolving_power, String frame, String channel, String frame_rate, String secret_key, Integer create_time) {
this.id = id;
this.film_no = film_no;
this.film_poster_img1 = film_poster_img1;
this.film_poster_img2 = film_poster_img2;
this.film_poster_img3 = film_poster_img3;
this.film_still1 = film_still1;
this.film_still2 = film_still2;
this.film_still3 = film_still3;
this.director_img1 = director_img1;
this.director_img2 = director_img2;
this.director_img3 = director_img3;
this.director_intro = director_intro;
this.film_intro = film_intro;
this.director_name_cn = director_name_cn;
this.director_name_en = director_name_en;
this.screenwriter1 = screenwriter1;
this.screenwriter2 = screenwriter2;
this.photography1 = photography1;
this.photography2 = photography2;
this.soundtrack1 = soundtrack1;
this.soundtrack2 = soundtrack2;
this.clip1 = clip1;
this.clip2 = clip2;
this.producer1 = producer1;
this.producer2 = producer2;
this.international_copyright1 = international_copyright1;
this.international_copyright2 = international_copyright2;
this.product_party1 = product_party1;
this.product_party2 = product_party2;
this.leading_artist1 = leading_artist1;
this.leading_artist2 = leading_artist2;
this.leading_artist3 = leading_artist3;
this.leading_artist4 = leading_artist4;
this.projection_material = projection_material;
this.resolving_power = resolving_power;
this.frame = frame;
this.channel = channel;
this.frame_rate = frame_rate;
this.secret_key = secret_key;
this.create_time = create_time;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getId() {
return id;
}
public void setFilm_no(String film_no) {
this.film_no = film_no;
}
public String getFilm_no() {
return film_no;
}
public void setFilm_poster_img1(String film_poster_img1) {
this.film_poster_img1 = film_poster_img1;
}
public String getFilm_poster_img1() {
return film_poster_img1;
}
public void setFilm_poster_img2(String film_poster_img2) {
this.film_poster_img2 = film_poster_img2;
}
public String getFilm_poster_img2() {
return film_poster_img2;
}
public void setFilm_poster_img3(String film_poster_img3) {
this.film_poster_img3 = film_poster_img3;
}
public String getFilm_poster_img3() {
return film_poster_img3;
}
public void setFilm_still1(String film_still1) {
this.film_still1 = film_still1;
}
public String getFilm_still1() {
return film_still1;
}
public void setFilm_still2(String film_still2) {
this.film_still2 = film_still2;
}
public String getFilm_still2() {
return film_still2;
}
public void setFilm_still3(String film_still3) {
this.film_still3 = film_still3;
}
public String getFilm_still3() {
return film_still3;
}
public void setDirector_img1(String director_img1) {
this.director_img1 = director_img1;
}
public String getDirector_img1() {
return director_img1;
}
public void setDirector_img2(String director_img2) {
this.director_img2 = director_img2;
}
public String getDirector_img2() {
return director_img2;
}
public void setDirector_img3(String director_img3) {
this.director_img3 = director_img3;
}
public String getDirector_img3() {
return director_img3;
}
public void setDirector_intro(String director_intro) {
this.director_intro = director_intro;
}
public String getDirector_intro() {
return director_intro;
}
public void setFilm_intro(String film_intro) {
this.film_intro = film_intro;
}
public String getFilm_intro() {
return film_intro;
}
public void setDirector_name_cn(String director_name_cn) {
this.director_name_cn = director_name_cn;
}
public String getDirector_name_cn() {
return director_name_cn;
}
public void setDirector_name_en(String director_name_en) {
this.director_name_en = director_name_en;
}
public String getDirector_name_en() {
return director_name_en;
}
public void setScreenwriter1(String screenwriter1) {
this.screenwriter1 = screenwriter1;
}
public String getScreenwriter1() {
return screenwriter1;
}
public void setScreenwriter2(String screenwriter2) {
this.screenwriter2 = screenwriter2;
}
public String getScreenwriter2() {
return screenwriter2;
}
public void setPhotography1(String photography1) {
this.photography1 = photography1;
}
public String getPhotography1() {
return photography1;
}
public void setPhotography2(String photography2) {
this.photography2 = photography2;
}
public String getPhotography2() {
return photography2;
}
public void setSoundtrack1(String soundtrack1) {
this.soundtrack1 = soundtrack1;
}
public String getSoundtrack1() {
return soundtrack1;
}
public void setSoundtrack2(String soundtrack2) {
this.soundtrack2 = soundtrack2;
}
public String getSoundtrack2() {
return soundtrack2;
}
public void setClip1(String clip1) {
this.clip1 = clip1;
}
public String getClip1() {
return clip1;
}
public void setClip2(String clip2) {
this.clip2 = clip2;
}
public String getClip2() {
return clip2;
}
public void setProducer1(String producer1) {
this.producer1 = producer1;
}
public String getProducer1() {
return producer1;
}
public void setProducer2(String producer2) {
this.producer2 = producer2;
}
public String getProducer2() {
return producer2;
}
public void setInternational_copyright1(String international_copyright1) {
this.international_copyright1 = international_copyright1;
}
public String getInternational_copyright1() {
return international_copyright1;
}
public void setInternational_copyright2(String international_copyright2) {
this.international_copyright2 = international_copyright2;
}
public String getInternational_copyright2() {
return international_copyright2;
}
public void setProduct_party1(String product_party1) {
this.product_party1 = product_party1;
}
public String getProduct_party1() {
return product_party1;
}
public void setProduct_party2(String product_party2) {
this.product_party2 = product_party2;
}
public String getProduct_party2() {
return product_party2;
}
public void setLeading_artist1(String leading_artist1) {
this.leading_artist1 = leading_artist1;
}
public String getLeading_artist1() {
return leading_artist1;
}
public void setLeading_artist2(String leading_artist2) {
this.leading_artist2 = leading_artist2;
}
public String getLeading_artist2() {
return leading_artist2;
}
public void setLeading_artist3(String leading_artist3) {
this.leading_artist3 = leading_artist3;
}
public String getLeading_artist3() {
return leading_artist3;
}
public void setLeading_artist4(String leading_artist4) {
this.leading_artist4 = leading_artist4;
}
public String getLeading_artist4() {
return leading_artist4;
}
public void setProjection_material(String projection_material) {
this.projection_material = projection_material;
}
public String getProjection_material() {
return projection_material;
}
public void setResolving_power(String resolving_power) {
this.resolving_power = resolving_power;
}
public String getResolving_power() {
return resolving_power;
}
public void setFrame(String frame) {
this.frame = frame;
}
public String getFrame() {
return frame;
}
public void setChannel(String channel) {
this.channel = channel;
}
public String getChannel() {
return channel;
}
public void setFrame_rate(String frame_rate) {
this.frame_rate = frame_rate;
}
public String getFrame_rate() {
return frame_rate;
}
public void setSecret_key(String secret_key) {
this.secret_key = secret_key;
}
public String getSecret_key() {
return secret_key;
}
public void setCreate_time(Integer create_time) {
this.create_time = create_time;
}
public Integer getCreate_time() {
return create_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