Commit 4dbdb3c1 authored by Quxl's avatar Quxl

优化申报接口

parent 77dcedf8
......@@ -155,8 +155,14 @@ public class MemberServiceImpl implements MemberService {
String film_type_name,
String enroll_type_name) {
String sql = "insert into fc_member_film (film_type_name, enroll_type_name) values (?, ?)";
Object[] args = new Object[]{film_type_name, enroll_type_name};
Integer film_group_id = 0;
Integer state = 1;
Integer is_show = 1;
Integer apply_state = 1;
Integer is_check_director = 0;
String sql = "insert into fc_member_film (film_type_name, enroll_type_name, film_group_id, state, is_show, apply_state, is_check_director) values (?, ?, ?, ?, ?, ?, ?)";
Object[] args = new Object[]{film_type_name, enroll_type_name, film_group_id, state, is_show, apply_state, is_check_director};
KeyHolder keyHolder = new GeneratedKeyHolder();
jdbcTemplate.update(new PreparedStatementCreator() {
public PreparedStatement createPreparedStatement(Connection connection) throws SQLException {
......
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