Commit b84a977d authored by Quxl's avatar Quxl

x

parent c9dd0000
......@@ -158,4 +158,6 @@ public interface FilmService {
public void updateFilmUploadState(String[] film_id,String[] number);
void saveOrUpdateFilmExt(Fc_member_film_ext filmExt);
Fc_member_film_ext queryFilmExt(Integer id);
}
......@@ -669,4 +669,9 @@ public class FilmServiceImpl implements FilmService {
public void saveOrUpdateFilmExt(Fc_member_film_ext filmExt) {
jdbcTemplate.saveOrUpdate(filmExt);
}
@Override
public Fc_member_film_ext queryFilmExt(Integer id) {
return jdbcTemplate.queryForBean("select * from fc_member_film_ext where id = ?", Fc_member_film_ext.class, id);
}
}
......@@ -244,4 +244,16 @@ public class FilmController {
return Rjx.jsonOk();
}
@ResponseBody
@Transactional
@PostMapping("get_film_ext")
@ApiOperation("保存电影扩展信息")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="string", name="id", value="影片ID"),
})
public Object update_base(Integer id) {
filmService.queryFilmExt(id);
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