Commit 23c6382a authored by Quxl's avatar Quxl

x

parent 92eb159b
......@@ -198,7 +198,7 @@ public class ReviewServiceImpl implements ReviewService {
@Override
public List<Map<String, Object>> queryReviewRecordList(Integer review_id) {
String sql = "select rr.*, u.username, u.group_id from fc_review_record rr left join fc_user u on rr.user_id = u.uid where rr.review_id = ?";
sql = "select t.*, g.group_name from (" + sql + ") t left join fc_admin_group g on g.group_id = t.group_id";
sql = "select t.*, g.group_name from (" + sql + ") t left join fc_user_group g on g.group_id = t.group_id";
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