Commit cf703a26 authored by Quxl's avatar Quxl

x

parent 542ec85d
...@@ -110,5 +110,7 @@ public interface FilmService { ...@@ -110,5 +110,7 @@ public interface FilmService {
Object queryEnrollList(); Object queryEnrollList();
Object queryTypeList(); Object queryTypeList();
void mergeMemberFilm(Fc_member_film film);
} }
...@@ -420,4 +420,9 @@ public class FilmServiceImpl implements FilmService { ...@@ -420,4 +420,9 @@ public class FilmServiceImpl implements FilmService {
return jdbcTemplate.queryForList("select * from fc_film_type"); return jdbcTemplate.queryForList("select * from fc_film_type");
} }
@Override
public void mergeMemberFilm(Fc_member_film film) {
jdbcTemplate.merge(film);
}
} }
...@@ -93,6 +93,7 @@ public class AdminFirstController { ...@@ -93,6 +93,7 @@ public class AdminFirstController {
Fc_member_film film = new Fc_member_film(); Fc_member_film film = new Fc_member_film();
film.setId(member_film_id); film.setId(member_film_id);
film.setFilm_type_name_short(film_type_name_short); film.setFilm_type_name_short(film_type_name_short);
memberFilmService.mergeMemberFilm(film);
memberFilmService.pass(member_film_id); memberFilmService.pass(member_film_id);
return Rjx.jsonOk(); 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