Commit d9599218 authored by Quxl's avatar Quxl

x

parent 8cef1767
......@@ -96,13 +96,13 @@ public class AdminUserServiceImpl implements AdminUserService {
@Override
public List<Map<String, Object>> getReviewUserList(Integer review_id) {
String sql = "select u.* from fc_user u, fc_user_group_fun fn, fc_review r where u.group_id = fn.group_id and fn.fun_id = r.enroll_type_id and r.id = ?";
return jdbcTemplate.queryForList(sql);
return jdbcTemplate.queryForList(sql, review_id);
}
@Override
public List<Map<String, Object>> getReviewGroupList(Integer review_id) {
String sql = "select g.* from fc_user_group g, fc_user_group_fun fn, fc_review r where g.group_id = fn.group_id and fn.fun_id = r.enroll_type_id and r.id = ?";
return jdbcTemplate.queryForList(sql);
return jdbcTemplate.queryForList(sql, review_id);
}
}
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