Integerfilm_no=jdbcTemplate.queryForInt("select ifnull(max(film_no), 0) + 1 from fc_member_film");
Stringsql="update fc_member_film set film_no = ?, apply_state = ?, upload_state = ?, pass_time = ? where id = ? and (film_no is null or film_no = '')";
Stringsql="update fc_member_film set film_no = ?, apply_state = 2, upload_state = 0, pass_time = ? where id = ? and (film_no is null or film_no = '')";