Commit 47cd5a13 authored by Quxl's avatar Quxl

c

parent 28d5ac41
......@@ -108,4 +108,6 @@ public interface ReviewService {
List<Map<String, Object>> queryTimeoutList(String keyword, Page page);
List<Map<String, Object>> queryReviewRecordLogList(Page page);
}
\ No newline at end of file
......@@ -699,4 +699,9 @@ public class ReviewServiceImpl implements ReviewService {
}
}
@Override
public List<Map<String, Object>> queryReviewRecordLogList(Page page) {
return jdbcTemplate.limit("select rr.*, mf.en_name, mf.cn_name, u.username from fc_review_record rr left join fc_user u on u.uid = rr.user_id left join fc_review r on r.id = rr.review_id left join fc_member_film mf on mf.id = r.film_id", page);
}
}
\ No newline at end of file
......@@ -327,6 +327,22 @@ public class AdminReviewController {
return Rjx.jsonOk().setData(list);
}
@ResponseBody
@Transactional
@PostMapping("getReviewRecordLogList")
@ApiOperation("查询审片记录列表")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", dataType = "int", required = false, name = "index"),
@ApiImplicitParam(paramType = "query", dataType = "int", required = false, name = "limit"),
})
public Object getReviewRecordList2(Long index, Long limit) {
index = index == null ? 1 : index;
limit = limit == null ? 20 : limit;
Page page = new Page(index, limit);
List<Map<String, Object>> list = reviewService.queryReviewRecordLogList(page);
return Rjx.jsonOk().setData(list);
}
@ResponseBody
@Transactional
@PostMapping("getReviewRecord")
......@@ -340,5 +356,7 @@ public class AdminReviewController {
List<Fc_review_record_ext> extList = reviewService.queryReviewRecordExtList(record.getId());
return Rjx.jsonOk().setData(recordMap).set("exts", extList);
}
}
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