Commit a566f92d authored by Quxl's avatar Quxl

x

parent 35991217
...@@ -101,7 +101,7 @@ public interface FilmService { ...@@ -101,7 +101,7 @@ public interface FilmService {
void pass(Long member_film_id); void pass(Long member_film_id);
void reject(Long member_film_id); void reject(Long member_film_id, String apply_state_intro);
Fc_member_film queryMemberFilmById(Long member_film_id); Fc_member_film queryMemberFilmById(Long member_film_id);
......
...@@ -424,9 +424,9 @@ public class FilmServiceImpl implements FilmService { ...@@ -424,9 +424,9 @@ public class FilmServiceImpl implements FilmService {
} }
@Override @Override
public void reject(Long member_film_id) { public void reject(Long member_film_id, String apply_state_intro) {
String sql = "update fc_member_film set apply_state = ? where id = ?"; String sql = "update fc_member_film set apply_state = ?, apply_state_intro = ? where id = ?";
jdbcTemplate.executeUpdate(sql, 3, member_film_id); jdbcTemplate.executeUpdate(sql, 3, apply_state_intro, member_film_id);
} }
@Override @Override
......
...@@ -126,9 +126,10 @@ public class AdminFirstController { ...@@ -126,9 +126,10 @@ public class AdminFirstController {
@ApiOperation("初审拒绝") @ApiOperation("初审拒绝")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="member_film_id", value="申报影片ID"), @ApiImplicitParam(paramType="query", dataType="long", required=true, name="member_film_id", value="申报影片ID"),
@ApiImplicitParam(paramType="query", dataType="string", required=true, name="apply_state_intro", value="拒绝理由,初审结论"),
}) })
public Object reject(Long member_film_id) { public Object reject(Long member_film_id, String apply_state_intro) {
memberFilmService.reject(member_film_id); memberFilmService.reject(member_film_id, apply_state_intro);
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