Commit 7e9a592a authored by Quxl's avatar Quxl

x

parent 23f06238
...@@ -194,7 +194,7 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -194,7 +194,7 @@ public class ReviewServiceImpl implements ReviewService {
@Override @Override
public List<Map<String, Object>> queryReviewRecordList(Integer review_id) { 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 rr.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 and rr.review_id = ?";
return jdbcTemplate.queryForList(sql, review_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