Commit 7b627dbe authored by Quxl's avatar Quxl

x

parent bb5957ce
......@@ -121,5 +121,7 @@ public interface ReviewService {
void toType4(Integer id);
List<Map<String, Object>> queryShowFilmUserList(Integer review_id);
}
\ No newline at end of file
......@@ -602,5 +602,11 @@ public class ReviewServiceImpl implements ReviewService {
public void toType4(Integer review_id) {
jdbcTemplate.executeUpdate("update fc_review set enroll_type_id = 4 where id = ?", review_id);
}
@Override
public List<Map<String, Object>> queryShowFilmUserList(Integer review_id) {
String sql = "select u.*, ug.group_name from fc_user u left join fc_user_group ug on ug.group_id = u.group_id, fc_user_film uf where u.uid = uf.user_id and uf.review_id = ?";
return jdbcTemplate.queryForList(sql, review_id);
}
}
\ No newline at end of file
......@@ -345,6 +345,17 @@ public class AdminReviewController {
return Rjx.jsonOk().setData(list);
}
@ResponseBody
@PostMapping("show_user_list")
@ApiOperation("查询看片评委")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="int", required=true, name="review_id", value="审片主表ID"),
})
public Object show_user_list(Integer review_id) {
List<Map<String, Object>> list = reviewService.queryShowFilmUserList(review_id);
return Rjx.jsonOk().setData(list);
}
@ResponseBody
@Transactional
@PostMapping("saveReviewRecord")
......
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