Commit 4914e2e0 authored by Quxl's avatar Quxl

x

parent 67a59bc6
......@@ -129,5 +129,7 @@ public interface ReviewService {
void deleteAsiaNewReport(int review_id, int review_round);
List<Map<String, Object>> queryDisputeCount();
}
\ No newline at end of file
......@@ -676,4 +676,10 @@ public class ReviewServiceImpl implements ReviewService {
return jdbcTemplate.queryForList(sql, review_id);
}
@Override
public List<Map<String, Object>> queryDisputeCount() {
String sql = "select review_round, count(id) count from fc_review where opt_state = 1 group by review_round";
return jdbcTemplate.queryForList(sql);
}
}
\ No newline at end of file
......@@ -106,6 +106,13 @@ public class AdminReviewController {
return Rjx.jsonOk().setData(list).setPage(page);
}
@ResponseBody
@PostMapping({"getDisputeCount"})
@ApiOperation("查询争议数量")
public Object getDisputeCount() {
return Rjx.jsonOk().setData(reviewService.queryDisputeCount());
}
@ResponseBody
@PostMapping({"getBestMvGroupList"})
@ApiOperation("查询亚新榜单全部评委组")
......
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