Commit 92eb159b authored by Quxl's avatar Quxl

x

parent fc1a7b0e
......@@ -51,12 +51,34 @@ public class AdminReviewController {
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="index", value="分页编号"),
@ApiImplicitParam(paramType="query", dataType="long", required=true, name="limit", value="分页大小"),
})
public Object list(String keyword, Integer enroll_type_id, Integer film_type_name, Integer film_type_name_short, String film_country, Integer review_round, Integer review_state, Integer allot_state, Integer opt_state, Long index, Long limit) {
public Object list(
String keyword,
Integer enroll_type_id,
Integer film_type_name,
Integer film_type_name_short,
String film_country,
Integer review_round,
Integer review_state,
Integer allot_state,
Integer opt_state,
Long index,
Long limit) {
index = index == null ? 1 : index;
limit = limit == null ? 20 : limit;
Page page = new Page(index, limit);
Fc_admin admin = (Fc_admin)tokenService.getTokenObj();
List<Map<String, Object>> list = reviewService.queryReviewListForAdmin(keyword, admin.getGroup_id(), enroll_type_id, film_type_name, film_type_name_short, film_country, review_round, review_state, allot_state, opt_state, page);
List<Map<String, Object>> list = reviewService.queryReviewListForAdmin(
keyword,
admin.getGroup_id(),
enroll_type_id,
film_type_name,
film_type_name_short,
film_country,
review_round,
review_state,
allot_state,
opt_state,
page);
return Rjx.jsonOk().setData(list).setPage(page);
}
......
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