Commit 7f4919f9 authored by Quxl's avatar Quxl

x

parent 09aa1a0f
...@@ -102,13 +102,13 @@ public class AdminReviewController { ...@@ -102,13 +102,13 @@ public class AdminReviewController {
@ApiImplicitParam(paramType="query", dataType="long", name="index", value="分页编号"), @ApiImplicitParam(paramType="query", dataType="long", name="index", value="分页编号"),
@ApiImplicitParam(paramType="query", dataType="long", name="limit", value="分页大小"), @ApiImplicitParam(paramType="query", dataType="long", name="limit", value="分页大小"),
}) })
public Object getNewAsianRound3List(String keyword, Integer review_state, Integer review_round, String ext_type, Long index, Long limit) { public Object getNewAsianRoundList(String keyword, Integer review_state, Integer review_round, String ext_type, Long index, Long limit) {
index = index == null ? 1 : index; index = index == null ? 1 : index;
limit = limit == null ? 20 : limit; limit = limit == null ? 20 : limit;
Page page = new Page(index, limit); Page page = new Page(index, limit);
List<Map<String, Object>> ugList = reviewService.queryUserGroupListByReviewRecord(2, review_round); List<Map<String, Object>> ugList = reviewService.queryUserGroupListByReviewRecord(2, review_round);
for(Map<String, Object> ugMap : ugList) { for(Map<String, Object> ugMap : ugList) {
Integer ugId = (Integer)ugMap.get("group_id"); Integer ugId = ((Number)ugMap.get("group_id")).intValue();
List<Map<String, Object>> list = reviewService.queryNewAsianRoundList(keyword, ugId, review_state, review_round, ext_type, page); List<Map<String, Object>> list = reviewService.queryNewAsianRoundList(keyword, ugId, review_state, review_round, ext_type, page);
ugMap.put("list", list); ugMap.put("list", list);
} }
......
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