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();
}
}
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